Skip to content
Back to skills

Athena Setup

ASecurity

安装、升级、回滚、体检 Athena(CC/CX/Pi 共用核心 ~/.athena),以及把项目 .ai_state 从 9.9.x 迁到 {{athena:ATHENA_VERSION}} 时使用。

  • 186 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentsnodegit

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 19, 2026

npx -y skills add WenJunDuan/Rlues --skill athena-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Athena Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Athena Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenjunduan-athena-setup-53344bc8/badge)](https://www.skillsdirectory.com/skills/wenjunduan-athena-setup-53344bc8)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: athena-setup
description: 安装、升级、回滚、体检 Athena(CC/CX/Pi 共用核心 ~/.athena),以及把项目 .ai_state 从 9.9.x 迁到 {{athena:ATHENA_VERSION}} 时使用。
---

# athena-setup({{athena:ATHENA_VERSION}})

安装与迁移只走 CLI;9.9.x 的安装脚本、harness 补丁台账与迁移 skill 已退役(安装态漂移由 doctor 按 sha 发现)。

| 目的 | 命令 |
|---|---|
| 构建 | `node vibeCoding/athena/build.mjs`(Rlues 仓内) |
| 预演 | `ATHENA_VERSION={{athena:ATHENA_VERSION}}; ATHENA_RELEASE=${ATHENA_VERSION%%-*}; ATHENA_RELEASE=${ATHENA_RELEASE%.*}; node vibeCoding/dist/athena/$ATHENA_RELEASE/cli.cjs install --platform cc,cx --dry-run` |
| 安装 | 同上去掉 `--dry-run`;之后把 `~/.athena/bin` 加进 PATH,即可用 `athena` |
| 体检 | `athena doctor`(逐文件 sha、current 链接、node、9.9.x 残留、过期豁免) |
| 回滚 | `athena rollback`(还原上次安装替换/移走/新建的全部文件与 current 链接) |
| 项目迁移(10.1 是状态 schema,非发行版本) | `athena migrate --to 10.1 --dry-run` 看报告 → 工作树干净后去掉 `--dry-run`(自动打 tag,回滚 `git reset --hard <tag>`) |

注意:
- 安装会**合并**而不是覆盖 `~/.claude/settings.json`、`~/.codex/hooks.json`、`~/.codex/config.toml`:用户键与用户 hook 保留,Athena 旧 hook 条目换成 `~/.athena/current/hook.cjs`。
- 9.9.x 装过、当前版本不再有的文件移入 `~/.athena/backups/<ts>/`,不直接删除。
- 安装、推送、删 `.runtime` 大包都需要用户明确授权。

Files in this skill

  • SKILL.md3.6 KB
  • scripts/setup-athena.py16.6 KB
  • tests/test_setup_991.py8.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.