scan

scan is a command for coding agents from Ingramradical235/anty-framework. It costs 13 tokens per session (1,773 once invoked), scanned A, a copy of scan, MIT.

A command that runs a ten-part analysis of the `.anty` project state using an Analyst agent and saves the results.

In plain words
What is it for?
Use it to check goal progress, metric links, pipeline stalls, and other defined health signals, then receive recovery proposals when issues are found.
Why use it?
It helps find stalled work, mismatches between actions and results, excessive buffer use, and other problems in the operating plan.

Command

Install

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.

agentmods
npx agentmods add commands/ingramradical235/anty-framework/scan
Clone the repo
git clone --depth 1 https://github.com/Ingramradical235/anty-framework

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 scan

README.md
[![agentmods](https://agentmods.dev/badge/commands/ingramradical235/anty-framework/scan.svg)](https://agentmods.dev/commands/ingramradical235/anty-framework/scan)
Your own site
<a href="https://agentmods.dev/commands/ingramradical235/anty-framework/scan"><img src="https://agentmods.dev/badge/commands/ingramradical235/anty-framework/scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00013 $0.01773
Opus 5 $0.00006 $0.00886
Sonnet 5 $0.00003 $0.00355
Haiku 4.5 $0.00001 $0.00177

Measured 3d ago against content hash 29e358c0f78d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scan 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 3d 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.

Origin

This is a copy

100% identical to scan — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/scan.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/anty:scan — Analysis Cycle (10-Point)

Trigger

User runs /anty:scan

Behavior

Execute a comprehensive 10-point analysis using the Analyst subagent. Read all .anty/ state files, perform each check, save results, and propose recovery actions if issues are found.

Agent

Use the Analyst subagent (agents/analyst.md) to perform all analysis checks.

10-Point Analysis

1. Buffer Consumption vs Progress
  • Read goal from .anty/goals/*.yaml
  • Calculate: buffer_consumed_pct = (elapsed_time - planned_time_for_current_progress) / total_buffer
  • Compare buffer consumption rate against progress rate
  • Flag if buffer consumption outpaces progress (RED zone)
  • Assessment: GREEN / YELLOW / RED with explanation
2. KPI Propagation Check
  • Read drivers from .anty/drivers/*.yaml and actions from .anty/actions/*.yaml
  • Trace: Action execution -> Driver metric movement -> Goal progress
  • Identify broken propagation chains (actions executed but driver metric unchanged)
  • Identify phantom metrics (driver moving without corresponding actions)
  • Assessment: propagating / partially blocked / blocked
3. Pipeline Stall Detection
  • Read deals from .anty/pipeline/deals/*.yaml
  • Calculate average dwell time per step
  • Flag deals exceeding 2x average dwell time for their current step
  • List stalled deals with step name, dwell days, and average
  • Assessment: flowing / stalls detected / critical stalls
4. Driver Impact Weight Recalculation
  • Analyze metric movement data for each driver
  • Recalculate impact_weight based on observed correlation between driver metric changes and goal progress
  • Compare new weights with current weights
  • Propose weight adjustments if delta > 5%
  • Assessment: weights accurate / adjustment recommended
5. Failure Pattern Detection
  • Read .anty/scratchpad.md and .anty/learning/choice-history.yaml
  • Detect 3+ consecutive failures on the same approach or driver
  • Identify repeating failure patterns
  • Reference .anty/learning/failure-patterns.yaml for known patterns
  • Assessment: no patterns / pattern detected (with description)

Read the full file on GitHub · 207 lines

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. 3d ago First seen · 207 lines · 13 tokens per session scan A 29e358c0f78d

Subscribe to this mod's changes

scan is a command published in the GitHub repository Ingramradical235/anty-framework (1 stars, last pushed 2d ago), licensed MIT. It adds 13 tokens to every session and 1,773 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to scan, differing in 0 lines, and is treated as a copy.