setuplisted
Install: claude install-skill Anakin-Inc/anakin-claude-plugin
# Anakin Setup
Check if the Anakin CLI is installed and authenticated. Fix any issues found.
## Step 1: Check installation
Run:
```bash
anakin status
```
If the command is not found, install it:
```bash
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`.
## Step 2: Check authentication
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:**
1. **Enter API key (Recommended)** — Paste an API key from anakin.io/dashboard
2. **Set environment variable** — Export ANAKIN_API_KEY in your shell
### If user selects API key:
Ask for their API key, then run:
```bash
anakin login --api-key "<their-key>"
```
### If user selects environment variable:
Ask for their API key, then run:
```bash
export ANAKIN_API_KEY="<their-key>"
```
Tell them to add this export to `~/.zshrc` or `~/.bashrc` for persistence.
## Step 3: Verify
Run `anakin status` again to confirm everything works. Report the version and auth status to the user.
## Step 4: Setup output directory
Create the `.anakin/` output directory and ensure it's in `.gitignore`:
```bash
mkdir -p .anakin
```
If a `.gitignore` file exists and doesn't already contain `.anakin/`, add it:
```bash
echo ".anakin/" >> .gitignore
```
## Troubleshooting
### Command not fo