Agent skill

C Memory

by daxaur in daxaur/openpaw

Persistent memory across Claude Code sessions — remember facts, preferences, and context

MITAuto-check passedAgent Workflows

Install C Memory

skills CLI
$ npx skills add daxaur/openpaw --skill c-memory -a claude-code

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

GitHub CLI
$ gh skill install daxaur/openpaw c-memory --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/daxaur/openpaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/c-memory .claude/skills/c-memory && 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
c-memory
GitHub stars
174
Token cost
~934 tokens
SKILL.md length
279 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Persistent memory across Claude Code sessions — remember facts, preferences, and context

  • Tasks that involve Agent memory
  • SKILL.md covers How It Works, Directory Structure, Session Start and When to Save, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

C Memory is an agent skill from daxaur/openpaw. Persistent memory across Claude Code sessions — remember facts, preferences, and context

Its SKILL.md is about 930 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 Obsidian. The repository describes itself as: Personal Assistant Wizard for Claude Code — npx pawmode. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent memory

Example prompts

  • “/c-memory”

What it can do on your machine

Read from SKILL.md and the folder at commit a2562d1. 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 (its code samples are bash and markdown).

    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

C Memory loads about 934 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 279 words of instructions outside code blocks.

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

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 daxaur/openpaw at commit a2562d1, republished under its MIT licence (© daxaur). 279 words, ~934 tokens.

Download SKILL.mdSave it as .claude/skills/c-memory/SKILL.md (or your agent's skills folder).
name
c-memory
description
Persistent memory across Claude Code sessions — remember facts, preferences, and context
tags
memory, context, persistence

Memory — Persistent Context

Store and recall facts, preferences, and context across Claude Code sessions.

How It Works

Memory lives in ~/.claude/memory/ as plain markdown files. Read them at session start, write to them when you learn something important.

Directory Structure

~/.claude/memory/
├── MEMORY.md          # Key facts — always read this first
├── people.md          # People the user mentions (names, roles, preferences)
├── preferences.md     # User preferences (tools, workflows, habits)
├── projects.md        # Active projects and their context
└── journal.md         # Session log — append-only, dated entries

Session Start

At the beginning of every session, read ~/.claude/memory/MEMORY.md to load context. This file should be concise — under 100 lines.

When to Save

Save to memory when the user:

  • Shares their name, role, or preferences
  • Mentions people they work with
  • Describes a project or recurring task
  • Says "remember this" or "don't forget"
  • Corrects you about something

Writing Rules

  • MEMORY.md: Key facts only. Keep under 100 lines. Update, don't append.
  • people.md: Name, role, relationship, preferences. One section per person.
  • preferences.md: Tools, workflows, communication preferences.
  • projects.md: Project name, status, key files, context.
  • journal.md: Append a dated entry at the end of each session summarizing what was done.

Commands

bash
# Read memory
cat ~/.claude/memory/MEMORY.md

# List memory files
ls ~/.claude/memory/

# Append to journal
echo "## $(date +%Y-%m-%d)" >> ~/.claude/memory/journal.md

Example MEMORY.md

markdown
# Memory

## User
- Name: Alex
- Role: Frontend developer
- Prefers TypeScript, uses Neovim
- Timezone: PST

## Active Projects
- ctrl.build — DeFi workflow automation (Next.js + Solidity)
- openpaw — CLI tool for Claude Code setup

## Preferences
- Concise responses, no emoji unless asked
- Always use bun instead of npm
- Dark mode everything

Guidelines

  • Never store passwords, API keys, or secrets in memory files
  • Always ask before overwriting existing memory entries
  • If memory files don't exist, create them on first write
  • Keep MEMORY.md focused — move details to topic-specific files

Obsidian Sync (Auto)

If c-obsidian is also installed (check ls ~/.claude/skills/c-obsidian/), automatically sync memory to Obsidian:

On Memory Write

When saving to any memory file, also mirror to Obsidian in an AI/ folder:

bash
obsidian-cli create "AI/Memory" --content "$(cat ~/.claude/memory/MEMORY.md)"
obsidian-cli create "AI/People" --content "$(cat ~/.claude/memory/people.md)"
obsidian-cli create "AI/Preferences" --content "$(cat ~/.claude/memory/preferences.md)"
obsidian-cli create "AI/Projects" --content "$(cat ~/.claude/memory/projects.md)"
Journal → Daily Note

Append session logs to both journal.md and Obsidian's daily note:

bash
obsidian-cli append "$(date +%Y-%m-%d)" "### Claude Session $(date +%H:%M)\n- [summary]"
echo "## $(date +%Y-%m-%d %H:%M)\n- [summary]" >> ~/.claude/memory/journal.md
On Session Start

After reading ~/.claude/memory/MEMORY.md, check Obsidian for newer content:

bash
obsidian-cli search --folder "AI" "Memory"

If the Obsidian version has additional facts, merge them into ~/.claude/memory/MEMORY.md.

Conflict Resolution
  • ~/.claude/memory/ is the authoritative quick-access cache
  • Obsidian is the long-term archive and rich knowledge base
  • When in doubt, prefer the most recently modified version

© daxaur, 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 skills/c-memory of daxaur/openpaw.

Open the folder on GitHubat commit a2562d1

Compare with similar skills

C Memory 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.

C Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
C Memory this skilldaxaur/openpaw174—~934Automated safety check: PassMIT
Qmdbreferrari/obsidian-mind4.9k—~1.7kAutomated safety check: PassMIT
Agent RecallGoldentrii/AgentRecall-X371—~5.2kAutomated safety check: NotesMIT
AI Memory Obsidiankipperacademy/skillpper134—~1.4kAutomated safety check: NotesNone
Obsidian Project Memorybrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~2.4kAutomated safety check: PassCustom licence
AI BrainOotto-AI/claude-content-skills112—~1.1kAutomated safety check: PassMIT

Similar skills

  • 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 yesterday
    Agent WorkflowsAuto-check passed
  • Agent Recall

    Goldentrii/AgentRecall-X

    Persistent compounding memory for AI agents. An agent skill from Goldentrii/AgentRecall-X.

    371 GitHub stars~5.2k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check: notes
  • AI Memory Obsidian

    kipperacademy/skillpper

    Portable workflows for persistent memory and Obsidian across macOS, Linux, and Windows.

    134 GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 2 days ago
    Knowledge ManagementAuto-check passed
  • AI Brain

    Ootto-AI/claude-content-skills

    Give Claude a permanent, searchable long-term memory using an Obsidian vault as the store.

    112 GitHub stars~1.1k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Obsidian Memory

    Ancienttwo/repo-harness

    Recall project memory or save reusable lessons to Obsidian only when explicitly requested.

    434 GitHub stars~318 tokensUpdated today
    Agent WorkflowsAuto-check passed

More from daxaur/openpaw

All 42 skills in this repo
  • C Lockin

    daxaur/openpaw

    Lock In Mode — orchestrate distraction blocking, environment setup, and session tracking.

    174 GitHub starsUsed in 1 repo~547 tokens
    Auto-check passed
  • C Notes

    daxaur/openpaw

    Manage Apple Notes and Apple Reminders from the CLI. An agent skill from daxaur/openpaw.

    174 GitHub starsUsed in 1 repo~450 tokens
    Auto-check passed
  • C Briefing

    daxaur/openpaw

    Daily briefing — morning summary of email, calendar, tasks, weather.

    174 GitHub stars~559 tokensUpdated 4 mo ago
    Auto-check passed
  • C Calendar

    daxaur/openpaw

    View and create calendar events via gog (Google Calendar) or icalBuddy (Apple Calendar).

    174 GitHub stars~566 tokensUpdated 4 mo ago
    Auto-check passed
  • C Contacts

    daxaur/openpaw

    macOS Contacts — search, list, and look up contact details via AppleScript.

    174 GitHub stars~466 tokensUpdated 4 mo ago
    Auto-check passed
  • C Email

    daxaur/openpaw

    Read, send, search, and label email via gog (Gmail CLI) or himalaya (IMAP).

    174 GitHub stars~547 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about C Memory

What does C Memory do?

Persistent memory across Claude Code sessions — remember facts, preferences, and context. C Memory is an agent skill from daxaur/openpaw.

When should I use C Memory?

C Memory fits situations like: tasks that involve Agent memory.

How do I install C Memory in Claude Code?

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

How do I install C Memory in Codex?

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

Can I use C Memory 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 daxaur/openpaw --skill c-memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/c-memory, .gemini/skills/c-memory, .github/skills/c-memory and .opencode/skills/c-memory in your project.

What does C Memory need to run?

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

Does C Memory 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 C Memory 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 C Memory use?

C Memory 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 C Memory use?

About 934 tokens (SKILL.md is roughly 3.7k 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 C Memory?

Skills that share tags, products or a category with C Memory: Qmd (breferrari/obsidian-mind, 4.9k stars), Agent Recall (Goldentrii/AgentRecall-X, 371 stars), AI Memory Obsidian (kipperacademy/skillpper, 134 stars) and Obsidian Project Memory (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains C Memory?

daxaur (a GitHub user) maintains it in daxaur/openpaw, which has 174 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on May 23, 2026.

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