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-api/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-api)<a href="https://agentmods.dev/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-api"><img src="https://agentmods.dev/badge/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-api/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-api"><img src="https://agentmods.dev/badge/skills/synpulse8-opensource/pulse8-ai-cortex-knowledge-vault/cortex-api.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.00044 | $0.00520 |
| Opus 5.5 | $0.00018 | $0.00208 |
| Sonnet 5.5 | $0.00009 | $0.00104 |
| Haiku 4.5 | $0.00004 | $0.00052 |
Grade A, and why
cortex-api scanned grade A 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
feedbacks. Use for curl, HTTP clients, or FastAPI route changes. What it actually says
Cortex REST API
Router: cortex/api/routes.py, mounted at /api/v1 in cortex/main.py.
OpenAPI: http://localhost:8420/docs
Authentication
When AUTH_METHOD is not none, protected routes require:
x-api-key: <API_KEY>whenapikey, orAuthorization: Bearer <token>whenoidc(API key also accepted as fallback)
Unprotected prefixes (cortex/auth/middleware.py):
/api/v1/health,/api/v1/login,/api/v1/auth/callback/mcp,/.well-known/,/docs,/redoc,/openapi.json
Logging
| Stream | Source | Example |
|---|---|---|
| stdout | uvicorn.access |
INFO: … "GET /api/v1/graph/stats" 200 OK |
| stderr | cortex.* loggers |
INFO [cortex.api.routes] Bulk ingest request received: … |
Tail both: docker logs <container> 2>&1 | grep bulk
App logging configured in cortex/main.py via logging.basicConfig.
Shared logic with MCP
Many endpoints call the same functions as MCP (cortex/mcp/tools.py) or vault modules directly. Changing behavior usually requires updating both surfaces.
Endpoint summary
See reference.md for method, path, and tags.
Common request bodies
Feedback (POST /feedbacks):
{
"content": "…",
"tags": ["admin-review"],
"related_paths": ["wiki/article.md"]
}
Bulk ingest (POST /bulk-ingest):
{
"source_dir": "/ingest",
"concurrency": 4,
"force": false,
"dry_run": false
}
source_dir must exist on the server filesystem (e.g. /ingest in Docker, not a host path).
Related skills
- MCP:
cortex-mcp - Auth:
cortex-auth - Compiler endpoints:
cortex-compiler
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.
- 2mo ago First seen · 75 lines · 44 tokens per session scan A b985a47b9b00
cortex-api 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 44 tokens to every session and 520 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cortex-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cortex-apisynpulse8-opensource/pulse8-ai-cortex-knowledge-vault | Skill | 15 | 3mo ago | Apache-2.0 | A | 44 | Cursor |
| background-taskvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | 7d ago | MIT | A | 62 | Claude Code |
| channel-botvstorm-co/full-stack-ai-agent-template | Skill | 2.0k | 7d ago | MIT | A | 53 | Claude Code |
| gitlab_writeParendumOU/Nexora | Skill | 26 | 28d ago | MIT | A | 0 | Claude Code, Codex |
| 后端编码jianchen08/Agent-os-open | Skill | 7 | 29d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| 软件方案规划jianchen08/Agent-os-open | Skill | 7 | 29d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| aiocachetedivm/robs_awesome_python_template | Skill | 313 | 5mo ago | MIT | A | 47 | Claude Code, Codex |