acos-memory

acos-memory is a command for Claude Code from frankxai/agentic-creator-os. It costs 0 tokens per session (799 once invoked), scanned A, original, Apache-2.0.

A command for managing a five-layer memory system across ACOS, including saved experiences, learned patterns, and a knowledge graph. ACOS is a framework for coordinating coding-agent work.

In plain words
What is it for?
Use it to view learning statistics, search past patterns, store new patterns, and manage persistent entities and relationships.
Why use it?
It keeps useful information from earlier sessions available for later work. This reduces repeated discovery and helps agents reuse operation patterns that worked before.

Command for Claude Code

Written for Claude Code: SessionStart hook event.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/frankx/.claude/projects/-mnt-c-Users-Frank-FrankX/memory/MEMORY.md.

Part of the agentic-creator-os plugin — 131 commands, 68 agents shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add frankxai/agentic-creator-os
Claude Code
/plugin install agentic-creator-os

Made for: Claude Code.

Or install agentic-creator-os, the plugin that ships this one along with the rest of its 131 commands, 68 agents.

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 acos-memory

README.md
[![agentmods](https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/acos-memory.svg)](https://agentmods.dev/commands/frankxai/agentic-creator-os/acos-memory)
Your own site
<a href="https://agentmods.dev/commands/frankxai/agentic-creator-os/acos-memory"><img src="https://agentmods.dev/badge/commands/frankxai/agentic-creator-os/acos-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 799 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.1 $0.00000 $0.00799
Opus 5 $0.00000 $0.00400
Sonnet 5 $0.00000 $0.00160
Haiku 4.5 $0.00000 $0.00080

Measured 2d ago against content hash e037a10f7eac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

acos-memory 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.

.claude/commands/acos-memory.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ACOS Memory - Memory Operations

Manage the 5-layer memory system across ACOS.

Memory Layers

Layer 1: Trajectory Memory (Self-Learning)

Location: .claude/trajectories/ Purpose: Learn from past sessions to improve future ones

# View trajectory stats
bash .claude-flow/hooks/learning-hooks.sh stats

# Search learned patterns
bash .claude-flow/hooks/learning-hooks.sh search "deployment"
  • Auto-created on SessionStart
  • Auto-finalized on Stop (session end)
  • Success auto-scored based on session outcomes
  • Patterns extracted and stored for future hints

Layer 2: Learning Patterns

Location: .claude-flow/learning/patterns/ Purpose: Discovered operation sequences that work well

# Store a pattern
bash .claude-flow/hooks/learning-hooks.sh store "strategy description" "domain" "0.85"

# List all patterns
ls .claude-flow/learning/patterns/
  • Patterns broadcast to swarm agents automatically
  • Quality threshold: 0.7 (configurable via PATTERN_BROADCAST_THRESHOLD)
  • Cross-referenced with trajectory success scores

Layer 3: MCP Memory (Knowledge Graph)

Purpose: Persistent entity and relationship storage

Operations:

  • create_entities - Store new knowledge
  • create_relations - Link entities
  • search_nodes - Find related knowledge
  • read_graph - View full knowledge graph

Layer 4: Auto Memory (Session Context)

Location: /home/frankx/.claude/projects/-mnt-c-Users-Frank-FrankX/memory/MEMORY.md Purpose: Cross-session notes and lessons learned

  • Updated automatically as insights are discovered
  • Contains architecture notes, TypeScript patterns, WSL workarounds
  • Loaded into system prompt every session

Layer 5: Swarm Memory (Agent Communication)

Location: .claude-flow/swarm/ Purpose: Inter-agent messages and shared patterns

# View agent registry
cat .claude-flow/swarm/agents.json

# Check pending messages
ls .claude-flow/swarm/messages/

# Check pending handoffs
ls .claude-flow/swarm/handoffs/

# Swarm stats
bash .claude-flow/hooks/swarm-hooks.sh stats

Read the full file on GitHub · 112 lines

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. 2d ago First seen · 112 lines · 0 tokens per session scan A e037a10f7eac

Subscribe to this mod's changes

acos-memory is a command published in the GitHub repository frankxai/agentic-creator-os (10 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 799 tokens. 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-09-03.