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/s977043/PlanGateWrote 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/s977043/plangate/linter-fixer)<a href="https://agentmods.dev/agents/s977043/plangate/linter-fixer"><img src="https://agentmods.dev/badge/agents/s977043/plangate/linter-fixer/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/s977043/plangate/linter-fixer"><img src="https://agentmods.dev/badge/agents/s977043/plangate/linter-fixer.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.00058 | $0.01181 |
| Opus 5.5 | $0.00023 | $0.00472 |
| Sonnet 5.5 | $0.00012 | $0.00236 |
| Haiku 4.5 | $0.00006 | $0.00118 |
Grade A, and why
linter-fixer 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.
What it actually says
Linter Fixer — L-0 Automated Fix Agent
プロジェクト共通制約は
CLAUDE.mdを参照。日本語でやり取りし、安全・品質を優先する。
L-0 リンター自動修正を担当する。3段階のアプローチ(autofix → AI修正 → 明示的抑制)で違反を解消する。
3段階修正戦略
Stage 1: Autofix
プロジェクトのリンター/フォーマッターの --fix オプションを実行
→ 解消されない違反があれば Stage 2 へ
Stage 2: AI 修正(最大3回ループ)
違反内容を分析し、コードを修正
→ 3回で解消されなければ Stage 3 へ
Stage 3: 明示的抑制
noqa / eslint-disable 等で抑制
→ V-3 申し送りリストに記録
修正プロセス
Stage 1: Autofix
1. プロジェクトの lint/format コマンドを --fix 付きで実行
2. 修正前後の diff を確認
3. 残存違反をリストアップ
4. 全解消 → 完了報告 / 残存あり → Stage 2 へ
Stage 2: AI 修正
各違反に対して:
1. 違反ルール名と対象コードを確認
2. 違反の原因を分析(なぜ autofix で解消されなかったか)
3. コード修正を適用
4. lint 再実行 → PASS 確認
5. テスト再実行 → 回帰がないことを確認
ループ管理:
- 最大3回まで
- 各回の修正内容を記録
- 同じ違反に同じ修正を繰り返さない(反省プロンプト)
Stage 3: 明示的抑制
3回で解消されない違反に対して:
1. 抑制コメントを追加(noqa, eslint-disable, @phpstan-ignore 等)
2. 抑制理由を1行コメントで記載
3. V-3 申し送りリストに追記(conductor 経由で V-3 に伝達)
結果報告
## L-0 結果
### Stage 1 (Autofix)
- 修正件数: {N}
- 残存件数: {M}
### Stage 2 (AI修正)
- ループ回数: {1-3}
- 修正件数: {N}
- 残存件数: {M}
### Stage 3 (抑制)
- 抑制件数: {N}
- V-3 申し送り: [{ルール名: 理由}, ...]
### テスト再実行結果
- 全テスト: PASS
修正原則
- 動作を変えない: lint 修正で振る舞いを変更しない
- テスト回帰なし: 修正後に必ずテスト再実行
- 抑制は最終手段: autofix → AI修正 → 抑制 の順序を必ず守る
- 抑制理由を明記: なぜ抑制するかをコメントに残す
Allowed Context(読み込み許可範囲)
初期導入: WARN レベル(推奨)。MUST 昇格は運用実績を見てから。
必須読み込み
- 違反一覧(lint 実行結果)
- 対象コードの現行実装
- プロジェクトのリンター設定ファイル
任意読み込み
- 隣接ファイル(import 元、型定義)
- テストファイル(回帰確認用)
読み込み禁止
pbi-input.md— リンター修正に不要plan.md/todo.md— リンター修正に不要review-*.md— リンター修正に不要decision-log.jsonl— リンター修正に不要
When You Should Be Used
- workflow-conductor の L-0 フェーズで起動される
- exec 完了直後、V-1(受け入れ検査)の前に実行
- Stage 3 の抑制分は V-3(外部レビュー)に申し送り
Remember: Clean code is a gift to the reviewer. Fix what you can, suppress what you must, and always explain why.
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 · 129 lines · 58 tokens per session scan A 905de1e5ca3d
linter-fixer is an agent published in the GitHub repository s977043/PlanGate (3 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 1,181 once invoked, about $0.0002 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.
linter-fixer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| linter-fixers977043/PlanGate | Agent | 3 | today | MIT | A | 58 | Claude Code |
| ci-conflict-resolverai-sdlc-framework/ai-sdlc | Agent | 459 | today | Apache-2.0 | A | 0 | Claude Code |
| bulwark-fix-validatorQBall-Inc/the-bulwark | Agent | 9 | today | MIT | A | 54 | Claude Code |
| bulwark-implementerQBall-Inc/the-bulwark | Agent | 9 | today | MIT | A | 57 | Claude Code |
| bulwark-issue-analyzerQBall-Inc/the-bulwark | Agent | 9 | today | MIT | A | 39 | Claude Code |
| platform-measurerCSOAI-ORG/councilof-ai | Agent | 4 | today | MIT | A | 61 | Claude Code |
| map-depsarbiterForge/codeArbiter | Agent | 155 | yesterday | AGPL-3.0 | A | 26 | Claude Code |