write-code

write-code is a skill for Claude Code from tomoking2004/claude-plugins. It costs 87 tokens per session (923 once invoked), scanned A, original, MIT.

A workflow for implementing the code part of an assignment, such as a function, script, or notebook, from the task instructions and grading rubric.

In plain words
What is it for?
It is for writing assignment code, running the required checks, asking about genuinely unclear requirements, and preparing the implementation for delivery.
Why use it?
It reduces missed requirements by matching each requested item to code and checking the supplied test cases, edge cases, and error cases.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the assignment plugin — 3 skills shipped together

Good fit It is for writing assignment code, running the required checks, asking about genuinely unclear requirements, and preparing the implementation for delivery.

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

Made for: Claude Code.

Or install assignment, the plugin that ships this one along with the rest of its 3 skills.

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 write-code

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomoking2004/claude-plugins/write-code"><img src="https://agentmods.dev/badge/skills/tomoking2004/claude-plugins/write-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 923 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.00087 $0.00923
Opus 5.5 $0.00035 $0.00369
Sonnet 5.5 $0.00017 $0.00185
Haiku 4.5 $0.00009 $0.00092

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

Security

Grade A, and why

write-code 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 11d 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.

plugins/assignment/skills/write-code/SKILL.md · 31 lines

What it actually says

対象:課題のうちコードで応える部分(実装・スクリプト・ノートブック等).

手順

  1. 受領:RUBRIC.md を読み,その進行(受領・納品・修正)に従う——本スキルは実装の段を担う.ブロッキング項目が残る間は着手しない.
  2. 実装:出題文・採点基準を目的として,下の「領域の正典」に従って書く.
  3. 仕上げ:/refine:refine-code を発動し,美の6条で確定版へ仕上げる——美の基準(BEAUTY.md)は refine プラグインの正典であり,本スキルはそれを二重定義しない.委譲の際は,必要十分の基準となる目的が出題文・採点基準であることと,仕上げる対象が外へ出す成果物であることを明示する(成果物の文脈から推測させない).検査役は委譲元が立てるので,委譲先には立てさせない.
  4. 走査:下の「固有の走査」と RUBRIC.md の遵守ゲート・走査の規律を全件通し,欠陥ゼロを確認して確定する.納品するかは同書の進行に従う——単独で呼ばれたなら本スキルが納品し,委譲されたなら束ねて出すのは委譲元の責務なので納品しない.

領域の正典

言語は出題文の指定に従い,無ければ既存ファイル・分野の慣習に合わせる.ライブラリ・言語機能・実行環境(バージョン等)は,使用可否の指定があれば従う.スタイルの正典は持たない——美の仕上げは手順3で /refine:refine-code に委ねる.

固有の走査

  • 要求対応表:自分に割り当てられた要求項目(単独で呼ばれたなら出題文・採点基準の全項目——入出力形式・関数シグネチャ・与えられたテストケース等)と実装箇所を一対一で対応させ,満たさないものを潰す.
  • 実行確認:与えられたテストケース・境界値・異常系を実際に実行し,結果を裏取りする.

制約

動作をテスト・実行で確かめる.仕様の解釈が割れる箇所は推測せず問う.問い方:調べて届くことは調べ尽くし,ユーザーにしか分からないことだけを最初にまとめて問う.問いには調べた範囲・対象の原文・問う理由・答えで変わることを書き,未確認の前提で選ばせない.対象が一通りに読めるなら問わずにその読みで進め,採った読みを報告に1行載せる.ユーザーの発話が問いの形なら,依頼と読まず問いとして答える.

失敗時

/heal:heal-skill を呼ぶ.

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. 11d ago First seen · 31 lines · 87 tokens per session scan A 338df86fa957

Subscribe to this mod's changes

write-code is a skill published in the GitHub repository tomoking2004/claude-plugins (3 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 923 once invoked, about $0.0003 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-11-21.

Related

write-code compared with skills from other repositories

write-code next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-codetomoking2004/claude-pluginsSkill32d agoMITA87Claude Code
eli5melodic-software/claude-code-pluginsSkill34todayMITA155Claude Code
groundingmelodic-software/claude-code-pluginsSkill34todayMITA85Claude Code
ad-nachbausebaskauf/skaile-community-librarySkill96d agoMITA125Claude Code
ad-schnittsebaskauf/skaile-community-librarySkill96d agoMITA104Claude Code
ad-analysesebaskauf/skaile-community-librarySkill96d agoMITA100Claude Code
skill-teilensebaskauf/skaile-community-librarySkill96d agoMITA97Claude Code