flame-harness-contract

flame-harness-contract is a skill for Claude Code from tjdrhs90/flutter-flame-harness. It costs 35 tokens per session (2,890 once invoked), scanned A, original, MIT.

A workflow for agreeing on testable completion rules for a Flame game, a game built with the Flutter game framework. It reads the project plan and design documents before creating the contract.

In plain words
What is it for?
It is for defining the completion contract and hard checks for a Flutter-Flame game project.
Why use it?
It turns a game brief into criteria that can be checked and requires mandatory quality gates before implementation continues.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the flutter-flame-harness plugin — 14 skills shipped together

Good fit It is for defining the completion contract and hard checks for a Flutter-Flame game project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tjdrhs90/flutter-flame-harness/flame-harness-contract
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 tjdrhs90/flutter-flame-harness --skill flame-harness-contract
Clone the repo
git clone --depth 1 https://github.com/tjdrhs90/flutter-flame-harness

Made for: Claude Code.

Or install flutter-flame-harness, the plugin that ships this one along with the rest of its 14 skills.

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 flame-harness-contract

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tjdrhs90/flutter-flame-harness/flame-harness-contract"><img src="https://agentmods.dev/badge/skills/tjdrhs90/flutter-flame-harness/flame-harness-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,890 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00035 $0.02890
Opus 5 $0.00017 $0.01445
Sonnet 5 $0.00007 $0.00578
Haiku 4.5 $0.00003 $0.00289

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

Security

Grade A, and why

flame-harness-contract 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 9d 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.

skills/flame-harness-contract/SKILL.md · 257 lines

How it starts

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

flame-harness-contract

Phase 4 of the flutter-flame-harness pipeline. Reads the PRD and design doc, proposes verifiable completion criteria (Mandatory Hard Gates + Functional Criteria), and marks the contract AGREED before handing off to the generator.

All file schemas (config.md, state.md, contract.md) are defined in docs/harness-protocol.md — refer to that document as the single source of truth. Do not redefine schemas here.


Input

1. Read docs/harness/config.md

Extract:

Key Use
app_name Contract title header
app_slug Used to identify the game
strict_mode If true, run --strict negotiation; if false (or absent), run default 1-pass

2. Read the latest PRD

Find the most recent file matching docs/harness/plans/*-prd.md (sort by filename descending, take the first). Abort with a clear message if none exists.

3. Read the design doc

Find the most recent file matching docs/harness/plans/*-design.md (sort by filename descending, take the first). Abort if none exists.


Mandatory Hard Gates

These 8 criteria are non-negotiable and must appear verbatim in every contract.md. A FAIL on any one results in an immediate FAIL verdict, regardless of other passing criteria.

Source: docs/harness-protocol.md §3 — Mandatory Hard Gates block. Always cite; never restate differently.

  1. flutter analyze returns zero issues.
  2. flutter test — all tests pass.
  3. No TODO, stub, or placeholder in game logic (grep-checkable).
  4. All tuning constants centralized in game_config.dart — no magic numbers in gameplay code.
  5. Game content (enemies / levels / waves) is defined as data, not hardcoded.
  6. Localization complete for all configured locales — default_language, plus English when default_languageen — no missing l10n keys.
  7. Core loop works end to end: start → play → win/lose → restart.
  8. Runs on a simulator/emulator with zero crashes and zero console errors.

Copy these 8 lines verbatim into the ## Mandatory Hard Gates section of contract.md. Do not paraphrase, reorder, or omit any gate.

Read the full file on GitHub · 257 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. 9d ago First seen · 257 lines · 35 tokens per session scan A fa1f62321624

Subscribe to this mod's changes

flame-harness-contract is a skill published in the GitHub repository tjdrhs90/flutter-flame-harness (60 stars, last pushed 8d ago), licensed MIT. It adds 35 tokens to every session and 2,890 once invoked, about $0.0002 per session on Opus 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.