Borrowing it
Nothing to install: this file belongs to m-xlsea/ruoyi-plus-soybean. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/m-xlsea/ruoyi-plus-soybean/master/.codex/prompts/athena-setup.mdgit clone --depth 1 https://github.com/m-xlsea/ruoyi-plus-soybeanWrote 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/commands/m-xlsea/ruoyi-plus-soybean/athena-setup)<a href="https://agentmods.dev/commands/m-xlsea/ruoyi-plus-soybean/athena-setup"><img src="https://agentmods.dev/badge/commands/m-xlsea/ruoyi-plus-soybean/athena-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/commands/m-xlsea/ruoyi-plus-soybean/athena-setup"><img src="https://agentmods.dev/badge/commands/m-xlsea/ruoyi-plus-soybean/athena-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.00000 | $0.00822 |
| Opus 5 | $0.00000 | $0.00411 |
| Sonnet 5 | $0.00000 | $0.00164 |
| Haiku 4.5 | $0.00000 | $0.00082 |
Grade B, and why
athena-setup scanned grade B with 1 finding 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 9d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
`~/.codex/config.toml` 应包含 (从 cx/.codex/config.toml 拷贝): How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/athena-setup (Codex)
参考: https://developers.openai.com/codex/config-basic
Step 0: Codex 版本
codex --version
要求 ≥ v0.124 (hooks stable). v0.129+ 解锁 /hooks TUI menu.
写入 _index.md.platform_features.cx_version.
Step 1: 验证 config.toml
~/.codex/config.toml 应包含 (从 cx/.codex/config.toml 拷贝):
model = "gpt-5.5"[features] hooks = true(规范名, 非 deprecated codex_hooks)[[hooks.SessionStart]],[[hooks.PreToolUse]],[[hooks.PostToolUse]],[[hooks.Stop]][agents] max_threads = 6[[skills.config]]包含 pace / compound / context7 / superpowers
codex check config 2>&1 | head -20
Step 2: 部署 hooks
mkdir -p ~/.codex/hooks
cp cx/.codex/hooks/*.py ~/.codex/hooks/
chmod +x ~/.codex/hooks/*.py
Codex hook 列表 (Python, 6 个):
- session-start.py
- user-prompt-submit.py
- pre-bash-guard.py
- index-updater.py
- subagent-retry.py
- delivery-gate.py
⚠️ Codex hooks 当前 Windows 不支持 (官方限制, 参考 https://developers.openai.com/codex/hooks)
Step 3: 部署 skills
mkdir -p ~/.codex/skills/pace ~/.codex/skills/compound
cp -r cx/.codex/skills/pace/* ~/.codex/skills/pace/
cp -r cx/.codex/skills/compound/* ~/.codex/skills/compound/
Step 4: 部署 prompts (slash commands)
mkdir -p ~/.codex/prompts
cp cx/.codex/prompts/*.md ~/.codex/prompts/
Step 5: 部署 subagents (单 TOML 文件, 非子目录)
参考: https://developers.openai.com/codex/subagents
mkdir -p ~/.codex/agents
cp cx/.codex/agents/*.toml ~/.codex/agents/
部署后:
~/.codex/agents/evaluator.toml— 评分员 (read-only)~/.codex/agents/generator.toml— 实现者 (workspace-write)~/.codex/agents/reviewer.toml— 审查员 (read-only)
验证:
codex /agents 2>&1 | head -20
# 应列出 evaluator, generator, reviewer 三个 custom agent
Step 6: 跨项目记忆 (推荐)
Codex 暂无 claude-mem 等价物。推荐:
- 用
~/.codex/AGENTS.md全局 "## Tool Preferences" 段做轻量记忆 - 多项目用同一 ~/.codex/AGENTS.md (跨项目人工同步)
Step 7: 验证
codex --version # ≥ 0.124
ls ~/.codex/hooks/*.py | wc -l # 应 = 6
ls ~/.codex/prompts/*.md # 7 个 athena-* prompt
codex /hooks 2>&1 | head # v0.129+ TUI 显示 hook 树
cat .ai_state/_index.md | head -5 # schema_version: "9.6"
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.
- 9d ago First seen · 99 lines · 0 tokens per session scan B fdfa3e637ff8
athena-setup is a command published in the GitHub repository m-xlsea/ruoyi-plus-soybean (325 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 822 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.