Skip to content
Back to skills

Squirrel Stash

ASecurity

Save one user-confirmed durable memory to the global or current project's existing Markdown hoard.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentspythonshellgitdatabase

Works with

  • claude code

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add thgMatajs/squirrel-mode --skill squirrel-stash --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Squirrel Stash?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Squirrel Stash
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thgmatajs-squirrel-stash/badge)](https://www.skillsdirectory.com/skills/thgmatajs-squirrel-stash)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.