finfocus-plugin-upgrade

finfocus-plugin-upgrade is a skill for Claude Code, Codex from rshade/finfocus. It costs 102 tokens per session (1,910 once invoked), scanned A, original, Apache-2.0.

A guided upgrade process for FinFocus plugins, which are extensions that provide FinFocus with cost data. It moves a plugin to a newer FinFocus software development kit version while checking migration steps and build errors.

In plain words
What is it for?
Use it to plan and apply plugin SDK migrations, resolve compile failures, and verify that tests still pass.
Why use it?
It reduces the risk of breaking a plugin during an SDK upgrade and prevents skipping required code or test fixes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go build -o "$FINFOCUS_HOME/plugins/<name>/0.0.0-upgrade/finfocus-plugin-<name>" ./cmd/<entrypoint>.

Good fit Use it to plan and apply plugin SDK migrations, resolve compile failures, and verify that tests still pass.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rshade/finfocus
agentmods
npx agentmods add skills/rshade/finfocus/finfocus-plugin-upgrade

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-plugin-upgrade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rshade/finfocus/finfocus-plugin-upgrade"><img src="https://agentmods.dev/badge/skills/rshade/finfocus/finfocus-plugin-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,910 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.00102 $0.01910
Opus 5.5 $0.00041 $0.00764
Sonnet 5.5 $0.00020 $0.00382
Haiku 4.5 $0.00010 $0.00191

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

Security

Grade A, and why

finfocus-plugin-upgrade 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 20d 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-plugin-upgrade/SKILL.md · 156 lines

How it starts

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

FinFocus Plugin Upgrade

Move a plugin project to a newer finfocus-spec version. finfocus plugin upgrade makes the edits that need no judgment. This skill covers the rest, using one migration guide per hop in references/.

A hop ends at a release that needs plugin-author action. Hops are not minor versions: v0.5.7, a patch release, changed a handler signature.

Rules

  • Show the plan and get approval before editing anything.
  • Work on a new branch from a clean tree. Never stash or discard the user's changes yourself; ask them to commit or stash.
  • Change only what a guide or a compile error requires. Do not change pricing math, adopt optional features, reformat files, or edit vendor/.
  • Never delete or skip a failing test to get green. Fix the cause or stop and report it.
  • Do not commit unless the user asks.

1. Plan

Run from the plugin's repository root:

finfocus plugin upgrade --dry-run --output json

If plugin upgrade is an unknown command, finfocus is too old: ask the user to update it. The command never uses the network. The default target is the finfocus-spec version that this finfocus build uses.

Read the JSON:

Field Meaning
plan.current, plan.target Version in go.mod and the version to move to
plan.up_to_date true: stop, there is nothing to do
plan.required_go go directive will be raised to this
plan.hops[] Ordered hops: to, summary, automatic, manual, guide
plan.warnings[] Stale SpecVersion constants, replace directives

Present the current and target versions, each hop's manual steps, and the warnings. Ask whether to proceed, and whether to stop at an earlier hop (--to).

Errors stop the skill:

Error Action
not a FinFocus plugin Wrong directory, or go.mod lacks the spec module
plugin is too old to upgrade Below v0.5.0. Suggest finfocus plugin init and porting the pricing code
plugin is newer than this finfocus build Update finfocus first

Read the full file on GitHub · 156 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. 20d ago Changed · +1 lines f197b73ecd62
  2. 23d ago Changed · +1 lines 5518b46a95e2
  3. 1mo ago Changed · +1 lines 6c9e37f643a9
  4. 1mo ago Changed · +2 lines ec2b6052ca58
  5. 1mo ago Changed · +1 lines 7fd27ea449be
  6. 1mo ago Changed · +1 lines 6ac6fc59216f
  7. 1mo ago Changed · +1 lines 0af79ecb917a
  8. 1mo ago Changed · +2 lines 0534500e856a
  9. 1mo ago Changed · +1 lines 31e329a446bc
  10. 1mo ago First seen · 145 lines · 102 tokens per session scan A 37edf278f024

Subscribe to this mod's changes

finfocus-plugin-upgrade is a skill published in the GitHub repository rshade/finfocus (11 stars, last pushed today), licensed Apache-2.0. It adds 102 tokens to every session and 1,910 once invoked, about $0.0004 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

finfocus-plugin-upgrade compared with skills from other repositories

finfocus-plugin-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
finfocus-plugin-upgradershade/finfocusSkill11todayApache-2.0A102Claude Code, Codex
stack-trace-go-probeopensquilla/opensquillaSkill7.2k4d agoApache-2.0A42Claude Code
golang-troubleshootingsamber/cc-skills-golangSkill4.0k22d agoMITA175Claude Code
golang-error-handlingsamber/cc-skills-golangSkill4.0k22d agoMITA144Claude Code
tree-sitter-language-pack-extracting-code-structurexberg-io/tree-sitter-language-packSkill489yesterdayMITA52Claude Code
tree-sitter-language-pack-parsing-sourcexberg-io/tree-sitter-language-packSkill489yesterdayMITA48Claude Code
sentry-go-sdkgetsentry/sentry-for-aiSkill2834d agoMITA78Claude Code