agent-notepad

agent-notepad is a skill for Claude Code from OneDro1d/dark-factory. It costs 181 tokens per session (2,394 once invoked), scanned B, original, Apache-2.0.

A persistent working notebook for coding agents, stored as a separate Git repository for each objective. It keeps an append-only journal across context loss, multiple code repositories, and machines.

In plain words
What is it for?
Use it to record progress, decisions, and handoffs for a coding objective. It is intended for Claude Code and includes hooks, skills, a notebook template, and a Python memory adapter.
Why use it?
It preserves working context when a conversation is shortened or work moves between repositories. Separate objective notebooks also keep unrelated work from being mixed together.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Good fit Use it to record progress, decisions, and handoffs for a coding objective. It is intended for Claude Code and includes hooks, skills, a notebook template, and a Python memory adapter.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-notepad

README.md
[![agentmods](https://agentmods.dev/badge/skills/onedro1d/dark-factory/agent-notepad.svg)](https://agentmods.dev/skills/onedro1d/dark-factory/agent-notepad)
Your own site
<a href="https://agentmods.dev/skills/onedro1d/dark-factory/agent-notepad"><img src="https://agentmods.dev/badge/skills/onedro1d/dark-factory/agent-notepad.svg" alt="Measured on agentmods" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00181 $0.02394
Opus 5 $0.00090 $0.01197
Sonnet 5 $0.00036 $0.00479
Haiku 4.5 $0.00018 $0.00239

Measured 2d ago against content hash e0e8943adec4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

agent-notepad scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 27 executable files (plugin/hooks/commit-gate.sh, plugin/hooks/pre-compact.sh, plugin/hooks/push-gate.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

# merges the four user-level Notes hooks into ~/.claude/settings.json (idempotent),
skills/agent-notepad/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

agent-notepad — persistent, per-objective working memory

What this is

A notepad is one standalone git repo per objective (<group>-<objective>, e.g. proj-arbbot), holding the agent's working memory for that objective. It survives context compaction, keeps history (append-only journal, not a rewrite), spans several code repos from a single session, and syncs across machines. It is the short-term, auto-loaded tier that complements a curated long-term store — and it evolves and supersedes handoff-auto: the same continuity machinery, now objective-scoped instead of cwd-scoped, with history and cross-repo reach. ⚠️ handoff-auto is deliberately UNBACKTICKED and unlinked here: it was REMOVED from this repo on 2026-09-04, and a backticked name reads to tier-check.py as a reference to a component this tier ships — which is what the gate caught. The plugin installer still UNWIRES its old hook entries from an existing settings.json; that is for machines installed before the removal, and it stays.

Product = a Claude Code plugin: hooks + skills + a notepad template + a small Python memory adapter. No binary, no daemon. Full rationale in DESIGN.md.

Why it beats naive auto-handoff

handoff-auto keys by cwd → one rewritten file → parallel sessions clobber, no history, single-repo. A notepad gives zero contention (separate folder + cwd + git repo per objective), append-only history, and cross-repo context driven from one place via absolute paths (never cd). The episodic memory index is exercised at both ends by hooks (write-mirror on Stop, query on digest build), so "memory is actually used" is enforced, not left to agent discretion.

The four layers

Layer Anchored to Where
Working memory (Notes) the task the notepad repo (NOTES.md + journal) — this skill
Per-repo context store code (file:line) <code-repo>/.claude/context/ — df-context-store
Episodic index journals, by prefix the memory index (MemPalace ref impl) — mirror + digest
Curated distilled cross-project the long-term store (Engram ref) — existing

Read the full file on GitHub · 153 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +36 lines e0e8943adec4
  2. 6d ago First seen · 117 lines · 181 tokens per session scan B bc06e825b03b

Subscribe to this mod's changes

agent-notepad is a skill published in the GitHub repository OneDro1d/dark-factory (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 181 tokens to every session and 2,394 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens