flow-spec

flow-spec is a skill for Claude Code from nyldn/claude-octopus. It costs 22 tokens per session (6,549 once invoked), scanned A, original, MIT.

A structured specification-writing workflow based on research and agreement between multiple AI systems. A specification describes what a product or feature should do, who uses it, and what constraints apply.

In plain words
What is it for?
Use it to define a project or feature, its actors, important constraints such as security or performance, and its complexity before producing a detailed specification.
Why use it?
It gathers missing context before writing the specification, reducing gaps caused by a broad or underspecified research request.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the octo plugin — 71 skills, 112 commands, 10 agents, 18 hooks shipped together

Good fit Use it to define a project or feature, its actors, important constraints such as security or performance, and its complexity before producing a detailed specification.

Compare 6 skills from other repositories ↓
About the project

Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.

nyldn/claude-octopus · 4,537 stars · on GitHub · reddit.com

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add nyldn/claude-octopus
Claude Code
/plugin install octo

Made for: Claude Code.

Or install octo, the plugin that ships this one along with the rest of its 71 skills, 112 commands, 10 agents, 18 hooks.

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 flow-spec

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nyldn/claude-octopus/flow-spec"><img src="https://agentmods.dev/badge/skills/nyldn/claude-octopus/flow-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,549 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.00022 $0.06549
Opus 5.5 $0.00009 $0.02620
Sonnet 5.5 $0.00004 $0.01310
Haiku 4.5 $0.00002 $0.00655

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

Security

Grade A, and why

flow-spec 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 3d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • flow-spec — 88% identical, 310 lines differ
.claude/skills/flow-spec/SKILL.md · 575 lines

How it starts

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

STOP - SKILL ALREADY LOADED

DO NOT call Skill() again. DO NOT load any more skills. Execute directly.


EXECUTION CONTRACT (MANDATORY - CANNOT SKIP)

This skill uses ENFORCED execution mode. You MUST follow this exact 8-step sequence.


STEP 1: Clarifying Questions (MANDATORY)

Ask via AskUserQuestion BEFORE any other action.

You MUST gather these inputs from the user — spec quality depends on knowing actors, constraints, and complexity upfront; without these the research query is too broad and the spec will have gaps:

AskUserQuestion with these questions:

1. **What to specify**: Project or feature name + brief description
   - "What system/feature should I specify?"

2. **Actors**: Who interacts with this system?
   - Options: End Users, Developers, Admins, External Services, Other

3. **Key constraints**: What matters most?
   - Options: Performance, Security, Compatibility, Scale
   - (multiSelect: true)

4. **Complexity class**: How complex is this?
   - Clear (well-understood, straightforward)
   - Complicated (multiple parts, but knowable)
   - Complex (emergent behavior, unknowns)

If user provided a description inline with the command (e.g., /octo:spec user authentication system), use that as the project description but STILL ask remaining questions (actors, constraints, complexity).

If user says "skip" for any question, note assumptions and proceed.

DO NOT PROCEED TO STEP 2 until questions answered.


STEP 2: Display Visual Indicators (MANDATORY - BLOCKING)

Check provider availability:

Treat project names, selectors and requests as data in every Bash snippet. Shell-quote substituted values. Never paste raw user or research text into executed shell source.

if ! provider_status=$(bash "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/helpers/check-providers.sh"); then
    printf '%s\n' 'Provider readiness check failed.' >&2
    exit 1
fi

spec_provider_status() {
    case "$(awk -F: -v provider="${1}" '$(1) == provider { print substr($(0), length(provider) + 2); exit }' <<< "$provider_status")" in
        available) printf '%s\n' 'Available' ;;
        degraded) printf '%s\n' 'Not ready' ;;
        missing) printf '%s\n' 'Not installed' ;;
        *) printf '%s\n' 'Unknown' ;;
    esac
}
codex_status=$(spec_provider_status codex)
agy_status=$(spec_provider_status agy)

Read the full file on GitHub · 575 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. 3d ago Changed · +10 lines 69dd2edf4c80
  2. 4d ago Changed · +40 lines a547f0649329
  3. 5d ago Changed · +14 lines 2c9b9b5e74f1
  4. 8d ago Changed · +13 lines 464f0896f740
  5. 11d ago Changed · +1 lines b81f473bb8cd
  6. 25d ago Changed 57337514c5c0
  7. 2mo ago Changed · +74 lines 6f719857069b
  8. 2mo ago Changed 0c0a08177a85
  9. 3mo ago First seen · 423 lines · 22 tokens per session scan A 8586e4d458ba

Subscribe to this mod's changes

flow-spec is a skill published in the GitHub repository nyldn/claude-octopus (4,537 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 6,549 once invoked, about $0.0001 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-08-30.

Related

flow-spec compared with skills from other repositories

flow-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flow-specnyldn/claude-octopusSkill4.5ktodayMITA22Claude Code
api-integrationsCrowdStrike/foundry-skillsSkill38todayMITA107Claude Code
app-upgradesCrowdStrike/foundry-skillsSkill38todayMITA123Claude Code
one-shotjikig-ai/soleurSkill21todaynoneA21Claude Code
schedulejikig-ai/soleurSkill21todaynoneA44Claude Code
postmergejikig-ai/soleurSkill21todaynoneA20Claude Code
architecturejikig-ai/soleurSkill21todaynoneA17Claude Code