Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Yuri-NagaSaki/subagent-skills --skill sol-luna-setupgit clone --depth 1 https://github.com/Yuri-NagaSaki/subagent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yuri-nagasaki/subagent-skills/sol-luna-setup)<a href="https://agentmods.dev/skills/yuri-nagasaki/subagent-skills/sol-luna-setup"><img src="https://agentmods.dev/badge/skills/yuri-nagasaki/subagent-skills/sol-luna-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yuri-nagasaki/subagent-skills/sol-luna-setup"><img src="https://agentmods.dev/badge/skills/yuri-nagasaki/subagent-skills/sol-luna-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00159 | $0.01967 |
| Opus 5 | $0.00079 | $0.00983 |
| Sonnet 5 | $0.00032 | $0.00393 |
| Haiku 4.5 | $0.00016 | $0.00197 |
Grade D, and why
sol-luna-setup scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
# 或 curl -fsSL https://pi.dev/install.sh | sh Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
写入 `~/.codex/config.toml`(仅个人默认): Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
# 或 curl -fsSL https://pi.dev/install.sh | sh How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sol + Luna 分层子代理 Setup Skill
Install:
npx skills add Yuri-NagaSaki/subagent-skills -g -y
Repo: https://github.com/Yuri-NagaSaki/subagent-skills
Guide: https://catcat.blog/2026/08/sol-luna-layered-subagents-codex-claude-pi.html
目标
在不把密钥写入仓库的前提下,让项目具备:
- 主会话 gpt-5.6-sol(领导)
- 工人 gpt-5.6-luna(scout / worker / critic / tester)
- 项目级配置可 git 共享
- 可验证的冒烟结果
硬性安全规则
- 永远不要把 API Key、主机 IP、SSH 密码、私钥写进
config.toml、AGENTS.md、README、文章正文或 git commit。 - 密钥只用环境变量:
OPENAI_API_KEY/GATEWAY_API_KEY/ANTHROPIC_API_KEY等。 model_providers.*.env_key只写变量名。- 大文件
models-v1.json默认 gitignore,用脚本生成。
前置
- Linux / macOS,Node.js 20+
- 可访问的 OpenAI-compatible Responses 端点(
wire_api = "responses") - 账号侧启用
gpt-5.6-sol与gpt-5.6-luna
标准流程(Agent 必须按序执行)
0. 探测
node -v && npm -v
command -v codex || true
command -v claude || true
command -v pi || true
test -n "${OPENAI_API_KEY:-}" && echo "OPENAI_API_KEY=set" || echo "OPENAI_API_KEY=MISSING"
若缺少 Key:停止并要求用户 export,不要在对话外落盘明文。
1. 安装 CLI
npm i -g @openai/codex @anthropic-ai/claude-code
# 可选
npm i -g @earendil-works/pi-coding-agent
# 或 curl -fsSL https://pi.dev/install.sh | sh
pi install npm:@kky42/pi-flow # 可选,需已装 pi
2. 全局个人默认(可选)
写入 ~/.codex/config.toml(仅个人默认):
model = "gpt-5.6-sol"default_subagent_model = "gpt-5.6-luna"[features] multi_agent = true,multi_agent_v2 = false(配合 V1 catalog)[model_providers.gateway]+env_key = "OPENAI_API_KEY"
不要复制用户的真实 Key 进文件。
3. 项目级模板
在项目根运行:
bash /path/to/subagent-skills/scripts/bootstrap.sh "$(pwd)"
# 或安装 skill 后:
# bash ~/.claude/skills/sol-luna-setup/scripts/bootstrap.sh "$(pwd)"
会创建/更新:
.codex/config.toml
.codex/agents/luna_{scout,worker,critic,tester}.toml
AGENTS.md
.claude/agents/luna-{scout,worker,critic}.md
CLAUDE.md
scripts/prepare-luna-catalog.sh
.gitignore 条目:.codex/models-v1.json、.env
保留用户已有无关配置;冲突时合并而非盲覆盖。
4. 修复 Sol → Luna spawn(必做)
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/project-template/.claude/agents/luna-critic.md 226 B
- references/project-template/.claude/agents/luna-scout.md 234 B
- references/project-template/.claude/agents/luna-worker.md 414 B
- references/project-template/.codex/agents/luna_critic.toml 463 B
- references/project-template/.codex/agents/luna_scout.toml 462 B
- references/project-template/.codex/agents/luna_tester.toml 473 B
- references/project-template/.codex/agents/luna_worker.toml 489 B
- references/project-template/.codex/config.toml 841 B
- references/project-template/AGENTS.md 1.1 KB
- references/project-template/CLAUDE.md 337 B
- references/project-template/scripts/prepare-luna-catalog.sh 984 B runs code
- scripts/bootstrap.sh 2.4 KB runs code
- scripts/prepare-luna-catalog.sh 984 B runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 196 lines · 159 tokens per session scan D 39244d50eb3e
sol-luna-setup is a skill published in the GitHub repository Yuri-NagaSaki/subagent-skills (12 stars, last pushed 1mo ago), licensed MIT. It adds 159 tokens to every session and 1,967 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it D with 3 findings (downloads and executes remote code, reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
rubber-duck
Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…
uctm-init
An initialization procedure for uc-taskmanager, a project task-management pipeline. It creates a works directory and, with permission, adds the file and command access the agent needs to local settings.
work-pipeline
Triggers the WORK-PIPELINE when a user request starts with a [] tag (e.g., [new-feature], [bugfix], [WORK start]). Use this skill whenever you detect a [] tag at the beginning of a user message.
code-health
Scans the codebase for dead code, tech debt, outdated dependencies, and code quality issues. Delegates to the Centinela (QA) agent.
feature-spec
Creates a complete product feature specification with acceptance criteria, scope, dependencies, and risks. Delegates to the Prometeo (PM) agent.
implement-feature
Implements a feature from its specification. Reads the spec, designs architecture, writes code and tests. Delegates to the Forja (Dev) agent.