sonmat-scribe

sonmat-scribe is an agent for Claude Code from jun0-ds/sonmat. It costs 39 tokens per session (1,183 once invoked), scanned A, original, BSD-3-Clause.

A background note-taking agent that reviews finished work from its files, change history, and test results. It creates a handover note containing what changed, unresolved issues, decisions, and open questions.

In plain words
What is it for?
Use it after coding work to summarize completed changes, track remaining problems, record constraints, and prepare context for the next task.
Why use it?
It preserves useful context after a task ends, so a later task does not have to reconstruct the project's recent history from scratch.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the sonmat plugin — 6 skills, 3 agents, 1 hook shipped together

Good fit Use it after coding work to summarize completed changes, track remaining problems, record constraints, and prepare context for the next task.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jun0-ds/sonmat/sonmat-scribe
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/jun0-ds/sonmat

Made for: Claude Code.

Or install sonmat, the plugin that ships this one along with the rest of its 6 skills, 3 agents, 1 hook.

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 sonmat-scribe

README.md
[![agentmods](https://agentmods.dev/badge/agents/jun0-ds/sonmat/sonmat-scribe/github.svg)](https://agentmods.dev/agents/jun0-ds/sonmat/sonmat-scribe)
Your own site
<a href="https://agentmods.dev/agents/jun0-ds/sonmat/sonmat-scribe"><img src="https://agentmods.dev/badge/agents/jun0-ds/sonmat/sonmat-scribe/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 sonmat-scribe

Your own site · 80×15
<a href="https://agentmods.dev/agents/jun0-ds/sonmat/sonmat-scribe"><img src="https://agentmods.dev/badge/agents/jun0-ds/sonmat/sonmat-scribe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,183 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00039 $0.01183
Opus 5.5 $0.00016 $0.00473
Sonnet 5.5 $0.00008 $0.00237
Haiku 4.5 $0.00004 $0.00118

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

Security

Grade A, and why

sonmat-scribe scanned grade A with 0 findings 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/sonmat-scribe.md · 132 lines

How it starts

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

Role

Background meta agent. You run after foreground work completes or pauses for session wrap-up. You receive artifacts: git diffs, changed files, test output, loop reports, or a factual session handoff supplied by main with agreed decisions, corrections, current status, unresolved work and supporting references. You do not receive the full conversation.

Your job is to keep the meta layer clean so the foreground can focus on actual work.


Three Functions

1. Bridge — Context Carryover

The most important function. When a task ends, extract what the next task should know.

Input: git diff, changed file list, loop report, or session handoff (as available) Output: bridge-note.md in the per-project scribe dir — $SONMAT_PROJECTS_BASE/<slug> (default ~/.sonmat/projects/<slug>, where <slug> is the cwd path with /→-). This lives outside .claude/ (which Claude Code edit-protects); the session-start hook auto-migrates any legacy .claude/sonmat/.

Bridge note format:

# Bridge Note
Updated: {timestamp}

## Context
{1-3 sentences: what was just done and why}

## Carry Forward
{Bullet list: things the next task should be aware of}
- Unresolved issues
- Connections to other domains/tasks
- Decisions made that constrain future work

## Open Questions
{Things that came up but weren't addressed}

Rules:

  • Overwrite the previous bridge-note (not append). One note, always current.
  • If nothing is worth carrying forward, write "No carryover." — don't leave a stale note.
  • Keep it under 20 lines. This will be read into a future context window.

2. Journal — Post-Work Summary

Append-only log of completed work. Not a detailed record — a scannable timeline.

Input: git log (recent commits), changed files, loop report, or session handoff Output: append to journal.md in the scribe dir (same dir as the bridge note above).

Entry format:

## {date} — {one-line summary}
- Scope: {files/modules touched}
- Result: {outcome — shipped / partial / reverted}
- Notable: {anything surprising or worth remembering, or "—"}

Read the full file on GitHub · 132 lines

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. 7d ago Changed · +4 lines f5aa538d5263
  2. 1mo ago First seen · 128 lines · 39 tokens per session scan A 8ccb04bea33e

Subscribe to this mod's changes

sonmat-scribe is an agent published in the GitHub repository jun0-ds/sonmat (6 stars, last pushed 6d ago), licensed BSD-3-Clause. It adds 39 tokens to every session and 1,183 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

deep-research-patcher

Applies critic findings to a nav-deep-research draft as surgical Edit hunks and records a patch log. Tool-locked so it cannot regenerate the report. Spawned once at step 5 by the nav-deep-research skill.

qf-studio/navigator · 55 tokens

migration-specialist

Framework upgrades, codemod strategies, version migration planning, and legacy modernization specialist. Use when upgrading frameworks, migrating between technologies, or modernizing legacy codebases. Trigger phrases: migration, upgrade, framework migration, version upgrade, codemod, legacy, modernize, breaking…

travisjneuman/.claude · 67 tokens

monetization-expert

Expert in revenue models, pricing strategy, and business monetization.

travisjneuman/.claude · 18 tokens

CodeQL Permissions Auditor

Analyze workflow permission issues and apply fixes.

dryvist/claude-code-plugins · 12 tokens

state-keeper

Use this agent to run sync reconciliation between fakoli-state's three sources of truth — the SQLite canonical state (.fakoli-state/state.db), the filesystem (packets/, .evidence-buffer/, worktrees), and git (branches, commits, claims). It surfaces drift as structured discrepancy reports — orphan branches (claimed…

fakoli/fakoli-plugins · 465 tokens

qa-tester

Use when the task is a verifiable browser interaction with a binary pass/fail outcome — login flow, submit form, attach file, verify message appears. Returns a verdict + evidence. Do NOT use for tasks needing user decisions mid-flow (region selection, domain pick, etc.).

DevZonayed/Mochi · 60 tokens