check-style

check-style is a skill for Claude Code, Codex from leifericf/agentic-sdk. It costs 37 tokens per session (1,299 once invoked), scanned A, original, MIT.

A code-review check for whether code, comments, and documentation follow the project's language and writing conventions. It also looks for text that appears unfinished or machine-generated.

In plain words
What is it for?
Use it to review naming, structure, comments, documentation, and language-specific style in a module.
Why use it?
It finds inconsistencies that make code harder to read and maintain, while leaving formatting and ordinary lint checks to dedicated tools.

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/leifericf/agentic-sdk/check-style
Any agent
npx skills add leifericf/agentic-sdk --skill check-style
Clone the repo
git clone --depth 1 https://github.com/leifericf/agentic-sdk

Made for: Claude Code, Codex.

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 check-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/leifericf/agentic-sdk/check-style.svg)](https://agentmods.dev/skills/leifericf/agentic-sdk/check-style)
Your own site
<a href="https://agentmods.dev/skills/leifericf/agentic-sdk/check-style"><img src="https://agentmods.dev/badge/skills/leifericf/agentic-sdk/check-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,299 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.00037 $0.01299
Opus 5 $0.00018 $0.00649
Sonnet 5 $0.00007 $0.00260
Haiku 4.5 $0.00004 $0.00130

Measured 4d ago against content hash be88b32f44ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check-style 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 4d 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/check-style/SKILL.md · 123 lines

How it starts

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

check-style

Role: review the shard against the codified standards.

Failure model: the code reads differently from its surroundings in a way that costs a future reader, or carries an AI tell or process scaffolding that should never reach committed prose.

The standards are cited, not duplicated:

  • Prose (docs, ADRs, docstrings, comments, commit and changelog messages): skills/shared/references/prose-style.md, backed by skills/shared/references/style-foundations.md.
  • C: skills/write-c/references/c-style.md.
  • Zig: skills/write-zig/references/zig-style.md.
  • Clojure: skills/write-clj/references/clj-style.md.
  • Elixir: skills/write-elixir/references/elixir-style.md.

Those files are the checklist, but apply them for judgment, not for what a lane already gates. An em dash, a prose arrow, or a process ID is the lint spine task's job; a format nit is the formatter's; an unused binding is the language linter's. This is the nit tax the dimension rejects: flag only the style judgment no lane can make.

Look for

  1. Inconsistency with the surrounding file. A function that names, comments, or structures differently from its unit without reason.
  2. Pure, shell, or native leakage as a style signal. The highest-value style finding, because the three-way split is the load-bearing structure. IO, a native call, a persistence write, or state mutation inside a core unit; pure decision logic buried in the shell; domain logic inside a native wrapper. Factoring owns the structural fix; style flags it when the seam is readable as a style break.
  3. Boundary contract drift. A native call whose signature disagrees with the edge contract, or that reaches into a handle's internals from the calling language.
  4. Comment and docstring debt. The standard and the concrete budget live in prose-style.md and the per-language style file. Apply both directions:
    • Missing: an ownership or lifetime constraint that is true but unstated where it matters (an allocator ownership transfer, a borrow duration, a transaction invariant).
    • Stale: a comment or docstring that contradicts the code.
    • Narration: a comment that restates the next line, or a docstring that describes mechanism instead of returns and input shape.
    • Verbose: an inline comment block longer than three lines; a file whose inline comment density exceeds one line per fifty code lines; a rationale essay that belongs in an ADR; a change note ("used to", "previously") that belongs in :deprecated metadata.
    • Docstring overweight: a docstring longer than three lines on a fn whose arguments have no surface area. An options map, a spec, or a public primitive earns the length; a clever implementation does not.
    • Banner: a --- rule, ASCII art, or any decorated separator. A section marker is a single ;;;; label line, label only, no prose underneath.
  5. Leaked process identifiers. A phase, task, slice, run, or plan identifier, a plan.edn or decisions.edn reference, or an internal ticket label in a comment, docstring, test description, or commit message. The rule and the allowed durable refs (ADR, the docs tree) live in write-prose. Flag the leak; suggest the code-state rephrasing.
  6. Naming that misleads. A name that promises a behavior the code does not deliver, or a name whose meaning has drifted from the domain the surrounding code uses.
  7. Macro and metaprogramming overreach. A macro or a compile-time construct doing work that belongs in a data function, so the result is unreachable without it.

Read the full file on GitHub · 123 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. 4d ago First seen · 123 lines · 37 tokens per session scan A be88b32f44ea

Subscribe to this mod's changes

check-style is a skill published in the GitHub repository leifericf/agentic-sdk (5 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 1,299 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens