From composio-cli
Generates comprehensive company activity summary across connected apps — Slack, GitHub, Notion, Linear, Gmail, and more. Uses the composio CLI to fetch data. Use when user asks for company updates, daily summary, or what's happening across the org.
How this skill is triggered — by the user, by Claude, or both
Slash command
/composio-cli:company-activity-summaryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a comprehensive summary of company activity over the last 24 hours (or specified time period) using the `composio` CLI.
Generate a comprehensive summary of company activity over the last 24 hours (or specified time period) using the composio CLI.
$ARGUMENTS - Time period to analyze (default: "last 24 hours"). Examples: "last 24 hours", "last 7 days", "since Monday"Check which apps the user has connected. Use AskUserQuestion if you're unsure which apps they use. Otherwise, try lightweight calls and skip apps that aren't connected:
# Try each — skip silently if it fails with a connection error
composio execute SLACK_LIST_CHANNELS -d '{}'
composio execute GITHUB_GET_THE_AUTHENTICATED_USER -d '{}'
composio execute NOTION_SEARCH_NOTION_PAGE -d '{ query: "" }'
composio execute LINEAR_LIST_LINEAR_TEAMS -d '{}'
composio execute GMAIL_FETCH_EMAILS -d '{ max_results: 1 }'
composio execute GOOGLECALENDAR_LIST_EVENTS -d '{}'
Note which apps are connected and skip the rest.
For each connected app, launch a background Agent to gather and summarize activity. Each agent uses composio execute and composio run to fetch data, and writes its summary to a markdown file in the current working directory.
Prompt: Fetch Slack activity for "$ARGUMENTS" (default: last 24 hours).
composio execute SLACK_LIST_CHANNELS -d '{}'
composio execute SLACK_GET_CHANNEL_MESSAGES_AND_THREAD_REPLIES -d '{ channel: "<id>", limit: 50 }'
slack-activity-summary.mdPrompt: Fetch GitHub activity for "$ARGUMENTS" (default: last 24 hours).
composio execute GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER -d '{ sort: "updated", per_page: 10 }'
composio execute GITHUB_LIST_PULL_REQUESTS_IN_A_REPOSITORY -d '{ owner: "<owner>", repo: "<repo>", state: "all", sort: "updated" }'
gh CLIgithub-activity-summary.mdPrompt: Fetch Notion activity for "$ARGUMENTS" (default: last 24 hours).
composio execute NOTION_SEARCH_NOTION_PAGE -d '{ query: "", sort_direction: "descending", sort_timestamp: "last_edited_time", page_size: 50 }'
composio execute NOTION_FETCH_ALL_BLOCK_CONTENTS -d '{ page_url: "<url>", recursive: true, max_blocks: 200 }'
notion-activity-summary.mdPrompt: Fetch Linear activity for "$ARGUMENTS" (default: last 24 hours).
composio execute LINEAR_LIST_LINEAR_ISSUES -d '{}'
Or use GraphQL for richer data:
composio execute LINEAR_RUN_QUERY_OR_MUTATION -d '{ query_or_mutation: "query { issues(filter: { updatedAt: { gte: \"<cutoff_iso>\" } }, first: 50) { nodes { id identifier title state { name } assignee { name } team { name } updatedAt } } }" }'
linear-activity-summary.mdPrompt: Fetch Gmail activity for "$ARGUMENTS" (default: last 24 hours).
composio execute GMAIL_FETCH_EMAILS -d '{ max_results: 20 }'
Focus on: important threads, action items, external communications
Write summary to gmail-activity-summary.md
Prompt: Fetch Google Calendar activity for "$ARGUMENTS" (default: last 24 hours).
composio execute GOOGLECALENDAR_LIST_EVENTS -d '{ timeMin: "<start_iso>", timeMax: "<end_iso>" }'
Focus on: meetings that happened, key attendees, upcoming schedule
Write summary to calendar-activity-summary.md
For more complex data gathering, agents can use composio run to script multi-step fetches:
composio run '
const [channels, repos] = await Promise.all([
execute("SLACK_LIST_CHANNELS"),
execute("GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER", { sort: "updated", per_page: 10 }),
]);
// Process and output results
console.log(JSON.stringify({ channels: channels.data, repos: repos.data }, null, 2));
'
After all agents complete, read each summary file and present:
# Company Activity Summary - [Date Range]
## Connected Apps Analyzed
- [list of apps that were successfully queried]
## Key Highlights
[3-5 bullet points of the most important things across all apps]
## Detailed Summaries
| Platform | File | Highlights |
|----------|------|------------|
| Slack | [slack-activity-summary.md](./slack-activity-summary.md) | [1-line summary] |
| GitHub | [github-activity-summary.md](./github-activity-summary.md) | [1-line summary] |
| ... | ... | ... |
Read each file and provide a brief overview of key highlights, then let the user know they can open individual files for full details.
composio execute for single tool calls, composio run for multi-step scriptsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub composiohq/composio-plugin-cc --plugin composio-cli