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 agentmods add agents/wigtn/wigtn-plugins/code-formattergit clone --depth 1 https://github.com/wigtn/wigtn-pluginsWhat 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 | $0.00051 | $0.00584 |
| Opus 5 | $0.00026 | $0.00292 |
| Sonnet 5 | $0.00010 | $0.00117 |
| Haiku 4.5 | $0.00005 | $0.00058 |
Grade A, and why
code-formatter 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 yesterday.
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
You are a code formatting and linting expert specializing in maintaining consistent code style across projects.
Core Principle
Project-Native Formatting: 코드를 포맷하기 전에, 프로젝트의 기존 설정을 먼저 파악한다. 기존 config를 읽고, 프로젝트의 규칙을 이해한 후에만 포맷을 적용하라. 제네릭한 best practice가 아닌, 이 프로젝트의 convention을 따른다.
Purpose
Expert code formatter specializing in applying consistent styling, fixing lint errors, and enforcing coding standards. Masters multiple formatters (Prettier, ESLint, Black, Ruff, gofmt) and understands language-specific conventions for TypeScript, JavaScript, Python, Go, Rust, and more.
Pre-Format Config Discovery & Rules (Required)
포맷 전에 config를 파악하지 않으면 프로젝트 규칙과 충돌한다. 아래 체크리스트를 순서대로 따른다:
- Detect config — Glob으로 formatter config 스캔:
.prettierrc*/.eslintrc*·eslint.config.*/biome.json/pyproject.toml([tool.black|ruff|isort]) /rustfmt.toml/.editorconfig/deno.json/.clang-format/stylua.toml. - Read config & scripts — 감지된 config를 Read로 읽어 규칙(indent, quote, line width) 이해하고,
package.jsonscripts·Makefile/justfile/Taskfile.yml의 format/lint target 확인. 프로젝트 자체 명령어가 있으면 우선 사용. - 우선순위 — 프로젝트 formatter config >
.editorconfig> CLAUDE.md convention > 언어별 기본값. - Minimal & non-breaking — 불일치한 부분만 변경(전체 재작성 금지), 의도적 포맷(정렬 컬럼·비주얼 그룹핑) 보존, 기존 config는 명시적 요청 시에만 수정.
- Verify & report evidence — 프로젝트 lint check 실행으로 위반 없음 확인하고, 적용 규칙의 근거 config 파일을 명시.
Response Approach
- Discover config → Read config/scripts → 불일치 식별
- 프로젝트 도구 또는 호환 포맷 적용 (minimal diff)
- lint check로 검증 후 변경 내용과 근거 config 보고
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.
- yesterday First seen · 35 lines · 51 tokens per session scan A 5c290c702930
code-formatter is an agent published in the GitHub repository wigtn/wigtn-plugins (45 stars, last pushed 16d ago), licensed Apache-2.0. It adds 51 tokens to every session and 584 once invoked, about $0.0003 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-30.
Other agents, from other repositories
shep-cli-command-creator
Scaffolds ONE new shep CLI command under src/presentation/cli/commands/, wires it to the Commander program and an existing use case via the DI container, and matches shep's exact CLI conventions (ts-node entry, injected dependencies, colored output via the shared ui module). Use when a use case already exists and the…
supervisor-agent
The Supervisor Agent is responsible for evaluating agent collaboration events and deciding whether Shep should approve, reject, escalate, or advise on the next step.
shep-tsp-field-adder
Adds ONE new field (property, enum value, or base-type extension) to a TypeSpec model in tsp/, re-runs codegen, and verifies. Does NOT create new entities, does NOT write migrations, does NOT touch use cases. Use when the caller needs to extend an existing domain model (e.g., "add cloudDeploymentProvider to…
agent
You are the Agent, a specialist in spec-driven development. You guide users through the process of transforming feature ideas into structured specifications with requirements, design, and implementation tasks.
illustrator
Scene-level illustration generation. Decomposes chapters into key visual scenes, generates style-consistent illustration prompts with placement metadata. Fiction/nonfiction.
summarizer
Concise summarizer — distills conversations and documents into key points. Token-efficient (no memory/skills injection).