[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78D38XE11MWJTSQJFRM1ZC0":3,"skill-same:01M78D38XE11MWJTSQJFRM1ZC0":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":9,"updatedAt":29,"install":30,"resources":42},"01M78D38XE11MWJTSQJFRM1ZC0","parley-wizard",null,"Configure a parley project by interview — full init (eval, types, rubrics, classification, retention, resume\u002Fretries, remote daemon, vendors) or targeted reconfig. Use when the user wants to set up parley, run \u002Fparley-wizard, reconfigure .parley, turn eval on\u002Foff, edit task types or rubrics, or fix project config.","femoral\u002Fparley","femoral","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50255779?v=4","01M78D245DQ5V4YYJE7Y3XCBTV","01M78D2464YVC6B4Y2DXD26FTK",0,"MIT","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Fskills\u002Fparley-wizard\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: parley-wizard\ndescription: Configure a parley project by interview — full init (eval, types, rubrics, classification, retention, resume\u002Fretries, remote daemon, vendors) or targeted reconfig. Use when the user wants to set up parley, run \u002Fparley-wizard, reconfigure .parley, turn eval on\u002Foff, edit task types or rubrics, or fix project config.\ndisable-model-invocation: true\n---\n\n# Configuring parley\n\nWalk the user to a correct project setup through conversation. Two branches:\n\n| Invocation | Path |\n| --- | --- |\n| `\u002Fparley-wizard`, `init`, or \"set up parley\" | **Full interview** — every area below, in order |\n| `\u002Fparley-wizard {intent}` (e.g. \"turn eval on\", \"add a type\", \"change retention\") | **Targeted reconfig** — only that intent's steps, then lint + verification offer |\n\n**Ground rules (every run):**\n\n1. **Ask scope first, then start from what exists.** The first prompt always chooses project, global, or both. Then load current project and daemon settings. Never factory-reset; never wipe files the user didn't ask to change.\n2. **Accepting everything is a no-op.** If the user keeps every current value (or every shipped default when nothing is written yet), write nothing.\n3. **Show before write.** Diff or full content of every file you are about to create or change; wait for approval.\n4. **Layers: project, global, daemon.** Project files live under `.parley\u002F` in the repo. Shared project-settings (eval, resume, retry, optional taskTypes) may also live in the global home layer (`~\u002F.parley\u002Fparley.json` and\u002For `~\u002F.parley\u002Fconfig.json`); project overrides global per key. Daemon-only keys (`retention.days`, `daemon.url`, vendors, profiles, `defaults.vendor` \u002F `defaults.profile`) go through `parley config` — same surface for local and remote daemons. Effective resolution: shipped defaults \u003C global home \u003C project.\n5. **Finish with lint, then offer a dry run.** See [After writes](#after-writes).\n\n---\n\n## Full interview (`init`)\n\nWork the stages in order. Each stage ends when the user confirms the value (or accepts the current\u002Fdefault). Rubric editing is skippable wholesale; every other stage still needs an explicit accept.\n\n### 0. Settings scope — always the first prompt\n\nBefore reading config or asking any setting value, always ask:\n\n> Where should shared project settings be configured: this project only, your global defaults, or both?\n\nExplain the choices accurately:\n\n- **Project only** — `.parley\u002Fconfig.json`; may hold only the per-key layered settings `eval`, `resume`, `retry`, and `taskTypes`.\n- **Global defaults** — the home layer; may provide shared `eval`, `resume`, `retry`, and `taskTypes` defaults. Daemon-only settings still live in `~\u002F.parley\u002Fparley.json`.\n- **Both** — global shared defaults plus intentional project overrides\u002Fproject-owned types.\n\nUse `$PARLEY_HOME` when set instead of `~\u002F.parley`. Existing global files never suppress this question. The selected scope controls only layerable project settings. Daemon-only keys (`vendors`, `profiles`, `defaults.vendor`, `defaults.profile`, `retention.days`, and `daemon.url`) always go to the home `parley.json` through `parley config`, regardless of this choice.\n\nDone when the user explicitly chooses project, global, or both.\n\n### 0b. Load current state\n\nFrom the project root:\n\n```\nls -la .parley\u002F .parley\u002Frubrics\u002F 2>\u002Fdev\u002Fnull\ncat .parley\u002Fconfig.json 2>\u002Fdev\u002Fnull\ncat .parley\u002Fclassification.json 2>\u002Fdev\u002Fnull\nls \"${PARLEY_HOME:-$HOME\u002F.parley}\u002Fparley.json\" \"${PARLEY_HOME:-$HOME\u002F.parley}\u002Fconfig.json\" 2>\u002Fdev\u002Fnull\nparley config show --json 2>\u002Fdev\u002Fnull\nparley models --json 2>\u002Fdev\u002Fnull\ncommand -v codex grok claude gemini opencode goose pi cline kilo openhands hermes openclaw kimi 2>\u002Fdev\u002Fnull\n```\n\nSummarize what is already configured vs still at shipped defaults — including whether a **global home config** is present. Preserve the scope choice already made; discovery never silently changes it. Done when you know the baseline you will edit from.\n\n### 1. Evaluation on\u002Foff\n\nDefault is **OFF**. Ask whether structured evaluation of completed tasks should be required (word as \"this project\" when scope is project-only; as a shared default when scope includes global).\n\n**Cost warning (always state when enabling):** turning eval on means every reviewed task needs `parley eval … --answers` (and session provenance when eval is on). That is orchestrator token cost and process overhead — not free. Prefer OFF unless the user wants metrics and scored rubrics.\n\nWrite according to [settings scope](#0-settings-scope--always-the-first-prompt):\n\n```json\n{ \"eval\": { \"enabled\": false } }\n```\n\n- Project (or project side of both) → `.parley\u002Fconfig.json`\n- Global (or global side of both) → `parley config set eval.enabled false` (or home `config.json`)\n\nDone when the user confirms on or off.\n\n### 2. Task types\n\nShipped set (8 + automatic fallback `other`, which is always valid and never listed):  \n`coding`, `design`, `research`, `infrastructure`, `writing`, `data`, `review`, `planning`.\n\nNegotiate keep \u002F trim \u002F add \u002F override. Each configured type maps to a rubric id:\n\n```json\n{\n  \"taskTypes\": {\n    \"coding\": { \"rubric\": \"coding\" },\n    \"my-type\": { \"rubric\": \"generic\" }\n  }\n}\n```\n\n- Shorthand `\"coding\": \"coding\"` is also valid.\n- **Custom types default to the `generic` rubric** unless the user picks or authors another.\n- Omitting `taskTypes` entirely means shipped defaults — prefer omit when the user wants the full shipped set unchanged.\n\nDone when the effective type set is confirmed.\n\n### 3. Rubrics (skippable wholesale)\n\nAsk once: \"Edit any rubrics now, or keep shipped\u002Fgeneric defaults?\" If skip → leave `.parley\u002Frubrics\u002F` alone and continue.\n\nIf editing:\n\n- Shape: `{ \"id\", \"version\", \"criteria\": [{ \"id\", \"kind\": \"positive\"|\"negative\", \"weight\": \u003Cpositive int>, \"text\" }] }`.\n- One file per rubric: `.parley\u002Frubrics\u002F\u003Cid>.json` (`id` must match the filename stem).\n- **Bump `version` on every criteria edit** (integer; lint warns if criteria diverge from a shipped rubric at the same version).\n- Shipped rubrics resolve without project files; only write a file when customizing or adding. Materialize from an existing project file when present; otherwise author the full document from the interview.\n- Custom types without their own file keep resolving to `generic`.\n\nDone when the user accepts the rubric set (or explicitly skipped).\n\n### 4. Classification guidance\n\nSizes and difficulties are project-owned how-to-classify lines in `.parley\u002Fclassification.json`. Shipped ids:\n\n- sizes: `XS` `S` `M` `L` `XL`\n- difficulties: `trivial` `easy` `medium` `hard` `extreme`\n\n```json\n{\n  \"version\": 1,\n  \"sizes\": [{ \"id\": \"M\", \"guidance\": \"…\" }],\n  \"difficulties\": [{ \"id\": \"hard\", \"guidance\": \"…\" }]\n}\n```\n\nWalk guidance only where the user wants project-specific wording; omit the file entirely when shipped guidance is fine. Bump `version` when changing guidance. Every entry needs non-empty `guidance`.\n\nDone when the user accepts guidance (or shipped defaults).\n\n### 5. Retention\n\nDaemon-side only: how long terminal task data is kept before `parley gc` may purge it (rows, logs, worktrees — never branches). Default **30** days.\n\n```\nparley config set retention.days 30\n```\n\nDone when the user confirms the number of days.\n\n### 6. Resume and retries\n\nShared settings (respect [settings scope](#0-settings-scope--always-the-first-prompt); merge with eval\u002FtaskTypes on the same layer):\n\n| Key | Default | Meaning |\n| --- | --- | --- |\n| `resume.enabled` | `true` | `parley fix` resumes the parent vendor session |\n| `retry.max` | `1` | Max *resumed* fixes per attempt chain |\n| `retry.window` | `\"30m\"` | Freshness window for resume (`30m`, `90s`, bare ms) |\n\nConfirm each; only write keys that differ from what is already effective.\n\n- Project scope → `.parley\u002Fconfig.json`\n- Global \u002F both (global side) → `parley config set resume.enabled|retry.max|retry.window …` (or home `config.json`)\n\nDone when resume\u002Fretry policy is confirmed.\n\n### 7. Remote daemon\n\nOnly when the daemon runs elsewhere (or the user asks). Otherwise leave unset so the CLI auto-spawns locally.\n\n```\nparley config set daemon.url \"http:\u002F\u002Fhost:port\"\n```\n\nUnset with `parley config unset daemon.url` when returning to local. Done when local-vs-remote is confirmed.\n\n### 8. Vendors and models\n\nProbe PATH (stage 0). For each vendor the user wants:\n\n- Confirm the CLI is installed and credentials exist (vendor-specific env \u002F login).\n- Pick a **child channel** (transport) from the defaults table below — set it only when it differs from the adapter default, or when the user chooses an alternate.\n- **Pick model+effort combos (allowlist)** — required; see below. Deny-by-default: a vendor with no allowlist cannot be delegated to.\n- Optional overrides: `parley config set vendors.\u003Cid>.bin|args|env|plugin|childChannel …`\n- Named profiles for real use-cases (shortcuts on top of the allowlist):  \n  `parley config set profiles.\u003Cname>.vendor \u003Cid>` (+ `.model`, `.effort` as needed; must be allowlisted combos).\n\n#### Model+effort allowlist (required per vendor)\n\n**Breaking \u002F deny-by-default:** until `vendors.\u003Cid>.models` is set, `parley delegate -v \u003Cid>` fails fast and points here. The advisory catalog (`parley models`) is for discovery only — the allowlist is the authority.\n\nFor each vendor, walk:\n\n1. **Refresh discovery** (optional but recommended) — see [Model discovery](#model-discovery) below — then show catalog models\u002Fefforts for that vendor.\n2. **Pick combos** — which model+effort pairs are allowed. Prefer catalog ids\u002Fefforts when present; free-entry (hand-typed model or effort) is fine when the catalog is empty or incomplete. Efforts are **explicit**: listing a model does not unlock max\u002Fultra-class levels unless the user names them.\n3. **Mark one default** — exactly one combo is the default used when `parley delegate` omits `-m`\u002F`-e`. If none is marked, omit-model\u002Feffort delegates fail with an error that says so.\n4. **Optional hints** — free-text per model, surfaced by `parley info` so orchestrators know when to pick that model.\n\nWrite the map with `parley config set` (JSON value), e.g.:\n\n```\nparley config set vendors.codex.models '{\n  \"gpt-5.4\": {\n    \"efforts\": [\"low\", \"medium\", \"high\"],\n    \"default\": \"medium\",\n    \"hint\": \"daily coding driver\"\n  },\n  \"o3\": {\n    \"efforts\": [\"medium\"],\n    \"hint\": \"hard reasoning only\"\n  }\n}'\n```\n\nField rules:\n\n| Field | Shape | Notes |\n| --- | --- | --- |\n| `efforts` | `string[]` (required) | Explicit allowlist. Empty ⇒ model allowed only with no effort (effort-less vendors). |\n| `default` | `true` or `\"\u003Ceffort>\"` | At most one model per vendor. `true` requires exactly one effort (or empty efforts). A string names the default effort and must appear in `efforts`. |\n| `hint` | string (optional) | Orchestrator-facing guidance in `parley info`. |\n\nProfiles remain single-combo shortcuts; they do not replace the allowlist. A profile that names a disallowed combo fails at delegate time with the same error shape as a bad `-m`\u002F`-e`.\n\nDone when each enabled vendor has a non-empty allowlist, one default (unless the user explicitly wants no default and will always pass `-m`\u002F`-e`), and any hints the user wanted.\n\n#### Child-channel defaults (per vendor)\n\nChildren reach the daemon three ways: **mcp** (tool calls), **http** (curl\u002F`fetch` against `\u002Fchild\u002F*`), **cli** (`parley child report|ask|task`). Prefer the default below; **ask the user only when the note says multiple are viable**. Write with:\n\n```\nparley config set vendors.\u003Cid>.childChannel mcp|http|cli\n```\n\n| Vendor | Default | Note |\n| --- | --- | --- |\n| `claude` | `mcp` | Native streamable-HTTP MCP + headers via `--mcp-config` \u002F `--strict-mcp-config`. |\n| `cline` | `mcp` | MCP via materialized `cline_mcp_settings.json` under an isolated data-dir. |\n| `codex` | `mcp` | Strong MCP inject via `-c` \u002F `CODEX_HOME`; canonical Parley path. |\n| `gemini` | `mcp` | MCP via project `.gemini\u002Fsettings.json` (`httpUrl` + headers); no CLI MCP inject flag. |\n| `goose` | `mcp` | Streamable HTTP MCP under `GOOSE_PATH_ROOT` isolation. |\n| `grok` | `mcp` | MCP via worktree `.grok\u002Fconfig.toml` or Claude-format `.mcp.json`. |\n| `hermes` | `mcp` | MCP HTTP + headers in private `HERMES_HOME` `config.yaml`. |\n| `kilo` | `mcp` | Remote MCP via `KILO_CONFIG_CONTENT` \u002F project config. |\n| `kimi` | `mcp` | MCP client with HTTP + headers in project `mcp.json`. |\n| `openclaw` | `mcp` | Agent runtime MCP registry (not the lean `infer` probe path). |\n| `opencode` | `mcp` | Remote MCP via `OPENCODE_CONFIG_CONTENT` (raise server `timeout`). |\n| `openhands` | `mcp` | MCP HTTP\u002FSSE + headers in persistence-dir `mcp.json`. |\n| `pi` | `cli` | **No native MCP.** Default `cli` (`parley child …`). Also viable: `http` (REST via a Parley hub extension) or `mcp` only if `pi-mcp-adapter` (or equivalent) is installed — **ask which** when the user wants something other than CLI. |\n\nOmit `childChannel` when the adapter default already matches (most vendors default to `mcp`). Always set it for `pi` so the preamble teaches CLI tools instead of MCP.\n\n#### Model discovery\n\nDuring vendor\u002Fmodel setup, refresh the advisory catalog so profiles and the interview use what the vendor actually offers (ids + effort levels):\n\n```\nparley models refresh\n# equivalent: parley models --refresh\n# optional: parley models refresh --vendor \u003Cid>\n```\n\nThen show the result (`parley models` or `parley models --vendor \u003Cid> --json`).\n\n- **Live probe wins** when the vendor CLI answers.\n- **If refresh cannot fetch** (vendor missing, probe fails, empty list, or no probe hook) and the entry would be empty, the CLI fills **shipped reference catalog** entries and labels the source as a **point-in-time reference** (`shipped catalog (point-in-time reference; …)` — `fetched_at` \u002F provenance come from the catalog). Tell the user those rows are snapshot data, not a live listing. The on-disk catalog (`~\u002F.parley\u002Fmodels.json`) remains the source of truth after refresh.\n\nUse refreshed (or shipped-fallback) model ids and efforts when offering **allowlist combos** and profile `.model` \u002F `.effort` values. Profiles beat ad-hoc flags for metrics. Catalog stays advisory and hand-editable; the allowlist gates spawn.\n\nAlso offer the first-party session-provenance plugins for detected Claude Code, Codex, Grok, and Pi harnesses. `parley init` surfaces the supported plugin picker and setup commands; it installs `@useparley\u002Fplugin-claude-code`, `@useparley\u002Fplugin-codex`, `@useparley\u002Fplugin-grok`, or `@useparley\u002Fplugin-pi` through each harness's native plugin manager. These provenance plugins are unrelated to vendor adapter modules configured at `vendors.\u003Cid>.plugin`.\n\nWhen scope includes **global** (or the user wants a home-wide fallback), also offer delegate defaults:\n\n```\nparley config set defaults.vendor \u003Cid>\nparley config set defaults.profile \u003Cname>\n```\n\n(`defaults.profile` wins over `defaults.vendor` when both are set; CLI flags always win.)\n\nDone when the user confirms the vendor set, **allowlists (combos\u002Fdefault\u002Fhints)**, child channels, any profiles (and defaults, if asked).\n\n### 9. Write\n\nApply only approved diffs, honoring [settings scope](#0-settings-scope--always-the-first-prompt).\n\n**Project layer** (project-only, or project side of both) — typical `.parley\u002Fconfig.json`:\n\n```json\n{\n  \"eval\": { \"enabled\": false },\n  \"resume\": { \"enabled\": true },\n  \"retry\": { \"max\": 1, \"window\": \"30m\" },\n  \"taskTypes\": { \"coding\": { \"rubric\": \"coding\" } }\n}\n```\n\nWhen scope is **global only** or **both**, put eval\u002Fresume\u002Fretry (and `defaults.vendor` \u002F `defaults.profile`) on the **global layer** instead of duplicating them in the project file unless the user wants a project override. Example global writes:\n\n```\nparley config set eval.enabled false\nparley config set resume.enabled true\nparley config set retry.max 1\nparley config set retry.window 30m\nparley config set defaults.vendor \u003Cid>\n```\n\nWrite classification and rubric files only when those stages changed them. Do not create empty stub files.\n\nDone when disk matches the approved plan (or no writes were needed).\n\nThen go to [After writes](#after-writes).\n\n---\n\n## Targeted reconfig (`{intent}`)\n\nMap the intent to the smallest set of stages above:\n\n| Intent examples | Stages |\n| --- | --- |\n| turn eval on\u002Foff | 1 |\n| add\u002Ftrim\u002Frename types | 2, maybe 3 for new custom types |\n| edit a rubric | 3 (bump version) |\n| change size\u002Fdifficulty wording | 4 |\n| retention | 5 |\n| fix\u002Fretry policy | 6 |\n| point at a remote daemon | 7 |\n| vendors \u002F profiles \u002F models | 8 |\n\nAsk the settings-scope question first (stage 0), even for targeted reconfiguration. Then load current state (stage 0b), change only what the intent needs, show diffs, write, then [After writes](#after-writes).\n\n---\n\n## After writes\n\n### Lint\n\n```\nparley lint\n```\n\nMust exit 0. Fix every error with the user before offering a dry run. Warnings (e.g. rubric version-bump reminders) are callouts — address or consciously keep.\n\n### Dry-run offer (token-cost warning)\n\n**Before launching anything**, warn explicitly:\n\n> A dry run still spawns a real vendor child and **consumes tokens**. It records no task row (`--dry-run`), but it is not free. Proceed only if you accept that cost.\n\nOnly after the user consents:\n\n```\nparley delegate -v \u003Cvendor> -n wizard-dry --session wizard-dry --dry-run \\\n  \"Reply via submit_report with outcome success and a one-line summary. Change no files.\"\n```\n\nUse a profile instead of `-v` when they configured one. Prefer a throwaway session id. Optionally `parley watch --json --session wizard-dry` if they want to see completion — still costs tokens while the child runs.\n\nSkip the dry run entirely when the user declines. Done when lint is clean and the dry-run choice is resolved.\n\n---\n\n## Surfaces (where things live)\n\n| Concern | Surface |\n| --- | --- |\n| eval, resume, retry, taskTypes (project override) | `.parley\u002Fconfig.json` |\n| eval, resume, retry, taskTypes (global defaults) | `parley config` → `~\u002F.parley\u002Fparley.json` and\u002For `~\u002F.parley\u002Fconfig.json` |\n| size\u002Fdifficulty guidance | `.parley\u002Fclassification.json` |\n| custom\u002Fedited rubrics | `.parley\u002Frubrics\u002F\u003Cid>.json` |\n| retention, daemon.url, vendors, profiles, defaults.vendor\u002Fprofile | `parley config` (daemon home) |\n| model catalog | `parley models` → `~\u002F.parley\u002Fmodels.json` |\n| validate project files | `parley lint` |\n\nResolution order for project-settings keys: shipped defaults \u003C global home \u003C project. Missing project files mean that layer is empty — still valid. `other` is always a valid `--type`; it is not listed in `taskTypes`.\n\nOrchestrator loop after setup: install `parley-delegate` (`parley init`) and use that skill for delegate → watch → review.\n","# Configuring parley\n\nWalk the user to a correct project setup through conversation. Two branches:\n\n| Invocation | Path |\n| --- | --- |\n| `\u002Fparley-wizard`, `init`, or \"set up parley\" | **Full interview** — every area below, in order |\n| `\u002Fparley-wizard {intent}` (e.g. \"turn eval on\", \"add a type\", \"change retention\") | **Targeted reconfig** — only that intent's steps, then lint + verification offer |\n\n**Ground rules (every run):**\n\n1. **Ask scope first, then start from what exists.** The first prompt always chooses project, global, or both. Then load current project and daemon settings. Never factory-reset; never wipe files the user didn't ask to change.\n2. **Accepting everything is a no-op.** If the user keeps every current value (or every shipped default when nothing is written yet), write nothing.\n3. **Show before write.** Diff or full content of every file you are about to create or change; wait for approval.\n4. **Layers: project, global, daemon.** Project files live under `.parley\u002F` in the repo. Shared project-settings (eval, resume, retry, optional taskTypes) may also live in the global home layer (`~\u002F.parley\u002Fparley.json` and\u002For `~\u002F.parley\u002Fconfig.json`); project overrides global per key. Daemon-only keys (`retention.days`, `daemon.url`, vendors, profiles, `defaults.vendor` \u002F `defaults.profile`) go through `parley config` — same surface for local and remote daemons. Effective resolution: shipped defaults \u003C global home \u003C project.\n5. **Finish with lint, then offer a dry run.** See [After writes](#after-writes).\n\n---\n\n## Full interview (`init`)\n\nWork the stages in order. Each stage ends when the user confirms the value (or accepts the current\u002Fdefault). Rubric editing is skippable wholesale; every other stage still needs an explicit accept.\n\n### 0. Settings scope — always the first prompt\n\nBefore reading config or asking any setting value, always ask:\n\n> Where should shared project settings be configured: this project only, your global defaults, or both?\n\nExplain the choices accurately:\n\n- **Project only** — `.parley\u002Fconfig.json`; may hold only the per-key layered settings `eval`, `resume`, `retry`, and `taskTypes`.\n- **Global defaults** — the home layer; may provide shared `eval`, `resume`, `retry`, and `taskTypes` defaults. Daemon-only settings still live in `~\u002F.parley\u002Fparley.json`.\n- **Both** — global shared defaults plus intentional project overrides\u002Fproject-owned types.\n\nUse `$PARLEY_HOME` when set instead of `~\u002F.parley`. Existing global files never suppress this question. The selected scope controls only layerable project settings. Daemon-only keys (`vendors`, `profiles`, `defaults.vendor`, `defaults.profile`, `retention.days`, and `daemon.url`) always go to the home `parley.json` through `parley config`, regardless of this choice.\n\nDone when the user explicitly chooses project, global, or both.\n\n### 0b. Load current state\n\nFrom the project root:\n\n```\nls -la .parley\u002F .parley\u002Frubrics\u002F 2>\u002Fdev\u002Fnull\ncat .parley\u002Fconfig.json 2>\u002Fdev\u002Fnull\ncat .parley\u002Fclassification.json 2>\u002Fdev\u002Fnull\nls \"${PARLEY_HOME:-$HOME\u002F.parley}\u002Fparley.json\" \"${PARLEY_HOME:-$HOME\u002F.parley}\u002Fconfig.json\" 2>\u002Fdev\u002Fnull\nparley config show --json 2>\u002Fdev\u002Fnull\nparley models --json 2>\u002Fdev\u002Fnull\ncommand -v codex grok claude gemini opencode goose pi cline kilo openhands hermes openclaw kimi 2>\u002Fdev\u002Fnull\n```\n\nSummarize what is already configured vs still at shipped defaults — including whether a **global home config** is present. Preserve the scope choice already made; discovery never silently changes it. Done when you know the baseline you will edit from.\n\n### 1. Evaluation on\u002Foff\n\nDefault is **OFF**. Ask whether structured evaluation of completed tasks should be required (word as \"this project\" when scope is project-only; as a shared default when scope includes global).\n\n**Cost warning (always state when enabling):** turning eval on means every reviewed task needs `parley eval … --answers` (and session provenance when eval is on). That is orchestrator token cost and process overhead — not free. Prefer OFF unless the user wants metrics and scored rubrics.\n\nWrite according to [settings scope](#0-settings-scope--always-the-first-prompt):\n\n```json\n{ \"eval\": { \"enabled\": false } }\n```\n\n- Project (or project side of both) → `.parley\u002Fconfig.json`\n- Global (or global side of both) → `parley config set eval.enabled false` (or home `config.json`)\n\nDone when the user confirms on or off.\n\n### 2. Task types\n\nShipped set (8 + automatic fallback `other`, which is always valid and never listed):  \n`coding`, `design`, `research`, `infrastructure`, `writing`, `data`, `review`, `planning`.\n\nNegotiate keep \u002F trim \u002F add \u002F override. Each configured type maps to a rubric id:\n\n```json\n{\n  \"taskTypes\": {\n    \"coding\": { \"rubric\": \"coding\" },\n    \"my-type\": { \"rubric\": \"generic\" }\n  }\n}\n```\n\n- Shorthand `\"coding\": \"coding\"` is also valid.\n- **Custom types default to the `generic` rubric** unless the user picks or authors another.\n- Omitting `taskTypes` entirely means shipped defaults — prefer omit when the user wants the full shipped set unchanged.\n\nDone when the effective type set is confirmed.\n\n### 3. Rubrics (skippable wholesale)\n\nAsk once: \"Edit any rubrics now, or keep shipped\u002Fgeneric defaults?\" If skip → leave `.parley\u002Frubrics\u002F` alone and continue.\n\nIf editing:\n\n- Shape: `{ \"id\", \"version\", \"criteria\": [{ \"id\", \"kind\": \"positive\"|\"negative\", \"weight\": \u003Cpositive int>, \"text\" }] }`.\n- One file per rubric: `.parley\u002Frubrics\u002F\u003Cid>.json` (`id` must match the filename stem).\n- **Bump `version` on every criteria edit** (integer; lint warns if criteria diverge from a shipped rubric at the same version).\n- Shipped rubrics resolve without project files; only write a file when customizing or adding. Materialize from an existing project file when present; otherwise author the full document from the interview.\n- Custom types without their own file keep resolving to `generic`.\n\nDone when the user accepts the rubric set (or explicitly skipped).\n\n### 4. Classification guidance\n\nSizes and difficulties are project-owned how-to-classify lines in `.parley\u002Fclassification.json`. Shipped ids:\n\n- sizes: `XS` `S` `M` `L` `XL`\n- difficulties: `trivial` `easy` `medium` `hard` `extreme`\n\n```json\n{\n  \"version\": 1,\n  \"sizes\": [{ \"id\": \"M\", \"guidance\": \"…\" }],\n  \"difficulties\": [{ \"id\": \"hard\", \"guidance\": \"…\" }]\n}\n```\n\nWalk guidance only where the user wants project-specific wording; omit the file entirely when shipped guidance is fine. Bump `version` when changing guidance. Every entry needs non-empty `guidance`.\n\nDone when the user accepts guidance (or shipped defaults).\n\n### 5. Retention\n\nDaemon-side only: how long terminal task data is kept before `parley gc` may purge it (rows, logs, worktrees — never branches). Default **30** days.\n\n```\nparley config set retention.days 30\n```\n\nDone when the user confirms the number of days.\n\n### 6. Resume and retries\n\nShared settings (respect [settings scope](#0-settings-scope--always-the-first-prompt); merge with eval\u002FtaskTypes on the same layer):\n\n| Key | Default | Meaning |\n| --- | --- | --- |\n| `resume.enabled` | `true` | `parley fix` resumes the parent vendor session |\n| `retry.max` | `1` | Max *resumed* fixes per attempt chain |\n| `retry.window` | `\"30m\"` | Freshness window for resume (`30m`, `90s`, bare ms) |\n\nConfirm each; only write keys that differ from what is already effective.\n\n- Project scope → `.parley\u002Fconfig.json`\n- Global \u002F both (global side) → `parley config set resume.enabled|retry.max|retry.window …` (or home `config.json`)\n\nDone when resume\u002Fretry policy is confirmed.\n\n### 7. Remote daemon\n\nOnly when the daemon runs elsewhere (or the user asks). Otherwise leave unset so the CLI auto-spawns locally.\n\n```\nparley config set daemon.url \"http:\u002F\u002Fhost:port\"\n```\n\nUnset with `parley config unset daemon.url` when returning to local. Done when local-vs-remote is confirmed.\n\n### 8. Vendors and models\n\nProbe PATH (stage 0). For each vendor the user wants:\n\n- Confirm the CLI is installed and credentials exist (vendor-specific env \u002F login).\n- Pick a **child channel** (transport) from the defaults table below — set it only when it differs from the adapter default, or when the user chooses an alternate.\n- **Pick model+effort combos (allowlist)** — required; see below. Deny-by-default: a vendor with no allowlist cannot be delegated to.\n- Optional overrides: `parley config set vendors.\u003Cid>.bin|args|env|plugin|childChannel …`\n- Named profiles for real use-cases (shortcuts on top of the allowlist):  \n  `parley config set profiles.\u003Cname>.vendor \u003Cid>` (+ `.model`, `.effort` as needed; must be allowlisted combos).\n\n#### Model+effort allowlist (required per vendor)\n\n**Breaking \u002F deny-by-default:** until `vendors.\u003Cid>.models` is set, `parley delegate -v \u003Cid>` fails fast and points here. The advisory catalog (`parley models`) is for discovery only — the allowlist is the authority.\n\nFor each vendor, walk:\n\n1. **Refresh discovery** (optional but recommended) — see [Model discovery](#model-discovery) below — then show catalog models\u002Fefforts for that vendor.\n2. **Pick combos** — which model+effort pairs are allowed. Prefer catalog ids\u002Fefforts when present; free-entry (hand-typed model or effort) is fine when the catalog is empty or incomplete. Efforts are **explicit**: listing a model does not unlock max\u002Fultra-class levels unless the user names them.\n3. **Mark one default** — exactly one combo is the default used when `parley delegate` omits `-m`\u002F`-e`. If none is marked, omit-model\u002Feffort delegates fail with an error that says so.\n4. **Optional hints** — free-text per model, surfaced by `parley info` so orchestrators know when to pick that model.\n\nWrite the map with `parley config set` (JSON value), e.g.:\n\n```\nparley config set vendors.codex.models '{\n  \"gpt-5.4\": {\n    \"efforts\": [\"low\", \"medium\", \"high\"],\n    \"default\": \"medium\",\n    \"hint\": \"daily coding driver\"\n  },\n  \"o3\": {\n    \"efforts\": [\"medium\"],\n    \"hint\": \"hard reasoning only\"\n  }\n}'\n```\n\nField rules:\n\n| Field | Shape | Notes |\n| --- | --- | --- |\n| `efforts` | `string[]` (required) | Explicit allowlist. Empty ⇒ model allowed only with no effort (effort-less vendors). |\n| `default` | `true` or `\"\u003Ceffort>\"` | At most one model per vendor. `true` requires exactly one effort (or empty efforts). A string names the default effort and must appear in `efforts`. |\n| `hint` | string (optional) | Orchestrator-facing guidance in `parley info`. |\n\nProfiles remain single-combo shortcuts; they do not replace the allowlist. A profile that names a disallowed combo fails at delegate time with the same error shape as a bad `-m`\u002F`-e`.\n\nDone when each enabled vendor has a non-empty allowlist, one default (unless the user explicitly wants no default and will always pass `-m`\u002F`-e`), and any hints the user wanted.\n\n#### Child-channel defaults (per vendor)\n\nChildren reach the daemon three ways: **mcp** (tool calls), **http** (curl\u002F`fetch` against `\u002Fchild\u002F*`), **cli** (`parley child report|ask|task`). Prefer the default below; **ask the user only when the note says multiple are viable**. Write with:\n\n```\nparley config set vendors.\u003Cid>.childChannel mcp|http|cli\n```\n\n| Vendor | Default | Note |\n| --- | --- | --- |\n| `claude` | `mcp` | Native streamable-HTTP MCP + headers via `--mcp-config` \u002F `--strict-mcp-config`. |\n| `cline` | `mcp` | MCP via materialized `cline_mcp_settings.json` under an isolated data-dir. |\n| `codex` | `mcp` | Strong MCP inject via `-c` \u002F `CODEX_HOME`; canonical Parley path. |\n| `gemini` | `mcp` | MCP via project `.gemini\u002Fsettings.json` (`httpUrl` + headers); no CLI MCP inject flag. |\n| `goose` | `mcp` | Streamable HTTP MCP under `GOOSE_PATH_ROOT` isolation. |\n| `grok` | `mcp` | MCP via worktree `.grok\u002Fconfig.toml` or Claude-format `.mcp.json`. |\n| `hermes` | `mcp` | MCP HTTP + headers in private `HERMES_HOME` `config.yaml`. |\n| `kilo` | `mcp` | Remote MCP via `KILO_CONFIG_CONTENT` \u002F project config. |\n| `kimi` | `mcp` | MCP client with HTTP + headers in project `mcp.json`. |\n| `openclaw` | `mcp` | Agent runtime MCP registry (not the lean `infer` probe path). |\n| `opencode` | `mcp` | Remote MCP via `OPENCODE_CONFIG_CONTENT` (raise server `timeout`). |\n| `openhands` | `mcp` | MCP HTTP\u002FSSE + headers in persistence-dir `mcp.json`. |\n| `pi` | `cli` | **No native MCP.** Default `cli` (`parley child …`). Also viable: `http` (REST via a Parley hub extension) or `mcp` only if `pi-mcp-adapter` (or equivalent) is installed — **ask which** when the user wants something other than CLI. |\n\nOmit `childChannel` when the adapter default already matches (most vendors default to `mcp`). Always set it for `pi` so the preamble teaches CLI tools instead of MCP.\n\n#### Model discovery\n\nDuring vendor\u002Fmodel setup, refresh the advisory catalog so profiles and the interview use what the vendor actually offers (ids + effort levels):\n\n```\nparley models refresh\n# equivalent: parley models --refresh\n# optional: parley models refresh --vendor \u003Cid>\n```\n\nThen show the result (`parley models` or `parley models --vendor \u003Cid> --json`).\n\n- **Live probe wins** when the vendor CLI answers.\n- **If refresh cannot fetch** (vendor missing, probe fails, empty list, or no probe hook) and the entry would be empty, the CLI fills **shipped reference catalog** entries and labels the source as a **point-in-time reference** (`shipped catalog (point-in-time reference; …)` — `fetched_at` \u002F provenance come from the catalog). Tell the user those rows are snapshot data, not a live listing. The on-disk catalog (`~\u002F.parley\u002Fmodels.json`) remains the source of truth after refresh.\n\nUse refreshed (or shipped-fallback) model ids and efforts when offering **allowlist combos** and profile `.model` \u002F `.effort` values. Profiles beat ad-hoc flags for metrics. Catalog stays advisory and hand-editable; the allowlist gates spawn.\n\nAlso offer the first-party session-provenance plugins for detected Claude Code, Codex, Grok, and Pi harnesses. `parley init` surfaces the supported plugin picker and setup commands; it installs `@useparley\u002Fplugin-claude-code`, `@useparley\u002Fplugin-codex`, `@useparley\u002Fplugin-grok`, or `@useparley\u002Fplugin-pi` through each harness's native plugin manager. These provenance plugins are unrelated to vendor adapter modules configured at `vendors.\u003Cid>.plugin`.\n\nWhen scope includes **global** (or the user wants a home-wide fallback), also offer delegate defaults:\n\n```\nparley config set defaults.vendor \u003Cid>\nparley config set defaults.profile \u003Cname>\n```\n\n(`defaults.profile` wins over `defaults.vendor` when both are set; CLI flags always win.)\n\nDone when the user confirms the vendor set, **allowlists (combos\u002Fdefault\u002Fhints)**, child channels, any profiles (and defaults, if asked).\n\n### 9. Write\n\nApply only approved diffs, honoring [settings scope](#0-settings-scope--always-the-first-prompt).\n\n**Project layer** (project-only, or project side of both) — typical `.parley\u002Fconfig.json`:\n\n```json\n{\n  \"eval\": { \"enabled\": false },\n  \"resume\": { \"enabled\": true },\n  \"retry\": { \"max\": 1, \"window\": \"30m\" },\n  \"taskTypes\": { \"coding\": { \"rubric\": \"coding\" } }\n}\n```\n\nWhen scope is **global only** or **both**, put eval\u002Fresume\u002Fretry (and `defaults.vendor` \u002F `defaults.profile`) on the **global layer** instead of duplicating them in the project file unless the user wants a project override. Example global writes:\n\n```\nparley config set eval.enabled false\nparley config set resume.enabled true\nparley config set retry.max 1\nparley config set retry.window 30m\nparley config set defaults.vendor \u003Cid>\n```\n\nWrite classification and rubric files only when those stages changed them. Do not create empty stub files.\n\nDone when disk matches the approved plan (or no writes were needed).\n\nThen go to [After writes](#after-writes).\n\n---\n\n## Targeted reconfig (`{intent}`)\n\nMap the intent to the smallest set of stages above:\n\n| Intent examples | Stages |\n| --- | --- |\n| turn eval on\u002Foff | 1 |\n| add\u002Ftrim\u002Frename types | 2, maybe 3 for new custom types |\n| edit a rubric | 3 (bump version) |\n| change size\u002Fdifficulty wording | 4 |\n| retention | 5 |\n| fix\u002Fretry policy | 6 |\n| point at a remote daemon | 7 |\n| vendors \u002F profiles \u002F models | 8 |\n\nAsk the settings-scope question first (stage 0), even for targeted reconfiguration. Then load current state (stage 0b), change only what the intent needs, show diffs, write, then [After writes](#after-writes).\n\n---\n\n## After writes\n\n### Lint\n\n```\nparley lint\n```\n\nMust exit 0. Fix every error with the user before offering a dry run. Warnings (e.g. rubric version-bump reminders) are callouts — address or consciously keep.\n\n### Dry-run offer (token-cost warning)\n\n**Before launching anything**, warn explicitly:\n\n> A dry run still spawns a real vendor child and **consumes tokens**. It records no task row (`--dry-run`), but it is not free. Proceed only if you accept that cost.\n\nOnly after the user consents:\n\n```\nparley delegate -v \u003Cvendor> -n wizard-dry --session wizard-dry --dry-run \\\n  \"Reply via submit_report with outcome success and a one-line summary. Change no files.\"\n```\n\nUse a profile instead of `-v` when they configured one. Prefer a throwaway session id. Optionally `parley watch --json --session wizard-dry` if they want to see completion — still costs tokens while the child runs.\n\nSkip the dry run entirely when the user declines. Done when lint is clean and the dry-run choice is resolved.\n\n---\n\n## Surfaces (where things live)\n\n| Concern | Surface |\n| --- | --- |\n| eval, resume, retry, taskTypes (project override) | `.parley\u002Fconfig.json` |\n| eval, resume, retry, taskTypes (global defaults) | `parley config` → `~\u002F.parley\u002Fparley.json` and\u002For `~\u002F.parley\u002Fconfig.json` |\n| size\u002Fdifficulty guidance | `.parley\u002Fclassification.json` |\n| custom\u002Fedited rubrics | `.parley\u002Frubrics\u002F\u003Cid>.json` |\n| retention, daemon.url, vendors, profiles, defaults.vendor\u002Fprofile | `parley config` (daemon home) |\n| model catalog | `parley models` → `~\u002F.parley\u002Fmodels.json` |\n| validate project files | `parley lint` |\n\nResolution order for project-settings keys: shipped defaults \u003C global home \u003C project. Missing project files mean that layer is empty — still valid. `other` is always a valid `--type`; it is not listed in `taskTypes`.\n\nOrchestrator loop after setup: install `parley-delegate` (`parley init`) and use that skill for delegate → watch → review.\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","61d8c2ca816e611a5421fb7249215dada95d6727","packages\u002Fcli\u002Fskills\u002Fparley-wizard","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley","https:\u002F\u002Fgithub.com\u002Ffemoral","2026-10-15 08:25:59",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":23},[32,35,38],{"tool":33,"command":34},"npx","npx skills add femoral\u002Fparley --skill parley-wizard",{"tool":36,"command":37},"bunx","bunx skills add femoral\u002Fparley --skill parley-wizard",{"tool":39,"command":40},"pnpm","pnpm dlx skills add femoral\u002Fparley --skill parley-wizard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Fskills\u002Fparley-wizard\u002FSKILL.md",[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M78D3GNHM4K92ZMJ2AK5CN20","fixture-beta","Tiny fixture skill beta for multi-skill install tests.","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Ftests\u002Ffixtures\u002Fskills-bundle\u002Ffixture-beta\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M78D3FCPMA1FYRDPB3WZSG33","fixture-alpha","Tiny fixture skill alpha for multi-skill install tests.","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Ftests\u002Ffixtures\u002Fskills-bundle\u002Ffixture-alpha\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M78D35J2PTB2EWVJD59ZVKBJ","parley-delegate","Delegate tasks to other agent CLIs (e.g codex, grok, opencode, pi, etc) with the parley CLI. Use when the user asks to delegate to other agents, or mentions parley.","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Fskills\u002Fparley-delegate\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M78D33Q44YWB06FGZ9VEGGKP","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M78D2ZG0FVDFDYQA726PKJSP","wayfinder","Plan a huge chunk of work — more than one agent session can hold — as a shared map of investigation tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M78D2X3405WZAT45XTT4G9KV","triage","Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002Ffemoral\u002Fparley\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftriage\u002FSKILL.md",[],[]]