code

code is a skill for Claude Code from bromso/metapowers. It costs 9 tokens per session (377 once invoked), scanned A, original, MIT.

A code-review skill that assesses source code using software-engineering principles, including design, security, performance, databases, and testing.

In plain words
What is it for?
Use it to review source files or directories and receive mentoring feedback on their implementation.
Why use it?
It helps identify unclear code, risky patterns, unnecessary complexity, and possible performance or security problems.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the coaching plugin — 4 skills shipped together

Good fit Use it to review source files or directories and receive mentoring feedback on their implementation.

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

Made for: Claude Code.

Or install coaching, the plugin that ships this one along with the rest of its 4 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 code

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bromso/metapowers/code"><img src="https://agentmods.dev/badge/skills/bromso/metapowers/code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 377 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.00009 $0.00377
Opus 5.5 $0.00004 $0.00151
Sonnet 5.5 $0.00002 $0.00075
Haiku 4.5 $0.00001 $0.00038

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

Security

Grade A, and why

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

plugins/coaching/skills/code/SKILL.md · 39 lines

What it actually says

Code Coaching

Review "$ARGUMENTS" through the lens of a senior software engineer. Provide mentorship feedback on code quality, architecture patterns, security, performance, and testing.

Prerequisites

None — this is a utility skill that can run anytime.

Process

  1. Read the target:

    • Read the source code files specified in "$ARGUMENTS"
    • If it's a directory, read the key files
    • Understand the context: what does this code do?
  2. Read reference material:

    • Read plugins/coaching/shared/code-principles.md for engineering principles
    • Read plugins/coaching/shared/feedback-format.md for output structure
  3. Evaluate against engineering principles:

    • SOLID: Single responsibility, open/closed, Liskov, interface segregation, dependency inversion
    • Clean code: Naming clarity, function size, abstraction levels, self-documenting code
    • DRY/YAGNI/KISS: Appropriate abstraction level, no premature optimization
    • Security: Input validation, injection prevention, secrets management, auth patterns
    • Performance: N+1 queries, appropriate data structures, caching, lazy loading
    • Database: Normalization, indexing, query patterns, transactions
    • Testing: Coverage, behavior vs. implementation testing, test quality
    • Error handling: Appropriate error types, no swallowed errors, graceful degradation
  4. Write the coaching report to .metapowers/coaching/$ARGUMENTS/code-review.md following the feedback format.

Output

The code coaching report written to .metapowers/coaching/$ARGUMENTS/code-review.md. Present the score and top 3 suggestions to the user.

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 · 39 lines · 9 tokens per session scan A 4fac93c0e3d1

Subscribe to this mod's changes

code is a skill published in the GitHub repository bromso/metapowers (2 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 377 once invoked, about $0.0000 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.