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.
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.
[](https://agentmods.dev/skills/onedro1d/dark-factory/agent-notepad)<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>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.
| Model | Per session | Once 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 |
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.
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), 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 |
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.
- DESIGN.md 16 KB
- plugin/.claude-plugin/plugin.json 2.1 KB
- plugin/.gitignore 157 B
- plugin/hooks/commit-gate.sh 15 KB runs code
- plugin/hooks/pre-compact.sh 3.2 KB runs code
- plugin/hooks/push-gate.sh 13 KB runs code
- plugin/hooks/session-start.sh 28 KB runs code
- plugin/hooks/stop.sh 5.8 KB runs code
- plugin/hooks/user-prompt.sh 1.6 KB runs code
- plugin/install.sh 11 KB runs code
- plugin/lib/merge-session-index.py 4.4 KB runs code
- plugin/lib/notepad.sh 2.2 KB runs code
- plugin/lib/publish-handoff.sh 6.3 KB runs code
- plugin/lib/redact.sh 1.8 KB runs code
- plugin/lib/snapshot.sh 2.0 KB runs code
- plugin/notepad-template/.claude/settings.json 1.4 KB
- plugin/notepad-template/.gitattributes 2.0 KB
- plugin/notepad-template/.gitignore 1.2 KB
- plugin/notepad-template/CLAUDE.md 2.1 KB
- plugin/notepad-template/DIGEST.md 1.7 KB
- plugin/notepad-template/NOTES.md 966 B
- plugin/notepad-template/org-routing.example.json 747 B
- plugin/notepad-template/repos.manifest.json 476 B
- plugin/notepad-template/SCOPE.md 547 B
- plugin/notepad-template/sessions/index.json 3 B
- plugin/skills/handoff/SKILL.md 8.8 KB
- plugin/skills/scope-init/SKILL.md 13 KB
- plugin/skills/scope-retire/SKILL.md 4.4 KB
- plugin/tests/_pyrun.py 2.7 KB runs code
- plugin/tests/assert.sh 1.6 KB runs code
- plugin/tests/run-tests.sh 3.9 KB runs code
- plugin/tests/test_commit_gate.sh 18 KB runs code
- plugin/tests/test_concurrent_notepads.sh 2.5 KB runs code
- plugin/tests/test_handoff.sh 12 KB runs code
- plugin/tests/test_install.sh 8.7 KB runs code
- plugin/tests/test_notepad_model.sh 5.8 KB runs code
- plugin/tests/test_packaging.sh 3.4 KB runs code
- plugin/tests/test_push_gate.sh 11 KB runs code
- plugin/tests/test_session_index_merge.sh 3.7 KB runs code
- plugin/tests/test_session_start.sh 31 KB runs code
- plugin/tests/test_skills_frontmatter.sh 2.6 KB runs code
- plugin/tests/test_stop.sh 6.8 KB runs code
- plugin/tests/test-agent-notepad-plugin.sh 3.1 KB runs code
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.
- 2d ago Changed · +36 lines e0e8943adec4
- 6d ago First seen · 117 lines · 181 tokens per session scan B bc06e825b03b
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.
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.
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.…
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…
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.
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…
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.