Skip to content
Skills Library
DevOps & cloud · Analysis

finfocus-diagnose

/finfocus-diagnose

Diagnose and debug FinFocus connectivity, config resolution, cache issues, plugin errors, and zero cost results. Use when a cost command returns $0, a plugin will not start, config.hujson is ignored, or output shows PLUGIN_ERROR, VALIDATION_ERROR, TIMEOUT_ERROR, or NO_COST_DATA. Triggers on: "diagnose", "debug", "connectivity", "zero cost", "cache issue", "plugin error", "config resolution", "PLUGIN_ERROR", "VALIDATION_ERROR", "TIMEOUT_ERROR", "NO_COST_DATA".

Repository
finfocus ↗
Licence
Apache-2.0
Last repository change
26.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
0
HTML comments
2
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

What it does and when to use it

Diagnose and debug FinFocus connectivity, config resolution, cache issues, plugin errors, and zero cost results. Use when a cost command returns $0, a plugin will not start, config.hujson is ignored, or output shows PLUGIN_ERROR, VALIDATION_ERROR, TIMEOUT_ERROR, or NO_COST_DATA. Triggers on: "diagnose", "debug", "connectivity", "zero cost", "cache issue", "plugin error", "config resolution", "PLUGIN_ERROR", "VALIDATION_ERROR", "TIMEOUT_ERROR", "NO_COST_DATA".

Triggers from the description

diagnosedebugconnectivityzero costcache issueplugin errorconfig resolutionPLUGIN_ERROR
Original author description

Diagnose and debug FinFocus connectivity, config resolution, cache issues, plugin errors, and zero cost results. Use when a cost command returns $0, a plugin will not start, config.hujson is ignored, or output shows PLUGIN_ERROR, VALIDATION_ERROR, TIMEOUT_ERROR, or NO_COST_DATA. Triggers on: "diagnose", "debug", "connectivity", "zero cost", "cache issue", "plugin error", "config resolution", "PLUGIN_ERROR", "VALIDATION_ERROR", "TIMEOUT_ERROR", "NO_COST_DATA".

How it works

  1. 1. Name the symptom
  2. 2. Collect evidence before changing anything
  3. 3. Apply the matching fix
Original SKILL.md headings · 49 lines, 321 words
SKILL.md preview
---
name: finfocus-diagnose
description: >
  Diagnose and debug FinFocus connectivity, config resolution, cache issues,
  plugin errors, and zero cost results. Use when a cost command returns $0,
  a plugin will not start, config.hujson is ignored, or output shows
  PLUGIN_ERROR, VALIDATION_ERROR, TIMEOUT_ERROR, or NO_COST_DATA. Triggers on:
  "diagnose", "debug", "connectivity", "zero cost", "cache issue",
  "plugin error", "config resolution", "PLUGIN_ERROR", "VALIDATION_ERROR",
  "TIMEOUT_ERROR", "NO_COST_DATA".
---
<!-- Copyright 2025-2026 Richard Shade. Licensed under Apache-2.0. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->

# 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](references/decision-trees.md) |
| The wrong plugins load, or an edit has no effect | [Config resolution](references/diagnostic-commands.md) |
| Stale prices, (cached) on the adapter, or a locked `cache.db` | [Cache](references/decision-trees.md) |
| Every resource is `$0`, or a note starts with `VALIDATION:` or `ERROR:` | [Zero cost](references/decision-trees.md) |
| `PLUGIN_ERROR`, `VALIDATION_ERROR`, `TIMEOUT_ERROR`, `NO_COST_DATA` | [Error codes](references/error-codes.md) |

Commands, flags, and environment variables:
[references/diagnostic-commands.md](references/diagnostic-commands.md).

## 2. Collect evidence before changing anything

```bash
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.

Do not invent a timeout flag. The constants and the path that uses them are in the decision tree.
Files in this package (5)
  • SKILL.md 3 KB
  • finfocus-diagnose.skill 10 KB
  • references/decision-trees.md 8 KB
  • references/diagnostic-commands.md 6 KB
  • references/error-codes.md 6 KB

Versions

The database has no other skills named finfocus-diagnose.

Database snapshot: 13.11.2026 · package version 6b53f64b0119 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100finfocus-budget
    Configure, check, and troubleshoot FinFocus budget thresholds. Use when setting cost.budgets in config.hujson, reading budget health, filtering scopes with --budget-scope, or making cost projected, cost actual, or overview exit non-zero in CI. Triggers on: "finfocus budget",…
  • 100finfocus-routing
    Configure and debug FinFocus intelligent plugin routing. Use when setting up multi-plugin routing, configuring priority and fallback rules, writing pattern matching for resource types, testing route selection, or debugging why a plugin isn't receiving cost queries. Triggers on:…
  • 100a0-debug-plugin
    Diagnose and fix Agent Zero plugin problems. Covers plugin not appearing, won't enable, API endpoints not responding, frontend store errors, extension point injection, settings resolution, hooks.py issues, and log inspection. Use when a plugin is not working, not loading,…
  • 90network-connectivity-check
    Diagnose network connectivity issues to one or more targets. Performs ping sweep, port scan, HTTP/TLS/SSH checks. Use when checking reachability, debugging "no route to host", or verifying VPN connectivity.
  • 100ci-debugging
    Diagnose and fix CI/CD pipeline failures: GitHub Actions errors, build failures, test timeouts, TLS/auth issues, platform-specific failures, dependency resolution problems, and deployment errors. Use when CI checks fail, builds break, tests timeout, or pipeline errors need…
  • 100network-health-check
    Run a UniFi network health check — diagnose device status, connectivity issues, firmware updates, and system health. Use when asked to check network health, find what's down, diagnose connectivity issues, or get a network status summary.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.