goop-discuss

goop-discuss is a command for Claude Code from hffmnnj/goopspec. It costs 14 tokens per session (1,227 once invoked), scanned A, original, MIT.

A command that starts a structured interview about a project idea before planning begins. It records goals, required features, limits, exclusions, assumptions, and risks.

In plain words
What is it for?
Use it at the start of a new project discussion when you need to capture the user’s vision and create a fresh planning workflow.
Why use it?
It turns an incomplete idea into a clearer set of requirements before development work is planned.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: agent in frontmatter.

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.

agentmods
npx agentmods add commands/hffmnnj/goopspec/goop-discuss
Clone the repo
git clone --depth 1 https://github.com/hffmnnj/goopspec

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 goop-discuss

README.md
[![agentmods](https://agentmods.dev/badge/commands/hffmnnj/goopspec/goop-discuss.svg)](https://agentmods.dev/commands/hffmnnj/goopspec/goop-discuss)
Your own site
<a href="https://agentmods.dev/commands/hffmnnj/goopspec/goop-discuss"><img src="https://agentmods.dev/badge/commands/hffmnnj/goopspec/goop-discuss.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00014 $0.01227
Opus 5 $0.00007 $0.00613
Sonnet 5 $0.00003 $0.00245
Haiku 4.5 $0.00001 $0.00123

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

Security

Grade A, and why

goop-discuss 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 6d 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.

packages/opencode-plugin/commands/goop-discuss.md · 75 lines

How it starts

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

/goop-discuss

Start the discovery interview. Capture vision, must-haves, constraints, out-of-scope items, assumptions, and risks before planning.

This command ALWAYS starts a brand-new workflow. Never reuse or append to the current or last active workflow. Every /goop-discuss invocation creates a fresh workflowId, a new git branch, and ultimately a new PR.

Immediate action

Load the interview protocol first:

goop_reference({ name: "discovery-interview" })

Do not load any documents (via goop_boot, goop_read_db, or any other tool) at the start of this command — no spec, blueprint, chronicle, or requirements from any workflow. This is a state-only boot; a brand-new discovery has no use for prior planning content. The reference load above is fine — only document loads are forbidden.

Steps

  1. Create and activate a new workflow in a single call — do not reuse the active one, and do not split this into a separate create-workflow + set-active-workflow pair. Infer a kebab-case workflowId from the user's prompt (or use the supplied workflow-id argument), then:
    • goop_state({ action: "create-workflow", workflowId: "<new-id>", activate: true })
    • Trust a successful response and move to step 2 immediately. Do not regenerate the ID or repeat this call — see references/core-protocol.md §Trust Successful Tool Results for why repeating an already-succeeded state call is a bug, not a safety measure.
  2. Checkout a new git branch named after the workflowId before any file writes:
    • git checkout -b <workflowId>
    • All implementation work for this workflow happens on this branch. Agents must never switch branches mid-workflow or work across multiple branches simultaneously.
  3. Ask all seven discovery categories (vision, must-haves, constraints, out-of-scope, assumptions, risks, and atomic PR preference) directly. Use the question tool for structured answers; mark exactly one option (Recommended).
  4. Probe until each category has specifics. Empty must-haves, out-of-scope, or risks are invalid.
  5. Summarize and confirm with the user.
  6. Write REQUIREMENTS.md via goop_write_db({ doc_type: "requirements", content: "..." }) and call goop_state({ action: "complete-interview" }). The tool renders the markdown sidecar automatically.

    REQUIREMENTS.md must include a ## Atomic PR Strategy section.

  7. Remind the user that with Atomic PRs, one PR is opened per wave during /goop-execute, and /goop-accept will offer to merge the full stack in order.
  8. Suggest /goop-plan. Note: /goop-plan now begins with a research-first gate — the orchestrator auto-dispatches goop-researcher (and optionally goop-explorer) before delegating to the planner. Trivial workflows (≤ 2 files, no domain unknowns) may skip the research pass, with the decision logged to ADL.

Read the full file on GitHub · 75 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. 6d ago First seen · 75 lines · 14 tokens per session scan A 691bd9783e19

Subscribe to this mod's changes

goop-discuss is a command published in the GitHub repository hffmnnj/goopspec (46 stars, last pushed 24d ago), licensed MIT. It adds 14 tokens to every session and 1,227 once invoked, about $0.0001 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.