Skip to content
Back to skills

Athena Migrate

ASecurity

从旧版本 Athena (v9.6.1 或更早) 迁移到 v9.6.2. 备份 + 应用 hotfixes + 新增字段.

  • 188 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
toolsbash

Security analysis

A100/100

Scanned September 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Athena Migrate?

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

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

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-migrate
description: |
  从旧版本 Athena (v9.6.1 或更早) 迁移到 v9.6.2. 备份 + 应用 hotfixes + 新增字段.
effort: low
---

# /athena-migrate — 版本迁移

## 触发

```
/athena-migrate                  # 检测当前版本, 自动迁移
/athena-migrate --from=9.6.1     # 显式声明源版本
/athena-migrate --repair         # 修复损坏的 _index.md
```

## v9.6.1 → v9.6.2 迁移步骤

1. **备份**: `cp .ai_state .ai_state.backup-pre-v962`
2. **更新 frontmatter schema**:
   - 加 `skip_polish`, `platforms_enabled`, `cc_version`, `cx_version`, `ag_callable`
   - 加 `tools_available.*` 字段
   - 加 `platform_features.*` 字段
   - 加 `pointers.latest_cleanup`
   - 加 `fingerprint`
3. **更新 CX 配置** (若用户用 cx):
   - `~/.codex/config.toml`: `[features] hooks=true` → `codex_hooks=true`
   - 移除 `[[hooks.*]]` TOML 块 (转移到 `~/.codex/hooks.json`)
   - 更新 `[[skills.config]]` schema: `name = "..."` → `path = "/abs/path/SKILL.md"`
   - skills 实际位置从 `~/.codex/skills/` 移到 `~/.agents/skills/_athena/`
4. **部署新文件**:
   - rules/ (cc) + standards/ (cx) 5 个文件
   - polish/SKILL.md (cc + cx)
   - polish_worker.toml (cx)
   - architect.toml, pr_explorer.toml, docs_researcher.toml (cx 端新)
   - reviewer.md (cc 端补 parity)

## 验证

```bash
# CC
ls ~/.claude/rules/*.md | wc -l    # 应 = 6 (含 _index.md)
ls ~/.claude/agents/*.md | wc -l   # 应 = 3 (evaluator, generator, reviewer)

# CX
grep "codex_hooks" ~/.codex/config.toml   # 应有
grep -c "\[\[hooks\." ~/.codex/config.toml # 应 = 0
ls ~/.agents/standards/*.md | wc -l        # 应 = 6
ls ~/.agents/skills/_athena/             # 应含 pace polish context7 augment antigravity compound
ls ~/.codex/agents/*.toml | wc -l          # 应 = 7 (evaluator/generator/reviewer/architect/pr_explorer/docs_researcher/polish_worker)
```

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.

Comments

Loading comments…