store

store is a command for coding agents from cwensel/arcaneum. It costs 8 tokens per session (700 once invoked), scanned A, original, MIT.

A command for saving agent-generated research, analysis, or other content as searchable long-term memory.

In plain words
What is it for?
Use it to store documents in a named memory collection with titles, categories, tags, metadata, chunk settings, and optional JSON progress output.
Why use it?
It keeps useful material on disk and indexes it so it can be found later with semantic or full-text search.

Command

Part of the arc plugin — 5 skills, 10 commands shipped together

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.

agentmods
npx agentmods add commands/cwensel/arcaneum/store
Clone the repo
git clone --depth 1 https://github.com/cwensel/arcaneum

Or install arc, the plugin that ships this one along with the rest of its 5 skills, 10 commands.

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/commands/cwensel/arcaneum/store.svg)](https://agentmods.dev/commands/cwensel/arcaneum/store)
Your own site
<a href="https://agentmods.dev/commands/cwensel/arcaneum/store"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/store.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.00700
Opus 5 $0.00004 $0.00350
Sonnet 5 $0.00002 $0.00140
Haiku 4.5 $0.00001 $0.00070

Measured 3d ago against content hash 2706f9ddbd45, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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.

commands/store.md · 87 lines

What it actually says

Store agent-generated content (research, analysis, synthesized information) with rich metadata. Content is persisted to disk for re-indexing and full-text retrieval, then indexed to Qdrant for semantic search.

Tip: For full search capabilities (semantic + full-text), first create a corpus with /arc:corpus create Memory --type markdown, then use this command with --collection Memory. The stored content will be searchable via both /arc:search semantic and /arc:search text.

Storage Location: ~/.local/share/arcaneum/agent-memory/{collection}/

Options:

  • --collection: Target collection (required)
  • --model: Embedding model (default: arctic-m for documents)
  • --title: Document title (added to frontmatter)
  • --category: Document category (e.g., research, security, analysis)
  • --tags: Comma-separated tags
  • --metadata: Additional metadata as JSON
  • --chunk-size: Target chunk size in tokens (overrides model default)
  • --chunk-overlap: Overlap between chunks in tokens
  • --verbose: Show detailed progress
  • --json: Output in JSON format

Examples:

/store analysis.md --collection Memory --title "Security Analysis" --category security
/store - --collection Research --title "Findings" --tags "research,important"

Execution:

arc store $ARGUMENTS

How It Works:

  1. Accept content from file or stdin (-)
  2. Extract/add rich metadata (title, category, tags, custom fields)
  3. Semantic chunking preserving document structure
  4. Generate embeddings (arctic-m default: 768D for stable document retrieval)
  5. Upload to Qdrant with metadata
  6. Persist to disk: ~/.local/share/arcaneum/agent-memory/{collection}/{date}_{agent}_{slug}.md
  7. Generate YAML frontmatter with injection metadata (injection_id, injected_at, injected_by)

Persistence:

Content is always persisted for durability. This enables:

  • Re-indexing: Update embeddings without losing original content
  • Full-text retrieval: Access complete original documents
  • Audit trail: Track what was stored and when (injection_id, timestamps)

Filename Format:

YYYYMMDD_agent_slug.md (e.g., 20251030_claude_security-analysis.md)

Use Cases:

  • AI agents storing research findings
  • Preserving analysis results
  • Collecting synthesized information
  • Building knowledge bases from agent workflows

Default Model:

  • arctic-m (768D, stable FastEmbed document retrieval)

Related Commands:

  • /arc:corpus create - Create corpus for dual search (recommended: --type markdown)
  • /arc:collection create - Create collection for semantic search only
  • /arc:search semantic - Search stored content semantically
  • /arc:search text - Search stored content with full-text (requires corpus)
  • /arc:index markdown - For indexing existing markdown directories (different use case)

Implementation:

  • RDR-014: Markdown content indexing
  • arcaneum-204: Direct injection persistence module
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. 3d ago First seen · 87 lines · 8 tokens per session scan A 2706f9ddbd45

Subscribe to this mod's changes

store is a command published in the GitHub repository cwensel/arcaneum (7 stars, last pushed 7d ago), licensed MIT. It adds 8 tokens to every session and 700 once invoked, about $0.0000 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.