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/adityavg13/cortex/storenpx skills add AdityaVG13/cortex --skill storegit clone --depth 1 https://github.com/AdityaVG13/cortexWhat 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.00034 | $0.00402 |
| Opus 5 | $0.00017 | $0.00201 |
| Sonnet 5 | $0.00007 | $0.00080 |
| Haiku 4.5 | $0.00003 | $0.00040 |
Grade A, and why
store 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 2d 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 Store
Save a decision or lesson to your persistent memory.
Usage
/cortex:store <decision>
The $ARGUMENTS placeholder contains the decision/lesson text.
What to Store
Good candidates for storage:
- Architecture decisions: "Chose SQLite for local-first, embedded use case"
- Coding conventions: "Use conventional commits: feat:, fix:, docs:"
- Lessons learned: "NTFS file locking requires LockFileEx on Windows"
- Project knowledge: "API rate limit is 100 req/min, use exponential backoff"
- Team agreements: "All PRs require at least one review"
Confidence Score Guidance
When storing, include confidence:
| Score | Meaning |
|---|---|
| 1.0 | Definitive - confirmed by testing/production |
| 0.9 | High confidence - validated approach |
| 0.8 | Solid - good evidence |
| 0.7 | Reasonable - working assumption |
| 0.5 | Tentative - needs more validation |
Context
Always include context - the "why" behind the decision:
- What problem did it solve?
- What alternatives were considered?
- What tradeoffs were made?
Example
Input:
/cortex:store "Use path.join() for all file paths - hardcoded / or \\ breaks Windows compatibility"
Stored as:
- Decision: Use path.join() for all file paths
- Context: Hardcoded / or \ breaks Windows compatibility
- Confidence: 0.9
Integration
This skill uses the cortex_store MCP tool with your $ARGUMENTS as the decision text.
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.
- 2d ago First seen · 63 lines · 34 tokens per session scan A 11d58fd09229
store is a skill published in the GitHub repository AdityaVG13/cortex (9 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 402 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-31.
Other skills, from other repositories
output-format
结构化医学学习产物的统一格式校验。四条硬格式与 validateoutput.py 单次标准输入流程。指南章节、路径图、诊断、备考、医保、更新和每日单元使用;普通医学问答走 clinical-q-and-a 的轻量自检,通用任务不套用。.
guideline-learning-diagnosis
当用户要求评估自己对某份指南的掌握情况、制定指南学习/备考计划、梳理薄弱章节、 做教育性小测,或学习指南中的诊断标准、鉴别框架和流程关系时使用。 本技能只做学习诊断与诊断标准教学,不对具体患者作疾病诊断、治疗、处方、剂量、 急诊处置或医保报销判断。.
guideline-learning
指南学习流程约束。判断请求类型→读取状态→按流程创建轨道/预览/投递/排查迁移;操作命令与细则见 references/learning-operations.md。选题用权威信源,输出前经 output-format 校验。不生成诊疗/处方/急诊SOP/个体患者建议。.
digital-eguide
A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with pull-quote and a step list). Lifestyle / creator brand tone. Use when the brief asks for an "e-guide", "digital guide", "lookbook", "lead magnet"…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or autonomous AI (3) need help with capabilities, subagents, planning, or skill mechanisms (4) ask about Claude Code…
copilotkit-self-update
Use when the user wants to update, refresh, or reinstall the CopilotKit agent SKILLS (the SKILL.md files that teach this agent about CopilotKit). NOT for updating the CopilotKit codebase or project — this is specifically about refreshing the skills/knowledge this agent has loaded. Triggers on "update copilotkit…