flow-spec
NLSpec authoring — use when you need a structured specification from multi-AI research and consensus
Skill by GongYuanCaiJi
Chalk Labs
Need help deploying flow-spec?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gongyuancaiji-flow-spec
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
flow-spec- Description
- NLSpec authoring — use when you need a structured specification from multi-AI research and consensus
- License
- MIT
- Instructions
- 408 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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:**
```bash
provider_status=$(bash "${HOME}/.claude-octopus/plugin/scripts/helpers/check-providers.sh")
codex_status=$(echo "$provider_status" | grep -q '^codex:available' && echo "Available" || echo "Not installed")
agy_status=$(echo "$provider_status" | grep -q '^agy:available' && echo "Available" || echo "Not installed")
```
**Display this banner BEFORE orchestrate.sh execution:**
```
🐙 CLAUDE OCTOPUS ACTIVATED - NLSpec Authoring Mode
Spec Phase: Generating structured specification for [project name]
Provider Availability:
Codex CLI: ${codex_status}
Antigravity CLI: ${agy_status}
Claude: Available (Synthesis & NLSpec generation)
Estimated Cost: $0.01-0.05
Estimated Time: 3-7 minutes
```
**Validation:**
- If no external providers are available -> STOP, suggest: `/octo:setup`
- If one or more external providers are available -> Continue with available provider(s)
**DO NOT PROCEED TO STEP 3 until banner displayed.**
---
### STEP 3: Read Prior State (MANDATORY - State Management)
**Before executing the workflow, read any prior context:**
```bash
# Initialize state if needed
"${HOME}/.claude-octopus/plugin/scripts/state-manager.sh" init_state
# Set current workflow
"${HOME}/.claude-octopus/plugin/scripts/state-manager.sh" set_current_workflow "flow-spec" "spec"
# Get prior decisions (if any)
prior_decisions=$("${HOME}/.claude-octopus/plugin/scripts/state-manager.sh" get_decisions "all")
# Get context from previous phases (e.g., discover)
prior_context=$("${HOME}/.claude-octopus/plugin/scripts/state-manager.sh" read_state | jq -r '.context')
# Display what you found (if any)
if [[ "$prior_decisions" != "[]" && "$prior_decisions" != "null" ]]; then
echo "Building on prior decisions:"
echo "$prior_decisions" | jq -r '.[] | " - \(.decision) (\(.phase)): \(.rationale)"'
fi
```
**This provides context from:**
- Prior discover phases (if user ran `/octo:discover` first)
- Architectural decisions already made
- User vision captured in earlier phases
**DO NOT PROCEED TO STEP 4 until state read.**
---
### STEP 4: Execute orchestrate.sh probe (MANDATORY - Use Bash Tool)
**You MUST execute this command via the Bash tool:**
```bash
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh probe "specification research for: <project description>. Key areas: actors (<actors>), constraints (<constraints>), complexity (<complexity class>)"
```From GongYuanCaiJi/dsh-claude-octopus, MIT.
More from GongYuanCaiJi/dsh-claude-octopus
- 0.511score
skill-authoring
GongYuanCaiJi
Principles for writing skills that behave the same way every run — use when adding, editing, or reviewing a skill in this plugin
SkillBFreshness: BClaude Code +9 - 0.504score
skill-agent-topology
GongYuanCaiJi
Audit whether a multi-agent setup earns its coordination cost — use before adding an agent, or when a workflow feels slow or agents agree without adding signal
SkillBFreshness: BClaude Code +9 - 0.496score
flow-deliver
GongYuanCaiJi
Multi-AI validation, scoring, and review using available external providers (Double Diamond Deliver phase)
SkillBFreshness: BClaude Code +9 - 0.492score
skill-debate
GongYuanCaiJi
Structured multi-provider AI debates between Claude and available advisors — use for critical decisions
SkillBFreshness: BClaude Code +9 - 0.270score
flow-define
GongYuanCaiJi
No description from the publisher yet.
SkillBFreshness: BClaude Code +9 - 0.270score
flow-develop
GongYuanCaiJi
No description from the publisher yet.
SkillBFreshness: BClaude Code +9 - 0.270score
flow-discover
GongYuanCaiJi
No description from the publisher yet.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 15, 2026 (2 months ago)
- Last release
- Aug 15, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from GongYuanCaiJi
- 0.525score
domain-modeling
GongYuanCaiJi
Build and sharpen a project's domain model.
SkillBFreshness: B★ 3Claude Code +9 - 0.525score
codebase-design
GongYuanCaiJi
Shared vocabulary for designing deep modules.
SkillBFreshness: B★ 3Claude Code +9 - 0.514score
implement
GongYuanCaiJi
Implement a piece of work based on a spec or set of tickets.
SkillBFreshness: B★ 3Claude Code +9 - 0.511score
skill-authoring
GongYuanCaiJi
Principles for writing skills that behave the same way every run — use when adding, editing, or reviewing a skill in this plugin
SkillBFreshness: BClaude Code +9 - 0.511score
graph-query
GongYuanCaiJi
Query the code graph database to understand component relationships, dependencies, and change impact.
SkillBFreshness: BClaude Code +9 - 0.511score
planning
GongYuanCaiJi
Create and manage persistent markdown planning files for structured task execution.
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get flow-spec running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
flow-spec skill. Agent Mart. https://agentmart.dev/skills/gongyuancaiji-flow-spec (last updated 2026-10-24)