gainium-mcp: Skill for Claude Code

.claude/skills/gainium-dev-flow/SKILL.md

gainium-dev-flow is a skill for Claude Code from Gainium/gainium-mcp. It costs 0 tokens per session (4,147 once invoked), scanned A, original, MIT.

A step-by-step development workflow for Gainium repositories. It uses written specifications, evidence, planning, design principles, and tests for both new features and bug fixes.

In plain words
What is it for?
Use it to define a feature or diagnose a bug, check the change's blast radius, apply the repository's design patterns, and verify the result with the project's own test tools.
Why use it?
It makes the intended behavior and the possible impact of a change explicit before code is changed. This helps prevent fixes that solve one problem while breaking related parts of the system.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Gainium/gainium-mcp's own configuration. It tells Claude Code how to work on gainium-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gainium-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Gainium/gainium-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Gainium/gainium-mcp/main/.claude/skills/gainium-dev-flow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Gainium/gainium-mcp

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 gainium-dev-flow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gainium/gainium-mcp/gainium-dev-flow"><img src="https://agentmods.dev/badge/skills/gainium/gainium-mcp/gainium-dev-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,147 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.00000 $0.04147
Opus 5 $0.00000 $0.02073
Sonnet 5 $0.00000 $0.00829
Haiku 4.5 $0.00000 $0.00415

Measured 5d ago against content hash e464531534ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gainium-dev-flow 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 5d 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.

.claude/skills/gainium-dev-flow/SKILL.md · 334 lines

How it starts

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

Gainium dev flow

This skill is distributed into every gainium repo — you're reading the copy that lives in this repo. It intentionally contains no file paths or examples specific to another repo (no app/app-sh references): someone working in exchange-connector won't have app checked out, and different repos use different frameworks (main-app's hand-rolled COP singletons vs. NestJS providers elsewhere) and different test tooling (mocha, Jest, hand-rolled expect() scripts all exist across gainium repos — don't assume any one of them). Wherever this file needs a concrete example, it tells you to go find this repo's own, not to copy one from memory of another repo.

Two things changed here versus a generic spec-driven/hexagonal skill:

  1. Bug fixes go through the same seven gates as features, not a shortcut. The only fork is what the spec (gate 1) contains — a bug doesn't have new behaviour to define, it has existing behaviour to diagnose. See Part 1's two spec templates. The harness's plan-mode UI only gates approval of what you write — it does not gather evidence, trace logs, or reproduce a bug for you. That's the agent's job, done during gates 1–2, and it still gets written into a real persisted specs/NNN.slug.md, exactly like a feature.
  2. This repo is probably not hexagonal today. Business rules are probably mixed with DB/queue/exchange/HTTP calls in the same function or class, wherever that pattern already exists here (check this repo's own CLAUDE.md for its documented architecture). New code should still be designed with SOLID + narrow ports (Part 3). Existing code gets modernized just-in-time, only where you're already touching it — never a drive-by rewrite. That extraction method is detailed in JIT-LEGACY-EXTRACTION-RUNBOOK.md; read it before doing any legacy touch-up, don't re-derive it here.

Repo layout note: Every artefact this skill produces (specs/, plans/) lives inside this repo, not some shared location — never at the gainium root. If this repo has a core/ git submodule (check .gitmodules — a common gainium pattern: appapp-sh, exchange-connectorexchange-connector-sh, websocket-connectorwebsocket-connector-sh, and others), treat files under core/ as shared/public/deployed-platform-wide even though you're sitting in the private counterpart repo — see Part 1's Blast Radius guidance and the runbook's special case for this.


Read the full file on GitHub · 334 lines

Files

What ships with it

1 file 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. 5d ago First seen · 334 lines · 0 tokens per session scan A e464531534ab

Subscribe to this mod's changes

gainium-dev-flow is a skill published in the GitHub repository Gainium/gainium-mcp (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,147 tokens. 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-09-04.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens