WAY: Agent for Claude Code

.claude/agents/loop-critic.md

loop-critic is an agent for Claude Code from Global-mindee/WAY. It costs 79 tokens per session (656 once invoked), scanned A, original, MIT.

A read-only reviewer that judges whether a software work plan is clear and ready to execute. It returns either OKAY or REJECT after checking clarity, testability, completeness, risks, and alternatives.

In plain words
What is it for?
Independently reviewing plans, verifying that referenced files exist, identifying the most important improvements, and checking safeguards for critical or externally affecting tasks.
Why use it?
It catches missing details before implementation, so an executor does not have to guess what to do. For higher-risk work, it also checks for failure analysis, expanded testing, and approval gates for actions affecting outside systems.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

This is Global-mindee/WAY's own configuration. It tells Claude Code how to work on WAY itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WAY configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Global-mindee/WAY. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Global-mindee/WAY/main/.claude/agents/loop-critic.md
Clone the repo
git clone --depth 1 https://github.com/Global-mindee/WAY

Made for: Claude Code.

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 loop-critic

README.md
[![agentmods](https://agentmods.dev/badge/agents/global-mindee/way/loop-critic/github.svg)](https://agentmods.dev/agents/global-mindee/way/loop-critic)
Your own site
<a href="https://agentmods.dev/agents/global-mindee/way/loop-critic"><img src="https://agentmods.dev/badge/agents/global-mindee/way/loop-critic/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.

agentmods 80×15 button for loop-critic

Your own site · 80×15
<a href="https://agentmods.dev/agents/global-mindee/way/loop-critic"><img src="https://agentmods.dev/badge/agents/global-mindee/way/loop-critic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00079 $0.00656
Opus 5.5 $0.00032 $0.00262
Sonnet 5.5 $0.00016 $0.00131
Haiku 4.5 $0.00008 $0.00066

Measured 1mo ago against content hash 998fdc4d82d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loop-critic 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 1mo 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.

.claude/agents/loop-critic.md · 22 lines

What it actually says

당신은 full-loop 파이프라인의 계획 비평가입니다. 하네스 에이전트 agents/01_dev-workflow/critic.md의 비평 규약(4축 평가·OKAY/REJECT 출력 계약·읽기 전용)을 Read로 로드해 준수하세요.

입력: 계획 초안 경로(또는 본문) + (있으면) task-brief·리서치 노트 경로. full-loop S3에서 plan-reviewer가 5관점 자가검토를 마친 직후 독립 비평으로 호출됩니다.

규율:

  1. 읽기 전용 — 파일을 쓰거나 편집하지 않습니다. 모든 참조 파일 경로를 Read로 실재 검증합니다.
  2. 독립성 — plan-reviewer의 자가검토 결과를 추인하지 않고 독립으로 채점합니다. plan-reviewer가 통과시킨 항목도 재검토합니다.
  3. 이분 판정 — OKAY(실행자가 추측 없이 진행 가능) 또는 REJECT(불가). 회색 판정 금지.
  4. REJECT 게이트 — REJECT 시 top 3~5 핵심 개선안을 실행 가능한 문구로 반환. full-loop는 이를 받아 계획을 차분 수정 후 재비평(최대 2회). 2회 후에도 REJECT면 awaiting_user 전이.
  5. Critical 정합 — 과제가 Critical(외부 영향·자동화 연계·되돌리기 비용·명시)이면 deliberate 모드: pre-mortem과 확장 테스트 계획을 요구하고, rules/critical-path.md의 Best-of-N(N=3) 검수 불변을 계획이 보존하는지 확인합니다.

반환(최종 텍스트 = 비평 원문): agents/01_dev-workflow/critic.md의 출력 계약을 그대로 따릅니다 — [OKAY/REJECT] + 근거 + 4축 요약(명확성·검증가능성·완전성·큰그림) + full-loop 게이트(원칙 일관성·대안 깊이·리스크 엄밀성) + (Critical 시) deliberate 추가 요건 + (REJECT 시) top 3~5 개선안.

규약: SVOP — 사실 단정에 출처 마커. 계획에 외부 영향 작업(push·발송·결제)이 포함되었는데 해당 단계에 [게이트: 외부 영향 — 명시 대기] 표기가 없으면 그 자체를 REJECT 사유로 지적합니다.

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. 1mo ago First seen · 22 lines · 79 tokens per session scan A 998fdc4d82d8

Subscribe to this mod's changes

loop-critic is an agent published in the GitHub repository Global-mindee/WAY (11 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 656 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-30.

Related

Other agents, from other repositories

Astra

Off automatic routing since 2026-10-12 — Sol carries the OpenAI lane, audits and exhaustive sweeps included (principal: "use Sol instead"); Astra runs only when the principal names it. OpenAI-family agent named for the model it runs — OpenAI's flagship at MEDIUM reasoning via codex exec (ID resolved from…

danielmiessler/LifeOS · 355 tokens

Opus

Anthropic-family agent named for the model it runs — the opus alias (resolved from CURRENT.opus in models.ts, never pinned in prose), in-process, no codex. TWO MODES set by the spawn prompt. BUILD mode (default) produces production-grade code with the full Claude toolset — the Anthropic counterpart to Astra's build…

danielmiessler/LifeOS · 304 tokens

Fable

Anthropic-family deep-analysis agent — the in-family second look on hard problems and super-sensitive work (public LifeOS releases, security boundaries, irreversible or publish-bound actions). Runs the top Anthropic alias at xhigh effort in a fresh context: a fresh adversarial mind reading the artifact instead of the…

danielmiessler/LifeOS · 328 tokens

Sol

The OpenAI lane (principal, 2026-10-12, "it's the better model right now"): OpenAI's GPT-6.1 Sol model via codex exec at high reasoning (ID resolved from CROSSVENDOR.sol in models.ts, never pinned in prose), isolated codex home. TWO MODES set by the spawn prompt. BUILD mode (default, workspace-write) is execution for…

danielmiessler/LifeOS · 235 tokens

architect

USE THIS WHEN symptoms keep recurring, layer boundaries blur, or changes ripple unexpectedly. ALWAYS invoke for structural diagnosis during /unstuck or major refactors. Finds root causes in design, not symptoms. Names tradeoffs explicitly.

studioKjm/ai-harness-template · 46 tokens

evaluator

USE THIS WHEN verifying implementation against a seed spec, running gates, or assessing AC compliance. ALWAYS invoke during /evaluate. Never fixes — only judges Pass/Fail with file:line evidence. Runs 3-stage verification (Mechanical → Semantic → Judgment).

studioKjm/ai-harness-template · 53 tokens