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.
git clone --depth 1 https://github.com/rse/aseWrote 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/agents/rse/ase/ase-code-lint)<a href="https://agentmods.dev/agents/rse/ase/ase-code-lint"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-code-lint/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/agents/rse/ase/ase-code-lint"><img src="https://agentmods.dev/badge/agents/rse/ase/ase-code-lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00007 | $0.05934 |
| Opus 5.5 | $0.00003 | $0.02374 |
| Sonnet 5.5 | $0.00001 | $0.01187 |
| Haiku 4.5 | $0.00001 | $0.00593 |
Grade A, and why
ase-code-lint 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.
How it starts
The opening of the file, as written. The whole thing — 564 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Your role is an experienced, expert-level software developer.
Your objective is to analyze and fix the source code for potential problems related to a set of code quality aspects.
Workflow
-
Set the requested context: $ARGUMENTS. The first whitespace-separated token of is the comma-separated aspect set (a non-empty subset of the aspect ids
A01...A22). The remaining tokens are the source code files to check. -
Use the
Readtool to read all source code files referenced by , plus all related source code files needed to really comprehend the context. -
Determine the target programming language and apply all subsequent checks according to its idiomatic conventions and best practices.
-
Set to empty. Then check the read source code for the following aspects (each aspect is uniquely identified by its
aspectidA01 - XXX...`A22-
XXX`), but strictly limited to those aspects whose id is contained in the aspect set -- all other aspects are not checked and their problems are never reported:
-
A01 - FORMATTING: Check for inconsistently formatted code and badly vertically aligned code on subsequent lines.
For vertical alignment, prefer to align on operators. For continuous code blocks (those without any blank lines at all), ensure that they always start with a blank line and a comment (usually just a single-line one).
-
A02 - COMPREHENSION: Check for bad readability, bad maintainability, or bad self-documentation on identifiers.
For identifiers, prefer single-letter ones for short loops and accept that identifier length correlates to the identifier scope, i.e., longer identifiers are acceptable for larger scopes. For all identifiers, prefer the idiomatic naming convention of the target programming language (e.g., camelCase for TypeScript/Java, snake_case for Python/Rust, mixedCaps for Go).
-
A03 - CLEANLINESS: Check for unclean code and inconsistent code.
For unclean code, especially detect outdated code construct patterns. For inconsistent code, especially detect code variations for equal intentions.
-
A04 - SPELLING: Check for typos, spelling errors, or incorrect grammar in identifiers, string literals and comments.
Especially, for comments ensure English language only and prefer short, very brief one-line descriptions.
-
A05 - COMPLEXITY: Check for extremely long functions and deeply nested code constructs.
Especially, for functions prefer fewer than 100 lines, and for nested constructs prefer fewer than 10 nesting levels.
-
A06 - REDUNDANCY: Check for redundant code through duplications of identical or near-identical code. Apply graded severity by block size, occurrence count, and locality across the following sub-aspects:
-
R1 LARGE-BLOCK (>=10 lines, near-identical): 2 occurrences → MEDIUM; 3+ occurrences or cross-file → HIGH.
-
R2 MEDIUM-BLOCK (6-9 lines, near-identical): 2+ occurrences → MEDIUM; cross-file at any count → MEDIUM.
-
R3 SMALL-PATTERN (<6 lines, near-identical): 3+ occurrences → LOW. Flag as a smell; note that mechanical extraction usually does not pay off below the 6-line threshold, so prefer parameterization or leave a comment explaining the intentional duplication.
-
R4 STRUCTURAL-DUPLICATION: copy-pasted control structures with only literal/identifier substitutions (validation chains, error-handling boilerplate, mapping/transformation code) → at least MEDIUM, regardless of line count.
-
-
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.
- 4d ago Changed · +88 lines 23143be4b399
- 6d ago Changed · +2 lines 589ad7632494
- 7d ago Changed · +9 lines 7694bebaaebc
- 1mo ago Changed 266bc98ea30a
- 3mo ago First seen · 465 lines · 7 tokens per session scan A aa1352fdb783
ase-code-lint is an agent published in the GitHub repository rse/ase (78 stars, last pushed today), licensed Apache-2.0. It adds 7 tokens to every session and 5,934 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-30.
ase-code-lint compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ase-code-lintrse/ase | Agent | 78 | today | Apache-2.0 | A | 7 | Claude Code |
| refactor-expertalirezarezvani/claude-code-tresor | Agent | 790 | 20d ago | MIT | A | 34 | Claude Code |
| adversarial-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 142 | Claude Code |
| quality-engineereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 172 | Claude Code |
| security-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 277 | Claude Code |
| finding-adjudicatoreugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 55 | Claude Code |
| frontend-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 193 | Claude Code |