ruoyi-plus-soybean: Skill for Claude Code

.claude/skills/athena-init/SKILL.md

athena-init is a skill for Claude Code from m-xlsea/ruoyi-plus-soybean. It costs 32 tokens per session (1,019 once invoked), scanned A, original, MIT.

A project-initialization workflow for Athena that scans a new codebase and creates shared AI project-state files and environment scripts.

In plain words
What is it for?
Use it when starting Athena in a project to detect its languages and scripts, initialize guidance files, and create task and progress templates.
Why use it?
It records the project’s tools, commands, and working state so later coding sessions can follow the same setup.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Codex.

This is m-xlsea/ruoyi-plus-soybean's own configuration. It tells Claude Code how to work on ruoyi-plus-soybean itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ruoyi-plus-soybean configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/m-xlsea/ruoyi-plus-soybean/master/.claude/skills/athena-init/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/m-xlsea/ruoyi-plus-soybean

Made for: Claude Code.

Wrote 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.

agentmods badge for athena-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/m-xlsea/ruoyi-plus-soybean/athena-init/github.svg)](https://agentmods.dev/skills/m-xlsea/ruoyi-plus-soybean/athena-init)
Your own site
<a href="https://agentmods.dev/skills/m-xlsea/ruoyi-plus-soybean/athena-init"><img src="https://agentmods.dev/badge/skills/m-xlsea/ruoyi-plus-soybean/athena-init/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.

agentmods 80×15 button for athena-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/m-xlsea/ruoyi-plus-soybean/athena-init"><img src="https://agentmods.dev/badge/skills/m-xlsea/ruoyi-plus-soybean/athena-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,019 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 29
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01019
Opus 5 $0.00016 $0.00509
Sonnet 5 $0.00006 $0.00204
Haiku 4.5 $0.00003 $0.00102

Measured 11d ago against content hash 15a2c62d3dbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

athena-init scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/athena-init/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/athena-init — 项目初始化

参考: https://code.claude.com/docs/en/skills

1. CC 原生初始化

无 CLAUDE.md → 运行 /init, 生成后追加: "本项目使用 VibeCoding Athena, 开发用 /athena-dev" 已有 CLAUDE.md → 跳过。

2. 项目扫描

ls package.json pyproject.toml Cargo.toml go.mod build.gradle pom.xml 2>/dev/null
cat package.json 2>/dev/null | grep -A5 '"scripts"'
ls jest.config* vitest.config* pytest.ini .eslintrc* ruff.toml biome.json 2>/dev/null

3. 创建 .ai_state/ 目录树 (v9.6 schema)

mkdir -p .ai_state/details/reviews
mkdir -p .ai_state/details/tasks-archive

4. 拷贝模板到 .ai_state/

~/.claude/skills/pace/templates/ 复制 (必须全部, 缺一不可):

  • _index.md.ai_state/_index.md (单一入口, 铁律 8)
  • details/tasks-current.md
  • details/progress.md
  • details/design.md
  • details/handoff.md
  • details/lessons.md
  • details/review-report.md.ai_state/details/reviews/template.md
  • details/next.md
  • details/proposals.md
  • init.sh.ai_state/init.sh

5. 填充 _index.md frontmatter

把扫描结果写入:

  • tech_stack (检测到的: node/python/rust/go)
  • test_cmd (从 package.json scripts.test 或 pytest 等)
  • build_cmd
  • lint_cmd
  • dev_cmd

填充 platform_features (用 claude --versioncodex --version 2>&1):

  • cc_version
  • cx_version
  • goal_supported: 解析 cc_version, ≥ "2.1.139" 即 true
  • batch_supported: ≥ "2.1.121"
  • background_supported: ≥ "2.1.139"
  • session_memory_active: 检测 ~/.claude/projects/ 是否含 session-memory 子目录
  • cross_session_memory: 检测 ~/.claude/plugins/ 含 claude-mem 则 "claude-mem", 含 superpowers 则 "superpowers", 否则 "none"

6. 生成 init.sh

根据扫描结果定制 .ai_state/init.sh:

  • 依赖安装命令 (npm install / pip install / cargo build)
  • dev server 启动 (如有)
  • 基线测试命令
  • chmod +x .ai_state/init.sh

7. .gitignore

grep -q '.ai_state' .gitignore 2>/dev/null || echo '.ai_state/' >> .gitignore

8. 跨项目记忆推荐 (替代删除的全局 lessons)

# 检测 claude-mem 或 superpowers, 缺则软提示
if ! ls ~/.claude/plugins/ 2>/dev/null | grep -iE 'claude-mem|superpowers' > /dev/null; then
  echo "💡 推荐装 claude-mem (89k stars) 做跨项目记忆"
  echo "   /plugin install claude-mem (待加入官方 marketplace)"
  echo "   或: /athena-setup 走完整推荐流"
fi

Read the full file on GitHub · 105 lines

Changes

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.

  1. 11d ago First seen · 105 lines · 32 tokens per session scan A 15a2c62d3dbe

Subscribe to this mod's changes

athena-init is a skill published in the GitHub repository m-xlsea/ruoyi-plus-soybean (325 stars, last pushed 2mo ago), licensed MIT. It adds 32 tokens to every session and 1,019 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.