goop-setup

A setup wizard for GoopSpec, a project workflow system. It detects the current setup and can initialize, verify, modify, reset, or report its configuration.

In plain words
What is it for?
Use it when starting GoopSpec in a project, checking its configuration, changing settings, or viewing its status.
Why use it?
It removes the need to configure GoopSpec by hand. It guides you through project scope, tool connections, memory, and model choices.

Command

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-setup
Clone the repo
git clone --depth 1 https://github.com/hffmnnj/goopspec
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 355 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 $0.00015 $0.00355
Opus 5 $0.00008 $0.00178
Sonnet 5 $0.00003 $0.00071
Haiku 4.5 $0.00002 $0.00036

Measured 2d ago against content hash 81276a1b3295, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

goop-setup 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 2d 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-setup.md · 46 lines

What it actually says

/goop-setup

First-time setup and configuration wizard.

Immediate action

Run detection first:

goop_setup({ action: "detect" })

If no .goopspec directory

  1. Ask for project name via question.
  2. Ask for scope: both (Recommended), project, or global.
  3. Ask for MCP preset: recommended (Recommended), core, or none.
  4. Ask for memory: local (Recommended), openai, ollama, or disabled.
  5. Ask for models: defaults (Recommended) or custom.
  6. Apply with goop_setup({ action: "init", ... }).
  7. Verify with goop_setup({ action: "verify" }).

If .goopspec already exists

Use question to choose:

  • Verify setup (Recommended)goop_setup({ action: "verify" })
  • Modify configurationgoop_setup({ action: "apply", ... })
  • Reset and start freshgoop_setup({ action: "reset", scope: "project", preserveData: true, confirmed: true }), then first-time setup
  • View statusgoop_setup({ action: "status" })

Completion

After setup finishes:

GoopSpec ready. Run /goop-discuss to start your first workflow.

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. 2d ago First seen · 46 lines · 15 tokens per session scan A 81276a1b3295

Subscribe to this mod's changes

goop-setup is a command published in the GitHub repository hffmnnj/goopspec (46 stars, last pushed 20d ago), licensed MIT. It adds 15 tokens to every session and 355 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.