aiskillstore/marketplace/cm
Claude Code and agent skill by aiskillstore/marketplace
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Author "aiskillstore" has blocked skill(s)
CASS Memory System - procedural memory for AI coding agents. Three-layer cognitive architecture with confidence decay, anti-pattern learning, cross-agent knowledge transfer, trauma guard safety system. Bun/TypeScript CLI.
Install
npx vskill@latest install aiskillstore/marketplace/cmSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as aiskillstore/marketplace/cm.
CM - CASS Memory System
Procedural memory for AI coding agents. Transforms scattered sessions into persistent, cross-agent memory. Uses a three-layer cognitive architecture that mirrors human expertise development.
Why This Exists
AI coding agents accumulate valuable knowledge but it's:
- Trapped in sessions - Context lost when session ends
- Agent-specific - Claude doesn't know what Cursor learned
- Unstructured - Raw logs aren't actionable guidance
- Subject to collapse - Naive summarization loses critical details
You've solved auth bugs three times this month across different agents. Each time you started from scratch.
CM solves this with cross-agent learning: a pattern discovered in Cursor is immediately available to Claude Code.
Three-Layer Cognitive Architecture
Every agent's sessions feed the shared memory. A pattern discovered in Cursor automatically helps Claude Code on the next session.
The One Command You Need
Run this before starting any non-trivial task. Returns:
- relevantBullets - Rules from playbook scored by task relevance
- antiPatterns - Things that have caused problems
- historySnippets - Past sessions (yours and other agents')
- suggestedCassQueries - Deeper investigation searches
Filtering History by Source
historySnippets[].origin.kind is "local" or "remote". Remote hits include origin.host:
Confidence Decay System
Rules aren't immortal. Confidence decays without revalidation:
| Mechanism | Effect | |
|---|---|---|
| 90-day half-life | Confidence halves every 90 days without feedback | |
| 4x harmful multiplier | One mistake counts 4× as much as one success | |
| Maturity progression | candidate → established → proven |
Score Decay Visualization
Effective Score Formula
Maturity State Machine
Transition Rules:
| Transition | Criteria | |
|---|---|---|
candidate → established | 3+ helpful, harmful ratio <25% | |
established → proven | 10+ helpful, harmful ratio <10% | |
any → deprecated | Harmful ratio >25% OR explicit deprecation |
Anti-Pattern Learning
Bad rules don't just get deleted. They become warnings:
When a rule is marked harmful multiple times (>50% harmful ratio with 3+ marks), it's automatically inverted into an anti-pattern.
ACE Pipeline (How Rules Are Created)
| Stage | Role | LLM? | |
|---|---|---|---|
| Generator | Pre-task context hydration (cm context) | No | |
| Reflector | Extract patterns from sessions (cm reflect) | Yes | |
| Validator | Evidence gate against cass history | Yes | |
| Curator | Deterministic delta merge | No |
Critical: Curator has NO LLM to prevent context collapse from iterative drift. LLMs propose patterns; deterministic logic manages them.
Scientific Validation
Before a rule joins your playbook, it's validated against cass history:
Rules without historical evidence are flagged as candidates until proven.
Commands Reference
Context Retrieval (Primary Workflow)
Playbook Management
Learning & Feedback
Onboarding (Agent-Native)
Zero-cost playbook building using your existing agent:
Trauma Guard (Safety System)
System Commands
Starter Playbooks
Starting with an empty playbook is daunting. Starters provide curated best practices:
Built-in Starters
| Starter | Focus | Rules | |
|---|---|---|---|
| general | Universal best practices | 5 | |
| typescript | TypeScript/Node.js patterns | 4 | |
| react | React/Next.js development | 4 | |
| python | Python/FastAPI/Django | 4 | |
| node | Node.js/Express services | 4 | |
| rust | Rust service patterns | 4 |
Custom Starters
Create YAML files in ~/.cass-memory/starters/:
Inline Feedback (During Work)
Leave feedback in code comments. Parsed during reflection:
Agent Protocol
You do NOT need to:
- Run
cm reflect(automation handles this) - Run
cm markmanually (use inline comments) - Manually add rules to the playbook
Gap Analysis Categories
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dicklesworthstone/cm/SKILL.md
Popularity
- Repository stars
- 429
- Repository forks
- 45
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aiskillstore/marketplace/cm)