knowledge-base
Skill by swapnildahiphale
Searches Confluence for runbooks, post-mortems, service documentation and troubleshooting guides. Built for SRE and operations teams who need procedures and incident history.
Install knowledge-base
Built from the published package, never by AI.
git clone --depth 1 https://github.com/swapnildahiphale/OpenSRE /tmp/OpenSRE && mkdir -p ~/.claude/skills && cp -r /tmp/OpenSRE/sre-agent/.claude/skills/knowledge-base ~/.claude/skills/knowledge-baseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/swapnildahiphale/OpenSRE /tmp/OpenSRE && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenSRE/sre-agent/.claude/skills/knowledge-base ~/.gemini/antigravity-cli/skills/knowledge-baseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Knowledge Base is an agent skill that searches Confluence for runbooks, documentation, post-mortems and troubleshooting guides. It includes five Python scripts: a general search, a runbook finder, a post-mortem finder, a page reader and an advanced CQL search. The source says credentials are injected automatically by a proxy layer, so the assistant does not need to check for a Confluence token in environment variables.
The skill is aimed at SRE and operations work during incidents. Its documented workflows start by checking for a runbook, then looking for architecture docs and past post-mortems for the same service. It also shows how to combine it with a Kubernetes skill during an investigation. Searches can be narrowed by space, label, title and date using CQL patterns.
Written from the project's SKILL.md and checked against it.
What it can do
- search_pages.pyGeneral search across Confluence pages, with optional space and limit filters.
- find_runbooks.pyFinds runbooks, playbooks or SOPs for a service or alert name.
- find_postmortems.pyFinds incident post-mortems for a service over a set number of days.
- get_page.pyReads the full content of a Confluence page by page ID or title and space.
- search_cql.pyRuns advanced Confluence Query Language searches with filters.
What you need
- Access to a Confluence instance
- Python to run the skill scripts
Try asking
- Find the runbook for the HighErrorRate alert
- Look for post-mortems about the payment service from the last 90 days
- Search the SRE space for known issues with checkout timeouts
Good to know
- Credentials are handled by a proxy layer, not by the assistant
- Creating a post-mortem page is a manual step outside the skill
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: sre-agent/.claude/skills/knowledge-base/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(python *)
Alternatives to knowledge-base
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
knowledge-base: common questions
Does Knowledge Base need a Confluence API token set in my environment?
The source says credentials are injected automatically by a proxy layer and the token is not visible to the assistant. The skill runs its scripts directly.
Can it search several Confluence spaces?
Yes. The scripts accept a space key option, and the source suggests checking spaces such as SRE, OPS and Engineering.
Can it write new Confluence pages?
The source does not describe page creation. It says to create a post-mortem page manually after an incident is resolved.
How do I install knowledge-base?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is knowledge-base free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is knowledge-base safe to use?
It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to knowledge-base?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
