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.
npx skills add alexmond/alexmskills --skill codestylegit clone --depth 1 https://github.com/alexmond/alexmskillsWrote 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.
[](https://agentmods.dev/skills/alexmond/alexmskills/codestyle)<a href="https://agentmods.dev/skills/alexmond/alexmskills/codestyle"><img src="https://agentmods.dev/badge/skills/alexmond/alexmskills/codestyle/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.
<a href="https://agentmods.dev/skills/alexmond/alexmskills/codestyle"><img src="https://agentmods.dev/badge/skills/alexmond/alexmskills/codestyle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.01396 |
| Opus 5.5 | $0.00029 | $0.00558 |
| Sonnet 5.5 | $0.00015 | $0.00279 |
| Haiku 4.5 | $0.00007 | $0.00140 |
Grade A, and why
codestyle 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Maven/Java Coding Standards
Try it:
/maven-quality:codestyle— or say "fix the code-style violations in this module".
These are sensible defaults for a Maven/Java project that uses spring-javaformat, Checkstyle, and PMD. Adjust thresholds, plugin versions, and module/path names to match your project.
Tooling (common case)
- Formatter:
io.spring.javaformat:spring-javaformat-maven-plugin(tab indentation) — runspring-javaformat:applybefore committing. - Checkstyle:
maven-checkstyle-pluginwithio.spring.javaformat:spring-javaformat-checkstyle(SpringChecks) plus custom suppressions. - PMD:
maven-pmd-pluginwith a custom ruleset. - Config files (project root by default):
checkstyle-suppressions.xml,pmd-ruleset.xml. Adjust paths if your project keeps them elsewhere. - Violations typically fail the build at the
validatephase. Adjust the bound phase if yourpom.xmldiffers.
Formatting rules enforced by spring-javaformat
- Indentation: Tabs.
- Braces required: All
if,else,for,while,douse{}even for single-line bodies. - Lambda parentheses: Single-parameter lambdas have parentheses:
(x) ->notx ->. - Lambda blocks: Prefer expression body:
(x) -> x.toString()not(x) -> { return x.toString(); }. - Catch variables: Use
exnot single-lettere:catch (Exception ex). - Ternary parentheses: Wrap the condition:
(a != null) ? a : b. - No star imports: Explicit imports only, never
import java.util.*. - Newline at EOF: Files end with a trailing newline.
Common Checkstyle suppressions
Default suppressions kept in checkstyle-suppressions.xml. Add or remove to taste:
SpringHeaderCheck— no license header requirement.JavadocPackage,JavadocType,JavadocMethod,JavadocVariable,MissingJavadocType,MissingJavadocMethod,SpringJavadoc— Javadoc not enforced.RegexpSinglelineJava— no per-line regex restrictions.SpringImportOrder— import ordering not enforced.RequireThis—this.prefix not required.SpringTestFileName— flexible test file naming.
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.
- 3mo ago First seen · 113 lines · 73 tokens per session scan A bde4ba371fb3
codestyle is a skill published in the GitHub repository alexmond/alexmskills (11 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session and 1,396 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-08-31.
codestyle compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codestylealexmond/alexmskills | Skill | 11 | 1mo ago | MIT | A | 73 | Claude Code |
| java-rulessoftspark/ai-toolkit | Skill | 180 | 12d ago | Apache-2.0 | A | 46 | Claude Code |
| javaolehsvyrydov/AI-development-team | Skill | 18 | 10d ago | MIT | A | 136 | Claude Code |
| springboot-testingNmor/the-claude-council | Skill | 12 | 2mo ago | none | A | 79 | Claude Code |
| java-coding-standardsNmor/the-claude-council | Skill | 12 | 2mo ago | none | A | 35 | Claude Code |
| springboot-patternsNmor/the-claude-council | Skill | 12 | 2mo ago | none | A | 90 | Claude Code |
| java-concurrency-reviewducpm2303/claude-java-plugins | Skill | 17 | 7mo ago | none | A | 53 | Claude Code |