enterprise-search/skills/source-management/SKILL.md
Manages connected sources for enterprise search. Detects available sources, guides users to connect new ones, handles source priority ordering, and manages rate limiting awareness.
npx skillsauth add grailautomation/claude-plugins source-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Knows what sources are available, helps connect new ones, and manages how sources are queried.
Determine which sources are connected by checking available tools and known
CLIs. Prefer a maintained CLI over MCP when the CLI can safely perform the
workflow. For Google Workspace, also check whether gws auth status succeeds;
Gmail, Google Calendar, and Google Drive should use the gws CLI rather than
MCP. Each source corresponds to a set of tools:
| Source | Key capabilities | |--------|-----------------| | ~~chat | Search messages, read channels and threads | | ~~email | Search messages, read individual emails | | ~~cloud storage | Search files, fetch document contents | | ~~project tracker | Search tasks, typeahead search | | ~~CRM | Query records (accounts, contacts, opportunities) | | ~~knowledge base | Semantic search, keyword search |
If a tool prefix is available, the source is connected and searchable.
When a user searches but has few or no sources connected:
You currently have [N] source(s) connected: [list].
To expand your search, connect maintained CLIs first where available, then add
MCP sources for services without a safe CLI path:
- ~~chat — messages, threads, channels
- ~~email — emails, conversations, attachments
- ~~cloud storage — docs, sheets, slides
- ~~project tracker — tasks, projects, milestones
- ~~CRM — accounts, contacts, opportunities
- ~~knowledge base — wiki pages, knowledge base articles
The more sources you connect, the more complete your search results.
For Gmail, Google Calendar, or Google Drive, use the `google-workspace` plugin
and authenticate with `gws auth login`; do not add Google Workspace MCP unless a
workflow cannot be represented safely through the CLI.
When a user asks about a specific non-Google tool that is not connected and no maintained CLI path is available:
[Tool name] isn't currently connected. To add it:
1. Open your MCP settings
2. Add the [tool] MCP server configuration
3. Authenticate when prompted
Once connected, it will be automatically included in future searches.
When the missing tool is Gmail, Google Calendar, or Google Drive:
Google Workspace should use the `gws` CLI here. Run `gws auth status` to check
auth, or `gws auth login` to authenticate before searching Gmail, Calendar, or
Drive.
Different query types benefit from searching certain sources first. Use these priorities to weight results, not to skip sources:
Decision queries ("What did we decide..."):
1. ~~chat (conversations where decisions happen)
2. ~~email (decision confirmations, announcements)
3. ~~cloud storage (meeting notes, decision logs)
4. Wiki (if decisions are documented)
5. Task tracker (if decisions are captured in tasks)
Status queries ("What's the status of..."):
1. Task tracker (~~project tracker — authoritative status)
2. ~~chat (real-time discussion)
3. ~~cloud storage (status docs, reports)
4. ~~email (status update emails)
5. Wiki (project pages)
Document queries ("Where's the doc for..."):
1. ~~cloud storage (primary doc storage)
2. Wiki / ~~knowledge base (knowledge base)
3. ~~email (docs shared via email)
4. ~~chat (docs shared in channels)
5. Task tracker (docs linked to tasks)
People queries ("Who works on..." / "Who knows about..."):
1. ~~chat (message authors, channel members)
2. Task tracker (task assignees)
3. ~~cloud storage (doc authors, collaborators)
4. ~~CRM (account owners, contacts)
5. ~~email (email participants)
Factual/Policy queries ("What's our policy on..."):
1. Wiki / ~~knowledge base (official documentation)
2. ~~cloud storage (policy docs, handbooks)
3. ~~email (policy announcements)
4. ~~chat (policy discussions)
When query type is unclear:
1. ~~chat (highest volume, most real-time)
2. ~~email (formal communications)
3. ~~cloud storage (documents and files)
4. Wiki / ~~knowledge base (structured knowledge)
5. Task tracker (work items)
6. CRM (customer data)
CLI and MCP sources may have rate limits. Handle them gracefully:
Rate limit responses typically appear as:
When a source is rate limited:
Note: [Source] is temporarily rate limited. Results below are from
[other sources]. You can retry in a few minutes to include [source].
Track source availability during a session:
Source Status:
~~chat: ✓ Available
~~email: ✓ Available
~~cloud storage: ✓ Available
~~project tracker: ✗ Not connected
~~CRM: ✗ Not connected
~~knowledge base: ⚠ Rate limited (retry in 2 min)
When reporting search results, include which sources were searched so the user knows the scope of the answer.
The enterprise search plugin works with CLI-connected sources first, then with
MCP-connected sources where no safe CLI path exists. It uses the gws CLI for
Google Workspace. As new non-Google MCP servers become available, they can be
added to the .mcp.json configuration. The search and digest commands will
automatically detect and include new sources based on available tools.
To add a new source:
.mcp.jsondocumentation
Write a feature spec or PRD from a problem statement or feature idea
development
Synthesize qualitative and quantitative user research into structured insights and opportunity areas. Use when analyzing interview notes, survey responses, support tickets, or behavioral data to identify themes, build personas, or prioritize opportunities.
research
Synthesize user research from interviews, surveys, and feedback into structured insights
data-ai
Generate a stakeholder update tailored to audience and cadence