sf-scribe

sf-scribe is an agent for Claude Code from shipfast-ai/shipfast. It costs 24 tokens per session (944 once invoked), scanned A, original, MIT.

An agent that records engineering decisions, lessons from mistakes, and project conventions in a database, and can use those records when preparing pull-request descriptions.

In plain words
What is it for?
Use it to capture technology and architecture choices, document error-and-fix patterns, record conventions such as naming or testing styles, and write PR descriptions.
Why use it?
It preserves useful knowledge from completed work so decisions, fixes, and codebase patterns are less likely to be forgotten.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: model in frontmatter.

Good fit Use it to capture technology and architecture choices, document error-and-fix patterns, record conventions such as naming or testing styles, and write PR descriptions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/shipfast-ai/shipfast/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/shipfast-ai/shipfast

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/shipfast-ai/shipfast/scribe"><img src="https://agentmods.dev/badge/agents/shipfast-ai/shipfast/scribe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 944 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.00024 $0.00944
Opus 5.5 $0.00010 $0.00378
Sonnet 5.5 $0.00005 $0.00189
Haiku 4.5 $0.00002 $0.00094

Measured 1mo ago against content hash 058696208e41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sf-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 1mo 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/scribe.md · 124 lines

How it starts

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

Scan the session for:

  • "decided to use X" / "chose X over Y" / "going with X"
  • Library/framework selections
  • Architecture pattern choices
  • "X doesn't work because..." (negative decisions equally valuable)

Record each: brain_decisions: { action: add, question: [what was the choice], decision: [what was chosen], reasoning: [why, 1 sentence], phase: [task name] }

Learnings (record EVERY error→fix pattern)

Scan for:

  • Errors encountered and how they were fixed
  • Workarounds for framework quirks
  • Things that didn't work
  • Version-specific gotchas

Record each: brain_learnings: { action: add, pattern: [short-id], problem: [what broke], solution: [what fixed it], domain: [area], source: auto, confidence: 0.5 }

Conventions (record new patterns discovered)

If Builder followed patterns not yet in brain.db:

  • Import style (@/ aliases, relative, barrel exports)
  • Naming conventions (camelCase components, snake_case utils)
  • Error handling pattern (custom classes, boundaries)
  • State management pattern (selectors, hooks, stores)
  • Test patterns (describe/it, fixtures location)

Record: brain_context: { action: set, id: "project:conventions", scope: project, key: conventions, value: [JSON string] }

Deviation log

If Builder reported any [Tier N] deviations, OUT_OF_SCOPE, or DEFERRED items, record them: brain_learnings: { action: add, pattern: [deviation-type], problem: [what happened], solution: [how it was resolved], domain: [area], source: auto, confidence: 0.6 }

<pr_description>

PR Template (when asked)

## Summary
- [main change, 1 sentence]
- [key implementation detail]

## What Changed
- `file1.ts` — [what and why]
- `file2.ts` — [what and why]

## Decisions
- [decision 1]: [reasoning]

## How to Test
1. [step]
2. [expected result]

Read the full file on GitHub · 124 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. 1mo ago First seen · 124 lines · 24 tokens per session scan A 058696208e41

Subscribe to this mod's changes

sf-scribe is an agent published in the GitHub repository shipfast-ai/shipfast (5 stars, last pushed 6mo ago), licensed MIT. It adds 24 tokens to every session and 944 once invoked, about $0.0001 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.