Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Squirrel Stash?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thgmatajs-squirrel-stash)
---
name: squirrel-stash
description: "Save one user-confirmed durable memory to the global or current project's existing Markdown hoard."
---
<!-- GENERATED FILE. Source: targets/codex/skills/squirrel-stash/SKILL.md; installed by targets/codex/install.sh. -->
# squirrel-stash
Only save on an explicit user request. Hoard memories are durable and reusable; do not promote an unverified inference from chat into an established claim.
1. Choose `global` only for a user preference or correction that applies across projects. Choose `project` for repository conventions or decisions. Project memories use the existing Claude-compatible basename+cksum slug for the canonical repository root, so root and subdirectory access works; worktree-specific legacy hoards are not searched or merged automatically.
2. Show the proposed title, body, source, and source date to the user. Source must identify where the claim came from (for example, “user correction in this conversation”); use today's UTC date only when the source date is unknown and label it accordingly.
3. Never store credentials or personal-finance amounts, transactions, or payment states. The local domain database is authoritative; a memory may point to a rule or database location.
4. After confirmation, pipe the approved body to this exact helper invocation (replace each placeholder with the approved value and keep arguments shell-quoted):
`python3 "$HOME/.agents/skills/squirrel-stash/squirrel.py" memory-write --scope global|project --cwd "$PWD" --title '<title>' --type feedback|decision|episode|reference --importance 1..5 --tags '<tags>' --source '<source>' --source-date '<YYYY-MM-DD>' [--supersedes '<old-id>']`
The command reads the body from stdin. When a claim changes, use `--supersedes '<old-id>'` so the older memory remains as history. Do not edit old memory bodies.
5. Confirm the resulting layer and title in one line.
This Codex skill writes through its bundled helper, not Claude Code's `Write` tool or any auto-approval hook. Existing Markdown memories remain readable. Requires Python 3.8 or newer, the standard library, and `git` plus `cksum` on PATH. The project-memory slug uses the legacy basename+cksum convention. The helper fails explicitly if either executable is unavailable; a confirmed non-Git directory uses its canonical path. Flock coordinates only Codex helper processes, not Claude Code or other external writers. A supersession journal is recovered by the next Codex read/search/write command after interruption.