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-apinpx skills add synpulse8-opensource/pulse8-ai-cortex-knowledge-vault --skill cortex-apigit clone --depth 1 https://github.com/synpulse8-opensource/pulse8-ai-cortex-knowledge-vaultWhat 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.00044 | $0.00520 |
| Opus 5 | $0.00022 | $0.00260 |
| Sonnet 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 3d 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.
- 3d 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 (14 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 44 tokens to every session and 520 once invoked, about $0.0002 per session on Opus 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.
Other skills, from other repositories
html-preview
使用 Markdown html:preview 围栏输出轻量静态 HTML/CSS 可视化。当普通 Markdown 难以清晰表达数值对比、层级关系、流程、时间线、关键指标或布局示意,或用户明确要求可视化 HTML 预览时使用。询问 HTML 源码、教程示例或可复制代码时不要使用。.
deep-research
深度研究编排方法论:澄清范围、拆解规划、并行调度子智能体调研、对抗式核验、综合成带引用的结构化报告。当任务需要多来源、可追溯、需事实核查的深度研究时使用此技能。.
mysql reporter
生成 MySQL 查询报表并生成可视化图表。当用户需要查询 MySQL 数据库并以报表形式展示结果时使用此技能,包括:统计销售数据、分析用户行为、生成业务报表、查询业务指标等。.
knowledge-base
使用 Yuxi 知识库进行检索、打开文档、文档内定位和查看思维导图。当用户需要基于已配置知识库回答问题、核验资料或引用文档内容时使用此技能。.
background-task
Add or modify work that runs outside the request/response cycle — emails, document ingestion, webhooks, cleanups, scheduled jobs. Use when something is slow or fire-and-forget, or when adding a periodic/cron task. This project's queue is {{ cookiecutter.backgroundtasks }}.
agent-tool
Add a new tool/function the AI agent can call (e.g. look something up, hit an external API, perform an action). Use when extending the assistant's capabilities, wiring a new function into the agent, or when the model needs a new action. This project uses {{ cookiecutter.aiframework }}.