Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add alrcatraz/astra-knowledge-base-mcp --skill astra-kbgit clone --depth 1 https://github.com/alrcatraz/astra-knowledge-base-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alrcatraz/astra-knowledge-base-mcp/astra-kb)<a href="https://agentmods.dev/skills/alrcatraz/astra-knowledge-base-mcp/astra-kb"><img src="https://agentmods.dev/badge/skills/alrcatraz/astra-knowledge-base-mcp/astra-kb/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alrcatraz/astra-knowledge-base-mcp/astra-kb"><img src="https://agentmods.dev/badge/skills/alrcatraz/astra-knowledge-base-mcp/astra-kb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.02445 |
| Opus 5.5 | $0.00010 | $0.00978 |
| Sonnet 5.5 | $0.00005 | $0.00489 |
| Haiku 4.5 | $0.00003 | $0.00245 |
Grade B, and why
astra-kb scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
secret 在 sudo 上下文创建 → 属主 root → 运行用户 `$(cat)` 静默失败(空)→ DSN 无密码。 How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Astra Knowledge Base — Agent Guide
This skill teaches Hermes how to use the Astra Knowledge Base MCP server for storing, searching, and managing knowledge.
For architecture decisions (RAG vs GraphRAG vs SAG, chunking strategies, embedding infrastructure, PostgreSQL vector index selection), see the project's architecture guide.
Tools Overview
| Tool | Purpose |
|---|---|
kb_add |
Add text content (auto-chunked + embedded + SAG extracted) |
kb_search |
Search across KBs (hybrid/fts/vector/sag_fast/sag_precise) |
kb_import_file |
Import PDF/DOCX/PPTX/HTML via MarkItDown |
kb_extract |
Manual SAG extraction (auto-extract runs on kb_add anyway) |
kb_rechunk |
Re-chunk existing content with a new strategy |
kb_stats |
Get KB statistics |
kb_search_by_tags |
Search by tag overlap |
kb_export / kb_import_jsonl |
Cross-instance data migration |
Search Strategy Selection
| Strategy | When to use |
|---|---|
hybrid (default) |
General purpose — combines FTS + vector |
fts |
Exact keyword match, code, config, proper names |
vector |
Semantic similarity, paraphrased queries |
sag_fast |
Direct event-vector query (fast, SAG-aware) |
sag_precise |
Multi-hop / entity-driven retrieval (slower but richer) |
Rule of thumb: use hybrid first. If results are too broad, try sag_precise.
If you need exact string match, use fts.
KB Naming Convention
Knowledge bases are organised by domain, not by source type:
| Domain | KB name | Content |
|---|---|---|
| Operations / SRE | sre_operations |
Postmortems, root cause analysis |
| Agent config | agent_config |
MCP config, ports, tool quirks |
| Reference | reference |
Format tables, quick reference |
| Networking | networking |
Research reports, config notes |
| Service management | service_management |
Health check logs |
| Linux administration | linux_admin |
System admin, commands |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 29d ago Changed · +1 lines bea812e4be65
- 2mo ago Changed · +8 lines c24cc8bdb444
- 2mo ago First seen · 154 lines · 26 tokens per session scan B becd8a489c5b
astra-kb is a skill published in the GitHub repository alrcatraz/astra-knowledge-base-mcp (2 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 2,445 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.
astra-kb compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| astra-kbalrcatraz/astra-knowledge-base-mcp | Skill | 2 | 1mo ago | MIT | B | 26 | Claude Code, Codex |
| chromaNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 12 | Claude Code, Codex |
| embeddingsruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 62 | Claude Code |
| rag-pineconedavila7/claude-code-templates | Skill | 35k | yesterday | MIT | A | 65 | Claude Code, Codex |
| pgvector-semantic-searchtimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 190 | Cursor |
| postgres-hybrid-text-searchtimescale/pg-aiguide | Skill | 1.9k | 2d ago | Apache-2.0 | A | 162 | Cursor |
| similarity-search-patternsforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 25d ago | Apache-2.0 | A | 30 | Claude Code, Codex |