coding

A set of working rules for coding agents that edit files in a software project. It covers how to inspect files, search code, make focused changes, and avoid unnecessary rewrites.

In plain words
What is it for?
Finding files and code, reading files before edits, applying small changes, and keeping bug fixes or other changes limited to the requested scope.
Why use it?
It reduces accidental changes and encourages the agent to understand existing code before modifying it.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/suyoumo/clawprobench/coding
Any agent
npx skills add suyoumo/ClawProBench --skill coding
Clone the repo
git clone --depth 1 https://github.com/suyoumo/ClawProBench

Made for: Claude Code, Codex.

Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 654 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00013 $0.00654
Opus 5 $0.00006 $0.00327
Sonnet 5 $0.00003 $0.00131
Haiku 4.5 $0.00001 $0.00065

Measured yesterday against content hash 5fff841f7e5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

coding 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 yesterday.

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.

ironclaw/skills/coding/SKILL.md · 63 lines

What it actually says

Coding Best Practices

Tool Usage Discipline

  • Prefer apply_patch over write_file for modifying existing files. It sends only the changed portion, preventing accidental full-file rewrites.
  • Always read_file before editing. Understand the context before changing code. Never edit a file you haven't read.
  • Use glob for file discovery instead of shell with find or ls. It's faster, safer, and returns structured results sorted by modification time.
  • Use grep for content search instead of shell with grep or rg. It provides structured output modes (content, file paths, counts) and pagination.
  • Use list_dir for directory exploration instead of shell with ls.
  • Read before writing. Never create or overwrite a file without reading it first (unless it's genuinely a new file).

Code Change Discipline

  • Minimal changes. Don't add features, refactor, or "improve" beyond what was asked. A bug fix doesn't need surrounding code cleaned up.
  • No unnecessary comments or docstrings. Only add comments where the logic isn't self-evident. Don't add type annotations or docstrings to code you didn't change.
  • One thing at a time. Make focused changes, verify with read_file, then move to the next change.
  • Fix the pattern, not just the instance. When you find a bug, use grep to search for all occurrences of the same pattern before committing a fix.

Code Quality

  • Don't introduce security vulnerabilities (command injection, XSS, SQL injection, path traversal).
  • Preserve existing code style and conventions. Match the indentation, naming, and patterns of surrounding code.
  • Test after changes when test infrastructure exists. Use shell to run the project's test command.
  • Don't add error handling, fallbacks, or validation for scenarios that can't happen. Trust internal code and framework guarantees.
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. yesterday First seen · 63 lines · 13 tokens per session scan A 5fff841f7e5e

Subscribe to this mod's changes

coding is a skill published in the GitHub repository suyoumo/ClawProBench (823 stars, last pushed 7d ago), licensed Apache-2.0. It adds 13 tokens to every session and 654 once invoked, about $0.0001 per session on Opus 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

lastlight-evals

Scaffold, configure and run a Last Light EVALS workspace — the harness that runs Last Light's real workflows against a mocked GitHub and grades them deterministically. Use when the user wants to "set up / scaffold Last Light Evals", "create an evals workspace or instance", "run evals", "compare models", or author new…

nearform/lastlight · 185 tokens

Evaluation

Frames model, prompt, and system evaluation as a reproducible experiment with baselines, datasets, and explicit metrics.

agentic-in/elephant-agent · 25 tokens

open-code-review

Performs AI-powered code review on Git changes using the ocr CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply…

alibaba/open-code-review · 98 tokens

harness-creator

Build, audit, and improve harnesses that make AI coding agents reliable: AGENTS.md/CLAUDE.md instruction files, feature/state tracking, verification gates, scope boundaries, session handoff, memory persistence, context budgets, tool-permission safety, and multi-agent coordination. Use this whenever a coding agent is…

walkinglabs/learn-harness-engineering · 142 tokens

gh-pr-description

Drafts and reviews GitHub pull request descriptions for the eve repository. Use when opening, updating, or reviewing a PR, or when summarizing a branch for reviewers.

vercel/eve · 38 tokens

technical-writing

Write, edit, review, or audit user-facing documentation for the eve repository. Use for changes under docs/, documentation tied to eve APIs or CLI behavior, docs work based on Slack or support feedback, and requests to make eve docs clearer, more natural, or less AI-patterned while verifying claims against current…

vercel/eve · 78 tokens