cas CLAUDE.md

A set of instructions for CAS, a coding-agent system that stores tasks, rules, and memories across sessions. It tells agents to use CAS commands instead of temporary task lists.

In plain words
What is it for?
Use it to create, start, and close coding tasks, save project memories, search past context, and follow the CAS project structure.
Why use it?
It keeps task progress and useful project knowledge available between coding sessions. It also defines how agents should manage work and search stored context.

Instructions file

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 instructions/codingagentsystem/cas/claude-md
Clone the repo
git clone --depth 1 https://github.com/codingagentsystem/cas
Per session 2,157 This file is loaded in full into every session.
When invoked 2,157 The same file — it is already loaded in full.
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.02157 $0.02157
Opus 5 $0.01078 $0.01078
Sonnet 5 $0.00431 $0.00431
Haiku 4.5 $0.00216 $0.00216

Measured yesterday against content hash e73b9d5e8319, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cas CLAUDE.md 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 yesterday.

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.md · 271 lines

How it starts

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

IMPORTANT: USE CAS FOR TASK AND MEMORY MANAGEMENT

DO NOT USE BUILT-IN TOOLS (TodoWrite, EnterPlanMode) FOR TASK TRACKING.

Use CAS MCP tools instead:

  • mcp__cas__task with action: create - Create tasks (NOT TodoWrite)
  • mcp__cas__task with action: start/close - Manage task status
  • mcp__cas__task with action: ready - See ready tasks
  • mcp__cas__memory with action: remember - Store memories and learnings
  • mcp__cas__search with action: search - Search all context

CAS provides persistent context across sessions. Built-in tools are ephemeral.

CAS - Coding Agent System

Unified context system for AI agents: persistent memory, tasks, rules, and skills across sessions.

Design Philosophy: CAS is built for AI agents as the primary users. Humans are observers who review agent activity, provide feedback, and guide direction - but the tools and workflows are optimized for agent consumption and production.

Use CAS for Task & Memory Management

Agents use CAS MCP tools instead of built-in TodoWrite:

mcp__cas__task action=create     - Create/track tasks
mcp__cas__task action=start      - Start working on a task (sets status to in_progress)
mcp__cas__task action=notes      - Add progress notes (progress, blocker, decision, discovery)
mcp__cas__task action=close      - Complete tasks
mcp__cas__memory action=remember - Store learnings and context
mcp__cas__search action=search   - Find relevant context (filter with doc_type: entry/task/rule/skill)

Human CLI:

cas init           # Initialize CAS in a project
cas serve          # Start MCP server
cas config list    # View configuration
cas doctor         # Run diagnostics
cas update         # Self-update

Project Structure

cas-cli/           # Rust CLI & MCP server (primary)
crates/            # Workspace crates (cas-core, cas-store, cas-search, etc.)

cas-cli Architecture

Read the full file on GitHub · 271 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. yesterday First seen · 271 lines · 2,157 tokens per session scan A e73b9d5e8319

Subscribe to this mod's changes

cas CLAUDE.md is an instructions file published in the GitHub repository codingagentsystem/cas (151 stars, last pushed 5mo ago), licensed MIT. It adds 2,157 tokens to every session, about $0.0108 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-30.

Related

Other instructions, from other repositories

guardian-agent AGENTS.md

Instructions for Threat-Vector-Security/guardian-agent, covering repository guidelines, branching (critical), project structure & module organization, build, test, and development commands and runtime restart handoff (critical).

Threat-Vector-Security/guardian-agent · 2,934 tokens

guardian-agent CLAUDE.md

Instructions for Threat-Vector-Security/guardian-agent, covering repository guidelines, branching (critical), project structure & module organization, build, test, and development commands and intent gateway (critical).

Threat-Vector-Security/guardian-agent · 2,549 tokens

guardian-agent GEMINI.md

Instructions for Threat-Vector-Security/guardian-agent, covering repository guidelines, branching (critical), project structure & module organization, build, test, and development commands and intent gateway (critical).

Threat-Vector-Security/guardian-agent · 2,549 tokens

hatch3r CLAUDE.md

Instructions for hatch3r/hatch3r, covering hatch3r — development instructions, architecture, development commands, two-axis pillar framework (2.0.0) and orchestrator self-discipline (bypass protection).

hatch3r/hatch3r · 5,121 tokens

gemini-kit GEMINI.md

Instructions for nth5693/gemini-kit, covering gemini-kit: super engineer team, role & responsibilities, workflows, team members and workflow.

nth5693/gemini-kit · 1,369 tokens

ai-assistant-instructions CLAUDE.md

Instructions for dryvist/ai-assistant-instructions: Canonical agent instructions live in AGENTS.md and agentsmd/rules/. Nix-managed machines auto-load both globally via nix-ai, so this file deliberately does not re-import them — doing so would load every byte twice in each session. Non-Nix contributors: read AGENTS.md…

dryvist/ai-assistant-instructions · 90 tokens