Skip to content
Greenware
Esc
↑↓navigate↵open⌘Jpreview
On this page

Driving Greenware from Claude Code

Run the whole factory by talking. The seven skills, what each one may run, why only you can approve a gate, and how to add your own skill on top of gw.

Verification: illustrative. The skills’ permissions and steps are quoted from claude-plugin/skills/; no Claude Code conversation was run for this page (details at the bottom).

The installer adds the greenware plugin to Claude Code. From then on you can run the factory by talking: “what’s waiting on me?”, “onboard kestrel-hr.example”, “lookalikes for acme off last quarter’s wins”, “walk me through Gate A”. The skills call gw for you. You click the Clay sign-in link and make the decisions.

Without the installer:

/plugin marketplace add orchidautomation/greenware
/plugin install greenware@greenware

The skills call gw, so install the CLI too.

The skills, and what each may run

Each skill can run only the gw commands in its allowed-tools. A status question can’t approve anything, because the status skill doesn’t have gw approve.

Skill Say May run
greenware-setup “set up Greenware”, “get me started” gw doctor, gw demo, gw init, gw herdr setup, gw client *, gw status, gw idea, plus git and gh repo create for a private factory repo
greenware-client “onboard kestrel-hr.example”, “re-research acme” gw client *, gw doctor, Read, Edit
greenware-guide “how do I use gw?”, “what’s next for acme?”, “how do I get this live?” gw status, gw client status, gw client list, gw show, gw questions, gw doctor, Read
greenware “what’s waiting on me?”, “status of the lookalikes play” gw status, gw show, gw logs, gw questions, gw doctor, gw herdr doctor (read-only)
greenware-idea “build lookalikes for acme off last 45 days of closed-won” gw idea, gw client list, gw client status, gw status, gw show
greenware-inbox “answer the questions”, “what does it need from me?” gw status, gw questions, gw answer, gw show
greenware-gates /greenware-gates (you invoke it) gw status, gw show, gw approve, gw reject, gw accept, gw reopen, Read

Why you invoke the gates skill yourself

greenware-gates has disable-model-invocation: true: Claude can’t decide on its own to start reviewing a gate. You type /greenware-gates. It reads the plan or the verification, summarizes it, and asks you. It runs exactly one gate command, and only with your explicit go-ahead in that conversation. At Gate A, when the planner asked for rulings, your rulings go into --comment in your words. “As recommended” counts only if you said it.

The rules the skills keep

  • The idea stays in your words. greenware-idea doesn’t expand or “improve” your ask. Decompose and Clarify do that, and they ask what they need.
  • Answers are yours. greenware-inbox never makes up an answer or picks a default for you. --defaults runs only when you say so explicitly.
  • The Clay sign-in is yours. greenware-client runs gw client login in the background and hands you the link. It never runs raw clay login or touches clients/<id>/.clay/.
  • No contact data in chat. The skills never paste client employees’ emails or phone numbers into the conversation.
  • The engine owns play files. The status skill never edits them.

A day, by talking

You:    what's waiting on me?
Claude: (greenware) Two plays need you. acme/heat-01 has 3 questions. acme/inbound-01 is at Gate A
        (~140 credits/run). Want to answer heat-01's questions?
You:    yes
Claude: (greenware-inbox) First, how the agent read your idea: … Is that right?
        Q1: Which signals and weights? Default: SDR job post 2, new sales leader 3, funding 3, intent 1 …
You:    intent is noise for us, drop it. Rest as recommended.
Claude: Recorded Q1 in your words. Q2 and Q3 take their defaults because you said so. heat-01 goes on
        to Research → Spec → Plan → Gate A.
You:    /greenware-gates
Claude: (greenware-gates) acme/inbound-01 at Gate A. The graph: … Suppression sits before the paid
        persona step. Contract: 6 assertions, 2 scored on the inbound_history holdout. Cost: … One
        blocked requirement: routing.roster (recommended: the RevOps weights). Approve with that ruling?
You:    approve, roster as recommended
Claude: gw approve acme/inbound-01 --gate A --comment "roster as recommended"   ← Claude Code asks you to confirm

Add your own skill on top of gw

Because everything is a gw command, your own skills compose with Greenware. Keep each one’s allowed-tools as narrow as its job.

examples/claude-code/after-call/SKILL.md is a skill for the minutes after a client call. Paste the notes and it:

  1. reads the client’s status and the decisions already in force;
  2. splits the notes into asks (one play each, in the client’s words) and decisions (dotted keys like outreach.handoff or budget.credits);
  3. shows you both lists and changes nothing until you pick;
  4. records the decisions with gw client decide … --note "call, <date>" and queues the asks with gw idea … --no-run.

Its permissions are gw client list, gw client status, gw client decisions, gw client decide, gw idea and gw status. It can queue work but can’t answer questions or approve gates. Queued plays then run from Herdr, a gw run, or a schedule (Headless in cron and CI).

Stage agents never see your skills. Headless stages run with --disable-slash-commands and a fixed list of allowed tools, so a personal skill can’t leak into a Build or Verify run.

Failure modes

What you see What it means What to do
Claude says there’s no factory No factory yet, or GW_HOME points elsewhere “set up Greenware” (greenware-setup)
A skill seems missing after install Installed isn’t loaded Restart Claude Code or run /reload-plugins
Claude asks you to confirm gw approve Working as intended: gate commands always ask Confirm, or say no
Claude can’t approve from the status skill Working as intended: it has no gate commands /greenware-gates
The sign-in link never appears gw client login is waiting in the background Ask Claude to read its output again; it re-runs the login if it failed

Verification

Illustrative. Each skill’s triggers, allowed-tools and rules are taken from its SKILL.md in claude-plugin/skills/. The --disable-slash-commands fact is from src/runner/headless.ts. The commands the example after-call skill uses (gw client decide … --note, gw idea … --no-run, gw client decisions, gw status <client>) were run on the twin. The conversation above is a sketch of how the skills behave, not a recorded session.

Not run: any Claude Code conversation with the plugin, /greenware-gates, the after-call skill itself.

Was this page helpful?