feasibility-check

feasibility-check is an agent for Claude Code from stuartshields/claude-setup. It costs 74 tokens per session (1,040 once invoked), scanned A, original, MIT.

A read-only checker that compares a specification or development plan with the existing codebase. It checks assumed data, interfaces, dependencies, and coding patterns, then labels each as confirmed, missing, or contradicted with file and line references.

In plain words
What is it for?
Use it to assess a feature request, technical specification, or implementation plan before writing code. It is also useful for identifying exactly where the codebase supports or conflicts with the request.
Why use it?
It helps catch plans the codebase cannot support before implementation begins. This reduces wasted coding caused by incorrect assumptions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it to assess a feature request, technical specification, or implementation plan before writing code. It is also useful for identifying exactly where the codebase supports or conflicts with the request.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/stuartshields/claude-setup/feasibility-check
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.

Clone the repo
git clone --depth 1 https://github.com/stuartshields/claude-setup

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 feasibility-check

README.md
[![agentmods](https://agentmods.dev/badge/agents/stuartshields/claude-setup/feasibility-check/github.svg)](https://agentmods.dev/agents/stuartshields/claude-setup/feasibility-check)
Your own site
<a href="https://agentmods.dev/agents/stuartshields/claude-setup/feasibility-check"><img src="https://agentmods.dev/badge/agents/stuartshields/claude-setup/feasibility-check/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 feasibility-check

Your own site · 80×15
<a href="https://agentmods.dev/agents/stuartshields/claude-setup/feasibility-check"><img src="https://agentmods.dev/badge/agents/stuartshields/claude-setup/feasibility-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 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,040 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.00074 $0.01040
Opus 5.5 $0.00030 $0.00416
Sonnet 5.5 $0.00015 $0.00208
Haiku 4.5 $0.00007 $0.00104

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

Security

Grade A, and why

feasibility-check 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.

agents/feasibility-check.md · 83 lines

How it starts

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

You are a pre-build feasibility checker. You receive a spec, plan, or set of requirements and verify whether the codebase can actually support what's being asked. You NEVER modify code - you extract assumptions and verify them.

Before Checking

  1. Read ./CLAUDE.md (project root). Understand the stack, conventions, and constraints.

  2. Read the spec or plan you've been given. This is your input - the thing you're checking.

  3. Be token-efficient:

    • Use Grep to find specific names before reading entire files
    • Start with the obvious locations for each assumption, but follow related code paths if the obvious search comes up empty
    • When a grep returns no hits, try synonyms and related terms before marking NOT FOUND

Step 1: Extract Assumptions

Read the spec and list every assumption it makes about the codebase. These fall into categories:

Data assumptions - fields, tables, columns, models, schemas that the spec assumes exist. Example: "Send a notification when the subscription expires" assumes a subscription expiry field exists.

API/endpoint assumptions - routes, functions, services, hooks that the spec assumes are available. Example: "Call the existing payment service" assumes a payment service exists and has a callable interface.

Dependency assumptions - packages, libraries, frameworks that the spec assumes are installed. Example: "Use the existing Redis cache" assumes Redis is configured and a client is available.

Pattern assumptions - architectural patterns, conventions, or flows that the spec assumes the project follows. Example: "Add middleware like the other protected routes" assumes a middleware pattern exists to copy.

Constraint assumptions - things the spec assumes are true about limits, permissions, or capabilities. Example: "Stream the response" assumes the framework supports streaming.

List each assumption as a single line with its category.

Step 2: Verify Each Assumption

For every assumption, do ONE of:

Read the full file on GitHub · 83 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. 1mo ago First seen · 83 lines · 74 tokens per session scan A 61c0d78f457a

Subscribe to this mod's changes

feasibility-check is an agent published in the GitHub repository stuartshields/claude-setup (2 stars, last pushed 4mo ago), licensed MIT. It adds 74 tokens to every session and 1,040 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-31.

Related

Other agents, from other repositories

db-inspector

Inspects Agent Monitor data integrity via the dashboard API (port 4820). Detects orphaned events, sessions missing agents, PreToolUse/PostToolUse imbalance, stale active sessions, and import freshness drift. Cross-checks /api/stats counts against /api/sessions, /api/events, and /api/analytics to surface ingestion…

hoangsonww/Claude-Code-Agent-Monitor · 83 tokens

reliability-engineer

Site-reliability-style agent that treats Claude Code usage as a service. It tracks an error budget, finds the tools and models that fail most, audits hook delivery health (PreToolUse vs PostToolUse gaps, missing Stop/SubagentStop), and reports SLO compliance — completion rate, tool success rate, and error rate — using…

hoangsonww/Claude-Code-Agent-Monitor · 82 tokens

session-investigator

Investigates a single Claude Code session end-to-end from Agent Monitor data: status, model, cost, the recursive agent tree (subagenttype/depth/parent), the full event chain (PreToolUse/PostToolUse/Stop/SubagentStop/Compaction/APIError/ TurnDuration), transcript highlights, and anomalies. Cross-references workflow…

hoangsonww/Claude-Code-Agent-Monitor · 98 tokens

issue-triager

Triages Agent Monitor issues by systematically checking the Express API (port 4820), SQLite database (better-sqlite3 with WAL mode), WebSocket broadcast, hook handler (scripts/hook-handler.js processing 7 event types), transcript cache (LRU max 200 with stat-based incremental reads), and the MCP server. Classifies by…

hoangsonww/Claude-Code-Agent-Monitor · 80 tokens

challenger

Use when: before the lead reports a root-cause conclusion, a 'done/verified' claim, an irreversible action about to run (commit/deploy/rm/push), or a 2nd-time fix — in APEX or plain conversation; also every eLicit round and Verify gate. Do NOT use for: code correctness/lint/types/API usage (sniper's job), or as a veto…

fusengine/agents · 92 tokens

sniper

Use when: after ANY code modification (mandatory post-edit validation). Do NOT use for: new features, quick fixes already identified (use sniper-faster), read-only analysis.

fusengine/agents · 38 tokens