All skills
anthropics avatar

/source-management

@2d6f7e2
by Anthropicanthropics/knowledge-work-plugins26k stars
3,049

Manages connected MCP sources for enterprise search. Detects available sources, guides users to connect new ones, handles source priority ordering, and manages rate limiting awareness.

Use this Skill: https://skilld.dev/gh/anthropics/knowledge-work-plugins/source-management

This session only. Nothing lands on disk.

SKILL.md

β‰ˆ51 tokens always: the name and description. β‰ˆ1.4k when used: this file.

Source Management

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.

Checking Available Sources

Determine which MCP sources are connected by checking available tools. Each source corresponds to a set of MCP 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.

Guiding Users to Connect Sources

When a user searches but has few or no sources connected:

You currently have [N] source(s) connected: [list].

To expand your search, you can connect additional sources in your MCP settings:
- ~~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.

When a user asks about a specific tool that is not connected:

[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.

Source Priority Ordering

Different query types benefit from searching certain sources first. Use these priorities to weight results, not to skip sources:

By Query Type

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)

Default Priority (General Queries)

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)

Rate Limiting Awareness

MCP sources may have rate limits. Handle them gracefully:

Detection

Rate limit responses typically appear as:

  • HTTP 429 responses
  • Error messages mentioning "rate limit", "too many requests", or "quota exceeded"
  • Throttled or delayed responses

Handling

When a source is rate limited:

  1. Do not retry immediately β€” respect the limit
  2. Continue with other sources β€” do not block the entire search
  3. Inform the user:
Note: [Source] is temporarily rate limited. Results below are from
[other sources]. You can retry in a few minutes to include [source].
  1. For digests β€” if rate limited mid-scan, note which time range was covered before the limit hit

Prevention

  • Avoid unnecessary API calls β€” check if the source is likely to have relevant results before querying
  • Use targeted queries over broad scans when possible
  • For digests, batch requests where the API supports it
  • Cache awareness: if a search was just run, avoid re-running the same query immediately

Source Health

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.

Adding Custom Sources

The enterprise search plugin works with any MCP-connected source. As new 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:

  1. Add the MCP server configuration to .mcp.json
  2. Authenticate if required
  3. The source will be included in subsequent searches automatically

Source: SKILL.md on GitHub

No alerts17d5 checks Β· Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides structural guidance for managing and prioritizing enterprise search sources. It includes security considerations related to the potential for indirect prompt injection when processing data from external sources such as chat and email.

  • Socket17d

    No alerts

  • Snyk17d

    Risk: LOW Β· No issues

  • Runlayer6mo

    1 file scanned Β· No issues

  • ZeroLeaks5mo

    Score: 93/100 Β· 2 sections analyzed

Signed by skilld at 2d6f7e2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 7 months ago
user-invocable
false
  • MCP
  • enterprise-search
  • source-management
  • rate-limiting
  • knowledge-work
  • chat
  • email
  • cloud-storage
  • crm

README badge

README badge for anthropics/knowledge-work-plugins/source-management

Manages MCP-connected enterprise search sources by detecting available connections, guiding users to connect new ones, and applying source-specific query priorities. Handles rate limiting gracefully and tracks source health across chat, email, cloud storage, project trackers, CRM, and knowledge bases.

Generated from the current SKILL.md.

Does this skill work with any MCP source or only specific platforms?
It works with any MCP-connected source. New sources are automatically detected and included in searches once added to the .mcp.json configuration, though the skill includes built-in priority orderings for common sources like chat, email, cloud storage, project trackers, CRM, and knowledge bases.
How does this skill handle rate limiting?
It detects rate limit errors (HTTP 429, quota exceeded messages) and continues searching other sources without immediately retrying the limited source. The user is informed which source is rate limited and can retry in a few minutes.
Can this skill help me connect new sources?
Yes. If a user asks about a tool that is not connected, the skill guides them through the steps: open MCP settings, add the MCP server configuration, authenticate, and the source will be automatically included in future searches.
Does this skill prioritize sources differently based on the type of query?
Yes. The skill uses different source priorities for decision queries, status queries, document queries, people queries, and factual/policy queries. For unclear query types, it defaults to a general priority ordering with chat and email first.

Generated from the current SKILL.md. These answers refresh after source changes.