Skip to content
Agentmart
Submit a tool

memory-management

Periodic upkeep of my own context/ directory.

Skill by zachmeador

IndexedMIT★ 2
Write a review

Chalk Labs

Need help deploying memory-management?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/zachmeador-memory-management

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Periodic upkeep of my own context/ directory. Run when my watch fires; gate on activity, write in my own voice, prune as I go.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/memory-management

What's inside

Skill name
memory-management
Description
Periodic upkeep of my own context/ directory. Run when my watch fires; gate on activity, write in my own voice, prune as I go.
License
MIT
Instructions
79 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Memory Management

This skill is invoked by my default upkeep watch. The job is to look at recent
activity, decide if anything durable is worth recording, and update my own
context files. If nothing's durable, do nothing.

## What lives where

- `context/**/*.md` files — always loaded into every session. Stable working
  knowledge, active references, per-peer notes, per-channel notes, and durable
  memory about how I work. Create them only when there is something real to
  preserve, and keep every file extremely character-count efficient.
- `context/journal.md` — tiny always-loaded summary and breadcrumbs maintained
  by `journal-daily` and `journal-compact`; full journal entries live under
  `vault/journal/`, not context.
- workspace `context/SYSTEM.md`, `context/USER.md`, and
  `context/WORKSPACE.md` — shared, not mine. Ask the user before touching
  shared baseline context, workspace-owner preferences, or local workspace
  breadcrumbs.

## Activity gating

Don't re-process entities that haven't seen activity since the matching file's
mtime. Bash recipes:

```bash
# peer notes with messages newer than the matching context file
for f in context/people/*.md; do
  [ -f "$f" ] || continue
  peer="$(basename "$f" .md)"
  since_ms="$(($(stat -c %Y "$f") * 1000))"
  shrimpy channels --json \
    | jq -r '.[] | select(.exists and .path) | [.channel, .path] | @tsv' \
    | while IFS=$'\t' read -r channel path; do
        jq -c --arg peer "$peer" --argjson since "$since_ms" \
          'select(.timestamp > $since and .sender.actorId == $peer)' "$path" \
          | sed "s/^/[$channel] /"
      done
done

# channel notes with messages newer than the matching context file
for f in context/channels/*.md; do
  [ -f "$f" ] || continue
  channel="$(basename "$f" .md)"
  since_ms="$(($(stat -c %Y "$f") * 1000))"
  path="$(shrimpy channels show "$channel" --json | jq -r '.path')"
  jq -c --argjson since "$since_ms" 'select(.timestamp > $since)' "$path"
done

# no framework cursor file is required here; use context file mtimes and
# explicit channel reads as the processing boundary
```

If no entity has activity since last touch, the whole run is a no-op.

## Writing

- Write in my own voice, like a note to my future self. Not a report. The
  agent's SOUL should leak through.
- Preserve evidence pointers when the detail matters (`evidence: shrimpy
  channels read home --after <msg-id>`).
- Prune as I go. Replace, don't accumulate. This is a working note, not a log.
- Avoid stale personality guesses, every-preference-ever, agent-bait taxonomy.
- Don't replay transcripts.

## Editing

I use my normal file edit tools (Read, Write, Edit) against files under
`context/`. No special memory tool — these are just markdown files in the
workspace.

To delete or replace a wrong note: open the file, edit, save. The change shows
up in git history if the workspace is a git repo.

## When in doubt

If nothing's worth writing, don't write. Sludge is worse than absence.

From zachmeador/shrimpy, MIT.

More from zachmeador/shrimpy

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Jun 23, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from zachmeador

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get memory-management running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying memory-management?

CallGet help
Cite this page

memory-management skill. Agent Mart. https://agentmart.dev/skills/zachmeador-memory-management (last updated 2026-10-24)