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 agentmods add skills/jansenanalytics/claudex/knowledge-basenpx skills add JansenAnalytics/claudex --skill knowledge-basegit clone --depth 1 https://github.com/JansenAnalytics/claudexWrote 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/jansenanalytics/claudex/knowledge-base)<a href="https://agentmods.dev/skills/jansenanalytics/claudex/knowledge-base"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/knowledge-base.svg" alt="Measured on agentmods" 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 | $0.00043 | $0.00469 |
| Opus 5 | $0.00022 | $0.00234 |
| Sonnet 5 | $0.00009 | $0.00094 |
| Haiku 4.5 | $0.00004 | $0.00047 |
Grade A, and why
knowledge-base scanned grade A with 0 findings 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 today.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Knowledge Base Skill
Use when: ingesting documents, searching stored knowledge, building research context.
Ingest a URL
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/ingest.cjs add <url>
Ingest a local file
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/ingest.cjs add --file <path>
Ingest a PDF
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/ingest.cjs add --pdf <path>
Search
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/search.cjs "query"
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/search.cjs "query" --limit 10
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/search.cjs "query" --context
List all documents
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/ingest.cjs list
Remove a document
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/ingest.cjs remove <id>
Update (re-fetch) a document
node ${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/ingest.cjs update <id>
Notes
- DB lives at:
${KNOWLEDGE_BASE_HOME:-$HOME/projects/knowledge-base}/kb.sqlite - Uses SQLite FTS5 with BM25 ranking
- Chunks are ~500 words each
- URL deduplication: re-run with
update <id>to refresh - Supports: URLs, local text/markdown files, PDFs (if pdftotext installed)
What ships with it
1 file 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.
- today First seen · 64 lines · 43 tokens per session scan A 25cd557473d9
knowledge-base is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 43 tokens to every session and 469 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
mixedbread-parsing
Parse documents, extract structured content, and run OCR using the Mixedbread Parsing API. Use when parsing PDFs, Word documents, PowerPoint slides, or images, extracting tables or form fields, running OCR on scanned documents, converting documents to markdown or HTML, or extracting structured chunks with…
pdf-figure-extract
Extract and return figures from already-downloaded local PDFs with PyMuPDF, optionally reusing PageIndex artifacts for page selection and verifying shortlisted candidates multimodally before delivery.
paper-summary
Deterministic PDF-to-markdown paper summarization for papercli workflows. Given one paper PDF or a directory of paper PDFs, produce schema-conformant markdown summaries and optionally update summarizedids.txt.
latex-paper-writer
Create, edit, Git-version, compile, and deliver scientific LaTeX papers, reports, and research-derived PDF summaries. Use for venue-aware templates such as ICLR, NeurIPS, ICML, CVPR, ACL, ACM, and IEEE; experiment-result tables; architecture figures or diagrams; deep-research/pro-research/fast-research to PDF…
mineru-extract
Use the official MinerU (mineru.net) parsing API to convert a URL (HTML pages like WeChat articles, or direct PDF/Office/image links) into clean Markdown + structured outputs. Use when webfetch/browser can’t access or extracts messy content, and you want higher-fidelity parsing (layout/table/formula/OCR).
docsagent
Search and manage private, local document collections (PDF, PPTX, DOCX) offline. Use when you need to find information within your private files, not for web research.