agentleFS
chrysogonuschrysogonus/power-agents/skills/remember/SKILL.md

remember

Skill4 starsChanged 26 days agoMITView on GitHub

Use when the user asks to remember, update, or forget something for all projects and both agents, such as a fact about themselves, their machines and tools, or a recurring decision, or confirms such an entry you proposed, including a request to remember a secret, which it declines. Saves to the shared memory store in ~/.agents/memory and never stores secrets or credentials. Not for facts about the current project only, standing rules for how agents should work (those go in the instructions overlay), or session handoffs (use handoff).

75 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use agent-context-isolation, agentica-infrastructure and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 67 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the user explicitly asks you to remember something that is not a secret, save it here even if it contains "always" or "never", such as …

    line 24
  2. Very specific:

    Check MEMORY.md (in your session context, or read it) for an entry on the same subject.

    line 33
  3. Distinctive:

    Run the script in this skill's directory, with the fact as the body on standard input:

    line 45
  4. Very specific:

    Run memory.py forget NAME when the user asks you to forget something.

    line 63
  5. Distinctive:

    Read a memory file when its index line bears on the task.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 67 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Remember

The shared memory store is ~/.agents/memory/: one fact per Markdown file, listed in MEMORY.md. Claude Code and Codex both read it, and the context component shows the index at session start. The store is a local git repository. Never add a remote to it or push it.

What belongs where

The informationWhere it goes
Holds across projects: who the user is, their machines and tools, recurring decisions, external referencesThis store
Only about the current projectThe project's AGENTS.md, or Claude Code's per-project memory. Not this skill
An instruction for how agents should work from now on ("from now on, always…"), given without asking you to remember itOffer to add it to ~/.config/power-agents/instructions.md, the user's instructions overlay, and to rerun the Power Agents installer. Do not save it here
Secrets, credentials, or other people's personal dataNowhere. Decline even if the user asks again, and suggest a credential helper, a password manager, or an environment variable

When the user explicitly asks you to remember something that is not a secret, save it here even if it contains "always" or "never", such as "remember that I use pnpm, never npm".

Save

  1. Save only what the user asked you to remember. If you noticed a fact yourself, propose the entry (name, type, and description) and wait for a yes.
  2. Check MEMORY.md (in your session context, or read it) for an entry on the same subject. Update that entry with --replace instead of adding a near-duplicate. If its name no longer fits, save the fact under a new name and forget the old entry, so that one entry remains.
  3. Pick a type:
    • user: who the user is, their role, preferences, and environment.
    • feedback: guidance on how to work with them. Follow the fact with Why: and How to apply: lines.
    • project: a cross-project initiative or constraint. Write dates as absolute dates.
    • reference: a pointer to an external resource, such as a URL or a dashboard.
  4. Run the script in this skill's directory, with the fact as the body on standard input:

    python3 <skill-directory>/scripts/memory.py save NAME --type TYPE \
      --description "One line that tells a future agent when this matters" <<'EOF'
    The fact, in a few sentences.
    EOF

    NAME is a short lowercase slug such as prefers-pnpm. The script records the source project, session, and date, rebuilds MEMORY.md, and commits. It refuses an existing name unless you pass --replace. Codex asks for approval because the store is outside the workspace; that is expected.

  5. Tell the user the path of the saved file.

Forget or correct

Run memory.py forget NAME when the user asks you to forget something. When a memory turns out to be wrong or outdated, update or forget it instead of working around it. After editing memory files by hand, run memory.py index.

Recall

Read a memory file when its index line bears on the task. A memory describes what was true when it was written: check that a file, command, or flag it names still exists before you rely on it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.