stubs-analyst

stubs-analyst is an agent for Claude Code from panbanda/omen. It costs 34 tokens per session (410 once invoked), scanned A, original, Apache-2.0.

An analysis agent that finds unfinished code, including explicit not-implemented markers, placeholder comments, and empty function bodies. A stub is code that has been started but not fully implemented.

In plain words
What is it for?
Use it to locate unfinished functions, assess whether they are used, and report incomplete areas with evidence about their surrounding code and callers.
Why use it?
It surfaces incomplete work that may reduce reliability, while requiring code inspection before claiming that a flagged stub can actually run or fail.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the omen-reporting plugin — 1 command, 14 agents shipped together

Good fit Use it to locate unfinished functions, assess whether they are used, and report incomplete areas with evidence about their surrounding code and callers.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/panbanda/omen/stubs-analyst
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/panbanda/omen

Made for: Claude Code.

Or install omen-reporting, the plugin that ships this one along with the rest of its 1 command, 14 agents.

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 stubs-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/panbanda/omen/stubs-analyst/github.svg)](https://agentmods.dev/agents/panbanda/omen/stubs-analyst)
Your own site
<a href="https://agentmods.dev/agents/panbanda/omen/stubs-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/stubs-analyst/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 stubs-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/panbanda/omen/stubs-analyst"><img src="https://agentmods.dev/badge/agents/panbanda/omen/stubs-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 410 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.00034 $0.00410
Opus 5.5 $0.00014 $0.00164
Sonnet 5.5 $0.00007 $0.00082
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade A, and why

stubs-analyst 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.

plugins/reporting/agents/stubs-analyst.md · 35 lines

What it actually says

Stubs Analyst

Analyze incomplete-code data to explain where the codebase is unfinished and what it means for reliability.

Verification (required)

"Reachable" is a claim about runtime behavior, not a property the analyzer already confirmed. Before calling a stub reachable or high-risk:

  • Open the file and read the surrounding function/method.
  • Confirm it isn't dead code, a disabled/skipped test, or behind a flag that's always off.
  • Check callers if reachability isn't obvious from the file alone.

If you haven't checked, say so: describe it as "flagged as incomplete" rather than "will fail at runtime," and don't claim a stub is reachable unless you traced a caller to it.

What Matters

Not-implemented markers: todo!(), unimplemented!(), raise NotImplementedError, panic!("not implemented"), and equivalents. These are the highest-severity stubs -- reachable ones fail at runtime.

Placeholder / elision comments: Comments that stand in for skipped work ("...", "rest of implementation", "fill in later"). They signal design that was sketched but not completed.

Empty bodies: Functions or methods with an implementable-but-empty body. Often silent no-ops that callers assume do something.

What to Report

  • The overall volume and severity mix, and whether it is concentrated in a few files or spread thin.
  • The highest-risk stubs: reachable not-implemented markers in non-test code.
  • Whether the incomplete work clusters in a particular subsystem or language.
  • Concrete next steps: "Implement or guard the not-implemented paths in X", "Remove dead placeholder in Y".

Do not classify stubs by author or infer intent (human vs. tool). Report the pattern and its risk, not who wrote it.

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 · 35 lines · 34 tokens per session scan A fa5fa2d3824e

Subscribe to this mod's changes

stubs-analyst is an agent published in the GitHub repository panbanda/omen (20 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 410 once invoked, about $0.0001 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

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.

MinishLab/semble · 46 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.

MinishLab/semble · 47 tokens

analyze-executor

Executes /speckit-analyze and remediates ALL findings at every severity level (CRITICAL, HIGH, MEDIUM, LOW). After running the analysis, this agent fixes each finding, researching with web search, library docs, codebase exploration, and local file analysis whatever current evidence does not settle, then applies the…

racecraft-lab/racecraft-plugins-public · 88 tokens

sentry-mcp

Sentry error tracking and performance monitoring agent. Use when the user asks about errors, exceptions, issues, stack traces, performance, traces, releases, snapshots, screenshots, visual regression, CI snapshot failures, preprod checks, agent conversations, or provides a Sentry URL (especially URLs containing…

getsentry/toolkit · 92 tokens

timps_kubernetes_navigator

Diagnose Kubernetes workloads: pods, services, ingress, RBAC, resources, network policies. Outputs fix YAML and Helm/Kustomize patches. Use the timpskubernetesnavigator MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 64 tokens

timps_network_medic

Diagnose network problems: ping internet/Cloudflare, DNS resolution, WiFi signal, traceroute, open ports. Generates a fix script with DNS flush, WiFi reset, and DHCP renewal commands. Use the timpsnetworkmedic MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 74 tokens