agent-notepad

agent-notepad is a plugin for Claude Code from OneDro1d/dark-factory. Its manifest loads nothing; the 3 skills it bundles cost 559 tokens per session together, scanned B, original, Apache-2.0.

A plugin that gives a coding agent persistent working memory for each objective. It stores notes and an append-only journal in a separate Git repository and can cover several code repositories.

In plain words
What is it for?
Use it to track ongoing coding objectives, maintain session history, share handoffs, and keep related repositories coordinated.
Why use it?
It preserves useful context when a conversation is shortened and provides a durable record that can be continued across sessions or machines.

Plugin for Claude Code

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

Good fit Use it to track ongoing coding objectives, maintain session history, share handoffs, and keep related repositories coordinated.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add OneDro1d/dark-factory
/plugin install agent-notepad
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/OneDro1d/dark-factory

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/plugins/onedro1d/dark-factory/plugin/github.svg)](https://agentmods.dev/plugins/onedro1d/dark-factory/plugin)
Your own site
<a href="https://agentmods.dev/plugins/onedro1d/dark-factory/plugin"><img src="https://agentmods.dev/badge/plugins/onedro1d/dark-factory/plugin/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-notepad

Your own site · 80×15
<a href="https://agentmods.dev/plugins/onedro1d/dark-factory/plugin"><img src="https://agentmods.dev/badge/plugins/onedro1d/dark-factory/plugin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 3 skills cost 559 tokens a session between them.
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.
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 23d 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.

"$comment": "The four USER-LEVEL Notes hooks declared here mirror what install.sh merges into ~/.claude/settings.json (that path uses ${HOME}/.claude/hooks/agent-notepad/...; this plugin path uses ${CLAUDE_PLUGIN_ROOT} p
skills/agent-notepad/plugin/.claude-plugin/plugin.json · 95 lines

How it starts

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

{
  "name": "agent-notepad",
  "version": "1.0.0",
  "description": "Persistent, per-objective working memory for coding agents — one standalone git notepad per objective that survives compaction, spans multiple code repos from a single session, keeps an append-only journal, and mirrors into an episodic memory index. Evolves and supersedes handoff-auto.",
  "author": {
    "name": "Loom / Dark Factory Process"
  },
  "keywords": [
    "memory",
    "working-memory",
    "handoff",
    "compaction",
    "context",
    "notepad",
    "dark-factory"
  ],
  "$comment": "The four USER-LEVEL Notes hooks declared here mirror what install.sh merges into ~/.claude/settings.json (that path uses ${HOME}/.claude/hooks/agent-notepad/...; this plugin path uses ${CLAUDE_PLUGIN_ROOT} per DESIGN §15). The PreToolUse commit gate is intentionally NOT declared here — it ships in the notepad template's .claude/settings.json so it arms ONLY inside a notepad session (DESIGN §7.6/§15). The digest builder (hooks/digest-build.sh) is a standalone script triggered by a debounced Stop or a scheduled job, not a native hook event, so it is not declared here either.",
  "hooks": {
    "SessionStart": [
      {
        "matcher": "startup|resume|clear|compact",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh\""
          }
        ]
      },
      {
        "matcher": "compact",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh\" --part notes"
          }
        ]
      },
      {
        "matcher": "startup|resume|clear",
        "hooks": [
          {
            "type": "command",
            "command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh\" --part cold-notes"
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "command",
            "

Read the full file on GitHub · 95 lines

Contents

What it installs

The manifest is a name and a version. 3 skills travel with it, and installing the plugin installs all of them — 559 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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. 23d ago Changed · +21 lines 38284ca82048
  2. 28d ago Changed · +9 lines 19ee51c57f29
  3. 1mo ago First seen · 65 lines scan B 61dcfdecd760

Subscribe to this mod's changes

agent-notepad is a plugin published in the GitHub repository OneDro1d/dark-factory (4 stars, last pushed yesterday), licensed Apache-2.0. Its token cost is not measured: this kind of file is read by the harness, not the model. 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.