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/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vaultnpx skills add synpulse8-opensource/pulse8-ai-cortex-knowledge-vault --skill cortex-vaultgit clone --depth 1 https://github.com/synpulse8-opensource/pulse8-ai-cortex-knowledge-vaultWrote 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/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vault)<a href="https://agentmods.dev/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vault"><img src="https://agentmods.dev/badge/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vault.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.1 | $0.00044 | $0.00703 |
| Opus 5 | $0.00022 | $0.00351 |
| Sonnet 5 | $0.00009 | $0.00141 |
| Haiku 4.5 | $0.00004 | $0.00070 |
Grade A, and why
cortex-vault 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 5d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cortex vault
Code: cortex/vault/ (reader.py, writer.py, watcher.py, index.py, feedback.py, models.py).
Folder semantics
| Path | Purpose |
|---|---|
{VAULT_WIKI_DIR}/ |
Published Markdown articles (default wiki/; e.g. wiki1/) |
{VAULT_RAW_DIR}/ |
Source files before/during compilation (default raw/; e.g. raw1/) |
agents/ |
Agent definition notes |
sessions/ |
Per-session notes |
daily/ |
Daily notes |
feedback/ |
Feedback submissions (type: feedback) |
Paths in APIs are relative to vault root (e.g. wiki1/transformers.md when CORTEX_VAULT_WIKI_DIR=wiki1).
Configure via CORTEX_VAULT_RAW_DIR / CORTEX_VAULT_WIKI_DIR (or VAULT_RAW_DIR / VAULT_WIKI_DIR in .env for Compose).
.cortex/ metadata
| File | Purpose |
|---|---|
graph.json |
Serialized knowledge graph (NetworkX) |
index.md |
Human-readable vault index (rebuilt after bulk ops) |
log.md |
Append-only audit log (cortex/log/audit.py) |
ingest-manifest.json |
SHA-256 hashes of successfully compiled raw files |
ingest-skip-manifest.json |
Skipped/failed ingest records |
Notes and frontmatter
- Parsed via
python-frontmatterinread_note/write_note. infer_node_type()inreader.py: path prefix ortypein frontmatter →NodeType.- Common fields:
title,tags,authored_by,created_at,updated_at,source_path. - Feedback notes add
status: OPEN,related_paths(list of vault-relative.mdpaths).
Wikilinks and tags
- Wikilinks:
[[page]]or[[page|label]]— resolved underwiki/,agents/,sessions/,daily/,feedback/. - Tags in frontmatter become graph nodes
tag:{name}withtagged_withedges.
Validation rules
- Feedback
related_paths: each path must exist, be a file, and end in.md. Raw.txtcannot be linked — mention in feedback body instead. - Writes use
mode="create"or update;write_notesets timestamps and provenance.
VaultWatcher
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.
- 5d ago First seen · 63 lines · 44 tokens per session scan A dd15feec2579
cortex-vault is a skill published in the GitHub repository synpulse8-opensource/pulse8-ai-cortex-knowledge-vault (14 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 703 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-08-30.
Other skills, from other repositories
session-ingest
Ingest a coding session JSONL into AKB as structured notes — session report + parallel-drafted TIL / task / idea / decision sub-notes. Auto-discovers the current session's JSONL when no positional path is given (Claude / Codex). --delegate {target} fires the work to another target's CLI and exits.
llm-wiki-query
Answer operator questions using the LLM Wiki as the primary source of truth, and optionally file reusable syntheses back into the wiki. Use whenever the operator asks a question about wiki content, queries the knowledge base, requests a synthesis across sources, or wants an answer based on what has been ingested.
akb-ingest
Ingest whatever you point at into an AKB vault — a local file, a web URL, a GitHub PR/release/commit, a Confluence page, or a Jira issue. Auto-detects the source type and dispatches to a specialized ingest subagent; the router fetches and writes nothing itself. One target per invocation; globs expand to a sequential…
akb-query
Answer a question from the AKB vault — decompose, search (hybrid / graph), ground in compiled-truth-over-timeline precedence, and synthesize a cited answer with gap/conflict/stale flags. Read-only.
wiki-write
Add or update wiki content — autonomous ingest from URL, file, or text; autonomous update of existing pages. Auto-creates .wiki/ on first use. Use when: 'save to wiki', 'remember this', 'note this', 'store this', 'add to knowledge base', 'save findings', 'save research', 'save idea', 'write to wiki', 'ingest', 'add…
wiki-view
Wiki dashboard — browse pages, view stats, knowledge graph, export. Use on: 'wiki dashboard', 'wiki stats', 'show wiki', 'wiki pages', 'list wiki', 'wiki graph', 'export wiki', 'wiki overview'.