用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Anakin-Inc/anakin-claude-plugin --skill setup命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | setup |
| description | Check Anakin CLI installation, configure API key, and set up the output directory. |
| disable-model-invocation | true |
| allowed-tools | Bash(anakin *), Bash(pip *), Bash(pip3 *), Bash(python *), Bash(mkdir *), Bash(echo *) |
Check if the Anakin CLI is installed and authenticated. Fix any issues found.
Run:
anakin status
If the command is not found, install it:
pip install anakin-cli
If pip is not available, try pip3 install anakin-cli or python -m pip install anakin-cli.
After installing, verify with anakin status.
If anakin status shows "No API key configured", ask the user how they'd like to authenticate using AskUserQuestion:
Question: "How would you like to authenticate with Anakin?"
Options:
Ask for their API key, then run:
anakin login --api-key "<their-key>"
Ask for their API key, then run:
export ANAKIN_API_KEY="<their-key>"
Tell them to add this export to ~/.zshrc or ~/.bashrc for persistence.
Run anakin status again to confirm everything works. Report the version and auth status to the user.
Create the .anakin/ output directory and ensure it's in .gitignore:
mkdir -p .anakin
If a .gitignore file exists and doesn't already contain .anakin/, add it:
echo ".anakin/" >> .gitignore
python -m anakin_cli statuspip install anakin-clipip install --user anakin-cli
# or
python -m venv .venv && source .venv/bin/activate && pip install anakin-cli
Your API key is invalid or expired. Get a new one at https://anakin.io/dashboard.
Visit https://anakin.io/pricing.
Wait 5-10 seconds and retry.