cortex-vault

cortex-vault is a skill for Claude Code, Codex, Cursor from synpulse8-opensource/pulse8-ai-cortex-knowledge-vault. It costs 44 tokens per session (703 once invoked), scanned A, original, Apache-2.0.

A filesystem layout and note-management skill for a Cortex vault, a folder-based knowledge base containing Markdown notes and metadata.

In plain words
What is it for?
Use it when working with Cortex note paths, frontmatter, links between notes, vault metadata, or filesystem watchers.
Why use it?
It explains where published notes, source files, feedback, session records, and vault indexes belong, reducing confusion about paths and structure.

Skill for Claude CodeCodexCursor

Install

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.

agentmods
npx agentmods add skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vault
Any agent
npx skills add synpulse8-opensource/pulse8-ai-cortex-knowledge-vault --skill cortex-vault
Clone the repo
git clone --depth 1 https://github.com/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault

Made for: Claude Code, Codex, Cursor.

Wrote 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.

agentmods badge for cortex-vault

README.md
[![agentmods](https://agentmods.dev/badge/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vault.svg)](https://agentmods.dev/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-vault)
Your own site
<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>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash dd15feec2579, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

.cursor/skills/cortex-vault/SKILL.md · 63 lines

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-frontmatter in read_note / write_note.
  • infer_node_type() in reader.py: path prefix or type in 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 .md paths).
  • Wikilinks: [[page]] or [[page|label]] — resolved under wiki/, agents/, sessions/, daily/, feedback/.
  • Tags in frontmatter become graph nodes tag:{name} with tagged_with edges.

Validation rules

  • Feedback related_paths: each path must exist, be a file, and end in .md. Raw .txt cannot be linked — mention in feedback body instead.
  • Writes use mode="create" or update; write_note sets timestamps and provenance.

VaultWatcher

Read the full file on GitHub · 63 lines

Changes

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.

  1. 5d ago First seen · 63 lines · 44 tokens per session scan A dd15feec2579

Subscribe to this mod's changes

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.

Related

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.

dnotitia/akb · 74 tokens

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.

TrueHOOHA/LLM-Wiki · 66 tokens

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…

dnotitia/akb · 87 tokens

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.

dnotitia/akb · 50 tokens

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…

Oshayr/LLM-Wiki · 90 tokens

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'.

Oshayr/LLM-Wiki · 52 tokens