scribe

scribe is a skill for Claude Code from thkt/dotclaude. It costs 54 tokens per session (3,884 once invoked), scanned A, original, MIT.

A documentation tool that finds recurring practices and failure patterns in closed pull requests, issues, research notes, and the current code.

In plain words
What is it for?
Use it to propose distilled patterns and procedures as pull requests for a repository's wiki documentation.
Why use it?
It turns repeated lessons into reusable team guidance instead of leaving them scattered across old discussions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to propose distilled patterns and procedures as pull requests for a repository's wiki documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thkt/dotclaude/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.

Any agent
npx skills add thkt/dotclaude --skill scribe
Clone the repo
git clone --depth 1 https://github.com/thkt/dotclaude

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 scribe

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thkt/dotclaude/scribe"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/scribe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,884 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.00054 $0.03884
Opus 5.5 $0.00022 $0.01554
Sonnet 5.5 $0.00011 $0.00777
Haiku 4.5 $0.00005 $0.00388

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

Security

Grade A, and why

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/find_wiki_rule.ts, scripts/structure_page.ts, scripts/triage.ts, …), 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.

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.

.ja/skills/scribe/SKILL.md · 101 lines

How it starts

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

/scribe - PR / issue / research 共通項の wiki 蓄積

拾う共通項は、定型手順や規約として繰り返される手順と、再発する指摘や失敗のパターン。1 度きりの個別事情と、設計判断そのものは拾わない。

不変条件

条件 内容
PR 経由 デフォルトブランチへ直接コミット / プッシュしない
進捗の記録 cursor は最後にマージされた scribe PR の mergedAt。research ファイルはその mergedAt と最終コミット時刻を比べる
閾値の所在 ページにするか候補に置くかの判定は scripts/triage.ts が持ち、この skill は判定しない
事実のみ PR / issue と research ファイルに書かれた事実、および現在のコードで確認できた事実のみ書く。推測で埋めない
原本の識別 research の根拠は原本への相対リンクで特定する。旧 (research) の原本が不明なら保持し、推測で対応付けない
worktree 隔離 編集 / commit は隔離 worktree 内で行い、ユーザーの作業ツリーを動かさない。worktree を作るのは Phase 6 なので、書き込む Phase は Phase 6 だけ

Phase 1: 前提確認とオンボーディング

  1. gh pr list --label scribe --state open --limit 1 で未マージの scribe PR を確認する。あれば追い越さず、中断して報告する
  2. docs/wiki/README.md が無ければ ${CLAUDE_SKILL_DIR}/templates/readme.md の内容を用意する
  3. docs/wiki/_candidates.md が無ければ ${CLAUDE_SKILL_DIR}/templates/candidates.md の内容を用意する。手順 2 と合わせ、書き込みは Phase 6 の worktree 内で行う
  4. scribe ラベルが無ければ gh label create scribe --description "scribe による wiki 提案" で作成する

Phase 2: スコープ決定

  1. 最後にマージされた scribe PR の mergedAt を gh pr list --label scribe --state merged --limit 1 --json mergedAt -q '.[0].mergedAt' で取得する
  2. ${CLAUDE_SKILL_DIR}/../research/scripts/find-prior-research.ts --all docs/research research .claude/workspace/research で新旧配置の原本を再帰的に列挙する。対象 repo 内の通常ファイルだけを読む。path を読み、root 相対名・原文同一のコピーは aliases で 1 件として扱う。同名で内容が違う原本は両方を確認し、版の違いを独立した根拠数にしない。mergedAt が無ければ初回として全原本と gh pr list --state merged --search '-label:scribe'、gh issue list --state closed の全件を対象にする
  3. mergedAt があれば PR/issue は従来どおり merged:><mergedAt>/closed:><mergedAt> で絞る。原本は次のコマンドが列挙したパスを対象にする。

Read the full file on GitHub · 101 lines

Files

What ships with it

7 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. 1mo ago Changed · +12 lines · -1 tokens per session scan B → A 1dbf1da186e7
  2. 1mo ago Changed a3add5b7ae29
  3. 1mo ago First seen · 89 lines · 55 tokens per session scan B b7ed5947aede

Subscribe to this mod's changes

scribe is a skill published in the GitHub repository thkt/dotclaude (12 stars, last pushed 25d ago), licensed MIT. It adds 54 tokens to every session and 3,884 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-30.

Related

Other skills, from other repositories

team-management-receiving-feedback

How to receive code review as technical evaluation rather than social performance — verify claims against the codebase before implementing, push back with evidence, and drop the performative agreement. Use when responding to a human reviewer, a PR comment, or another AI reviewer, and when deciding whether a suggestion…

TeamManagementPlugin/claude-plugin · 97 tokens

review

Adversarial design review of a System Design Doc. Interrogates the staff questions, finds the cost-explosion and failure risks, returns a verdict. Sensors and evals gate.

Pierry/harness-kit · 39 tokens

council

Five independent critic subagents in parallel on an idea, plan, design, R&R strategy, grant, or SKILL.md, then a synthesis pass that ranks findings by how much of the argument rests on them, never by vote count. A markdown work plan gets the plan roster (assumptions, pre-mortem, what to delete, alternatives per piece…

ericluo04/claude-academic-workflow · 154 tokens

pr-reviewer

Review pull requests with full context. Fetches linked Jira tickets, Figma designs, and Notion docs via MCP, spawns parallel subagents for systematic code review (correctness, security, tests, SOLID, clean code), then drafts friendly, humanized GitHub-ready comments. Use when reviewing PRs, examining code changes, or…

Flagrare/agent-skills · 82 tokens

implementation-review

Pre-commit quality gate. Invoke before every git commit, after /flagrare:staleness-audit. Seven checks, plan gaps, use-case coverage gaps, missing test scenarios, test philosophy violations (Kent Dodds Testing Trophy), SOLID violations, Clean Code violations, and security vulnerabilities. Each check is delegated to a…

Flagrare/agent-skills · 106 tokens

security-audit

Focused security review of a change. Finds HIGH-CONFIDENCE, concretely exploitable vulnerabilities in the staged diff (injection, broken authn/authz, secrets and data exposure, unsafe deserialization, crypto misuse, SSRF) and audits dependencies when a lockfile moved, using the repo's own package manager. Runs as…

Flagrare/agent-skills · 148 tokens