rfc-writer

rfc-writer is a skill for Claude Code from shimo4228/claude-harness. It costs 56 tokens per session (1,971 once invoked), scanned A, original, MIT.

A procedure for adding proposals and cross-session work items to a public RFC ledger, where RFC means a documented request for comments.

In plain words
What is it for?
Use it to decide whether work needs an RFC, assign its number and status, format the entry, publish it, and connect it to the repository index.
Why use it?
It prevents small tasks that can finish immediately from creating unnecessary records, while preserving decisions that need approval or may continue across sessions.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to decide whether work needs an RFC, assign its number and status, format the entry, publish it, and connect it to the repository index.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shimo4228/claude-harness/rfc-writer
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 shimo4228/claude-harness --skill rfc-writer
Clone the repo
git clone --depth 1 https://github.com/shimo4228/claude-harness

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 rfc-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/rfc-writer"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/rfc-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,971 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.00056 $0.01971
Opus 5.5 $0.00022 $0.00788
Sonnet 5.5 $0.00011 $0.00394
Haiku 4.5 $0.00006 $0.00197

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

Security

Grade A, and why

rfc-writer 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 22d 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.

skills/rfc-writer/SKILL.md · 100 lines

How it starts

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

RFC Writer — 公開台帳への起票

rfcs/ は提案と作業項目の公開台帳。この skill はそこへ 1 エントリを起票する手順と規約を持つ。

0. 足切り — 起票しないことを先に判定する

Do not create an RFC for work that can be safely completed in the current session without preserving intent or state.

台帳は seam(セッション境界・判断待ち・条件待ち)へ intent と state を運ぶ器。 運ぶものが無い起票は純コスト(GTD の 2 分ルールの台帳版)。

  • 逆は成り立つ: 今すぐ却下できる提案でも却下理由を残す価値があるなら起票してよい — それは intent の保存(公開判断記録が rfcs/ の存在理由)
  • 起票のタイミングは seam が生まれた瞬間、入口の儀式ではない: plan → 実装で完結する 直実装は RFC 無しが既定 — 記録は commit(何を)と ADR(なぜ、判断が要るときだけ)が 担う。後追いで起票するのは足切りの前提が破れた瞬間: ① 実装がセッションを跨ぐ ことになった(in_progress + Status に経緯)② 人間の判断待ちで止まった(blocked + 3 行)③ 実装中に「やらない」と決めた(rejected / withdrawn、却下理由ごと terminal で 置く)。完了後の後追い起票はしない — それは ADR か commit log の領分
  • 別軸の既存足切りはそのまま: review 指摘は「loop 自身を壊す欠陥」+ producer 引用のみ 即時起票(task-stocktake「レビュー指摘の起票規律」)、 便乗型(「次に X を触る時に」)は台帳でなくコード側の注記

1. 起票手順

  1. state: 提案は draft、採用済みの作業項目は accepted。語彙 9 語の定義・ 使い分け・blocked の 3 行は skill: task-stocktake が正本(ここに複製しない)

  2. 採番: rfcs/ の [0-9][0-9][0-9][0-9]-*.md の最大番号 +1 を 4 桁 zero-pad。 欠番は再利用しない(docs/decision-history と同じ)。ファイル名 NNNN-<kebab-slug>.md、 ID は RFC-NNNN

  3. 本文(Rust RFC 0000-template 準拠 + 独自 2 節。推奨であって強制ではない — 小さな作業項目は該当なし節を省き Summary / Motivation 中心でよい):

    ---
    state: draft 2026-08-25
    review-when: <失効条件(無ければ省略。語は ADR の Review-when と同じ)>
    ---
    ## Summary
    ## Motivation
    ## Guide-level explanation
    ## Reference-level explanation
    ## Drawbacks
    ## Rationale and alternatives
    ## Prior art
    ## Unresolved questions
    ## Future possibilities
    ## Status
    ## Next action
    
    • 機械契約は 1 つ: 本文の最初の非見出し行(= Summary の 1 行目)が claims.py ready の 90 字要約になる。frontmatter で機械が読むのは state: のみ
    • ## Status = state 語 + 現在地の要約 + 日付(IETF「Status of This Memo」型。 state 遷移のたびに更新)。## Next action = 何があれば動くか(blocked の 3 行の家)
    • plan(docs/plans/ の .md。過去の html plan は .html)を通った作業は ## Status に **YYYY-MM-DD plan** — [docs/plans/<file>](../docs/plans/<file>) を 1 行置く(plan から RFC へ辿れるように)。本文の最初の行には置かない(claims.py ready の要約になるため)
    • 見出しは EN、本文の言語は自由
  4. 公開規約: 公開が既定。何を名指し何を .notes/ へ逃がすかの境界は rule public-records.md が正本。rfc には機微でない理由を書いてよい。公開は撤回不能なので、迷ったら書かない側に倒す

  5. 接続: python3 ~/.claude/scripts/claims.py spawn RFC-NNNN --origin <origin> (review 由来は --producer PATH:LINE 必須)。着手時は claim

  6. index: rfcs/README.md の表に 1 行 — | [NNNN](<NNNN-slug>.md) | <title> | の形 (角括弧に番号、丸括弧にファイル名、右列にタイトル)。 state 列は持たない(frontmatter が唯一の正本 — 二重記録は drift する)

Read the full file on GitHub · 100 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. 22d ago Changed 2d3f831f6881
  2. 29d ago Changed fad9485de758
  3. 1mo ago Changed 9061289b2cfb
  4. 1mo ago Changed · -101 tokens per session 7c0c40f5ebae
  5. 1mo ago Changed · -2 lines · -131 tokens per session 5757f3dc901e
  6. 1mo ago Changed daaeb982928d
  7. 2mo ago Changed · +2 lines 0995b0e36c19
  8. 2mo ago Changed · +1 lines 9d00a00a5711
  9. 2mo ago Changed · -1 lines beaa551b0588
  10. 2mo ago First seen · 100 lines · 288 tokens per session scan A c02a05baca5e

Subscribe to this mod's changes

rfc-writer is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 56 tokens to every session and 1,971 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

rfc-writer compared with skills from other repositories

rfc-writer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rfc-writershimo4228/claude-harnessSkill47d agoMITA56Claude Code
agent-adoption-triageshimo4228/agent-adoption-triageSkill21mo agoMITA143Claude Code
git-commitadongwanai/learn-workbuddySkill5631mo agoMITA0Claude Code, Codex
pi-triagesky-valley/piSkill94yesterdayMITA57Claude Code
pi-parity-reviewsky-valley/piSkill94yesterdayMITA54Claude Code
zodanivar/zod-skillSkill24yesterdayMITA217Claude Code, Codex
trailhead-chartToRvaLDz/trailheadSkill37yesterdayMITA138Claude Code