agentleFS
jonny-1812jonny-1812/corebee-mcp-skills/skills/knowledge-manager/SKILL.md

knowledge-manager

Skill0 starsChanged 6 months agoMITView on GitHub

Manage the AI knowledge base by listing sources, checking indexing status, adding new URLs, searching indexed content, and auditing for coverage gaps. Use when the user asks about their knowledge base, wants to add training data, search KB content, check what the AI knows, or audit documentation coverage.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. About 0 are common, 10 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use list_knowledge_sources to get all sources

    line 17
  2. Very specific:

    Use list_knowledge_sources first to check if the URL already exists

    line 23
  3. Distinctive:

    If duplicate, inform the user and show existing source status

    line 24
  4. Very specific:

    If new, use add_knowledge_url with the URL and optional name

    line 25
  5. Very specific:

    Use search_knowledge with the user's query

    line 30
  6. Distinctive:

    If no results, suggest different search terms or adding relevant content

    line 32
  7. Very specific:

    Use list_knowledge_sources and get_knowledge_stats together

    line 36
  8. Very specific:

    Use get_knowledge_stats to retrieve aggregate data

    line 43
  9. Very specific:

    Look up the source using list_knowledge_sources or get_knowledge_source

    line 48
  10. Very specific:

    Delete using delete_knowledge_source and confirm

    line 50
  11. Distinctive:

    Delete confirmation: Always confirm. Show source name and chunk count before deleting.

    line 86
  12. Distinctive:

    When auditing, check coverage against these common support categories:

    line 90
  13. Distinctive:

    If any category has zero or weak search results, flag it as a gap.

    line 99
  14. Very specific:

    show_ids: When enabled, display source IDs in output tables.

    line 103
  15. Distinctive:

    If the user mentions their bot is giving wrong answers, start with Search Content to verify what the KB actually contains.

    line 108
  16. Distinctive:

    Always show source names, not just IDs

    line 112
  17. Distinctive:

    When searching, show content previews with source attribution

    line 115
  18. Distinctive:

    When adding multiple URLs, process them sequentially and report results together

    line 116
  19. Distinctive:

    When deleting, always confirm with the user first

    line 117

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Knowledge Base Manager

Help users manage their AI knowledge base to ensure accurate, up-to-date information for the support bot.

Workflow Modes

1. View Status

  1. Use list_knowledge_sources to get all sources
  2. Present summary: total sources, active vs pending vs errored
  3. Flag any sources with errors and show the overview table

2. Add Source

  1. Use list_knowledge_sources first to check if the URL already exists
  2. If duplicate, inform the user and show existing source status
  3. If new, use add_knowledge_url with the URL and optional name
  4. Explain that processing is async (a few minutes). Offer to check status later with get_knowledge_source

3. Search Content

  1. Use search_knowledge with the user's query
  2. Present matching results with content previews and source attribution
  3. If no results, suggest different search terms or adding relevant content

4. Audit Coverage

  1. Use list_knowledge_sources and get_knowledge_stats together
  2. Identify: sources with 0 chunks, errored sources, sources stale >30 days
  3. Cross-reference with common topics (refund policy, pricing, getting started, troubleshooting, billing, integrations)
  4. Present findings with recommended actions

5. View Stats

  1. Use get_knowledge_stats to retrieve aggregate data
  2. Present total sources, total chunks, index health, and notable patterns

6. Delete Source

  1. Look up the source using list_knowledge_sources or get_knowledge_source
  2. Confirm with the user — show source name, URL, and chunk count
  3. Delete using delete_knowledge_source and confirm

Examples

User SaysWorkflow
"Show my KB status"View Status
"Add https://docs.acme.com to my KB"Add Source
"Search for refund policy"Search Content
"Audit my knowledge base for gaps"Audit Coverage
"Show KB stats"View Stats
"Remove the old blog source"Delete Source
"What does my AI know about pricing?"Search Content

Output Formats

Knowledge Base Overview — Total: [count], Active: [count], Pending: [count], Errored: [count]

SourceTypeStatusChunksLast Updated
[name][url/file][status][count][date]

Audit Report — Sources reviewed: [count], Issues: [count], Gaps: [topics]

IssueSourceRecommendation
0 chunks[name]Re-add or check URL accessibility
Error state[name]Delete and re-add
Stale >30d[name]Re-index or verify content is current

Edge Cases

  • Source already exists: Show existing status. Offer to delete and re-add to refresh.
  • URL unreachable: Explain the URL may be behind auth, blocking bots, or temporarily down.
  • Indexing takes too long: Indexing is async. Offer to check back with get_knowledge_source.
  • Search returns no results: Suggest broader terms, then suggest adding content if topic is missing.
  • Delete confirmation: Always confirm. Show source name and chunk count before deleting.

Gap Analysis Guidance

When auditing, check coverage against these common support categories:

  1. Getting started / onboarding
  2. Pricing and billing
  3. Refund and cancellation policy
  4. Account management
  5. Troubleshooting / FAQ
  6. Integrations and API
  7. Contact and escalation paths

If any category has zero or weak search results, flag it as a gap.

Settings Reference

  • show_ids: When enabled, display source IDs in output tables. When disabled, omit for cleaner output.

Cross-Skill References

  • For deeper analysis of KB quality and optimization recommendations, suggest: "Consider running the kb-optimizer agent for a comprehensive analysis."
  • If the user mentions their bot is giving wrong answers, start with Search Content to verify what the KB actually contains.

Guidelines

  • Always show source names, not just IDs
  • For errored sources, display the error message
  • Processing is async — set expectations that new sources take a few minutes
  • When searching, show content previews with source attribution
  • When adding multiple URLs, process them sequentially and report results together
  • When deleting, always confirm with the user first

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.