Query, search, teach, and manage the team's self-learning knowledge base.
Available scripts
Querying
python scripts/query_knowledge.py "your question" — RAG retrieval with ranked results, confidence scores, and temporal metadata
python scripts/search_knowledge.py "topic" --limit 10 — Semantic search over all knowledge nodes
Teaching
python scripts/teach_knowledge.py "new knowledge statement" — Teach the agent new information
python scripts/ingest_url.py "https://docs.example.com" — Ingest a web page or document URL
Status
python scripts/knowledge_stats.py — Check knowledge base size, health, and last update time
python scripts/weekly_report.py — Generate weekly learning report with activity stats
When to use
ALWAYS query the knowledge base first before answering team-specific questions
Use query_knowledge.py for questions — it returns ranked results with confidence and dates
Use search_knowledge.py for broad exploration of what the agent knows
Use teach_knowledge.py when you discover new information in the conversation
Use ingest_url.py when a user shares a link they want the bot to learn from
Important behaviors
If query returns results with dates, include temporal context in your answer ("As of [date]...")
If results are older than 30 days for fast-moving topics, flag: "Note: this may be outdated"
If you find conflicting results, flag the contradiction explicitly
If confidence is low (<30%), say you're not sure and suggest asking a teammate
After answering, if the user provides new information, teach it using teach_knowledge.py
1---2name: knowledge-base-23description: Knowledge Base4---5# Knowledge Base67Query, search, teach, and manage the team's self-learning knowledge base.89## Available scripts1011### Querying12- `python scripts/query_knowledge.py "your question"` — RAG retrieval with ranked results, confidence scores, and temporal metadata13- `python scripts/search_knowledge.py "topic" --limit 10` — Semantic search over all knowledge nodes1415### Teaching16- `python scripts/teach_knowledge.py "new knowledge statement"` — Teach the agent new information17- `python scripts/ingest_url.py "https://docs.example.com"` — Ingest a web page or document URL1819### Status20- `python scripts/knowledge_stats.py` — Check knowledge base size, health, and last update time21- `python scripts/weekly_report.py` — Generate weekly learning report with activity stats2223## When to use2425- **ALWAYS query the knowledge base first** before answering team-specific questions26- Use `query_knowledge.py` for questions — it returns ranked results with confidence and dates27- Use `search_knowledge.py` for broad exploration of what the agent knows28- Use `teach_knowledge.py` when you discover new information in the conversation29- Use `ingest_url.py` when a user shares a link they want the bot to learn from3031## Important behaviors3233- If query returns results with dates, include temporal context in your answer ("As of [date]...")34- If results are older than 30 days for fast-moving topics, flag: "Note: this may be outdated"35- If you find conflicting results, flag the contradiction explicitly36- If confidence is low (<30%), say you're not sure and suggest asking a teammate37- After answering, if the user provides new information, teach it using teach_knowledge.py
Run npx skillmds@latest add incidentfox/knowledge-base-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Knowledge Base It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
incidentfox (@incidentfox) published this skill. Their other Agent Skills are listed on their SkillMD profile.