speckit-harness-orchestration

speckit-harness-orchestration is a cursor rule for Cursor from hahaxiang27/FlowHarness. It costs 495 tokens per session, scanned A, original, MIT.

A set of rules for coordinating SpecKit and Harness, a workflow system with a visible progress dashboard. It requires each concrete command to be completed and recorded before moving to the next one.

In plain words
What is it for?
Use it in projects that combine SpecKit requirements with Harness dashboards. It controls step-by-step command execution, state updates, dashboard updates, and handoffs.
Why use it?
It prevents a coding session from silently skipping planning or implementation steps. The dashboard and saved state show what was done and what should happen next.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions AGENTS.md.

Good fit Use it in projects that combine SpecKit requirements with Harness dashboards. It controls step-by-step command execution, state updates, dashboard updates, and handoffs.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/hahaxiang27/flowharness/speckit-harness-orchestration
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.

Clone the repo
git clone --depth 1 https://github.com/hahaxiang27/FlowHarness

Made for: Cursor.

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 speckit-harness-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/rules/hahaxiang27/flowharness/speckit-harness-orchestration/github.svg)](https://agentmods.dev/rules/hahaxiang27/flowharness/speckit-harness-orchestration)
Your own site
<a href="https://agentmods.dev/rules/hahaxiang27/flowharness/speckit-harness-orchestration"><img src="https://agentmods.dev/badge/rules/hahaxiang27/flowharness/speckit-harness-orchestration/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 speckit-harness-orchestration

Your own site · 80×15
<a href="https://agentmods.dev/rules/hahaxiang27/flowharness/speckit-harness-orchestration"><img src="https://agentmods.dev/badge/rules/hahaxiang27/flowharness/speckit-harness-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 495 This file is loaded in full into every session.
When invoked 495 The same file — it is already loaded in full.
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.00495 $0.00495
Opus 5 $0.00247 $0.00247
Sonnet 5 $0.00099 $0.00099
Haiku 4.5 $0.00049 $0.00049

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

Security

Grade A, and why

speckit-harness-orchestration 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.

templates/cursor-rules/speckit-harness-orchestration.mdc · 36 lines

What it actually says

SpecKit + Harness Orchestration (Step Gate + Dashboard)

This project uses SpecKit + Harness through natural-language requirements. Follow AGENTS.md and these rules in every requirement session.

Step Gate (mandatory)

  • One concrete command per user turn unless the user explicitly asks to batch remaining steps.
  • After installation or when constitution is missing/incomplete, run speckit.constitution first, report the result, then stop.
  • New requirement -> select router mode, publish the concrete speckit.* / harness.* command flow, initialize dashboard, then stop.
  • User says 继续 / 下一步 / next / continue -> read the next command from specs/{REQUIREMENT_ID}/dashboard-state.json, execute exactly one command, then stop again.
  • After every concrete command (speckit.*, harness.*, etc.):
    1. Update specs/{REQUIREMENT_ID}/dashboard-state.json (.harness/prompts/dashboard-state-updater.md)
    2. Update specs/{REQUIREMENT_ID}/dashboard.html when panel content exists (.harness/prompts/dashboard-updater.md)
    3. Hand off with .harness/prompts/step-gate-handoff.md
  • Low or medium risk never grants auto-continue.
  • Router direct mode: implement immediately; skip specs, dashboard, and step gates (.harness/prompts/direct-implement.md).

Dashboard (mandatory for non-direct modes)

After mode selection and before the first concrete command:

  1. Copy .harness/templates/dashboard.html -> specs/{REQUIREMENT_ID}/dashboard.html
  2. Write specs/{REQUIREMENT_ID}/dashboard-state.json with workflow_plan.steps (.harness/prompts/dashboard-plan-init.md)
  3. Tell the user to open the HTML file in a browser; it auto-refreshes from dashboard-state.json

Runtime Paths

  • Harness prompts: .harness/prompts/
  • Harness templates: .harness/templates/
  • Router: .ai-dev/router/ (fallback: toolkit router/)
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 · 36 lines · 495 tokens per session scan A f88f35b721c8

Subscribe to this mod's changes

speckit-harness-orchestration is a cursor rule published in the GitHub repository hahaxiang27/FlowHarness (4 stars, last pushed 2mo ago), licensed MIT. It adds 495 tokens to every session, about $0.0025 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-31.