store

store is a skill for Claude Code from AdityaVG13/cortex. It costs 34 tokens per session (412 once invoked), scanned A, original, MIT.

A command for saving a decision, convention, lesson, or other important project knowledge in Cortex's persistent memory.

In plain words
What is it for?
Use it to record architecture choices, coding conventions, troubleshooting lessons, project facts, or team agreements, together with their context and confidence.
Why use it?
It keeps useful context available in later sessions instead of requiring the same decision or explanation to be rediscovered.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the cortex plugin — 4 skills, 6 hooks, 1 MCP server shipped together

Good fit Use it to record architecture choices, coding conventions, troubleshooting lessons, project facts, or team agreements, together with their context and confidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adityavg13/cortex/store
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.

Any agent
npx skills add AdityaVG13/cortex --skill store
Clone the repo
git clone --depth 1 https://github.com/AdityaVG13/cortex

Made for: Claude Code.

Or install cortex, the plugin that ships this one along with the rest of its 4 skills, 6 hooks, 1 MCP server.

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 store

README.md
[![agentmods](https://agentmods.dev/badge/skills/adityavg13/cortex/store/github.svg)](https://agentmods.dev/skills/adityavg13/cortex/store)
Your own site
<a href="https://agentmods.dev/skills/adityavg13/cortex/store"><img src="https://agentmods.dev/badge/skills/adityavg13/cortex/store/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.

agentmods 80×15 button for store

Your own site · 80×15
<a href="https://agentmods.dev/skills/adityavg13/cortex/store"><img src="https://agentmods.dev/badge/skills/adityavg13/cortex/store.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 412 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00034 $0.00412
Opus 5.5 $0.00014 $0.00165
Sonnet 5.5 $0.00007 $0.00082
Haiku 4.5 $0.00003 $0.00041

Measured 28d ago against content hash 1fb1db71de6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 28d 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.

plugins/cortex-plugin/skills/store/SKILL.md · 63 lines

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_commit MCP tool with your $ARGUMENTS as the decision text. cortex_store is a legacy alias.

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. 28d ago Changed 1fb1db71de6f
  2. 1mo ago First seen · 63 lines · 34 tokens per session scan A 11d58fd09229

Subscribe to this mod's changes

store is a skill published in the GitHub repository AdityaVG13/cortex (8 stars, last pushed 28d ago), licensed MIT. It adds 34 tokens to every session and 412 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

llm-wiki

Build, ingest, query, and lint a persistent Markdown knowledge base using the Karpathy LLM Wiki pattern. Use for adding sources, maintaining interlinked wiki pages, answering from the knowledge base, filing durable research, or checking contradictions and index health. Do not use it to persist ordinary chat or…

TencentCloud/Octop · 69 tokens

knowledge-base

Build and maintain a company knowledge base as a wiki of interlinked markdown notes in the workspace — a private, compounding Wikipedia. Use when the user wants to start or organize a knowledge base / wiki, ingest sources (URLs, documents, pasted notes) into it, ask questions answered from it, or audit (lint) it.…

Open-Curiosity/gini-agent · 119 tokens

memory-management

Two-tier memory system that makes Claude a true workplace collaborator. Decodes shorthand, acronyms, nicknames, and internal language so Claude understands requests like a colleague would. CLAUDE.md for working memory, memory/ directory for the full knowledge base.

TencentCloud/Octop · 54 tokens

update

Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.

TencentCloud/Octop · 56 tokens

memoryguard

Local-first MCP memory backend and governance console for coding agents. Auto-organize, quarantine, supersede, and rollback shared memories across multiple agents.

irisxc4/memoryguard · 32 tokens

memory-consolidate

Consolidate L1 memory atoms into L2 scene blocks and L3 persona. Invoked by the memory-consolidator agent, or manually via /memory-consolidate.

baodq97/tencentdb-agent-memory · 41 tokens