finfocus-diagnose

finfocus-diagnose is a skill for Claude Code, Codex from rshade/finfocus. It costs 119 tokens per session (723 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for FinFocus, a tool that estimates and reports infrastructure costs. It investigates connection failures, configuration problems, stale cache data, plugin errors, and results showing zero cost.

In plain words
What is it for?
Use it to diagnose failed plugins, ignored configuration files, stale prices, zero-cost results, and FinFocus error codes.
Why use it?
It replaces guesswork with symptom-specific checks before changing configuration or deleting cached data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to diagnose failed plugins, ignored configuration files, stale prices, zero-cost results, and FinFocus error codes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rshade/finfocus/finfocus-diagnose
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.

Any agent
npx skills add rshade/finfocus --skill finfocus-diagnose
Clone the repo
git clone --depth 1 https://github.com/rshade/finfocus

Made for: Claude Code, Codex.

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 finfocus-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshade/finfocus/finfocus-diagnose/github.svg)](https://agentmods.dev/skills/rshade/finfocus/finfocus-diagnose)
Your own site
<a href="https://agentmods.dev/skills/rshade/finfocus/finfocus-diagnose"><img src="https://agentmods.dev/badge/skills/rshade/finfocus/finfocus-diagnose/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 finfocus-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/rshade/finfocus/finfocus-diagnose"><img src="https://agentmods.dev/badge/skills/rshade/finfocus/finfocus-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 723 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.00119 $0.00723
Opus 5.5 $0.00048 $0.00289
Sonnet 5.5 $0.00024 $0.00145
Haiku 4.5 $0.00012 $0.00072

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

Security

Grade A, and why

finfocus-diagnose 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 13d 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.

agent-skills/finfocus-diagnose/SKILL.md · 60 lines

How it starts

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

Diagnose FinFocus

This skill is FinFocus-specific. Read the reference that matches the symptom before changing config or deleting cache files.

Install: npx skills add rshade/finfocus -s finfocus-diagnose.

1. Name the symptom

What you see Open
connection refused, broken pipe, EOF, no such file or directory, bind timeout Plugin connectivity
The wrong plugins load, or an edit has no effect Config resolution
Stale prices, (cached) on the adapter, or a locked cache.db Cache
Every resource is $0, or a note starts with VALIDATION: or ERROR: Zero cost
PLUGIN_ERROR, VALIDATION_ERROR, TIMEOUT_ERROR, NO_COST_DATA Error codes

Commands, flags, and environment variables: references/diagnostic-commands.md.

2. Collect evidence before changing anything

finfocus plugin list --verbose
finfocus plugin validate
finfocus config routes list
finfocus config list
finfocus cost projected --debug --pulumi-json plan.json

finfocus config routes test <resource-type> [region] simulates selection. It does not launch plugin binaries.

Log level precedence is --debug, then FINFOCUS_LOG_LEVEL, then the config file, then info. The default format value is text. FINFOCUS_LOG_FORMAT=json switches to JSON. FINFOCUS_TRACE_ID overrides the generated trace id. gRPC metadata uses x-finfocus-trace-id.

3. Apply the matching fix

  • Connectivity: confirm the binary, the executable bit, and plugin.manifest.json, then retry. Core sets --port and FINFOCUS_PLUGIN_PORT. It does not set PORT.
  • Config: edit config.hujson. A project file replaces a whole top-level key of the global file.
  • Cache: FINFOCUS_CACHE_ENABLED=false skips the cache. Deleting cache.db drops stored prices. Corruption is recreated on open.
  • Zero cost: read the note and the structured code before treating $0 as a failure. A returned monthly cost of 0 does not fall back to the next plugin.

Read the full file on GitHub · 60 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 60 lines · 119 tokens per session scan A c254b459b5b2

Subscribe to this mod's changes

finfocus-diagnose is a skill published in the GitHub repository rshade/finfocus (10 stars, last pushed today), licensed Apache-2.0. It adds 119 tokens to every session and 723 once invoked, about $0.0005 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-10-03.

Related

Other skills, from other repositories

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing…

prowler-cloud/prowler · 108 tokens

gh-aw

Create and maintain GitHub Agentic Workflows (gh-aw) for Prowler. Trigger: When creating agentic workflows, modifying gh-aw frontmatter, configuring safe-outputs, setting up MCP servers in workflows, importing Copilot Custom Agents, or debugging gh-aw compilation.

prowler-cloud/prowler · 59 tokens

tdd

Test-Driven Development workflow for ALL Prowler components (UI, SDK, API). Trigger: ALWAYS when implementing features, fixing bugs, or refactoring - regardless of component. This is a MANDATORY workflow, not optional.

prowler-cloud/prowler · 50 tokens

hyperpod-node-debugger

Diagnose and remediate per-node issues on a HyperPod cluster (EKS or Slurm) — a specific node is unhealthy, unresponsive, stuck, or needs replacing. Covers on-node EFA, GPU / accelerator hardware (XID, ECC, NVLink, row-remap, DCGM), Slurm node down/drained, disk and memory pressure, per-node lifecycle-script failures…

awslabs/agent-plugins · 139 tokens

hyperpod-cluster-debugger

Diagnose and remediate cluster-wide HyperPod (EKS or Slurm) problems — creation / deployment failures (CloudFormation, EFA health check, lifecycle scripts, capacity), EKS access, node replacement, CloudFormation nested-stack errors, post-maintenance rollback state, dangling nodes, autoscaler conflicts. Includes…

awslabs/agent-plugins · 80 tokens