cao-memory
Skill1.4k starsChanged 2 months agoApache-2.0View on GitHub
Store, recall, and forget durable facts with CAO memory — user preferences,
Trending
Quiet since October.about the whole repository
Who's talking about awslabs/cli-agent-orchestrator
- theplenkov-forks/cli-agent-orchestrator“Add Devin CLI provider”GitHub · Jun 28, 2026 · 4 reactions
- theplenkov-forks/cli-agent-orchestrator“Add Devin CLI provider”GitHub · Jun 23, 2026 · 4 reactions
- pavelkrotkov/aipro“fix(v3): persist CAO attribution for each accepted turn”GitHub · Sep 19, 2026 · 1 reactions
- theplenkov-forks/cli-agent-orchestrator“[feat] Official devcontainer feature for CAO”GitHub · Apr 3, 2026 · 1 reactions
- theplenkov-forks/cli-agent-orchestrator“[feat] Non-interactive / headless mode for containerized deployments”GitHub · Apr 3, 2026 · 1 reactions
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub (20 times).
On GitHub · 20
- Jun 28, 2026Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator4 reactions · 31 comments
- Jun 23, 2026Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator4 reactions · 30 comments
- Sep 19, 2026fix(v3): persist CAO attribution for each accepted turn — pavelkrotkov/aipro1 reaction · 1 comment
- Apr 3, 2026[feat] Official devcontainer feature for CAO — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[feat] Non-interactive / headless mode for containerized deployments — theplenkov-forks/cli-agent-orchestrator1 reaction
15 more on GitHub
- Apr 3, 2026[feat] Make CORS origins configurable — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[bug] tmux PTY attach inherits TERM=dumb in container environments — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[bug] WebSocket PTY rejects connections from Docker bridge IPs — theplenkov-forks/cli-agent-orchestrator1 reaction
- Apr 3, 2026[feat] Add Devin CLI provider — theplenkov-forks/cli-agent-orchestrator1 reaction · 1 comment
- Apr 3, 2026[feat] Plugin/provider extension API — register providers without patching source — theplenkov-forks/cli-agent-orchestrator1 reaction
- Oct 4, 2026agent-plugins.github.awslabs.cli-agent-orchestrator: init at 2.5.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.awslabs.cli-agent-orchestrator: v2.5.1 → refs/tags/v2.5.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Code review of a python segfault fix caused "cybersecurity prevention" — openai/codex0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.awslabs.cli-agent-orchestrator: init at 2.5.1 — sudosubin/agents.nix0 reactions
- Sep 18, 2026RFC: modernize Passdown orchestration for ACP and cross-provider agents — vunm-io/passdown0 reactions · 8 comments
- Sep 10, 2026Add September 10 verified AI CLI discoveries — hasnocool/AI-CLI-Catalog0 reactions · 2 comments
- Jul 20, 2026feat: add CLI Agent Orchestrator (CAO) integration — ag-ui-protocol/ag-ui0 reactions · 8 comments
- Jul 20, 2026feat: add CLI Agent Orchestrator (CAO) integration — plauzy/ag-ui0 reactions · 2 comments
- Jul 20, 2026fix(cao-integration): canonical awslabs link + recurrence guard (P0-3, F-SL4) — plauzy/ag-ui0 reactions · 1 comment
- Apr 3, 2026[feat] Plugin/provider extension API — register providers without patching source — theplenkov-forks/cli-agent-orchestrator0 reactions · 1 comment
In this repository52 other files it gives its agents.
- cao-pluginSkill
- cao-providerSkill
- cao-agent-routingSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- aidlc-portfolioSkill
- agui-authorSkill
- cao-agent-routingSkill
- cao-contributingSkill
- cao-learningSkill
- cao-mcp-appsSkill
- cao-pluginSkill
- cao-providerSkill
- cao-session-livenessSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- cao-workflowSkill
- mcp-apps-builderSkill
- agui-authorSkill
- cao-agent-routingSkill
- cao-contributingSkill
- cao-learningSkill
- cao-mcp-appsSkill
- cao-memorySkill
- cao-pluginSkill
- cao-providerSkill
- cao-session-livenessSkill
- cao-session-managementSkill
- cao-supervisor-protocolsSkill
- cao-worker-protocolsSkill
- cao-workflowSkill
- mcp-apps-builderSkill
- migrate-agent-pluginSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- alphaSkill
- escaped-skillSkill
- alphaSkill
- alphaSkill
- betaSkill
- not-the-folder-nameSkill
- alphaSkill
- linkedSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Every memory has a scope (where it applies) and a type (what kind of fact it is).
- Distinctive: line 50
Store conclusions, not transcript: Keep each memory to 1–2 sentences.
- Very specific: line 72
When a lesson is durable and not specific to this repo — a reusable library gotcha, a debugging trick, a tooling preference that holds …
- Distinctive: line 99
Use this when a stored fact becomes outdated or was wrong.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CAO Memory
CAO gives every agent a shared, persistent memory. A fact you store in one session is available to a brand-new agent in a later session — even on a different provider. Use it so the user never has to repeat themselves.
These are CAO's cross-provider memory tools (memory_store, memory_recall,
memory_forget), exposed by the CAO MCP server. They are distinct from any
provider-native memory the CLI tool may have.
Scopes and types
Every memory has a scope (where it applies) and a type (what kind of fact it is).
| Scope | Applies to | Use for |
project (default) | This repo / working directory | Conventions, architecture, build rules |
global | Every project | User identity, durable cross-project preferences |
federated | Every project on this machine | Reusable, repo-independent lessons worth sharing across all your work (rejects credentials) |
session | This run only | Short-lived task context |
agent | This agent role | Role-specific working notes |
Types: project (default), user (who the user is / preferences), feedback
(corrections and how-to-work guidance), reference (pointers to docs, tickets, URLs).
Recall — check memory BEFORE asking the user
At the start of a task, and whenever you're about to ask the user something they may have already told you, search memory first.
memory_recall(query="database widgets endpoint testing")Omit scope to search all scopes (results follow precedence session → project → global → agent → federated).
Filter with scope= or memory_type= when you know where to look. Recall is for searching
beyond what was auto-injected (see below) — don't re-recall what's already in front of you.
Store — save anything worth remembering, immediately
Store the moment you learn something durable. Don't wait until the end of the session. Store conclusions, not transcript. Keep each memory to 1–2 sentences.
Store when you hit any of these:
- A correction — "No, we use DynamoDB here, not SQL." → store it so no agent makes that mistake again.
- A decided convention — "Every endpoint must have a pytest test before merge."
- A user preference — how they like work done, tools they prefer.
- A non-obvious project constraint — something you couldn't infer from the code.
memory_store(
content="Use DynamoDB for widgets-api; never SQL.",
scope="project",
memory_type="project",
key="widgets-database", # optional; auto-slugged from content if omitted
)Same key + scope upserts (updates in place) rather than duplicating.
Share across all your projects — scope="federated"
When a lesson is durable and not specific to this repo — a reusable library gotcha, a
debugging trick, a tooling preference that holds everywhere — store it with
scope="federated" so it follows you into every project on this machine, not just this one.
memory_store(
content="tmux paste-buffer needs `-p` or multi-line input loses bracketed-paste framing.",
scope="federated",
memory_type="reference",
)Federated memories sit at the lowest recall precedence — a project-local fact with the
same key always wins — so federating is safe: it only adds a fallback, never overrides what's
true here. To un-share, memory_forget(key=..., scope="federated").
- Never federate secrets. Tokens, keys, and passwords are rejected automatically on a federated write — and they'd be exposed to every project anyway. Keep credentials out of memory entirely.
- When in doubt, use
project. Federate only what you're confident is reusable everywhere.
Forget — remove what's wrong or superseded
memory_forget(key="widgets-database", scope="project")Use this when a stored fact becomes outdated or was wrong. Prefer correcting (re-store with the same key) over leaving stale facts in memory.
For native memory, forgetting removes the CAO-managed topic file. For vault-backed memory,
it removes CAO's derived index entry and leaves the vault note in place for the operator to
edit or delete in Obsidian. The memory_forget result's action is authoritative; its
legacy deleted boolean means CAO completed the forget operation, not that the vault file
was removed. Inspect path when the action reports vault deindexing.
Auto-injection (already happening)
On launch, CAO writes the most relevant memories for this working directory into the file
your CLI reads on startup (Claude Code: .claude/CLAUDE.md; Codex: AGENTS.md; Kiro:
.kiro/steering/cao-memory.md). So you usually begin a task already knowing the project's
key facts — memory_recall is for digging up anything that wasn't injected.
Habits
- Recall before asking. The answer may already be stored.
- Store the instant you learn something durable — corrections, conventions, preferences, constraints.
- One fact per memory, 1–2 sentences. Conclusions, not conversation.
- Pick the right scope: user-wide →
global; this repo →project.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

