build-warnings

build-warnings is a skill for Claude Code from motlin/claude-code-plugins. It costs 101 tokens per session (1,200 once invoked), scanned A, original, Apache-2.0.

A workflow for finding and fixing warnings printed by builds, linters, tests, and running programs. It groups warnings and compares before-and-after counts from the same command.

In plain words
What is it for?
Use it to address compiler warnings, lint findings, deprecation messages, test warnings, slow-test reports, debug prints, and unsilenced logs.
Why use it?
It reduces warning noise so new or important problems are easier to notice.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code plugin — 12 skills, 2 commands shipped together

Good fit Use it to address compiler warnings, lint findings, deprecation messages, test warnings, slow-test reports, debug prints, and unsilenced logs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add motlin/claude-code-plugins
Claude Code
/plugin install code

Made for: Claude Code.

Or install code, the plugin that ships this one along with the rest of its 12 skills, 2 commands.

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 build-warnings

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/build-warnings"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/build-warnings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,200 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.00101 $0.01200
Opus 5.5 $0.00040 $0.00480
Sonnet 5.5 $0.00020 $0.00240
Haiku 4.5 $0.00010 $0.00120

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

Security

Grade A, and why

build-warnings 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 18d 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/code/skills/build-warnings/SKILL.md · 63 lines

How it starts

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

Build Warnings

A healthy build is quiet. Every warning the build prints trains readers to skim past the next one, and the one that matters, such as a deprecation that becomes a removal in the next upgrade, gets lost in the noise. Fix what the build warns about so that a new warning stands out.

Resolve <plugin-root> first: in Claude Code use ${CLAUDE_PLUGIN_ROOT}; in Codex use the plugin root that contains this skills/build-warnings/SKILL.md file. The script below needs Python 3.9 or later.

Arguments

  • Command: the build and test command. Without one, find it the way burn does: git-test config (git config --get-regexp '^test\.'), justfile recipes, package.json scripts, a Makefile, then build files.
  • Scope: a directory or file set to limit fixes to. Defaults to the whole repo. The build always runs whole, since that is how its output is produced.
  • unattended: passed by callers such as burn. An unattended run asks the user nothing. Every question it would have asked becomes a queued finding instead (see Report).

Measure once, then fix classes

Run the build once and save the grouped report:

python3 <plugin-root>/scripts/build_warnings.py --root . run --log <scratch>/before.log -- '<command>' > <scratch>/before.json

One quoted argument runs in a shell; several run directly. The report groups warning lines by kind (compiler, lint, deprecation, runtime, slow-test, noise, other) and by what they share: a rule id, a deprecated API, or a file. Each group has a count, the files it names, and thirdParty, which is true when every file lies outside the repository's control (node_modules, site-packages, vendor and the like). --slow <seconds> sets when a test duration counts as slow, 1 second by default.

The baseline must pass: if the build or tests fail, stop and report it, because this skill never fixes a broken build. Read before.log around each group's example as well, since a warning the script files as other may still be fixable. Work through the groups with the highest counts first, fixing one class at a time: one rule, one deprecated API, one source of noise.

Read the full file on GitHub · 63 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. 18d ago First seen · 63 lines · 101 tokens per session scan A f1c3ee8f3496

Subscribe to this mod's changes

build-warnings is a skill published in the GitHub repository motlin/claude-code-plugins (20 stars, last pushed 2d ago), licensed Apache-2.0. It adds 101 tokens to every session and 1,200 once invoked, about $0.0004 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-17.

Related

build-warnings compared with skills from other repositories

build-warnings next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-warningsmotlin/claude-code-pluginsSkill202d agoApache-2.0A101Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k3d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6kyesterdayMITA63Claude Code