← StewAICONTENT HISTORY

Update to StewAI

Snapshot Nov 20, 2026 · 12:13 UTC · version 1.2.0

Collection source: downloaded plugin package.

WHAT CHANGED

Payment or plan references changed

Full description — Now says: whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds,...

Observed in published text. Live prices and checkout terms have not been verified by this change.

Save StewAI and check future changes in Following.

Up to 3 plugins free · no card required.

All fields and original values.

Full description

Before

Oct 24, 2026 · 13:07 UTC

to find, compare, run, create, test, repair, and privately reuse StewAI recipes after email sign-in, without managing an API key. Use when the user mentions StewAI, reusable AI workflows, or wants an agent to turn a recurring problem int...

After

Nov 20, 2026 · 12:13 UTC

whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private acc...

Skill instructions

Before

Oct 24, 2026 · 13:07 UTC

to find, compare, run, create, test, repair, and privately reuse StewAI recipes after email sign-in, without managing an API key. Use when the user mentions StewAI, reusable AI workflows, or wants an agent to turn a recurring problem int...

After

Nov 20, 2026 · 12:13 UTC

whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private acc...

Compare saved observations

Download comparison JSON

SKILL.md text changes

− removed · + added

--- before
+++ after
@@ -1,366 +1,271 @@
 ---
 name: stewai-mcp
-description: "Use the StewAI MCP plugin to find, compare, run, create, test, repair, and privately reuse StewAI recipes after email sign-in, without managing an API key. Use when the user mentions StewAI, reusable AI workflows, or wants an agent to turn a recurring problem into a tested recipe. Do not use for the Python SDK."
+description: "Use the StewAI MCP plugin whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private access, quotes, runs, and authoring. Do not use for the Python SDK."
 ---
 
 # StewAI MCP
 
-Use StewAI as one capability system: reuse a suitable published recipe when possible; otherwise
-build, qualify, and privately run a new one. Do not ask the user to choose between marketplace and
-authoring workflows.
+StewAI is one capability: reuse a suitable published recipe when one exists; otherwise build,
+qualify, and privately run a new one. Route by fit. Do not ask the user to choose between
+marketplace and authoring workflows.
 
-## MCP-only routing
+## Routing
 
-Use only the StewAI MCP tools listed here. Never fall back to the Python SDK, an API key, browser
-search, shell commands, or workspace files when an MCP tool needs authentication or is
+Use only the StewAI MCP tools in the table below. Never fall back to the Python SDK, an API key,
+browser search, shell commands, or workspace files when an MCP tool needs authentication or is
 unavailable. Ask the user to connect or reauthenticate StewAI, then retry the same MCP tool.
+A failed or unauthenticated MCP call never authorizes that fallback. If StewAI reports
+`insufficient_scope`, ask the user to reconnect and approve the listed scopes.
 
-`discover_stewai` is anonymous. Every live search, preview, run, result, or authoring operation
-uses the signed-in StewAI account and its current organization. New 1.1.0 scopes may require the
-user to reconnect an older installation.
-
-## Required workflow
-
-1. Call `discover_stewai` once in a fresh connection, then call `search_recipes` with a meaningful
-   problem statement and, when known, required input and output labels. Synthetic handles remain
-   accepted for compatibility, but normally use semantic labels such as `Contract text` and
-   `Risk note`.
-2. When more than one result plausibly fits, preview and compare at least the top two. Compare
-   contract fit (`output_contract_state`), qualification and `evidence_note`, past-run cost
-   `history`, duration, and current access. `results` are direct fits; `related_results` are
-   adjacent recipes, so say so rather than presenting one as the requested task. Do not invent an
-   overall quality score.
-3. If a candidate is sufficient, call `run_recipe` with `dry_run: true`. Tell the user what past
-   runs of the recipe cost (`history`), any fee, and their balance, and obtain the user's approval
-   before a real run when execution could spend credits or affect an external system. The user
-   decides; the balance does not have to cover the theoretical worst case. Then run once, poll `get_run`, read declared outputs with `get_results`, and
-   inspect its paginated `steps` view when the user needs an explanation, the run fails, or the
-   workflow is being dogfooded.
-4. If no candidate is sufficient, call `get_recipe_build` without `build_ref` to check recent
-   owned builds before starting another one.
-5. Start or continue one build. Apply the smallest useful draft change, run deterministic checks,
-   and repair concrete failures before any paid review.
-6. Quote every paid review or acceptance action before executing it. Use bounded research only
-   when the risk or research policy warrants it and when evidence can change the method or a
-   safety control.
-7. Run selected failing cases during repair. Run the complete acceptance suite only when the
-   revision is ready to qualify. Any draft, contract, evidence, suite, or policy change creates a
-   new revision and invalidates earlier qualification.
-   At least one normal case must match or exceed the intended production input's size, variety,
-   and likely output cardinality. Never shrink the only representative fixture merely to fit the
-   per-case quote ceiling; simplify the prompt, schema, graph, or output cardinality instead.
-8. Preflight and commit only the exact revision with a green complete acceptance suite, required
-   review or research evidence, and settled billing.
-9. The commit is private, unlisted, and unreviewed. Pass its `recipe_ref` to
-   `get_recipe_preview` first, use only the preview's positional `input_N` handles and refreshed
-   reference, then dry-run that exact private revision. Obtain any required approval and run one
-   representative real-world probe before calling the recipe stable. Read every declared output,
-   not just terminal status. Because V1 cannot revise a committed build, a reproducible defect in
-   that probe requires a corrected replacement build; never describe the flawed revision as
-   qualified in practice merely because its acceptance batch was green.
-
-Skip the initial search only when the user supplies an explicit `build_ref` to continue or repair.
-Even then, inspect the current build before changing it.
-
-When resuming a build in a fresh agent context, request its `activity` view. Each recent row
-contains a fresh `activity_ref`, the exact revision, state, and any stable terminal error code;
-continue polling that reference instead of starting and paying for a duplicate activity.
+Recipe creation requires one connection carrying the complete StewAI scope set:
+`marketplace:read`, `marketplace:run`, `recipes:read`, `recipes:run`, `recipes:author`,
+`recipes:test`, `recipes:publish`, and `runs:read`. Admin status does not replace OAuth
+consent. Before authoring, `discover_stewai` must report `authoring_available:true` and list an
+authoring journey. If it does not, reconnect the same StewAI server with those scopes and retry
+`get_recipe_build`; do not create a draft until that read succeeds.
+
+In the Codex desktop app, when both the locally installed `stewai` MCP server and a
+`codex_apps` StewAI connector wrapper are available, always use the direct `stewai` server.
+The native HTML card resource is registered on that installed-plugin server; do not route a
+StewAI call through the connector wrapper.
+
+`discover_stewai`, public-only `search_recipes`, and previews of their public references are
+anonymous. Call discovery once per fresh connection and follow its journeys and rules. Sign in
+by email only when the user requests private sources, a live quote or run, run data, or authoring.
+The email sign-in uses a one-time code and preserves the selected public recipe reference.
+Tool schemas and responses are the authoritative syntax; never invent operation names, fields,
+modes, views, or recipe syntax.
+
+## Before anything is spent
+
+`run_recipe` is destructive and open-world: a real run spends credits and may call external
+systems. Keep these stops, in this order.
+
+1. Always call `estimate_recipe_run` first, but only for the selected recipe. Lead
+   with `history`: recent charges when history is sparse, or median and p90 when available. Then
+   report `fee_credits`, `available_credits`, and `can_start`. `safety_ceiling_credits` is a
+   pathological safety bound, not a quote or admission threshold. It may be null when provider
+   search has no request-side query ceiling; null never blocks a run. `estimated_credits` and
+   `sufficient` are deprecated compatibility fields; `sufficient: false` must never override
+   `can_start: true` or block an approved run. With fewer than three past runs, say there is
+   little history.
+2. Obtain the user's approval before a real run when it can spend credits or affect an external
+   system. Then run exactly once.
+3. Quote every paid review or acceptance action before executing it. State the cap and the
+   remaining authoring budget, then follow the quote's `next_action` exactly: redeem
+   `budget_capability` with `approve_recipe_budget`, then execute the quoted
+   request.
+4. When acceptance returns `supervised_required`, call `bind_recipe_resource` once per required
+   selector, using the exact selector frozen in the draft.
+   Only then ask the user to open `action_url`. After approval, resume the same activity with
+   `resume_recipe_activity`.
+5. Prefer selected failing cases while repairing; do not pay repeatedly for a complete suite.
+6. Never retry after `can_start: false`, insufficient credits for a fee, a spent or expired
+   capability, exhausted authoring budget, an inaccessible reference, or a stable permanent
+   error.
+
+## Find, compare, run, read
+
+1. If the request is too broad to distinguish a safe direct fit, ask one focused question before
+   searching. Then call `search_recipes` with a plain problem statement and, when known,
+   semantic input and output labels such as `Contract text` and `Risk note`.
+2. Follow every `next_cursor` until it is null before claiming a best match. This is the full
+   bounded result set, not an unbounded marketplace crawl. `results` are direct fits;
+   `related_results` are adjacent recipes and must be clearly labeled as such.
+   `no_suitable_match` is an answer: follow its `next_action` instead of promoting a weak result.
+   `authorization_required` means a lane was not searched, not that nothing exists.
+3. Propose two or three meaningfully different direct fits when they exist. For each, explain
+   the exact scope, expected outputs, evidence or qualification, likely duration, observed cost
+   history, and access. Never present a narrow check as comprehensive analysis and never invent
+   an overall quality score. Keep expensive recipes discoverable, but when an observed-under-500
+   direct fit exists, always include it as an affordable alternative.
+4. Preview only the recipe the user selects. If one choice is clearly best and the request is
+   already precise, recommend it with reasons and ask the user to confirm that selection before
+   preview and estimate.
+5. `search_recipes` returns an opaque `recipe_ref`.
+   The preview returns a refreshed `recipe_ref`; pass that preview-issued reference to `run_recipe`.
+   Public references survive the email-code sign-in transition; private references remain
+   account-and-tenant-bound. All references expire: search again after expiry, tenant switching,
+   or a revision change, and never substitute a recipe ID.
+6. Preview input handles are the only accepted run input keys. On `invalid_inputs`, repair each
+   issue by its `path`, `hint`, and `limit`; the response never echoes submitted values.
+7. Every `estimate_recipe_run` and `run_recipe` call requires a valid `idempotency_key`. An
+   estimate does not consume its key; use a fresh key for the real run. Replaying a consumed key
+   with the same request returns the same run.
+8. Poll `get_run` at its supplied interval. `progress` shows the phase and active steps;
+   `updated_at` is only the record's time, so an unchanged value is not a stuck run. After a
+   terminal status keep polling while billing is `pending`. Billing comes from `get_run`, never
+   from results.
+9. Call `get_results` only when the status is `done` and `results_available` is `true`.
+   If that response is `result_unavailable` or `result_too_large`, say that no declared output
+   payload is available.
+10. To explain a run or diagnose a failure, page through `list_run_steps` by `next_cursor`, add
+    `detail:"full"` for parameters and normalized results, and use `get_run_step` for one exact
+    step. While `provisional` is true the run is unfinished, so never report a provisional
+    snapshot as a failure. Respect `redaction_reasons`.
+
+Owned normal runs expose a bounded sanitized step trace. Public-open recipes and private
+recipes owned by the signed-in account expose their full sanitized trace; execute-only public
+recipes expose only their interface. A recipe being public never grants access to another
+user's run. Never ask for recipe source, credentials, provider payloads, or authoring
+acceptance-run traces.
+
+### Present the result
+
+The declared outputs are evidence for an analysis, not a blob to paste into chat. Present every
+successful recipe across research, documents, communication, data, compliance, operations, or
+any other domain with this structure:
+
+1. Lead with the useful outcome in one sentence.
+2. Give a short **At a glance** summary.
+3. Show supported strengths or what already works.
+4. Present only the most important findings, ordered by impact.
+5. Give concrete next steps tied to those findings.
+6. End with a quiet evidence note covering uncertainty, limitations, charged credits, and run
+   ID.
+
+Convert JSON objects and arrays into concise tables or bullets. Render HTML as readable content;
+never dump markup. Before repeating a material claim, cross-check it against the user's supplied
+source and the recipe's cited evidence. Describe unsupported or high-stakes conclusions as
+recipe findings to verify, not established facts. Use **blocking** only when the recipe explicitly
+classifies the item that way and the supplied evidence supports it. Do not turn every checklist
+difference into a blocker.
+
+Keep raw diagnostics, safety ceilings, and platform plumbing out of the main answer. Once
+results are ready, a `pending` or `unavailable` billing receipt belongs in the quiet evidence note
+and must never suppress, delay, or overshadow the useful analysis.
 
-## Tools
-
-<!-- BEGIN TOOL TABLE -->
-
-| Tool                        | Purpose                                                                    |
-| --------------------------- | -------------------------------------------------------------------------- |
-| `discover_stewai`           | Learn connection rules and the exact consumer and authoring journeys.      |
-| `search_recipes`            | Search public and currently authorized published recipes.                  |
-| `get_recipe_preview`        | Compare safe contracts, access, evidence, duration, and pricing.           |
-| `run_recipe`                | Estimate or idempotently run a previewed public or authorized recipe.      |
-| `get_run`                   | Read owned-run status and authoritative terminal billing.                  |
-| `get_results`               | Read declared outputs or a sanitized, paginated owned-run step trace.      |
-| `start_recipe_build`        | Create one owned private draft from an intent and declared contracts.      |
-| `get_recipe_build`          | List recent builds or inspect one bounded build view.                      |
-| `update_recipe_build`       | Change a draft, contracts, acceptance suite, research evidence, or chunks. |
-| `check_recipe_build`        | Run free deterministic lint, render, policy, graph, and compiler checks.   |
-| `review_recipe_build`       | Quote or run bounded semantic review and permitted research.               |
-| `run_recipe_acceptance`     | Quote or run selected or complete behavioral cases.                        |
-| `get_recipe_build_activity` | Poll review or aggregate acceptance evidence and settled billing.          |
-| `commit_recipe_build`       | Preflight and privately publish only the exact qualified revision.         |
-
-<!-- END TOOL TABLE -->
+### When a run goes wrong
 
-## Search, preview, and references
+Errors are normal. Recipes, including marketplace recipes, can fail or produce weak output, and
+the user decides what happens next.
 
-Search results may come from `public`, `owned`, `organization`, or `shared` sources. Source is not
-proof of quality or permission. The server rechecks current user, tenant, revision, contract,
-ownership, and sharing grants before every preview or run.
-The public lane contains only listed recipes whose safety approval is pinned to their exact current
-published revision. It is the currently approved, runnable public catalog, not every row that may
-have been visible in historical Marketplace data.
-
-When `match_status` is `no_suitable_match`, do not invent or recommend a weak result. Follow its
-`next_action`: list recent private builds, continue a suitable one if present, otherwise offer to
-start a new build. `authorization_required` means a requested search lane was not searched; it is
-not evidence that no recipe exists.
-
-`search_recipes` returns an opaque `recipe_ref`. Pass it to `get_recipe_preview`. The preview
-returns a refreshed `recipe_ref`; pass that preview-issued reference to `run_recipe`. References are account- and tenant-bound and
-expire. Search again after expiry, tenant switching, access changes, or revision changes. Never
-replace a reference with a recipe ID.
-
-Preview input handles are the only accepted run input keys. Send exactly those handles and values
-that satisfy the declared schemas. Preview states whether each input must be supplied, whether a
-default exists, and the applicable character and UTF-8 byte limits. When dry-run or execution
-reports `invalid_inputs`, repair every issue by its `path`, `code`, `hint`, and `limit`; the
-response never echoes submitted values or hidden defaults. Do not ask for recipe source,
-authoring fixtures, credentials,
-or provider payloads. When the user owns the run, use only the bounded sanitized trace returned by
-`get_results`; do not infer access to another user's run from recipe visibility.
-
-## Estimate, execute, and read
-
-Always call `run_recipe` with `dry_run: true` before recommending or starting execution. Report
-the facts plainly and let the user decide:
-
-- `history`: credits charged by past successful runs of this recipe's current version (average,
-  median, p90, run counts, last run). With fewer than three runs the statistics are null and
-  `recent_charges` lists the actual charges; say there is little history.
-- `fee_credits`: any marketplace fee. Authorized non-marketplace recipes have no creator fee.
-- `available_credits` and `balance_as_of`: the user's spendable balance at that moment.
-- `estimated_credits`: a theoretical worst case (every model call retried at its maximum limits).
-  It is rarely approached; mention it as the upper bound, not as the expected price. `sufficient`
-  only says whether that worst case fits.
-
-A run is not refused because the worst case exceeds the balance. If credits run out during a run,
-the run pauses (`blocked`, with `credit_pause` in `get_run`) and can be resumed from the StewAI web
-app after adding credits.
-
-Every `run_recipe` call, including a dry run, requires a valid `idempotency_key`. A dry run does not consume its key. Use a fresh
-key for the real run. Replaying the same consumed key and request returns the same run; changing
-the request is a conflict. Do not loop after insufficient credits, exhausted authoring budget, an
-inaccessible reference, or a stable permanent error.
-
-The client may request confirmation because `run_recipe` is destructive and open-world: a real
-recipe can spend credits and may call external systems. Once approved, run exactly once. Poll `get_run` at its supplied interval.
-While the run is active, `progress` shows the phase, active steps with elapsed time, and
-`last_step_activity_at`; `updated_at` is only the run record's time, so do not treat an unchanged
-`updated_at` as a stuck run. After terminal
-status, keep polling while billing is `pending`, stopping at the documented settlement window.
-Call `get_results` without a `view`, or with `view:"declared_outputs"`, only when the status is
-`done` and `results_available` is `true`. Billing comes from `get_run`, never from results. If that
-response is `result_unavailable` or `result_too_large`, explain that no declared output payload is
-available.
-
-For an owned run, `get_results` with `view:"steps"` returns ordered pages of compact step
-summaries (ID, title, kind, state, timing, result type), 10 per page by default and at most 20
-(`limit`). Pass `detail:"full"` for dependencies, sanitized configured parameters, optional
-rendered input, and the same normalized result shape used by the SDK. Follow `next_cursor` until
-it is null. While `provisional` is true the run is unfinished: unfinished steps show a pending
-result, so never report a provisional snapshot as a failure. `diagnostic_notes` explain nonfatal
-warnings such as `schema_urn_missing`. Use
-`view:"step"` plus `step_id` for one exact step. These trace views work for running, blocked,
-failed, cancelled, and completed runs, so use them to diagnose failures and to explain how a
-successful workflow reached its result. `parameters` are compile-time configuration and
-`rendered_input` exists only for handlers that persist it; never describe either as a universal
-exact runtime-input snapshot. Respect `redaction_reasons`: sensitive inputs remain masked and
-execute-only public recipes expose only their public interface. Public-open recipes and private
-recipes owned by the signed-in account expose their full sanitized trace. A recipe being public
-never grants access to another user's run. If a paginated request reports `step_too_large`, explain
-that the one step cannot fit the bounded response and continue from its `next_cursor` when present.
+- **Run failed:** open the failed step with `get_run_step` and relay what it says. Then retry once
+  with the same inputs, adjust the inputs, or choose another recipe.
+- **Paused for credits** (`blocked` with `credit_pause`): tell the user. This is the platform's
+  normal credit control, not something the plugin should predict or manage. The user adds
+  credits and resumes the same run from the StewAI web app; do not change the inputs.
+- **`recipe_ref_expired`:** search or preview again for a fresh reference, then retry.
+- **`invalid_inputs`:** fix the input named in each issue `path` and try again.
+- **`outputs` is empty:** the recipe declares no outputs; the result is in the last steps.
+- **`account_unavailable`:** ask the user to reconnect a provisioned StewAI account or contact
+  support.
+- **Output looks wrong or incomplete:** show what came back and let the user decide. Do not
+  call it a platform failure.
+
+## Build when nothing fits
+
+1. Call `list_recipe_builds` to list recent owned builds before starting
+   another one. Skip the initial search only when the user supplies an explicit `build_ref`;
+   even then, look at the current build before changing it.
+2. Start one build with narrow input and output contracts and a measurable acceptance suite,
+   then add the smallest recipe that satisfies them.
+3. Before choosing syntax, call `get_recipe_authoring_guidance` and follow its
+   `authoring_rules`. Call `list_recipe_build_capabilities` to learn which handlers are
+   draft-authorable and which can qualify
+   through unattended acceptance. Structurally valid is not the same as
+   `automatic_acceptance_eligible`; explain the difference instead of calling a draft invalid.
+4. Apply the smallest useful full-spec change with `update_recipe_build`; use the named `set_*`,
+   research, budget, resource, activity, and upload tools for their exact operations. Call
+   `check_recipe_build` after every structural change and repair concrete failures before paid review.
+5. Call `quote_recipe_review` before `review_recipe_build` once deterministic checks pass. Call
+   `quote_recipe_acceptance`, then run the smallest
+   selected case set that reproduces a failure; run the complete suite only when the revision is
+   ready to qualify. Any change creates a new revision and invalidates earlier qualification.
+6. Poll review and acceptance through `get_recipe_build_activity`. When resuming in a fresh
+   context, call `list_recipe_build_activities` and keep polling its fresh `activity_ref` instead
+   of starting and paying for a duplicate.
+7. Commit only the exact revision with a green complete suite, required evidence, and settled
+   billing. Call `preflight_recipe_build`, then `commit_recipe_build` with its exact capability.
+   The commit is private, unlisted, and unreviewed. Preview its `recipe_ref` before an estimate,
+   and never claim that commit listed, priced, or published the recipe.
 
-If execution returns `account_unavailable`, do not modify recipe inputs. Ask the user to reconnect
-an ordinarily provisioned StewAI account or contact support.
+## Tools
 
-### When a run goes wrong
+<!-- BEGIN TOOL TABLE -->
 
-Errors are normal. Recipes, including marketplace recipes, can fail or produce weak output, and the
-user decides what to do next. Handle each case plainly:
+| Tool | Purpose |
+| --- | --- |
+| `discover_stewai` | Learn connection rules and available journeys. |
+| `search_recipes` | Search accessible published recipes. |
+| `get_recipe_preview` | Read one recipe summary. |
+| `get_recipe_details` | Read authorized recipe details. |
+| `estimate_recipe_run` | Estimate a recipe run without starting it. |
+| `run_recipe` | Start one approved recipe run. |
+| `get_run` | Read one run's status. |
+| `list_runs` | List recent owned runs. |
+| `get_run_diagnostics` | Read one run's settled billing diagnostics. |
+| `get_results` | Read declared run outputs. |
+| `list_run_steps` | Page through sanitized run steps. |
+| `get_run_step` | Read one sanitized run step. |
+| `get_run_step_chunk` | Continue one oversized step result. |
+| `start_recipe_build` | Create one private recipe build. |
+| `list_recipe_builds` | List recent private builds. |
+| `get_recipe_build` | Read one build summary. |
+| `get_recipe_build_contracts` | Read one build's contracts. |
+| `list_recipe_build_nodes` | List one build's nodes. |
+| `get_recipe_build_node` | Read one build node. |
+| `get_recipe_build_schemas` | Read one build's stored schemas. |
+| `list_recipe_build_capabilities` | Page through build capabilities. |
+| `get_recipe_build_research` | Read recorded research evidence. |
+| `get_recipe_acceptance_plan` | Read the acceptance plan. |
+| `get_recipe_authoring_guidance` | Read versioned authoring rules. |
+| `list_recipe_build_activities` | List review and acceptance activities. |
+| `list_recipe_build_handoffs` | List supervised handoffs. |
+| `list_recipe_build_resources` | List handoff resource requirements. |
+| `list_recipe_capability_types` | List authorable node types. |
+| `get_recipe_capability` | Read one node type contract. |
+| `list_recipe_models` | List authoring models. |
+| `get_recipe_model` | Read one model contract. |
+| `update_recipe_build` | Replace the complete draft specification. |
+| `set_recipe_contracts` | Replace declared build contracts. |
+| `set_recipe_metadata` | Replace selected build metadata. |
+| `set_recipe_acceptance_cases` | Replace the acceptance suite. |
+| `record_recipe_research` | Replace recorded research evidence. |
+| `approve_recipe_budget` | Redeem one quoted build budget. |
+| `bind_recipe_resource` | Bind one supervised resource selector. |
+| `resume_recipe_activity` | Resume one approved activity. |
+| `cancel_recipe_activity` | Cancel one supervised activity. |
+| `restore_recipe_build` | Restore one archived build. |
+| `begin_recipe_build_upload` | Begin one chunked upload. |
+| `append_recipe_build_upload` | Append one upload chunk. |
+| `commit_recipe_spec_upload` | Commit an uploaded specification. |
+| `commit_recipe_acceptance_upload` | Commit an uploaded acceptance suite. |
+| `commit_recipe_research_upload` | Commit uploaded research evidence. |
+| `check_recipe_build` | Run deterministic checks. |
+| `render_recipe_build` | Render with optional fixtures. |
+| `quote_recipe_review` | Quote semantic review. |
+| `review_recipe_build` | Start semantic review. |
+| `quote_recipe_acceptance` | Quote acceptance testing. |
+| `run_recipe_acceptance` | Start selected or complete acceptance testing. |
+| `get_recipe_build_activity` | Read one activity summary. |
+| `list_recipe_activity_nodes` | Page through activity nodes. |
+| `list_recipe_activity_assertions` | Page through activity assertions. |
+| `get_recipe_activity_coverage` | Read activity coverage. |
+| `get_recipe_activity_billing` | Read activity billing. |
+| `preflight_recipe_build` | Verify commit readiness. |
+| `commit_recipe_build` | Commit one qualified private revision. |
 
-- **Run failed:** read the failed step with `view:"step"` and tell the user what it says. Then retry
-  once with the same inputs, adjust the inputs, or choose another recipe.
-- **Run paused for credits** (`blocked` with `credit_pause`): tell the user. The run resumes from the
-  StewAI web app after credits are added.
-- **`recipe_ref_expired`:** search again or preview the recipe for a new `recipe_ref`, then retry with
-  the same inputs.
-- **`invalid_inputs`:** fix the input named in each issue `path` and try again.
-- **`outputs` is empty:** the recipe declares no outputs. Read `view:"steps"`; the result is in the
-  last steps.
-- **Output looks wrong or incomplete:** show the user what came back and let them decide. Do not
-  report it as a platform failure.
-
-## Authoring loop
-
-Treat tool schemas and returned guidance as authoritative; never invent recipe syntax. A useful
-loop is:
-
-1. Declare narrow input/output contracts and a measurable acceptance suite.
-2. Add the smallest graph that can satisfy them.
-3. Call `check_recipe_build` after every structural change; deterministic failures cost nothing.
-4. For methodology-sensitive work, record bounded external evidence with a URL, title, supported
-   claim, retrieval time, and applicability. Evidence informs a method; it does not override the
-   user's domain policy.
-5. Quote, then execute semantic review only when deterministic checks pass.
-   A passing review can still contain advisory observations. Do not churn a working revision to
-   eliminate wording-level observations that are already covered by a concrete acceptance case.
-   Change the draft again only for a reproducible defect, an uncovered material risk, or a
-   specific counterexample; otherwise freeze the revision and proceed to behavioral tests.
-6. Quote, then run the smallest selected set that reproduces a failure.
-7. Repair the draft and repeat deterministic checks.
-8. Run the complete suite once the candidate is ready. Only a green complete suite can qualify
-   that exact revision.
-
-Poll review and acceptance through `get_recipe_build_activity`. It intentionally omits provider
-payloads, credentials, raw exceptions, wallet identifiers, acceptance-run traces, and partial
-credit totals. Do not seek those through other tools.
-
-Before choosing authoring syntax, call `get_recipe_build` with `view:"capabilities"`. Its 24-entry
-catalog is derived from the runtime handler registry and states which nodes are draft-authorable,
-whether they can qualify through unattended acceptance, their side-effect class, and when a human
-handoff is required. A draft can be structurally valid even when
-`automatic_acceptance_eligible` is false; explain that distinction instead of calling it invalid.
-
-### Exact authoring syntax
-
-Do not guess mutation names or payload fields. `update_recipe_build.ops` accepts only these exact
-forms:
-
-- `{"op":"replace_spec","spec":{...}}`
-- `{"op":"set_metadata","metadata":{"name":"...","description":"..."}}`
-- `{"op":"upsert_node","node":{"id":"...","type":"..."}}`
-- `{"op":"remove_node","node_id":"..."}`
-- `{"op":"reorder_nodes","node_ids":["..."]}`
-- `{"op":"upsert_schema","schema_id":"...","schema":{...}}`
-- `{"op":"remove_schema","schema_id":"..."}`
-- `{"op":"set_acceptance_cases","suite":{...}}`
-- `{"op":"record_research","evidence":[...]}`
-- `{"op":"set_budget","budget_capability":"..."}`
-- `{"op":"restore"}`, or the documented `begin_chunk`, `append_chunk`, and `commit_chunk`
-  forms for large payloads.
-
-A single-field `recipe_input` is executable text input. Match contract `maxLength` with node
-`max_length`; `required:true` already enforces nonblank input. For structured LLM output, put the
-complete object schema in `llm_call.response.schema`. Export the complete object with
-`{{ analyze.pydantic.value | json }}`, or export a declared field with
-`{{ analyze.pydantic.value.field_handle | json }}`. Here, `analyze` is the ID of the producing
-node. A sibling `schema` inside a `recipe_output`
-mapping is descriptive metadata and does not establish the executable contract.
-
-For semantic MCP result labels, create one top-level `recipe_output` node per user-facing output
-field, give the node the intended user-facing `title`, and give it a one-key `mapping`. A single
-`recipe_output` with several mapping keys is valid, but disclosure deliberately labels those
-positions `Output 1`, `Output 2`, and so on. Mapping keys remain internal and must never be used as
-run input or public result handles.
-
-The acceptance mutation is named `set_acceptance_cases`, not `set_acceptance_suite`. Its suite
-starts with:
-
-```json
-{
-  "version": 1,
-  "cases": [
-    {
-      "case_id": "normal_1",
-      "label": "Normal input",
-      "kind": "normal",
-      "fixtures": [
-        {
-          "target": "input_handle",
-          "content_type": "text/plain",
-          "value": "..."
-        }
-      ],
-      "assertions": [
-        {
-          "assertion_id": "result_exists",
-          "type": "scalar",
-          "operator": "exists",
-          "path": "/result"
-        }
-      ]
-    }
-  ]
-}
-```
-
-Every case needs at least one assertion. Use only the assertion fields allowed by the tool schema.
-Use `scalar` equality only for JSON scalar values. To prove an array is empty, use a `collection`
-assertion with `operator:"count_equals"` and `expected:0`; `exists` proves only that the array is
-present. A full suite rejects a normal case whose assertions prove only `exists` or `type`; every
-normal case needs at least one behavioral oracle over its actual value, count, relationship,
-classification, coverage, or safety property. Every decision-bearing output needs a behavioral
-oracle. For paired invariance checks, prefer one material output field per `fields_unchanged`
-assertion so a failure identifies the unstable field instead of collapsing several differences
-into one opaque result.
-Before qualification, compare the normal fixtures with the user's planned real input. Include one
-case that is at least as demanding for rendered-input size and structured-output length. A green
-suite built only from smaller inputs does not establish that the committed recipe can finish the
-real run. When the per-case quote rejects a realistic fixture, reduce response verbosity or schema
-complexity rather than weakening the fixture.
-When the recipe accepts a user-supplied rubric, policy, taxonomy, score scale, weight set, or
-decision threshold, test at least two materially different configurations. Derive arithmetic from
-the supplied scale maximum and apply the supplied thresholds exactly; never hide a fixed
-denominator or fallback policy behind a configurable-looking input. For reconciliation, state
-whether identity is exact-ID or semantic cross-ID matching and include a case that distinguishes
-the two. For bounded prose, set field limits large enough for a complete action or rationale and
-assert a representative complete phrase so a clipped or unfinished sentence cannot qualify.
-Call `check_recipe_build` without `fixtures` for the ordinary structural/compiler check. Supply
-fixtures only for intentional template probes, and then provide a fixture for every referenced
-dependency whose output is not produced during that free render-only pass.
-
-`commit_recipe_build` first issues a short-lived single-use commit capability. Use it only for the
-unchanged qualified revision. A successful commit returns a private editor URL and, when current
-run access permits it, a `recipe_ref`. Preview that reference before dry-run: the authoring
-contract handles and recipe node IDs are not the positional `input_N` handles accepted by
-`run_recipe`. Say explicitly that the recipe is private. Never claim that commit submitted,
-reviewed, listed, priced, or published it in the public marketplace.
-
-## Approval and budget stops
-
-- Quote before every paid review or acceptance action.
-- Explain the maximum credits and remaining authoring budget before spending.
-- After a quote, follow its `next_action` exactly: redeem `budget_capability` with
-  `update_recipe_build` operation `set_budget`, then execute the quoted request.
-- When full acceptance returns `supervised_required`, inspect every returned resource requirement
-  first. Call `update_recipe_build` operation `bind_resource` once for each required selector,
-  using the exact selector already frozen in the draft. Only then ask the user to open
-  `action_url` and approve. After approval, resume the same activity with `resume_activity`.
-- Obtain user approval before a real recipe run when the action spends credits or can affect an
-  external system.
-- Prefer selected failing cases while repairing; do not repeatedly pay for a complete suite.
-- Do not retry when the server reports insufficient credits for a fee, a spent or expired capability,
-  exhausted cumulative budget, or a durable permanent error.
+<!-- END TOOL TABLE -->
 
-## Not available in 1.1.0
+## Boundaries
 
 <!-- BEGIN NOT-AVAILABLE -->
 
 The plugin does not expose recipe source, authoring acceptance-run traces, provider payloads,
 credentials, raw exceptions, or unrestricted research evidence. Owned normal runs expose a
-bounded sanitized step trace; this is not a source export or a universal raw runtime-input log. It
-cannot publish to the marketplace, approve safety, set public pricing, or claim creator
-compensation. Authoring
-qualification is parameter-sensitive: deterministic nodes, short pauses, and literal or
-step-backed vector search can qualify automatically; literal HTTPS ingest and the approved
-read-only Brave Search integration use the conditional route. Resource-bound or effectful nodes
+bounded sanitized step trace, not a source export or a raw runtime-input log. It cannot publish
+to the marketplace, approve safety, set public pricing, or claim creator compensation.
+Authoring qualification is parameter-sensitive: deterministic steps, short pauses, and literal
+or step-backed vector search can qualify automatically; literal HTTPS ingest and the approved
+read-only Brave Search integration use the conditional route. Resource-bound or effectful steps
 such as document, email, export, long pauses, subrecipes, managed agents, and other integrations
-use the returned supervised handoff. Bind every required frozen selector, obtain approval through
-`action_url`, then resume the same blocked activity. Unknown modes fail closed and must be repaired.
-For a subrecipe, pass the `recipe_ref` returned by search or preview as `child_recipe_ref`;
-StewAI resolves and pins the runnable revision without exposing internal recipe identifiers.
+use the returned supervised handoff. Unknown modes fail closed and must be repaired. For a
+subrecipe, pass the `recipe_ref` returned by search or preview as `child_recipe_ref`; StewAI
+resolves and pins the runnable revision privately.
 
 <!-- END NOT-AVAILABLE -->
 
-## Starter prompts
-
-<!-- BEGIN STARTER PROMPTS -->
-
-Find and compare the best accessible StewAI recipes for my task, then preview the strongest option without running it.
-Run a StewAI recipe with my input, monitor it, then summarize its declared results, step trace, and settled credit charge.
-Build a private StewAI recipe for a recurring task, test it, repair failures, and commit a qualified version.
-
-<!-- END STARTER PROMPTS -->
-
 ## Related local skill
 
-Use `stewai` only when the user explicitly asks for the Python SDK with an API key. A failed or
-unauthenticated MCP call never authorizes that fallback.
+Use `stewai` only when the user explicitly asks for the Python SDK with an API key.
Full technical diff · 2 changed fields

changed /description

BEFORE
"Use the StewAI MCP plugin to find, compare, run, create, test, repair, and privately reuse StewAI recipes after email sign-in, without managing an API key. Use when the user mentions StewAI, reusable AI workflows, or wants an agent to turn a recurring problem into a tested recipe. Do not use for the Python SDK."
AFTER
"Use the StewAI MCP plugin whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private access, quotes, runs, and authoring. Do not use for the Python SDK."

changed /skill_md_contents

BEFORE
"---\nname: stewai-mcp\ndescription: \"Use the StewAI MCP plugin to find, compare, run, create, test, repair, and privately reuse StewAI recipes after email sign-in, without managing an API key. Use when the user mentions StewAI, reusable AI workflows, or wants an agent to turn a recurring problem into a tested recipe. Do not use for the Python SDK.\"\n---\n\n# StewAI MCP\n\nUse StewAI as one capability system: reuse a suitable published recipe when possible; otherwise\nbuild, qualify, and privately run a new one. Do not ask the user to choose between marketplace and\nauthoring workflows.\n\n## MCP-only routing\n\nUse only the StewAI MCP tools listed here. Never fall back to the Python SDK, an API key, browser\nsearch, shell commands, or workspace files when an MCP tool needs authentication or is\nunavailable. Ask the user to connect or reauthenticate StewAI, then retry the same MCP tool.\n\n`discover_stewai` is anonymous. Every live search, preview, run, result, or authoring operation\nuses the signed-in StewAI account and its current organization. New 1.1.0 scopes may require the\nuser to reconnect an older installation.\n\n## Required workflow\n\n1. Call `discover_stewai` once in a fresh connection, then call `search_recipes` with a meaningful\n   problem statement and, when known, required input and output labels. Synthetic handles remain\n   accepted for compatibility, but normally use semantic labels such as `Contract text` and\n   `Risk note`.\n2. When more than one result plausibly fits, preview and compare at least the top two. Compare\n   contract fit (`output_contract_state`), qualification and `evidence_note`, past-run cost\n   `history`, duration, and current access. `results` are direct fits; `related_results` are\n   adjacent recipes, so say so rather than presenting one as the requested task. Do not invent an\n   overall quality score.\n3. If a candidate is sufficient, call `run_recipe` with `dry_run: true`. Tell the user what past\n   runs of the recipe cost (`history`), any fee, and their balance, and obtain the user's approval\n   before a real run when execution could spend credits or affect an external system. The user\n   decides; the balance does not have to cover the theoretical worst case. Then run once, poll `get_run`, read declared outputs with `get_results`, and\n   inspect its paginated `steps` view when the user needs an explanation, the run fails, or the\n   workflow is being dogfooded.\n4. If no candidate is sufficient, call `get_recipe_build` without `build_ref` to check recent\n   owned builds before starting another one.\n5. Start or continue one build. Apply the smallest useful draft change, run deterministic checks,\n   and repair concrete failures before any paid review.\n6. Quote every paid review or acceptance action before executing it. Use bounded research only\n   when the risk or research policy warrants it and when evidence can change the method or a\n   safety control.\n7. Run selected failing cases during repair. Run the complete acceptance suite only when the\n   revision is ready to qualify. Any draft, contract, evidence, suite, or policy change creates a\n   new revision and invalidates earlier qualification.\n   At least one normal case must match or exceed the intended production input's size, variety,\n   and likely output cardinality. Never shrink the only representative fixture merely to fit the\n   per-case quote ceiling; simplify the prompt, schema, graph, or output cardinality instead.\n8. Preflight and commit only the exact revision with a green complete acceptance suite, required\n   review or research evidence, and settled billing.\n9. The commit is private, unlisted, and unreviewed. Pass its `recipe_ref` to\n   `get_recipe_preview` first, use only the preview's positional `input_N` handles and refreshed\n   reference, then dry-run that exact private revision. Obtain any required approval and run one\n   representative real-world probe before calling the recipe stable. Read every declared output,\n   not just terminal status. Because V1 cannot revise a committed build, a reproducible defect in\n   that probe requires a corrected replacement build; never describe the flawed revision as\n   qualified in practice merely because its acceptance batch was green.\n\nSkip the initial search only when the user supplies an explicit `build_ref` to continue or repair.\nEven then, inspect the current build before changing it.\n\nWhen resuming a build in a fresh agent context, request its `activity` view. Each recent row\ncontains a fresh `activity_ref`, the exact revision, state, and any stable terminal error code;\ncontinue polling that reference instead of starting and paying for a duplicate activity.\n\n## Tools\n\n<!-- BEGIN TOOL TABLE -->\n\n| Tool                        | Purpose                                                                    |\n| --------------------------- | -------------------------------------------------------------------------- |\n| `discover_stewai`           | Learn connection rules and the exact consumer and authoring journeys.      |\n| `search_recipes`            | Search public and currently authorized published recipes.                  |\n| `get_recipe_preview`        | Compare safe contracts, access, evidence, duration, and pricing.           |\n| `run_recipe`                | Estimate or idempotently run a previewed public or authorized recipe.      |\n| `get_run`                   | Read owned-run status and authoritative terminal billing.                  |\n| `get_results`               | Read declared outputs or a sanitized, paginated owned-run step trace.      |\n| `start_recipe_build`        | Create one owned private draft from an intent and declared contracts.      |\n| `get_recipe_build`          | List recent builds or inspect one bounded build view.                      |\n| `update_recipe_build`       | Change a draft, contracts, acceptance suite, research evidence, or chunks. |\n| `check_recipe_build`        | Run free deterministic lint, render, policy, graph, and compiler checks.   |\n| `review_recipe_build`       | Quote or run bounded semantic review and permitted research.               |\n| `run_recipe_acceptance`     | Quote or run selected or complete behavioral cases.                        |\n| `get_recipe_build_activity` | Poll review or aggregate acceptance evidence and settled billing.          |\n| `commit_recipe_build`       | Preflight and privately publish only the exact qualified revision.         |\n\n<!-- END TOOL TABLE -->\n\n## Search, preview, and references\n\nSearch results may come from `public`, `owned`, `organization`, or `shared` sources. Source is not\nproof of quality or permission. The server rechecks current user, tenant, revision, contract,\nownership, and sharing grants before every preview or run.\nThe public lane contains only listed recipes whose safety approval is pinned to their exact current\npublished revision. It is the currently approved, runnable public catalog, not every row that may\nhave been visible in historical Marketplace data.\n\nWhen `match_status` is `no_suitable_match`, do not invent or recommend a weak result. Follow its\n`next_action`: list recent private builds, continue a suitable one if present, otherwise offer to\nstart a new build. `authorization_required` means a requested search lane was not searched; it is\nnot evidence that no recipe exists.\n\n`search_recipes` returns an opaque `recipe_ref`. Pass it to `get_recipe_preview`. The preview\nreturns a refreshed `recipe_ref`; pass that preview-issued reference to `run_recipe`. References are account- and tenant-bound and\nexpire. Search again after expiry, tenant switching, access changes, or revision changes. Never\nreplace a reference with a recipe ID.\n\nPreview input handles are the only accepted run input keys. Send exactly those handles and values\nthat satisfy the declared schemas. Preview states whether each input must be supplied, whether a\ndefault exists, and the applicable character and UTF-8 byte limits. When dry-run or execution\nreports `invalid_inputs`, repair every issue by its `path`, `code`, `hint`, and `limit`; the\nresponse never echoes submitted values or hidden defaults. Do not ask for recipe source,\nauthoring fixtures, credentials,\nor provider payloads. When the user owns the run, use only the bounded sanitized trace returned by\n`get_results`; do not infer access to another user's run from recipe visibility.\n\n## Estimate, execute, and read\n\nAlways call `run_recipe` with `dry_run: true` before recommending or starting execution. Report\nthe facts plainly and let the user decide:\n\n- `history`: credits charged by past successful runs of this recipe's current version (average,\n  median, p90, run counts, last run). With fewer than three runs the statistics are null and\n  `recent_charges` lists the actual charges; say there is little history.\n- `fee_credits`: any marketplace fee. Authorized non-marketplace recipes have no creator fee.\n- `available_credits` and `balance_as_of`: the user's spendable balance at that moment.\n- `estimated_credits`: a theoretical worst case (every model call retried at its maximum limits).\n  It is rarely approached; mention it as the upper bound, not as the expected price. `sufficient`\n  only says whether that worst case fits.\n\nA run is not refused because the worst case exceeds the balance. If credits run out during a run,\nthe run pauses (`blocked`, with `credit_pause` in `get_run`) and can be resumed from the StewAI web\napp after adding credits.\n\nEvery `run_recipe` call, including a dry run, requires a valid `idempotency_key`. A dry run does not consume its key. Use a fresh\nkey for the real run. Replaying the same consumed key and request returns the same run; changing\nthe request is a conflict. Do not loop after insufficient credits, exhausted authoring budget, an\ninaccessible reference, or a stable permanent error.\n\nThe client may request confirmation because `run_recipe` is destructive and open-world: a real\nrecipe can spend credits and may call external systems. Once approved, run exactly once. Poll `get_run` at its supplied interval.\nWhile the run is active, `progress` shows the phase, active steps with elapsed time, and\n`last_step_activity_at`; `updated_at` is only the run record's time, so do not treat an unchanged\n`updated_at` as a stuck run. After terminal\nstatus, keep polling while billing is `pending`, stopping at the documented settlement window.\nCall `get_results` without a `view`, or with `view:\"declared_outputs\"`, only when the status is\n`done` and `results_available` is `true`. Billing comes from `get_run`, never from results. If that\nresponse is `result_unavailable` or `result_too_large`, explain that no declared output payload is\navailable.\n\nFor an owned run, `get_results` with `view:\"steps\"` returns ordered pages of compact step\nsummaries (ID, title, kind, state, timing, result type), 10 per page by default and at most 20\n(`limit`). Pass `detail:\"full\"` for dependencies, sanitized configured parameters, optional\nrendered input, and the same normalized result shape used by the SDK. Follow `next_cursor` until\nit is null. While `provisional` is true the run is unfinished: unfinished steps show a pending\nresult, so never report a provisional snapshot as a failure. `diagnostic_notes` explain nonfatal\nwarnings such as `schema_urn_missing`. Use\n`view:\"step\"` plus `step_id` for one exact step. These trace views work for running, blocked,\nfailed, cancelled, and completed runs, so use them to diagnose failures and to explain how a\nsuccessful workflow reached its result. `parameters` are compile-time configuration and\n`rendered_input` exists only for handlers that persist it; never describe either as a universal\nexact runtime-input snapshot. Respect `redaction_reasons`: sensitive inputs remain masked and\nexecute-only public recipes expose only their public interface. Public-open recipes and private\nrecipes owned by the signed-in account expose their full sanitized trace. A recipe being public\nnever grants access to another user's run. If a paginated request reports `step_too_large`, explain\nthat the one step cannot fit the bounded response and continue from its `next_cursor` when present.\n\nIf execution returns `account_unavailable`, do not modify recipe inputs. Ask the user to reconnect\nan ordinarily provisioned StewAI account or contact support.\n\n### When a run goes wrong\n\nErrors are normal. Recipes, including marketplace recipes, can fail or produce weak output, and the\nuser decides what to do next. Handle each case plainly:\n\n- **Run failed:** read the failed step with `view:\"step\"` and tell the user what it says. Then retry\n  once with the same inputs, adjust the inputs, or choose another recipe.\n- **Run paused for credits** (`blocked` with `credit_pause`): tell the user. The run resumes from the\n  StewAI web app after credits are added.\n- **`recipe_ref_expired`:** search again or preview the recipe for a new `recipe_ref`, then retry with\n  the same inputs.\n- **`invalid_inputs`:** fix the input named in each issue `path` and try again.\n- **`outputs` is empty:** the recipe declares no outputs. Read `view:\"steps\"`; the result is in the\n  last steps.\n- **Output looks wrong or incomplete:** show the user what came back and let them decide. Do not\n  report it as a platform failure.\n\n## Authoring loop\n\nTreat tool schemas and returned guidance as authoritative; never invent recipe syntax. A useful\nloop is:\n\n1. Declare narrow input/output contracts and a measurable acceptance suite.\n2. Add the smallest graph that can satisfy them.\n3. Call `check_recipe_build` after every structural change; deterministic failures cost nothing.\n4. For methodology-sensitive work, record bounded external evidence with a URL, title, supported\n   claim, retrieval time, and applicability. Evidence informs a method; it does not override the\n   user's domain policy.\n5. Quote, then execute semantic review only when deterministic checks pass.\n   A passing review can still contain advisory observations. Do not churn a working revision to\n   eliminate wording-level observations that are already covered by a concrete acceptance case.\n   Change the draft again only for a reproducible defect, an uncovered material risk, or a\n   specific counterexample; otherwise freeze the revision and proceed to behavioral tests.\n6. Quote, then run the smallest selected set that reproduces a failure.\n7. Repair the draft and repeat deterministic checks.\n8. Run the complete suite once the candidate is ready. Only a green complete suite can qualify\n   that exact revision.\n\nPoll review and acceptance through `get_recipe_build_activity`. It intentionally omits provider\npayloads, credentials, raw exceptions, wallet identifiers, acceptance-run traces, and partial\ncredit totals. Do not seek those through other tools.\n\nBefore choosing authoring syntax, call `get_recipe_build` with `view:\"capabilities\"`. Its 24-entry\ncatalog is derived from the runtime handler registry and states which nodes are draft-authorable,\nwhether they can qualify through unattended acceptance, their side-effect class, and when a human\nhandoff is required. A draft can be structurally valid even when\n`automatic_acceptance_eligible` is false; explain that distinction instead of calling it invalid.\n\n### Exact authoring syntax\n\nDo not guess mutation names or payload fields. `update_recipe_build.ops` accepts only these exact\nforms:\n\n- `{\"op\":\"replace_spec\",\"spec\":{...}}`\n- `{\"op\":\"set_metadata\",\"metadata\":{\"name\":\"...\",\"description\":\"...\"}}`\n- `{\"op\":\"upsert_node\",\"node\":{\"id\":\"...\",\"type\":\"...\"}}`\n- `{\"op\":\"remove_node\",\"node_id\":\"...\"}`\n- `{\"op\":\"reorder_nodes\",\"node_ids\":[\"...\"]}`\n- `{\"op\":\"upsert_schema\",\"schema_id\":\"...\",\"schema\":{...}}`\n- `{\"op\":\"remove_schema\",\"schema_id\":\"...\"}`\n- `{\"op\":\"set_acceptance_cases\",\"suite\":{...}}`\n- `{\"op\":\"record_research\",\"evidence\":[...]}`\n- `{\"op\":\"set_budget\",\"budget_capability\":\"...\"}`\n- `{\"op\":\"restore\"}`, or the documented `begin_chunk`, `append_chunk`, and `commit_chunk`\n  forms for large payloads.\n\nA single-field `recipe_input` is executable text input. Match contract `maxLength` with node\n`max_length`; `required:true` already enforces nonblank input. For structured LLM output, put the\ncomplete object schema in `llm_call.response.schema`. Export the complete object with\n`{{ analyze.pydantic.value | json }}`, or export a declared field with\n`{{ analyze.pydantic.value.field_handle | json }}`. Here, `analyze` is the ID of the producing\nnode. A sibling `schema` inside a `recipe_output`\nmapping is descriptive metadata and does not establish the executable contract.\n\nFor semantic MCP result labels, create one top-level `recipe_output` node per user-facing output\nfield, give the node the intended user-facing `title`, and give it a one-key `mapping`. A single\n`recipe_output` with several mapping keys is valid, but disclosure deliberately labels those\npositions `Output 1`, `Output 2`, and so on. Mapping keys remain internal and must never be used as\nrun input or public result handles.\n\nThe acceptance mutation is named `set_acceptance_cases`, not `set_acceptance_suite`. Its suite\nstarts with:\n\n```json\n{\n  \"version\": 1,\n  \"cases\": [\n    {\n      \"case_id\": \"normal_1\",\n      \"label\": \"Normal input\",\n      \"kind\": \"normal\",\n      \"fixtures\": [\n        {\n          \"target\": \"input_handle\",\n          \"content_type\": \"text/plain\",\n          \"value\": \"...\"\n        }\n      ],\n      \"assertions\": [\n        {\n          \"assertion_id\": \"result_exists\",\n          \"type\": \"scalar\",\n          \"operator\": \"exists\",\n          \"path\": \"/result\"\n        }\n      ]\n    }\n  ]\n}\n```\n\nEvery case needs at least one assertion. Use only the assertion fields allowed by the tool schema.\nUse `scalar` equality only for JSON scalar values. To prove an array is empty, use a `collection`\nassertion with `operator:\"count_equals\"` and `expected:0`; `exists` proves only that the array is\npresent. A full suite rejects a normal case whose assertions prove only `exists` or `type`; every\nnormal case needs at least one behavioral oracle over its actual value, count, relationship,\nclassification, coverage, or safety property. Every decision-bearing output needs a behavioral\noracle. For paired invariance checks, prefer one material output field per `fields_unchanged`\nassertion so a failure identifies the unstable field instead of collapsing several differences\ninto one opaque result.\nBefore qualification, compare the normal fixtures with the user's planned real input. Include one\ncase that is at least as demanding for rendered-input size and structured-output length. A green\nsuite built only from smaller inputs does not establish that the committed recipe can finish the\nreal run. When the per-case quote rejects a realistic fixture, reduce response verbosity or schema\ncomplexity rather than weakening the fixture.\nWhen the recipe accepts a user-supplied rubric, policy, taxonomy, score scale, weight set, or\ndecision threshold, test at least two materially different configurations. Derive arithmetic from\nthe supplied scale maximum and apply the supplied thresholds exactly; never hide a fixed\ndenominator or fallback policy behind a configurable-looking input. For reconciliation, state\nwhether identity is exact-ID or semantic cross-ID matching and include a case that distinguishes\nthe two. For bounded prose, set field limits large enough for a complete action or rationale and\nassert a representative complete phrase so a clipped or unfinished sentence cannot qualify.\nCall `check_recipe_build` without `fixtures` for the ordinary structural/compiler check. Supply\nfixtures only for intentional template probes, and then provide a fixture for every referenced\ndependency whose output is not produced during that free render-only pass.\n\n`commit_recipe_build` first issues a short-lived single-use commit capability. Use it only for the\nunchanged qualified revision. A successful commit returns a private editor URL and, when current\nrun access permits it, a `recipe_ref`. Preview that reference before dry-run: the authoring\ncontract handles and recipe node IDs are not the positional `input_N` handles accepted by\n`run_recipe`. Say explicitly that the recipe is private. Never claim that commit submitted,\nreviewed, listed, priced, or published it in the public marketplace.\n\n## Approval and budget stops\n\n- Quote before every paid review or acceptance action.\n- Explain the maximum credits and remaining authoring budget before spending.\n- After a quote, follow its `next_action` exactly: redeem `budget_capability` with\n  `update_recipe_build` operation `set_budget`, then execute the quoted request.\n- When full acceptance returns `supervised_required`, inspect every returned resource requirement\n  first. Call `update_recipe_build` operation `bind_resource` once for each required selector,\n  using the exact selector already frozen in the draft. Only then ask the user to open\n  `action_url` and approve. After approval, resume the same activity with `resume_activity`.\n- Obtain user approval before a real recipe run when the action spends credits or can affect an\n  external system.\n- Prefer selected failing cases while repairing; do not repeatedly pay for a complete suite.\n- Do not retry when the server reports insufficient credits for a fee, a spent or expired capability,\n  exhausted cumulative budget, or a durable permanent error.\n\n## Not available in 1.1.0\n\n<!-- BEGIN NOT-AVAILABLE -->\n\nThe plugin does not expose recipe source, authoring acceptance-run traces, provider payloads,\ncredentials, raw exceptions, or unrestricted research evidence. Owned normal runs expose a\nbounded sanitized step trace; this is not a source export or a universal raw runtime-input log. It\ncannot publish to the marketplace, approve safety, set public pricing, or claim creator\ncompensation. Authoring\nqualification is parameter-sensitive: deterministic nodes, short pauses, and literal or\nstep-backed vector search can qualify automatically; literal HTTPS ingest and the approved\nread-only Brave Search integration use the conditional route. Resource-bound or effectful nodes\nsuch as document, email, export, long pauses, subrecipes, managed agents, and other integrations\nuse the returned supervised handoff. Bind every required frozen selector, obtain approval through\n`action_url`, then resume the same blocked activity. Unknown modes fail closed and must be repaired.\nFor a subrecipe, pass the `recipe_ref` returned by search or preview as `child_recipe_ref`;\nStewAI resolves and pins the runnable revision without exposing internal recipe identifiers.\n\n<!-- END NOT-AVAILABLE -->\n\n## Starter prompts\n\n<!-- BEGIN STARTER PROMPTS -->\n\nFind and compare the best accessible StewAI recipes for my task, then preview the strongest option without running it.\nRun a StewAI recipe with my input, monitor it, then summarize its declared results, step trace, and settled credit charge.\nBuild a private StewAI recipe for a recurring task, test it, repair failures, and commit a qualified version.\n\n<!-- END STARTER PROMPTS -->\n\n## Related local skill\n\nUse `stewai` only when the user explicitly asks for the Python SDK with an API key. A failed or\nunauthenticated MCP call never authorizes that fallback.\n"
AFTER
"---\nname: stewai-mcp\ndescription: \"Use the StewAI MCP plugin whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private access, quotes, runs, and authoring. Do not use for the Python SDK.\"\n---\n\n# StewAI MCP\n\nStewAI is one capability: reuse a suitable published recipe when one exists; otherwise build,\nqualify, and privately run a new one. Route by fit. Do not ask the user to choose between\nmarketplace and authoring workflows.\n\n## Routing\n\nUse only the StewAI MCP tools in the table below. Never fall back to the Python SDK, an API key,\nbrowser search, shell commands, or workspace files when an MCP tool needs authentication or is\nunavailable. Ask the user to connect or reauthenticate StewAI, then retry the same MCP tool.\nA failed or unauthenticated MCP call never authorizes that fallback. If StewAI reports\n`insufficient_scope`, ask the user to reconnect and approve the listed scopes.\n\nRecipe creation requires one connection carrying the complete StewAI scope set:\n`marketplace:read`, `marketplace:run`, `recipes:read`, `recipes:run`, `recipes:author`,\n`recipes:test`, `recipes:publish`, and `runs:read`. Admin status does not replace OAuth\nconsent. Before authoring, `discover_stewai` must report `authoring_available:true` and list an\nauthoring journey. If it does not, reconnect the same StewAI server with those scopes and retry\n`get_recipe_build`; do not create a draft until that read succeeds.\n\nIn the Codex desktop app, when both the locally installed `stewai` MCP server and a\n`codex_apps` StewAI connector wrapper are available, always use the direct `stewai` server.\nThe native HTML card resource is registered on that installed-plugin server; do not route a\nStewAI call through the connector wrapper.\n\n`discover_stewai`, public-only `search_recipes`, and previews of their public references are\nanonymous. Call discovery once per fresh connection and follow its journeys and rules. Sign in\nby email only when the user requests private sources, a live quote or run, run data, or authoring.\nThe email sign-in uses a one-time code and preserves the selected public recipe reference.\nTool schemas and responses are the authoritative syntax; never invent operation names, fields,\nmodes, views, or recipe syntax.\n\n## Before anything is spent\n\n`run_recipe` is destructive and open-world: a real run spends credits and may call external\nsystems. Keep these stops, in this order.\n\n1. Always call `estimate_recipe_run` first, but only for the selected recipe. Lead\n   with `history`: recent charges when history is sparse, or median and p90 when available. Then\n   report `fee_credits`, `available_credits`, and `can_start`. `safety_ceiling_credits` is a\n   pathological safety bound, not a quote or admission threshold. It may be null when provider\n   search has no request-side query ceiling; null never blocks a run. `estimated_credits` and\n   `sufficient` are deprecated compatibility fields; `sufficient: false` must never override\n   `can_start: true` or block an approved run. With fewer than three past runs, say there is\n   little history.\n2. Obtain the user's approval before a real run when it can spend credits or affect an external\n   system. Then run exactly once.\n3. Quote every paid review or acceptance action before executing it. State the cap and the\n   remaining authoring budget, then follow the quote's `next_action` exactly: redeem\n   `budget_capability` with `approve_recipe_budget`, then execute the quoted\n   request.\n4. When acceptance returns `supervised_required`, call `bind_recipe_resource` once per required\n   selector, using the exact selector frozen in the draft.\n   Only then ask the user to open `action_url`. After approval, resume the same activity with\n   `resume_recipe_activity`.\n5. Prefer selected failing cases while repairing; do not pay repeatedly for a complete suite.\n6. Never retry after `can_start: false`, insufficient credits for a fee, a spent or expired\n   capability, exhausted authoring budget, an inaccessible reference, or a stable permanent\n   error.\n\n## Find, compare, run, read\n\n1. If the request is too broad to distinguish a safe direct fit, ask one focused question before\n   searching. Then call `search_recipes` with a plain problem statement and, when known,\n   semantic input and output labels such as `Contract text` and `Risk note`.\n2. Follow every `next_cursor` until it is null before claiming a best match. This is the full\n   bounded result set, not an unbounded marketplace crawl. `results` are direct fits;\n   `related_results` are adjacent recipes and must be clearly labeled as such.\n   `no_suitable_match` is an answer: follow its `next_action` instead of promoting a weak result.\n   `authorization_required` means a lane was not searched, not that nothing exists.\n3. Propose two or three meaningfully different direct fits when they exist. For each, explain\n   the exact scope, expected outputs, evidence or qualification, likely duration, observed cost\n   history, and access. Never present a narrow check as comprehensive analysis and never invent\n   an overall quality score. Keep expensive recipes discoverable, but when an observed-under-500\n   direct fit exists, always include it as an affordable alternative.\n4. Preview only the recipe the user selects. If one choice is clearly best and the request is\n   already precise, recommend it with reasons and ask the user to confirm that selection before\n   preview and estimate.\n5. `search_recipes` returns an opaque `recipe_ref`.\n   The preview returns a refreshed `recipe_ref`; pass that preview-issued reference to `run_recipe`.\n   Public references survive the email-code sign-in transition; private references remain\n   account-and-tenant-bound. All references expire: search again after expiry, tenant switching,\n   or a revision change, and never substitute a recipe ID.\n6. Preview input handles are the only accepted run input keys. On `invalid_inputs`, repair each\n   issue by its `path`, `hint`, and `limit`; the response never echoes submitted values.\n7. Every `estimate_recipe_run` and `run_recipe` call requires a valid `idempotency_key`. An\n   estimate does not consume its key; use a fresh key for the real run. Replaying a consumed key\n   with the same request returns the same run.\n8. Poll `get_run` at its supplied interval. `progress` shows the phase and active steps;\n   `updated_at` is only the record's time, so an unchanged value is not a stuck run. After a\n   terminal status keep polling while billing is `pending`. Billing comes from `get_run`, never\n   from results.\n9. Call `get_results` only when the status is `done` and `results_available` is `true`.\n   If that response is `result_unavailable` or `result_too_large`, say that no declared output\n   payload is available.\n10. To explain a run or diagnose a failure, page through `list_run_steps` by `next_cursor`, add\n    `detail:\"full\"` for parameters and normalized results, and use `get_run_step` for one exact\n    step. While `provisional` is true the run is unfinished, so never report a provisional\n    snapshot as a failure. Respect `redaction_reasons`.\n\nOwned normal runs expose a bounded sanitized step trace. Public-open recipes and private\nrecipes owned by the signed-in account expose their full sanitized trace; execute-only public\nrecipes expose only their interface. A recipe being public never grants access to another\nuser's run. Never ask for recipe source, credentials, provider payloads, or authoring\nacceptance-run traces.\n\n### Present the result\n\nThe declared outputs are evidence for an analysis, not a blob to paste into chat. Present every\nsuccessful recipe across research, documents, communication, data, compliance, operations, or\nany other domain with this structure:\n\n1. Lead with the useful outcome in one sentence.\n2. Give a short **At a glance** summary.\n3. Show supported strengths or what already works.\n4. Present only the most important findings, ordered by impact.\n5. Give concrete next steps tied to those findings.\n6. End with a quiet evidence note covering uncertainty, limitations, charged credits, and run\n   ID.\n\nConvert JSON objects and arrays into concise tables or bullets. Render HTML as readable content;\nnever dump markup. Before repeating a material claim, cross-check it against the user's supplied\nsource and the recipe's cited evidence. Describe unsupported or high-stakes conclusions as\nrecipe findings to verify, not established facts. Use **blocking** only when the recipe explicitly\nclassifies the item that way and the supplied evidence supports it. Do not turn every checklist\ndifference into a blocker.\n\nKeep raw diagnostics, safety ceilings, and platform plumbing out of the main answer. Once\nresults are ready, a `pending` or `unavailable` billing receipt belongs in the quiet evidence note\nand must never suppress, delay, or overshadow the useful analysis.\n\n### When a run goes wrong\n\nErrors are normal. Recipes, including marketplace recipes, can fail or produce weak output, and\nthe user decides what happens next.\n\n- **Run failed:** open the failed step with `get_run_step` and relay what it says. Then retry once\n  with the same inputs, adjust the inputs, or choose another recipe.\n- **Paused for credits** (`blocked` with `credit_pause`): tell the user. This is the platform's\n  normal credit control, not something the plugin should predict or manage. The user adds\n  credits and resumes the same run from the StewAI web app; do not change the inputs.\n- **`recipe_ref_expired`:** search or preview again for a fresh reference, then retry.\n- **`invalid_inputs`:** fix the input named in each issue `path` and try again.\n- **`outputs` is empty:** the recipe declares no outputs; the result is in the last steps.\n- **`account_unavailable`:** ask the user to reconnect a provisioned StewAI account or contact\n  support.\n- **Output looks wrong or incomplete:** show what came back and let the user decide. Do not\n  call it a platform failure.\n\n## Build when nothing fits\n\n1. Call `list_recipe_builds` to list recent owned builds before starting\n   another one. Skip the initial search only when the user supplies an explicit `build_ref`;\n   even then, look at the current build before changing it.\n2. Start one build with narrow input and output contracts and a measurable acceptance suite,\n   then add the smallest recipe that satisfies them.\n3. Before choosing syntax, call `get_recipe_authoring_guidance` and follow its\n   `authoring_rules`. Call `list_recipe_build_capabilities` to learn which handlers are\n   draft-authorable and which can qualify\n   through unattended acceptance. Structurally valid is not the same as\n   `automatic_acceptance_eligible`; explain the difference instead of calling a draft invalid.\n4. Apply the smallest useful full-spec change with `update_recipe_build`; use the named `set_*`,\n   research, budget, resource, activity, and upload tools for their exact operations. Call\n   `check_recipe_build` after every structural change and repair concrete failures before paid review.\n5. Call `quote_recipe_review` before `review_recipe_build` once deterministic checks pass. Call\n   `quote_recipe_acceptance`, then run the smallest\n   selected case set that reproduces a failure; run the complete suite only when the revision is\n   ready to qualify. Any change creates a new revision and invalidates earlier qualification.\n6. Poll review and acceptance through `get_recipe_build_activity`. When resuming in a fresh\n   context, call `list_recipe_build_activities` and keep polling its fresh `activity_ref` instead\n   of starting and paying for a duplicate.\n7. Commit only the exact revision with a green complete suite, required evidence, and settled\n   billing. Call `preflight_recipe_build`, then `commit_recipe_build` with its exact capability.\n   The commit is private, unlisted, and unreviewed. Preview its `recipe_ref` before an estimate,\n   and never claim that commit listed, priced, or published the recipe.\n\n## Tools\n\n<!-- BEGIN TOOL TABLE -->\n\n| Tool | Purpose |\n| --- | --- |\n| `discover_stewai` | Learn connection rules and available journeys. |\n| `search_recipes` | Search accessible published recipes. |\n| `get_recipe_preview` | Read one recipe summary. |\n| `get_recipe_details` | Read authorized recipe details. |\n| `estimate_recipe_run` | Estimate a recipe run without starting it. |\n| `run_recipe` | Start one approved recipe run. |\n| `get_run` | Read one run's status. |\n| `list_runs` | List recent owned runs. |\n| `get_run_diagnostics` | Read one run's settled billing diagnostics. |\n| `get_results` | Read declared run outputs. |\n| `list_run_steps` | Page through sanitized run steps. |\n| `get_run_step` | Read one sanitized run step. |\n| `get_run_step_chunk` | Continue one oversized step result. |\n| `start_recipe_build` | Create one private recipe build. |\n| `list_recipe_builds` | List recent private builds. |\n| `get_recipe_build` | Read one build summary. |\n| `get_recipe_build_contracts` | Read one build's contracts. |\n| `list_recipe_build_nodes` | List one build's nodes. |\n| `get_recipe_build_node` | Read one build node. |\n| `get_recipe_build_schemas` | Read one build's stored schemas. |\n| `list_recipe_build_capabilities` | Page through build capabilities. |\n| `get_recipe_build_research` | Read recorded research evidence. |\n| `get_recipe_acceptance_plan` | Read the acceptance plan. |\n| `get_recipe_authoring_guidance` | Read versioned authoring rules. |\n| `list_recipe_build_activities` | List review and acceptance activities. |\n| `list_recipe_build_handoffs` | List supervised handoffs. |\n| `list_recipe_build_resources` | List handoff resource requirements. |\n| `list_recipe_capability_types` | List authorable node types. |\n| `get_recipe_capability` | Read one node type contract. |\n| `list_recipe_models` | List authoring models. |\n| `get_recipe_model` | Read one model contract. |\n| `update_recipe_build` | Replace the complete draft specification. |\n| `set_recipe_contracts` | Replace declared build contracts. |\n| `set_recipe_metadata` | Replace selected build metadata. |\n| `set_recipe_acceptance_cases` | Replace the acceptance suite. |\n| `record_recipe_research` | Replace recorded research evidence. |\n| `approve_recipe_budget` | Redeem one quoted build budget. |\n| `bind_recipe_resource` | Bind one supervised resource selector. |\n| `resume_recipe_activity` | Resume one approved activity. |\n| `cancel_recipe_activity` | Cancel one supervised activity. |\n| `restore_recipe_build` | Restore one archived build. |\n| `begin_recipe_build_upload` | Begin one chunked upload. |\n| `append_recipe_build_upload` | Append one upload chunk. |\n| `commit_recipe_spec_upload` | Commit an uploaded specification. |\n| `commit_recipe_acceptance_upload` | Commit an uploaded acceptance suite. |\n| `commit_recipe_research_upload` | Commit uploaded research evidence. |\n| `check_recipe_build` | Run deterministic checks. |\n| `render_recipe_build` | Render with optional fixtures. |\n| `quote_recipe_review` | Quote semantic review. |\n| `review_recipe_build` | Start semantic review. |\n| `quote_recipe_acceptance` | Quote acceptance testing. |\n| `run_recipe_acceptance` | Start selected or complete acceptance testing. |\n| `get_recipe_build_activity` | Read one activity summary. |\n| `list_recipe_activity_nodes` | Page through activity nodes. |\n| `list_recipe_activity_assertions` | Page through activity assertions. |\n| `get_recipe_activity_coverage` | Read activity coverage. |\n| `get_recipe_activity_billing` | Read activity billing. |\n| `preflight_recipe_build` | Verify commit readiness. |\n| `commit_recipe_build` | Commit one qualified private revision. |\n\n<!-- END TOOL TABLE -->\n\n## Boundaries\n\n<!-- BEGIN NOT-AVAILABLE -->\n\nThe plugin does not expose recipe source, authoring acceptance-run traces, provider payloads,\ncredentials, raw exceptions, or unrestricted research evidence. Owned normal runs expose a\nbounded sanitized step trace, not a source export or a raw runtime-input log. It cannot publish\nto the marketplace, approve safety, set public pricing, or claim creator compensation.\nAuthoring qualification is parameter-sensitive: deterministic steps, short pauses, and literal\nor step-backed vector search can qualify automatically; literal HTTPS ingest and the approved\nread-only Brave Search integration use the conditional route. Resource-bound or effectful steps\nsuch as document, email, export, long pauses, subrecipes, managed agents, and other integrations\nuse the returned supervised handoff. Unknown modes fail closed and must be repaired. For a\nsubrecipe, pass the `recipe_ref` returned by search or preview as `child_recipe_ref`; StewAI\nresolves and pins the runnable revision privately.\n\n<!-- END NOT-AVAILABLE -->\n\n## Related local skill\n\nUse `stewai` only when the user explicitly asks for the Python SDK with an API key.\n"
Full snapshot data
{
  "description": "Use the StewAI MCP plugin whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private access, quotes, runs, and authoring. Do not use for the Python SDK.",
  "included_files": [],
  "name": "stewai-mcp",
  "skill_md_contents": "---\nname: stewai-mcp\ndescription: \"Use the StewAI MCP plugin whenever the user mentions StewAI, a recipe, or a reusable AI workflow, or wants an agent to turn a recurring task into a tested workflow. It finds, compares, and previews public recipes before sign-in, then authenticates for private access, quotes, runs, and authoring. Do not use for the Python SDK.\"\n---\n\n# StewAI MCP\n\nStewAI is one capability: reuse a suitable published recipe when one exists; otherwise build,\nqualify, and privately run a new one. Route by fit. Do not ask the user to choose between\nmarketplace and authoring workflows.\n\n## Routing\n\nUse only the StewAI MCP tools in the table below. Never fall back to the Python SDK, an API key,\nbrowser search, shell commands, or workspace files when an MCP tool needs authentication or is\nunavailable. Ask the user to connect or reauthenticate StewAI, then retry the same MCP tool.\nA failed or unauthenticated MCP call never authorizes that fallback. If StewAI reports\n`insufficient_scope`, ask the user to reconnect and approve the listed scopes.\n\nRecipe creation requires one connection carrying the complete StewAI scope set:\n`marketplace:read`, `marketplace:run`, `recipes:read`, `recipes:run`, `recipes:author`,\n`recipes:test`, `recipes:publish`, and `runs:read`. Admin status does not replace OAuth\nconsent. Before authoring, `discover_stewai` must report `authoring_available:true` and list an\nauthoring journey. If it does not, reconnect the same StewAI server with those scopes and retry\n`get_recipe_build`; do not create a draft until that read succeeds.\n\nIn the Codex desktop app, when both the locally installed `stewai` MCP server and a\n`codex_apps` StewAI connector wrapper are available, always use the direct `stewai` server.\nThe native HTML card resource is registered on that installed-plugin server; do not route a\nStewAI call through the connector wrapper.\n\n`discover_stewai`, public-only `search_recipes`, and previews of their public references are\nanonymous. Call discovery once per fresh connection and follow its journeys and rules. Sign in\nby email only when the user requests private sources, a live quote or run, run data, or authoring.\nThe email sign-in uses a one-time code and preserves the selected public recipe reference.\nTool schemas and responses are the authoritative syntax; never invent operation names, fields,\nmodes, views, or recipe syntax.\n\n## Before anything is spent\n\n`run_recipe` is destructive and open-world: a real run spends credits and may call external\nsystems. Keep these stops, in this order.\n\n1. Always call `estimate_recipe_run` first, but only for the selected recipe. Lead\n   with `history`: recent charges when history is sparse, or median and p90 when available. Then\n   report `fee_credits`, `available_credits`, and `can_start`. `safety_ceiling_credits` is a\n   pathological safety bound, not a quote or admission threshold. It may be null when provider\n   search has no request-side query ceiling; null never blocks a run. `estimated_credits` and\n   `sufficient` are deprecated compatibility fields; `sufficient: false` must never override\n   `can_start: true` or block an approved run. With fewer than three past runs, say there is\n   little history.\n2. Obtain the user's approval before a real run when it can spend credits or affect an external\n   system. Then run exactly once.\n3. Quote every paid review or acceptance action before executing it. State the cap and the\n   remaining authoring budget, then follow the quote's `next_action` exactly: redeem\n   `budget_capability` with `approve_recipe_budget`, then execute the quoted\n   request.\n4. When acceptance returns `supervised_required`, call `bind_recipe_resource` once per required\n   selector, using the exact selector frozen in the draft.\n   Only then ask the user to open `action_url`. After approval, resume the same activity with\n   `resume_recipe_activity`.\n5. Prefer selected failing cases while repairing; do not pay repeatedly for a complete suite.\n6. Never retry after `can_start: false`, insufficient credits for a fee, a spent or expired\n   capability, exhausted authoring budget, an inaccessible reference, or a stable permanent\n   error.\n\n## Find, compare, run, read\n\n1. If the request is too broad to distinguish a safe direct fit, ask one focused question before\n   searching. Then call `search_recipes` with a plain problem statement and, when known,\n   semantic input and output labels such as `Contract text` and `Risk note`.\n2. Follow every `next_cursor` until it is null before claiming a best match. This is the full\n   bounded result set, not an unbounded marketplace crawl. `results` are direct fits;\n   `related_results` are adjacent recipes and must be clearly labeled as such.\n   `no_suitable_match` is an answer: follow its `next_action` instead of promoting a weak result.\n   `authorization_required` means a lane was not searched, not that nothing exists.\n3. Propose two or three meaningfully different direct fits when they exist. For each, explain\n   the exact scope, expected outputs, evidence or qualification, likely duration, observed cost\n   history, and access. Never present a narrow check as comprehensive analysis and never invent\n   an overall quality score. Keep expensive recipes discoverable, but when an observed-under-500\n   direct fit exists, always include it as an affordable alternative.\n4. Preview only the recipe the user selects. If one choice is clearly best and the request is\n   already precise, recommend it with reasons and ask the user to confirm that selection before\n   preview and estimate.\n5. `search_recipes` returns an opaque `recipe_ref`.\n   The preview returns a refreshed `recipe_ref`; pass that preview-issued reference to `run_recipe`.\n   Public references survive the email-code sign-in transition; private references remain\n   account-and-tenant-bound. All references expire: search again after expiry, tenant switching,\n   or a revision change, and never substitute a recipe ID.\n6. Preview input handles are the only accepted run input keys. On `invalid_inputs`, repair each\n   issue by its `path`, `hint`, and `limit`; the response never echoes submitted values.\n7. Every `estimate_recipe_run` and `run_recipe` call requires a valid `idempotency_key`. An\n   estimate does not consume its key; use a fresh key for the real run. Replaying a consumed key\n   with the same request returns the same run.\n8. Poll `get_run` at its supplied interval. `progress` shows the phase and active steps;\n   `updated_at` is only the record's time, so an unchanged value is not a stuck run. After a\n   terminal status keep polling while billing is `pending`. Billing comes from `get_run`, never\n   from results.\n9. Call `get_results` only when the status is `done` and `results_available` is `true`.\n   If that response is `result_unavailable` or `result_too_large`, say that no declared output\n   payload is available.\n10. To explain a run or diagnose a failure, page through `list_run_steps` by `next_cursor`, add\n    `detail:\"full\"` for parameters and normalized results, and use `get_run_step` for one exact\n    step. While `provisional` is true the run is unfinished, so never report a provisional\n    snapshot as a failure. Respect `redaction_reasons`.\n\nOwned normal runs expose a bounded sanitized step trace. Public-open recipes and private\nrecipes owned by the signed-in account expose their full sanitized trace; execute-only public\nrecipes expose only their interface. A recipe being public never grants access to another\nuser's run. Never ask for recipe source, credentials, provider payloads, or authoring\nacceptance-run traces.\n\n### Present the result\n\nThe declared outputs are evidence for an analysis, not a blob to paste into chat. Present every\nsuccessful recipe across research, documents, communication, data, compliance, operations, or\nany other domain with this structure:\n\n1. Lead with the useful outcome in one sentence.\n2. Give a short **At a glance** summary.\n3. Show supported strengths or what already works.\n4. Present only the most important findings, ordered by impact.\n5. Give concrete next steps tied to those findings.\n6. End with a quiet evidence note covering uncertainty, limitations, charged credits, and run\n   ID.\n\nConvert JSON objects and arrays into concise tables or bullets. Render HTML as readable content;\nnever dump markup. Before repeating a material claim, cross-check it against the user's supplied\nsource and the recipe's cited evidence. Describe unsupported or high-stakes conclusions as\nrecipe findings to verify, not established facts. Use **blocking** only when the recipe explicitly\nclassifies the item that way and the supplied evidence supports it. Do not turn every checklist\ndifference into a blocker.\n\nKeep raw diagnostics, safety ceilings, and platform plumbing out of the main answer. Once\nresults are ready, a `pending` or `unavailable` billing receipt belongs in the quiet evidence note\nand must never suppress, delay, or overshadow the useful analysis.\n\n### When a run goes wrong\n\nErrors are normal. Recipes, including marketplace recipes, can fail or produce weak output, and\nthe user decides what happens next.\n\n- **Run failed:** open the failed step with `get_run_step` and relay what it says. Then retry once\n  with the same inputs, adjust the inputs, or choose another recipe.\n- **Paused for credits** (`blocked` with `credit_pause`): tell the user. This is the platform's\n  normal credit control, not something the plugin should predict or manage. The user adds\n  credits and resumes the same run from the StewAI web app; do not change the inputs.\n- **`recipe_ref_expired`:** search or preview again for a fresh reference, then retry.\n- **`invalid_inputs`:** fix the input named in each issue `path` and try again.\n- **`outputs` is empty:** the recipe declares no outputs; the result is in the last steps.\n- **`account_unavailable`:** ask the user to reconnect a provisioned StewAI account or contact\n  support.\n- **Output looks wrong or incomplete:** show what came back and let the user decide. Do not\n  call it a platform failure.\n\n## Build when nothing fits\n\n1. Call `list_recipe_builds` to list recent owned builds before starting\n   another one. Skip the initial search only when the user supplies an explicit `build_ref`;\n   even then, look at the current build before changing it.\n2. Start one build with narrow input and output contracts and a measurable acceptance suite,\n   then add the smallest recipe that satisfies them.\n3. Before choosing syntax, call `get_recipe_authoring_guidance` and follow its\n   `authoring_rules`. Call `list_recipe_build_capabilities` to learn which handlers are\n   draft-authorable and which can qualify\n   through unattended acceptance. Structurally valid is not the same as\n   `automatic_acceptance_eligible`; explain the difference instead of calling a draft invalid.\n4. Apply the smallest useful full-spec change with `update_recipe_build`; use the named `set_*`,\n   research, budget, resource, activity, and upload tools for their exact operations. Call\n   `check_recipe_build` after every structural change and repair concrete failures before paid review.\n5. Call `quote_recipe_review` before `review_recipe_build` once deterministic checks pass. Call\n   `quote_recipe_acceptance`, then run the smallest\n   selected case set that reproduces a failure; run the complete suite only when the revision is\n   ready to qualify. Any change creates a new revision and invalidates earlier qualification.\n6. Poll review and acceptance through `get_recipe_build_activity`. When resuming in a fresh\n   context, call `list_recipe_build_activities` and keep polling its fresh `activity_ref` instead\n   of starting and paying for a duplicate.\n7. Commit only the exact revision with a green complete suite, required evidence, and settled\n   billing. Call `preflight_recipe_build`, then `commit_recipe_build` with its exact capability.\n   The commit is private, unlisted, and unreviewed. Preview its `recipe_ref` before an estimate,\n   and never claim that commit listed, priced, or published the recipe.\n\n## Tools\n\n<!-- BEGIN TOOL TABLE -->\n\n| Tool | Purpose |\n| --- | --- |\n| `discover_stewai` | Learn connection rules and available journeys. |\n| `search_recipes` | Search accessible published recipes. |\n| `get_recipe_preview` | Read one recipe summary. |\n| `get_recipe_details` | Read authorized recipe details. |\n| `estimate_recipe_run` | Estimate a recipe run without starting it. |\n| `run_recipe` | Start one approved recipe run. |\n| `get_run` | Read one run's status. |\n| `list_runs` | List recent owned runs. |\n| `get_run_diagnostics` | Read one run's settled billing diagnostics. |\n| `get_results` | Read declared run outputs. |\n| `list_run_steps` | Page through sanitized run steps. |\n| `get_run_step` | Read one sanitized run step. |\n| `get_run_step_chunk` | Continue one oversized step result. |\n| `start_recipe_build` | Create one private recipe build. |\n| `list_recipe_builds` | List recent private builds. |\n| `get_recipe_build` | Read one build summary. |\n| `get_recipe_build_contracts` | Read one build's contracts. |\n| `list_recipe_build_nodes` | List one build's nodes. |\n| `get_recipe_build_node` | Read one build node. |\n| `get_recipe_build_schemas` | Read one build's stored schemas. |\n| `list_recipe_build_capabilities` | Page through build capabilities. |\n| `get_recipe_build_research` | Read recorded research evidence. |\n| `get_recipe_acceptance_plan` | Read the acceptance plan. |\n| `get_recipe_authoring_guidance` | Read versioned authoring rules. |\n| `list_recipe_build_activities` | List review and acceptance activities. |\n| `list_recipe_build_handoffs` | List supervised handoffs. |\n| `list_recipe_build_resources` | List handoff resource requirements. |\n| `list_recipe_capability_types` | List authorable node types. |\n| `get_recipe_capability` | Read one node type contract. |\n| `list_recipe_models` | List authoring models. |\n| `get_recipe_model` | Read one model contract. |\n| `update_recipe_build` | Replace the complete draft specification. |\n| `set_recipe_contracts` | Replace declared build contracts. |\n| `set_recipe_metadata` | Replace selected build metadata. |\n| `set_recipe_acceptance_cases` | Replace the acceptance suite. |\n| `record_recipe_research` | Replace recorded research evidence. |\n| `approve_recipe_budget` | Redeem one quoted build budget. |\n| `bind_recipe_resource` | Bind one supervised resource selector. |\n| `resume_recipe_activity` | Resume one approved activity. |\n| `cancel_recipe_activity` | Cancel one supervised activity. |\n| `restore_recipe_build` | Restore one archived build. |\n| `begin_recipe_build_upload` | Begin one chunked upload. |\n| `append_recipe_build_upload` | Append one upload chunk. |\n| `commit_recipe_spec_upload` | Commit an uploaded specification. |\n| `commit_recipe_acceptance_upload` | Commit an uploaded acceptance suite. |\n| `commit_recipe_research_upload` | Commit uploaded research evidence. |\n| `check_recipe_build` | Run deterministic checks. |\n| `render_recipe_build` | Render with optional fixtures. |\n| `quote_recipe_review` | Quote semantic review. |\n| `review_recipe_build` | Start semantic review. |\n| `quote_recipe_acceptance` | Quote acceptance testing. |\n| `run_recipe_acceptance` | Start selected or complete acceptance testing. |\n| `get_recipe_build_activity` | Read one activity summary. |\n| `list_recipe_activity_nodes` | Page through activity nodes. |\n| `list_recipe_activity_assertions` | Page through activity assertions. |\n| `get_recipe_activity_coverage` | Read activity coverage. |\n| `get_recipe_activity_billing` | Read activity billing. |\n| `preflight_recipe_build` | Verify commit readiness. |\n| `commit_recipe_build` | Commit one qualified private revision. |\n\n<!-- END TOOL TABLE -->\n\n## Boundaries\n\n<!-- BEGIN NOT-AVAILABLE -->\n\nThe plugin does not expose recipe source, authoring acceptance-run traces, provider payloads,\ncredentials, raw exceptions, or unrestricted research evidence. Owned normal runs expose a\nbounded sanitized step trace, not a source export or a raw runtime-input log. It cannot publish\nto the marketplace, approve safety, set public pricing, or claim creator compensation.\nAuthoring qualification is parameter-sensitive: deterministic steps, short pauses, and literal\nor step-backed vector search can qualify automatically; literal HTTPS ingest and the approved\nread-only Brave Search integration use the conditional route. Resource-bound or effectful steps\nsuch as document, email, export, long pauses, subrecipes, managed agents, and other integrations\nuse the returned supervised handoff. Unknown modes fail closed and must be repaired. For a\nsubrecipe, pass the `recipe_ref` returned by search or preview as `child_recipe_ref`; StewAI\nresolves and pins the runnable revision privately.\n\n<!-- END NOT-AVAILABLE -->\n\n## Related local skill\n\nUse `stewai` only when the user explicitly asks for the Python SDK with an API key.\n"
}

SHA-256 of public snapshot: 2a84d39fb30c8da8c0a15addacc8c8c0e40cdc9ffedf7247092db3f01d669992