cass-memory

Manages a personal coding playbook and retrieves context via CLI commands.

24|6|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/johnlindquist/claude --skill cass-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cass-memory
Source: https://github.com/johnlindquist/claude/tree/main/skills/cass-memory
Command: npx skills add https://github.com/johnlindquist/claude --skill cass-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often forget useful patterns and lessons from past sessions. This Skill helps you build a personal playbook and fetch relevant context before starting new tasks, reducing cognitive load and rework.

Core Features & Use Cases

  • Context retrieval: fetch relevant rules and guidelines before tackling a task.
  • Reflection (Pattern extraction): analyze recent sessions to surface reusable patterns.
  • Playbook Management: view, add, and organize rules to build a personal coding playbook.
  • Use Case: Before starting a feature, pull the most relevant patterns to inform architecture decisions and avoid common mistakes.

Quick Start

Initialize the system, then query context for a task: cm init cm context "Describe your task" --json cm reflect --json cm playbook list --json

Frequently Asked Questions about cass-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recall coding patterns from past work to avoid repeating mistakes?

This Skill remembers patterns and rules from your coding sessions and retrieves relevant context before you start new tasks. Initialize with `cm init`, then query context for a task using `cm context "your task description"` to fetch guidelines and anti-patterns that apply to your current work.

What's the best way to build a personal coding playbook?

Reflection extracts reusable patterns from recent sessions automatically. Use `cm reflect` to surface patterns, then manage your playbook with `cm playbook list` and `cm playbook add` to organize rules and guidelines you want to reuse across projects.

Can I automate context lookup before starting a development task?

Yes. After initialization, the CLI-based workflow lets you query relevant patterns with a single command. Use `cm context` with a task description to fetch applicable rules and context, reducing cognitive load and informing architecture decisions upfront.

How does pattern reflection work on my coding sessions?

Pattern extraction analyzes your recent work to surface reusable rules and coding techniques you've already discovered. Run `cm reflect` to derive anti-patterns and lessons, which feed into your playbook for future tasks.

Do I need prior setup to start using coding pattern recall?

You need to initialize the system once with `cm init` to establish your pattern store. After that, you can immediately query context, reflect on sessions, and manage your playbook through CLI commands.

What happens if I want to track outcomes from tasks using patterns?

The Skill supports outcome recording alongside pattern management. Use `cm` commands to log results from tasks where you applied patterns, creating feedback loops that refine your playbook over time.