Open-source skills for designing and reviewing software with AI agents
Python agent-skillsai-agentsantigravityclaude-codeclaude-code-pluginclaude-skillscodexcodex-plugincoding-agentscontext-engineeringdeveloper-toolsgeminillmmulti-agentprompt-engineeringspec-driven-development
docs(harnesses): document Muse support (#250)
Renan Kemp189b6a148131
diff --git a/TESTING.md b/TESTING.mdindex 2ca3cf5..ec86dd1 100644--- a/TESTING.md+++ b/TESTING.md@@ -128,6 +128,7 @@ A harness counts as supported after `/egm-brainstorm`, `/egm-draft`, and| OpenAI Codex CLI (v0.1.0 OpenAI ZIP) | 0.164.0-alpha.11.1 | 2026-10-29 | Pass; installed files matched ZIP | Pass (fixture) | Pass (fixture) | Pass (fixture) | `gpt-6.1-sol`, medium. Full opt-in live suite passed in 482.30s at PR commit `8bd11c5`; source `b3a35956759bf7f024af2ff061b2e0b44b438e4c`; ZIP SHA-256 `5f17b3942eaccc657621dfa550ef9fcaf626ad7d170085a9ef98a0e9e8afcefb`. The path-free workflow read all three installed `SKILL.md` files and returned the contents of `docs/codex.md`; it produced all requested artifacts and completed 15 native reviewers. Seven offline regression cases cover successful/failed reads, literal compound `cat`, and conservative rejection of `&&` and pipe commands. See the [full run report in PR #217](https://github.com/google/elephant-goldfish-model/pull/217). || ChatGPT Work | GPT-6.1 Sol, Light | 2026-10-22 | Pass; installed hashes verified | Completed | Completed | Nine native reviewers completed | Fresh probe returned UNKNOWN. Artifact download/final audit and full child tool traces remain outstanding; #106. || omp | v18.12.6 | 2026-10-27 | Pass (community install) | Not run | Not run | Not run | Community verification, not a fixture run: all seven skills discover and resolve via `skill://` in fresh headless sessions; all nine reviewer personas register as native `task` agents. TUI `/skill:` autocomplete for hidden skills unverified; end-to-end fixtures not run. Required manifest fixes: hyphenated skill directory names (underscore dirs are rejected by omp's validator) and no `$schema` key in `plugin.json` (omp's strict agent-plugins validation rejects `disable-model-invocation`); see #186. |+| Muse | 1.4.14 | 2026-10-30 | Pass (local path install + approve) | Pass (fixture) | Pass (fixture) | Pass (fixture) | Local install from a symlink-free copy of the worktree: plugin valid via Claude-compatible manifest; 7/7 skills valid with zero diagnostics and user-invocable-only activation; 9/9 agents trusted_enabled after approve; 9 tool projections unsupported (reviewers not tool-restricted); 29 validate warnings, 0 errors. Marketplace add discovers 0 plugins (Codex-catalog shadowing). End-to-end fixture (line-count design, `muse-wonder-1.0`, medium, headless `muse exec` in a temporary workspace, installed cache only; prompt named `docs/muse.md` because no skill routes there yet, [#252](https://github.com/google/elephant-goldfish-model/issues/252); approvals simulated up front, interactive approval gates not tested): brainstorm, draft, and uninterrupted review completed; 15 fresh-context reviewers completed (6 brainstorm + 9 stage reviewers across stages 5–9), stage reports sequential by timestamp, final design identical to the reviewed draft, no implementation code written. Isolation probe passed: fresh child returned `UNKNOWN` for a parent-only marker. Named reviewer agents are not spawnable in this runtime (spawn rejected `agent_definition_unavailable`), so every reviewer used the documented general-purpose fallback reading the installed persona first. Review findings on the fixture design are design findings, not workflow execution failures. Tested at commit `91407cf` (skills, agents, and manifests identical to the fixture source; guide and record wording expanded after the run). |### Interpreting native test resultsdiff --git a/distributions/claude/docs/harnesses.md b/distributions/claude/docs/harnesses.mdindex f53cfa2..8027437 100644--- a/distributions/claude/docs/harnesses.md+++ b/distributions/claude/docs/harnesses.md@@ -17,6 +17,7 @@ text.| Codex | `codex plugin marketplace add google/elephant-goldfish-model && codex plugin add egm@egm` || ChatGPT | Personal testing: Plugins > Add > Upload plugin archive; see [packaging](codex.md#chatgpt). Workspace import: Admin > Plugins > Add > Import marketplace, repo URL `https://github.com/google/elephant-goldfish-model`, path `.agents/plugins` || omp | `omp plugin marketplace add google/elephant-goldfish-model && omp plugin install egm@egm` |+| Muse | `git clone https://github.com/google/elephant-goldfish-model.git && muse plugins install ./elephant-goldfish-model --scope user && muse plugins approve egm` |Install the whole plugin. Skill-only installers that copy `skills/` alonebreak EGM, because the skills read `agents/` and@@ -69,6 +70,7 @@ while `agents/` contains reviewer personas. All hosts share the same `skills/`,| Codex | `.codex-plugin/plugin.json`, `.agents/plugins/marketplace.json` | `skills` path | Not shipped; general-purpose subagent reads the persona file || ChatGPT | `plugin.json`, `.codex-plugin/plugin.json`; `.agents/plugins/marketplace.json` for workspace import | `skills` path | Detect native tools in the current session; general-purpose agent reads the persona || omp | `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json` (Claude-compatible fallback) | `skills/` (default) | Personas from `agents/`/`.claude-plugin/agents/` register as native `task` agents |+| Muse | `.claude-plugin/plugin.json` (Claude-compatible fallback) | `skills/` (default) | 9 adapters import as agents; tool projections unsupported |Persona prompts live in `agents/`, the directory Antigravityscans for subagents. Each persona has `name` and `description` frontmatter, so@@ -94,6 +96,7 @@ phrase to its own tool:| Codex | Native spawn/wait tools; inspect the available schema | No | Detect at runtime; direct dispatch fallback || ChatGPT | Native spawn/wait tools when exposed by the current Work session | No | Detect at runtime; direct dispatch fallback || omp | `task` tool | Yes | Yes |+| Muse | Native subagents; inspect the available schema | Named spawn rejected in 1.4.14; general-purpose fallback verified | Detect at runtime; direct dispatch fallback |Where a harness has no named persona, the skill spawns a general-purposesubagent and tells it to read `agents/<file>.md` first. If a harness cannot@@ -130,6 +133,8 @@ the project has no `CLAUDE.md`. To keep the files out of git, add the folder to**omp** ([#186](https://github.com/google/elephant-goldfish-model/issues/186)) has a working installation path. Skills are invoked as `/skill:egm-<command>` (omp registers one command per skill; it has no `/egm-*` namespace). Community-verified on omp v18.12.6: all seven skills discover and resolve, and all nine reviewer personas register as subagents. End-to-end workflow fixtures are not yet automated for omp.+**Muse** (1.4.14) has a working installation path. `muse plugins validate` reports the plugin valid with all seven skills and all nine agent adapters supported; every agent tool projection is unsupported, so Claude tool allowlists do not restrict Muse reviewers. Install from a local path; `marketplace add` on this repository discovers zero plugins because Muse reads the Codex catalog first. End-to-end workflow fixtures passed on 2026-10-30 (brainstorm, draft, and uninterrupted review with 15 fresh-context reviewers); named `egm/egm-*` agents cannot be spawned in this runtime, so reviewers used the general-purpose fallback reading the installed persona first. See the [Muse guide](https://github.com/google/elephant-goldfish-model/blob/main/docs/muse.md). No skill routes a Muse session to that guide yet ([#252](https://github.com/google/elephant-goldfish-model/issues/252)), so point the session at it.+See the [harness test record](https://github.com/google/elephant-goldfish-model/blob/main/TESTING.md#harness-test-record) for tested surfaces and limits.We welcome contributors who want to help verify and expand harness support.diff --git a/docs/harnesses.md b/docs/harnesses.mdindex f53cfa2..8027437 100644--- a/docs/harnesses.md+++ b/docs/harnesses.md@@ -17,6 +17,7 @@ text.| Codex | `codex plugin marketplace add google/elephant-goldfish-model && codex plugin add egm@egm` || ChatGPT | Personal testing: Plugins > Add > Upload plugin archive; see [packaging](codex.md#chatgpt). Workspace import: Admin > Plugins > Add > Import marketplace, repo URL `https://github.com/google/elephant-goldfish-model`, path `.agents/plugins` || omp | `omp plugin marketplace add google/elephant-goldfish-model && omp plugin install egm@egm` |+| Muse | `git clone https://github.com/google/elephant-goldfish-model.git && muse plugins install ./elephant-goldfish-model --scope user && muse plugins approve egm` |Install the whole plugin. Skill-only installers that copy `skills/` alonebreak EGM, because the skills read `agents/` and@@ -69,6 +70,7 @@ while `agents/` contains reviewer personas. All hosts share the same `skills/`,| Codex | `.codex-plugin/plugin.json`, `.agents/plugins/marketplace.json` | `skills` path | Not shipped; general-purpose subagent reads the persona file || ChatGPT | `plugin.json`, `.codex-plugin/plugin.json`; `.agents/plugins/marketplace.json` for workspace import | `skills` path | Detect native tools in the current session; general-purpose agent reads the persona || omp | `.claude-plugin/plugin.json`, `.claude-plugin/marketplace.json` (Claude-compatible fallback) | `skills/` (default) | Personas from `agents/`/`.claude-plugin/agents/` register as native `task` agents |+| Muse | `.claude-plugin/plugin.json` (Claude-compatible fallback) | `skills/` (default) | 9 adapters import as agents; tool projections unsupported |Persona prompts live in `agents/`, the directory Antigravityscans for subagents. Each persona has `name` and `description` frontmatter, so@@ -94,6 +96,7 @@ phrase to its own tool:| Codex | Native spawn/wait tools; inspect the available schema | No | Detect at runtime; direct dispatch fallback || ChatGPT | Native spawn/wait tools when exposed by the current Work session | No | Detect at runtime; direct dispatch fallback || omp | `task` tool | Yes | Yes |+| Muse | Native subagents; inspect the available schema | Named spawn rejected in 1.4.14; general-purpose fallback verified | Detect at runtime; direct dispatch fallback |Where a harness has no named persona, the skill spawns a general-purposesubagent and tells it to read `agents/<file>.md` first. If a harness cannot@@ -130,6 +133,8 @@ the project has no `CLAUDE.md`. To keep the files out of git, add the folder to**omp** ([#186](https://github.com/google/elephant-goldfish-model/issues/186)) has a working installation path. Skills are invoked as `/skill:egm-<command>` (omp registers one command per skill; it has no `/egm-*` namespace). Community-verified on omp v18.12.6: all seven skills discover and resolve, and all nine reviewer personas register as subagents. End-to-end workflow fixtures are not yet automated for omp.+**Muse** (1.4.14) has a working installation path. `muse plugins validate` reports the plugin valid with all seven skills and all nine agent adapters supported; every agent tool projection is unsupported, so Claude tool allowlists do not restrict Muse reviewers. Install from a local path; `marketplace add` on this repository discovers zero plugins because Muse reads the Codex catalog first. End-to-end workflow fixtures passed on 2026-10-30 (brainstorm, draft, and uninterrupted review with 15 fresh-context reviewers); named `egm/egm-*` agents cannot be spawned in this runtime, so reviewers used the general-purpose fallback reading the installed persona first. See the [Muse guide](https://github.com/google/elephant-goldfish-model/blob/main/docs/muse.md). No skill routes a Muse session to that guide yet ([#252](https://github.com/google/elephant-goldfish-model/issues/252)), so point the session at it.+See the [harness test record](https://github.com/google/elephant-goldfish-model/blob/main/TESTING.md#harness-test-record) for tested surfaces and limits.We welcome contributors who want to help verify and expand harness support.diff --git a/docs/muse.md b/docs/muse.mdnew file mode 100644index 0000000..afbf40a--- /dev/null+++ b/docs/muse.md@@ -0,0 +1,117 @@+<!--+Copyright 2026 Google LLC.+SPDX-License-Identifier: Apache-2.0+-->++# Muse integration++Muse loads EGM through its Claude-compatible plugin path: no Muse-native+manifest is needed. The plugin validates with all seven skills and all nine+agent adapters supported: seven reviewers, the synthesizer, and the bootstrap+orchestrator.++The skills route Codex and Claude sessions to their guides, but not Muse+sessions. A Muse session doesn't read this file unless you point it here.++## Install and locate the plugin++Install the whole plugin, including its personas and standards, from a local+path:++```sh+git clone https://github.com/google/elephant-goldfish-model.git+muse plugins install ./elephant-goldfish-model --scope user+muse plugins approve egm+```++`marketplace add` on this repository discovers zero plugins: Muse reads the+Codex catalog (`.agents/plugins/marketplace.json`) first and skips its entry,+so it never falls through to the Claude catalog. Install from a local path+instead, and keep the source free of symlinks (remove scratch directories+such as `.venv/` first; the installer rejects symlink entries). Approval is+required once: skills stay active without review while+the plugin is enabled, but the nine agent definitions need+`approve` before activation.++Start a fresh session after installation. The skills surface as+`plugin:egm:egm-*` with user-invocable-only activation; confirm with+`muse skills list --source plugin`. That prints `plugin://` URIs, not+filesystem paths; get the installed path from the `cache=` field of+`muse plugins inspect egm`. Do not assume a particular cache directory,+version, or checkout location.++From `<plugin>/skills/<skill>/SKILL.md`, the plugin root is three parent+directories above the file. Resolve bundled `agents/`, `resources/`, and+`docs/` paths against that root. Resolve `references/` against the active+skill's directory. Resolve user documents and generated artifacts against+the user's working directory. Never substitute similarly named files in the+user's project for bundled personas or standards.++Offline pre-check without installing: `muse plugins validate <path>`+reports the plugin valid with 7 supported skills and 9 supported agents.+Warnings are expected (`multiple-manifests` picks the Claude manifest over+the Codex one; Claude-only fields such as presentation metadata, `color`,+and unknown agent frontmatter keys are ignored). Installing or discovering+the plugin alone does not establish end-to-end workflow support.++## Fresh-context reviewers++Muse imports the nine Claude adapters as supported agent+definitions (`egm/egm-design`, `egm/egm-comprehension`, and so on), but+every agent tool projection is unsupported: Claude tool allowlists do not+restrict Muse reviewers, so do not assume reviewers are read-only. Inspect+the available native subagent tool schema before dispatching; tool names can+be namespaced and vary by Muse version.++Use a named reviewer agent when the session exposes it, and pass absolute+paths to the persona, standards, target document, and explicitly selected+reading list. Do not pass the parent transcript, private reasoning, or+answers the document is supposed to explain. When named agents are+unavailable, fall back to a general-purpose subagent that reads the persona+file first. Match it by `name` frontmatter, not filename: `egm-design` is+`agents/design_critic.md`. On Muse 1.4.14 the named `egm/egm-*`+definitions report `trusted_enabled` in the plugin inventory but spawning+one is rejected (`agent_definition_unavailable`), so the general-purpose+fallback is the working path in practice.++Require the reviewer to read its persona, target, and every supplied standard+before returning findings. A missing read or inaccessible file is an incomplete+review, not a clean result. Verify native tool results when the host exposes+them; a parent-written completion summary is not equivalent evidence.++Wait for actual reviewer completion before synthesizing findings. Propagate+failures and timeouts; a launched reviewer is not a completed review. If+nesting is unavailable, dispatch reviewers directly from the parent while+preserving the same isolation. If the available tool cannot establish a fresh+context, stop the Goldfish review and report that limitation.++Fresh conversation context does not isolate the filesystem, configured memory+services, or project instructions. Do not retrieve conversation history or+memory to supply missing design context. An isolation test should use a unique+parent-only marker and check the actual child result, not the parent's claim.++## Questions and artifacts++The shared skills' question payloads describe the intended interaction, not a+literal Muse API. Use a structured question tool only when it is available+and permitted in the current mode, mapping to its actual schema. Otherwise+ask one plain-text question and wait for the answer. Preserve the skill's+readiness and section approval gates; tool unavailability is not approval.++Link generated artifacts with absolute-path Markdown links such as+`[design draft](/absolute/project/design_draft.md)`. For paths containing+spaces use `[design draft](</absolute/my project/design_draft.md>)`.+Do not use `file://` links in Muse chat.++## Verification++Run the offline packaging checks with `pytest tests/unit`. The end-to-end+workflow fixture (brainstorm, draft, and uninterrupted review through the+installed plugin) passed on Muse 1.4.14 on 2026-10-30 with the+general-purpose reviewer fallback described above. The prompt named this guide+and it ran headless with approvals simulated up front, so skill routing,+interactive approval gates, and chat link rendering are untested; see the+[harness test+record](https://github.com/google/elephant-goldfish-model/blob/main/TESTING.md#harness-test-record).+Installing or discovering the plugin alone does not establish end-to-end+workflow support.diff --git a/tests/unit/test_harnesses.py b/tests/unit/test_harnesses.pyindex ca4b031..b0eb932 100644--- a/tests/unit/test_harnesses.py+++ b/tests/unit/test_harnesses.py@@ -195,6 +195,7 @@ def test_claude_manifest_agents_and_shared_personas_resolve() -> None:def test_bundled_prompt_dependencies_and_harness_guides() -> None:assert (ROOT / "docs/claude.md").is_file()assert (ROOT / "docs/codex.md").is_file()+ assert (ROOT / "docs/muse.md").is_file()skills = list((ROOT / "skills").glob("*/SKILL.md"))for skill in skills:text = skill.read_text(encoding="utf-8")