ghost-exo

GitHub

作为 exo 工作流平台的统一入口,根据用户意图路由至构建、优化或调试三个子任务。负责连接管理、工作区确认及共享资源加载,支持新工作流创建、迭代改进及失败运行诊断。

plugins/ghost/skills/exo/SKILL.md ghostsecurity/skills

触发场景

需要创建新的 exo 工作流 希望迭代或优化现有工作流 排查特定运行 ID 的失败原因

安装

npx skills add ghostsecurity/skills --skill ghost-exo -g -y
更多选项

非标准路径

npx skills add https://github.com/ghostsecurity/skills/tree/main/plugins/ghost/skills/exo -g -y

不安装直接使用

npx skills use ghostsecurity/skills@ghost-exo

指定 Agent (Claude Code)

npx skills add ghostsecurity/skills --skill ghost-exo -a claude-code -g -y

安装 repo 全部 skill

npx skills add ghostsecurity/skills --all -g -y

预览 repo 内 skill

npx skills add ghostsecurity/skills --list

SKILL.md

Frontmatter
{
    "name": "ghost-exo",
    "license": "apache-2.0",
    "metadata": {
        "version": "1.0.0"
    },
    "description": "The single interface for building, improving, and debugging exo workflows. Routes to one of three intents. BUILD takes a rough idea through interrogation, assessment, resource creation in dependency order, and one manual run, then hands off. IMPROVE runs the observe-and-iterate loop over recent runs, proposing and applying changes behind two gates. DEBUG diagnoses one failed or misbehaving run by walking the dependency graph of everything it touched. Use whenever the user wants to create a new exo workflow, iterate on or improve an existing one, or find out why a specific run failed."
}

exo

One front door for the exo workflow lifecycle. This skill is a router. It classifies the request into one of three intents, loads the shared substrate, then loads the matching intent recipe and follows it.

Prerequisites

Exo is an agent workflow platform. Every intent drives it through an exo MCP server.

Pick the connection

Several exo connections coexist normally, one per workspace, sometimes several on one deployment. Enumerate the exo MCP servers this session has before doing anything else.

With exactly one, use it. With more than one, ask which through the structured question tool and stop until the user answers, because a wrong guess writes to the wrong workspace. Do not switch connections partway through an intent. Start over if the target changes.

Call whoami on the chosen server. It confirms the connection and returns the workspace ID. Report that ID so the user can see which workspace they are about to change. If no exo MCP tools are present or whoami fails, read resources/bootstrap.md and follow it, then call whoami again. Do not classify an intent until it succeeds.

scripts/exo-skill.py reaches the same workspace over REST, and it has to reach the same one. It reads EXO_API_URL, EXO_API_KEY, and EXO_WORKSPACE_ID from the process environment, falling back to the profile named by --profile, which is the file ${XDG_CONFIG_HOME:-~/.config}/exo/<name>.env. Pass --profile with the name of the MCP server you chose on every call, so the two cannot point at different workspaces.

Always read first

Read resources/common.md. It holds the shared substrate every intent uses: the run-walking read primitives, the DTO discovery discipline, the resource write primitives, the unprobeable nodes, and the note on why the improve intent reads the debug recipe inline rather than invoking it.

Classify the intent

If the request is about Intent Read
Why a specific run failed, what went wrong with a run_id, diagnosing one run debug intents/debug.md
Improving, iterating on, tightening, or speeding up an existing workflow over its recent runs improve intents/improve.md
Turning an idea into a new workflow, building, creating, or scaffolding a workflow build intents/build.md

Pick exactly one. If the request is genuinely ambiguous between intents, ask the user which one in a single question rather than guessing.

User interaction

Put every question to the user through the harness's structured question tool, whatever it is called here. Free-text prose questions with bullet lists or "Q1/Q2/Q3" prompts are not allowed, even when the question feels open-ended. Bucket open areas into concrete options and let the user type a custom answer instead. Batch related questions into one call so the user answers a structured form rather than a thread of replies. Respect the current limits of the tool you have, and ask directly in prose only when no structured tool is available or the answer is inherently free-form, such as a name, a metric, or a path. This applies to intent disambiguation, the build interrogation in intents/build.md, the proposal and rerun gates in intents/improve.md, and any candidate-disambiguation prompt in intents/debug.md.

Require an explicit answer at every approval, production write, credential, and rerun gate. Never attach auto-resolution to those questions.

The boundaries between intents are intentional gates, not friction to remove. A build that ends in a first run does not auto-continue into improve, because the user owns when to cross from constructing to iterating. An improve pass that finds a failed run reads the debug walk inline rather than switching intents, because the diagnosis is a sub-procedure of the loop, not a separate request.

Paths

All paths in the intent files are relative to this skill's root directory: scripts/ for executables, resources/ for shared docs and templates, intents/ for the three recipes. agents/ holds per-harness interface metadata that no recipe reads.

版本历史

  • b0334b0 当前 2026-08-28 19:13

同 Skill 集合

plugins/ghost/skills/repo-context/SKILL.md
plugins/ghost/skills/report/SKILL.md
plugins/ghost/skills/scan-deps/SKILL.md
plugins/ghost/skills/scan-secrets/SKILL.md
plugins/ghost/skills/validate/SKILL.md
plugins/ghost/skills/proxy/SKILL.md
plugins/ghost/skills/scan-code/SKILL.md

元信息

文件数
0
版本
afe9b81
Hash
aefa53a2
收录时间
2026-08-28 19:13

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 02:28
浙ICP备14020137号-1