Borrowing it
Nothing to install: this file belongs to synpulse8-opensource/pulse8-ai-cortex-knowledge-vault. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/main/.cursor/skills/cortex-compiler/SKILL.mdgit 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-compiler)<a href="https://agentmods.dev/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-compiler"><img src="https://agentmods.dev/badge/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-compiler/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/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-compiler"><img src="https://agentmods.dev/badge/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-compiler.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.00039 | $0.00555 |
| Opus 5.5 | $0.00016 | $0.00222 |
| Sonnet 5.5 | $0.00008 | $0.00111 |
| Haiku 4.5 | $0.00004 | $0.00056 |
Grade A, and why
cortex-compiler 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 2mo 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.
What it actually says
Cortex compiler
Pipeline overview
raw/ → Compiler (LLM) → wiki/*.md → graph + QMD index
Key modules
| Module | Role |
|---|---|
cortex/compiler/compiler.py |
Single-file compile |
cortex/compiler/bulk.py |
Recursive directory scan, concurrency, manifests |
cortex/compiler/prompts.py |
LLM prompts |
cortex/mcp/tools.py |
vault_ingest, vault_compile |
Manifests (under .cortex/)
ingest-manifest.json— SHA-256 of successfully compiled raw files (skip on re-run unlessforce)ingest-skip-manifest.json— failures and skips
REST endpoints
| Endpoint | Behavior |
|---|---|
POST /api/v1/ingest |
JSON content → raw/ |
POST /api/v1/ingest/upload |
Multipart upload |
POST /api/v1/compile |
Async compile all pending (202) |
GET /api/v1/compile/status |
Job status |
POST /api/v1/bulk-ingest |
Scan source_dir on server filesystem |
Bulk ingest body
{
"source_dir": "/ingest",
"concurrency": 4,
"force": false,
"dry_run": false
}
Logs (cortex.compiler.bulk): Scanning source directory, per-file progress. Also logged from cortex.api.routes on request receipt.
Recursive scan: source_dir is walked recursively; subfolder structure is preserved under the vault raw dir (e.g. source_dir/abcde/a.html → {VAULT_RAW_DIR}/abcde/a.html).
Common failure: source_dir not mounted in container → 400 before bulk runs.
MCP
vault_ingest— write bytes toraw/vault_compile— trigger compile pass
Config
LLM provider settings in cortex/config.py (model, API keys via env). See .env.example.
Related skills
- Vault layout:
cortex-vault - Deploy
/ingestmount:cortex-deploy - API details:
cortex-api
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.
- 2mo ago First seen · 71 lines · 39 tokens per session scan A 6b79030ede72
cortex-compiler is a skill published in the GitHub repository synpulse8-opensource/pulse8-ai-cortex-knowledge-vault (15 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 555 once invoked, about $0.0002 per session on Opus 5.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.
cortex-compiler compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cortex-compilersynpulse8-opensource/pulse8-ai-cortex-knowledge-vault | Skill | 15 | 3mo ago | Apache-2.0 | A | 39 | Cursor |
| rag-knowledgevstorm-co/full-stack-ai-agent-template | Skill | 2.0k | yesterday | MIT | A | 76 | Claude Code |
| ingestPrismer-AI/PrismerCloud | Skill | 1.4k | 16d ago | MIT | A | 132 | Claude Code, Codex |
| ai-strategy-reportguoliang1114-boop/AriaAI | Skill | 40 | 22d ago | MIT | A | 52 | Claude Code |
| llm-wiki-ingestTrueHOOHA/LLM-Wiki | Skill | 22 | 3mo ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| csv-data-analyzerskillberry-ai/runspace-agent | Skill | 5 | 4mo ago | Apache-2.0 | A | 13 | Claude Code, Codex |
| tdoc_orchestratorcrane-in-clear-sky/WorkWit-AI-Agent | Skill | 108 | 2mo ago | none | A | 163 | Claude Code |