Agent skill

Cas Memory Management

by codingagentsystem in codingagentsystem/cas

How to store and retrieve persistent memories using CAS. An agent skill from codingagentsystem/cas.

MITAuto-check passedAgent Workflows

Install Cas Memory Management

skills CLI
$ npx skills add codingagentsystem/cas --skill cas-memory-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install codingagentsystem/cas cas-memory-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/codingagentsystem/cas.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cas-memory-management .claude/skills/cas-memory-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cas-memory-management
GitHub stars
176
Token cost
~255 tokens
SKILL.md length
71 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

How to store and retrieve persistent memories using CAS. An agent skill from codingagentsystem/cas.

  • Context that should persist across sessions
  • SKILL.md covers When to Remember and Actions
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Discovering patterns

What it does

Cas Memory Management is an agent skill from codingagentsystem/cas. How to store and retrieve persistent memories using CAS. Use for facts, preferences, learnings, and context that should persist across sessions. Trigger when discovering patterns, fixing bugs, resolving config issues, or learning how unfamiliar code works.

Its SKILL.md is about 260 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent memory. It works with Model Context Protocol. The repository describes itself as: Multi-agent orchestration for Claude Code. Persistent memory, tasks, rules, and skills that make AI agents actually coordinate. The licence is MIT.

When your agent uses it

  • Context that should persist across sessions
  • Discovering patterns
  • Resolving config issues
  • Learning how unfamiliar code works

Example prompts

  • “/cas-memory-management”

What it can do on your machine

Read from SKILL.md and the folder at commit a0a4b5a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cas Memory Management loads about 255 tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 71 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~255

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from codingagentsystem/cas at commit a0a4b5a, republished under its MIT licence (© codingagentsystem). 71 words, ~255 tokens.

Download SKILL.mdSave it as .claude/skills/cas-memory-management/SKILL.md (or your agent's skills folder).
name
cas-memory-management
description
How to store and retrieve persistent memories using CAS. Use for facts, preferences, learnings, and context that should persist across sessions. Trigger when discovering patterns, fixing bugs, resolving config issues, or learning how unfamiliar code works.
managed_by
cas

CAS Memory Management

Store memories proactively — don't wait to be asked.

When to Remember

  • After discovering project-specific patterns or conventions
  • After fixing non-trivial bugs (capture root cause + solution)
  • After learning how unfamiliar code works
  • When finding important architectural decisions
  • After resolving configuration or setup issues

Actions

  • Store: mcp__cas__memory action=remember title="..." content="..." entry_type=learning (types: learning, preference, context, observation)
  • Find: mcp__cas__search action=search query="..." doc_type=entry
  • Promote: mcp__cas__memory action=helpful id=<id> — increases priority for future retrieval

© codingagentsystem, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/cas-memory-management of codingagentsystem/cas.

Open the folder on GitHubat commit a0a4b5a

Compare with similar skills

Cas Memory Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cas Memory Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cas Memory Management this skillcodingagentsystem/cas176—~255Automated safety check: PassMIT
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT
agentmemory Setup and Diagnosticsrohitg00/agentmemory29k—~1kAutomated safety check: NotesApache-2.0
Qmdbreferrari/obsidian-mind4.9k—~1.7kAutomated safety check: PassMIT
Memori MCP Memory UsageMemoriLabs/Memori17k—~3.8kAutomated safety check: PassMIT

Similar skills

  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.

    29k GitHub stars~1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check: notes
  • Qmd

    breferrari/obsidian-mind

    Search the vault using QMD semantic search. An agent skill from breferrari/obsidian-mind.

    4.9k GitHub stars~1.7k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Memori MCP Memory Usage

    MemoriLabs/Memori

    Teaches an MCP-connected agent when and how to call Memori's recall, summary, compaction, augmentation, feedback and quota tools to keep context across sessions.

    17k GitHub stars~3.8k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Ourmem

    ourmem/omem

    Shared memory that never forgets. An agent skill from ourmem/omem.

    174 GitHub starsUsed in 1 repo~3.4k tokens
    Agent WorkflowsAuto-check passed

More from codingagentsystem/cas

  • Cas Search

    codingagentsystem/cas

    Search across CAS content (memories, tasks, rules, skills, code).

    176 GitHub stars~516 tokensUpdated 7 mo ago
    Auto-check passed
  • Cas Supervisor

    codingagentsystem/cas

    Factory supervisor guide for multi-agent EPIC orchestration.

    176 GitHub stars~1.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Cas Worker

    codingagentsystem/cas

    Factory worker guide for task execution in CAS multi-agent sessions.

    176 GitHub stars~1.2k tokensUpdated 7 mo ago
    Auto-check passed
  • Cas

    codingagentsystem/cas

    Coding Agent System - unified memory, tasks, rules, and skills.

    176 GitHub stars~723 tokensUpdated 7 mo ago
    Auto-check passed
  • Cas Supervisor Checklist

    codingagentsystem/cas

    Quick startup checklist for factory supervisors. An agent skill from codingagentsystem/cas.

    176 GitHub stars~349 tokensUpdated 7 mo ago
    Auto-check passed
  • Cas Task Tracking

    codingagentsystem/cas

    How to track work using CAS tasks instead of built-in TodoWrite.

    176 GitHub stars~279 tokensUpdated 7 mo ago
    Auto-check passed

Categories

Questions about Cas Memory Management

What does Cas Memory Management do?

How to store and retrieve persistent memories using CAS. An agent skill from codingagentsystem/cas. Cas Memory Management is an agent skill from codingagentsystem/cas. How to store and retrieve persistent memories using CAS.

When should I use Cas Memory Management?

Cas Memory Management fits situations like: context that should persist across sessions; discovering patterns; resolving config issues; learning how unfamiliar code works.

How do I install Cas Memory Management in Claude Code?

Run `npx skills add codingagentsystem/cas --skill cas-memory-management -a claude-code`. Or copy the skill folder (.claude/skills/cas-memory-management in codingagentsystem/cas) into .claude/skills/cas-memory-management in your project. Claude Code loads it when a task matches its description.

How do I install Cas Memory Management in Codex?

Run `npx skills add codingagentsystem/cas --skill cas-memory-management -a codex`. Or copy the skill folder (.claude/skills/cas-memory-management in codingagentsystem/cas) into .agents/skills/cas-memory-management in your project. Codex loads it when a task matches its description.

Can I use Cas Memory Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add codingagentsystem/cas --skill cas-memory-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cas-memory-management, .gemini/skills/cas-memory-management, .github/skills/cas-memory-management and .opencode/skills/cas-memory-management in your project.

What does Cas Memory Management need to run?

SKILL.md names no scripts, command-line tools or credentials: Cas Memory Management is instructions for the agent only.

Does Cas Memory Management access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cas Memory Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cas Memory Management use?

Cas Memory Management is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cas Memory Management use?

About 255 tokens (SKILL.md is roughly 1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cas Memory Management?

Skills that share tags, products or a category with Cas Memory Management: MemPalace Memory Search (MemPalace/mempalace, 59k stars), MemPalace Setup and Operation (MemPalace/mempalace, 59k stars), agentmemory Setup and Diagnostics (rohitg00/agentmemory, 29k stars) and Qmd (breferrari/obsidian-mind, 4.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cas Memory Management?

codingagentsystem (a GitHub organization) maintains it in codingagentsystem/cas, which has 176 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on March 12, 2026.

Source: codingagentsystem/cas on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.