animaworks-guide

Full animaworks CLI reference: server, Anima lifecycle, models, tasks, config, RAG, assets, external tools. Use when: looking up subcommands, starting or stopping the server, or managing Anima, models, tasks, logs, config, indexes.

224 stars

Best use case

animaworks-guide is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Full animaworks CLI reference: server, Anima lifecycle, models, tasks, config, RAG, assets, external tools. Use when: looking up subcommands, starting or stopping the server, or managing Anima, models, tasks, logs, config, indexes.

Teams using animaworks-guide should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/animaworks-guide/SKILL.md --create-dirs "https://raw.githubusercontent.com/xuiltul/animaworks/main/templates/en/common_skills/animaworks-guide/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/animaworks-guide/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How animaworks-guide Compares

Feature / Agentanimaworks-guideStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Full animaworks CLI reference: server, Anima lifecycle, models, tasks, config, RAG, assets, external tools. Use when: looking up subcommands, starting or stopping the server, or managing Anima, models, tasks, logs, config, indexes.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# AnimaWorks CLI Complete Reference

All AnimaWorks operations are performed via the `animaworks` command.
This skill is a complete reference for all subcommands, arguments, and examples.

For operational concepts and rules, see `common_knowledge/`:
- Messaging rules → `communication/messaging-guide.md`
- Task management → `operations/task-management.md`
- Tool system → `operations/tool-usage-overview.md`
- Organization structure → `reference/organization/structure.md`
- Model selection and config → `reference/operations/model-guide.md`

---

## Server Operations (Generally Avoid)

```bash
animaworks start                         # Start server (default: 0.0.0.0:18500)
animaworks start --port 8080             # Specify port
animaworks start --foreground            # Foreground mode (for debugging)
animaworks stop                          # Stop server
animaworks restart                       # Restart server
animaworks status                        # Check system state (processes, Anima list)
animaworks reset                         # Delete runtime directory + reinitialize
animaworks reset --restart               # Reset then auto-start server
```

---

## Anima Management (anima subcommand)

### List, Status, and Info

```bash
animaworks anima list                    # List all Anima (name, enabled, model, supervisor)
animaworks anima list --local            # Scan filesystem directly (no API)
animaworks anima status                  # All Anima process states (State, Model, PID, Uptime)
animaworks anima status {name}           # Specific Anima process state
animaworks anima info {name}             # Detailed config (model, role, credential, voice, etc.)
animaworks anima info {name} --json      # JSON output
```

`anima info` output includes:
- Anima name, Enabled, Role, Model, Execution Mode
- Credential, Fallback Model, Max Turns, Max Chains
- Context Threshold, Max Tokens, LLM Timeout
- Thinking settings, Supervisor, Mode S Auth
- Voice settings (tts_provider, voice_id, speed, pitch)

### Create

```bash
# Create from character sheet (MD) — recommended
animaworks anima create --from-md {file} [--role {role}] [--name {name}]

# Create from template
animaworks anima create --template {template_name} [--name {name}]

# Create blank
animaworks anima create --name {name}
```

### Enable, Disable, Delete

```bash
animaworks anima enable {name}           # Enable (return from pause)
animaworks anima disable {name}          # Disable (pause)
animaworks anima delete {name}           # Delete (after ZIP archive)
animaworks anima delete {name} --no-archive  # Delete without archive
animaworks anima delete {name} --force   # Delete without confirmation
animaworks anima restart {name}          # Restart process
animaworks anima audit {name}            # Comprehensive audit of subordinate's recent activity (default: 1 day)
animaworks anima audit {name} --days 7   # Audit last 7 days
```

### Change Model

```bash
animaworks anima set-model {name} {model_name}
animaworks anima set-model {name} {model_name} --credential {credential_name}
animaworks anima set-model --all {model_name}   # Change all Anima at once
```

Requires `anima restart {name}` when server is running.

### Change Role

```bash
# Change role (reapply template + auto restart)
animaworks anima set-role {name} {role}

# Change status.json role field only (do not touch template)
animaworks anima set-role {name} {role} --status-only

# Update files only, no restart
animaworks anima set-role {name} {role} --no-restart
```

Files updated by set-role:
- `status.json` — role, model, max_turns updated from role template defaults
- `specialty_prompt.md` — replaced with role-specific guidelines
- `permissions.json` — replaced with role-specific tool and command permissions

Valid roles: `engineer`, `researcher`, `manager`, `writer`, `ops`, `general`

### Hot Reload

```bash
animaworks anima reload {name}           # Reload model config from status.json (no process restart)
animaworks anima reload --all            # Reload all Anima
```

---

## Model Information (models subcommand)

```bash
animaworks models list                   # List known models (name, mode, context window, note)
animaworks models list --mode S          # Filter by execution mode (S/C/D/G/A/B)
animaworks models list --json            # JSON output
animaworks models info {model_name}      # Resolved info (execution mode, context window, threshold, source)
animaworks models show                   # Show current models.json contents
animaworks models show --json            # Raw JSON output
```

Details → `reference/operations/model-guide.md`

---

## Chat and Messaging

```bash
# Chat with an Anima (human → Anima)
animaworks chat {name} "message"
animaworks chat {name} "message" --from {sender_name}
animaworks chat {name} "message" --local  # Direct execution (no API)

# Send message between Animas
animaworks send {sender} {recipient} "message"
animaworks send {sender} {recipient} "message" --intent report
animaworks send {sender} {recipient} "message" --intent question
animaworks send {sender} {recipient} "message" --reply-to {message_id}
animaworks send {sender} {recipient} "message" --thread-id {thread_id}

# Manual heartbeat trigger
animaworks heartbeat {name}
animaworks heartbeat {name} --local      # Direct execution (no API)
```

---

## Board (Shared Channels)

```bash
animaworks board read {channel}                         # Read channel messages
animaworks board read {channel} --limit 50              # Specify max messages
animaworks board read {channel} --human-only            # Human messages only
animaworks board post {sender} {channel} "text"         # Post to channel
animaworks board dm-history {self} {peer}               # Get DM history
animaworks board dm-history {self} {peer} --limit 50    # Specify max messages
```

---

## Config Management (config subcommand)

```bash
animaworks config list                   # List all config values
animaworks config list --section system  # Filter by section
animaworks config list --show-secrets    # Show API key values
animaworks config get {key}              # Get specific value (dot notation: system.log_level)
animaworks config get {key} --show-secrets
animaworks config set {key} {value}      # Set a config value
animaworks config export-sections        # Export to template files
animaworks config export-sections --dry-run
```

---

## Log Viewing (logs)

```bash
animaworks logs {name}                   # View specific Anima logs
animaworks logs --all                    # View server + all Anima logs
animaworks logs {name} --lines 100       # Specify line count (default: 50)
animaworks logs {name} --date 20260301   # View logs for specific date
```

---

## Cost Tracking (cost)

```bash
animaworks cost                          # Token usage and cost for all Anima
animaworks cost {name}                   # Specific Anima cost
animaworks cost --today                  # Today only
animaworks cost --days 7                 # Last 7 days (default: 30)
animaworks cost --json                   # JSON output
```

---

## Task Management (task subcommand)

```bash
animaworks task list                     # List tasks
animaworks task list --status pending    # Filter by status (pending/in_progress/done/cancelled/blocked)
animaworks task add --assignee {name} --instruction "task description"
animaworks task add --assignee {name} --instruction "desc" --source human --deadline 2026-03-10T18:00:00
animaworks task update --task-id {id} --status done
animaworks task update --task-id {id} --status done --summary "completion summary"
```

---

## RAG Index Management

```bash
animaworks index                         # Incremental index update for all Anima
animaworks index --anima {name}          # Specific Anima only
animaworks index --full                  # Full reindex of all data
animaworks index --dry-run               # Preview changes only (no execution)
```

---

## Asset Operations

### Optimize Assets

```bash
animaworks optimize-assets                              # Optimize 3D assets for all Anima
animaworks optimize-assets --anima {name}               # Specific Anima only
animaworks optimize-assets --dry-run                    # Preview only
animaworks optimize-assets --simplify                   # Mesh simplification
animaworks optimize-assets --texture-compress           # Texture compression
animaworks optimize-assets --texture-resize 512         # Texture resize
```

### Remake Assets

```bash
animaworks remake-assets {name} --style-from {reference}   # Regenerate assets with style transfer
animaworks remake-assets {name} --style-from {ref} --steps portrait,fullbody
animaworks remake-assets {name} --style-from {ref} --dry-run
animaworks remake-assets {name} --style-from {ref} --no-backup
```

---

## External Tool Execution (animaworks-tool)

Commands for Anima to use external services (Slack, Gmail, GitHub, etc.).

```bash
# Show help
animaworks-tool {tool_name} --help

# Execute
animaworks-tool {tool_name} {subcommand} [args...]

# Background execution (for long-running tools)
animaworks-tool submit {tool_name} {subcommand} [args...]
```

### Examples

```bash
animaworks-tool web_search query "AnimaWorks framework"
animaworks-tool slack send --channel "#general" --text "Good morning"
animaworks-tool github issues --repo owner/repo
animaworks-tool submit image_gen pipeline "1girl, ..." --anima-dir $ANIMAWORKS_ANIMA_DIR
```

For submit details → `common_knowledge/operations/background-tasks.md`

### Background Task Monitoring (Anima Internal Tools)

To check progress of tasks submitted via `submit`, use these internal tools:
- `list_background_tasks` — List running and completed tasks
- `check_background_task(task_id)` — Get status and result for a specific task

These are not CLI commands but MCP tools used by Anima during conversation.

---

## Initialization and Migration

```bash
animaworks init                          # Initialize runtime directory (~/.animaworks/)
animaworks init --force                  # Re-initialize, overwriting existing config
animaworks init --skip-anima             # Skip Anima creation
animaworks migrate-cron                  # Convert cron.md from Japanese format to standard cron
```

---

## Global Options

```bash
animaworks --gateway-url http://host:port {command}   # Specify server URL
animaworks --data-dir /path/to/data {command}         # Specify runtime directory
```

Related Skills

x-search-tool

224
from xuiltul/animaworks

X (Twitter) search tool for keyword search and fetching tweets from a specified account. Use when: searching X for topics, reading a user timeline, or tracking trends and posts.

workspace-manager

224
from xuiltul/animaworks

Registers, lists, removes, and assigns workspaces (project directories) for Anima work. Use when: binding project paths to Anima, managing aliases, or switching workspace roots.

web-search-tool

224
from xuiltul/animaworks

Web search tool. Queries the public internet via the Brave Search API. Use when: researching current events, finding documentation, fact-checking, or fetching ranked search results.

transcribe-tool

224
from xuiltul/animaworks

Audio transcription tool. Converts audio files to text with Whisper and optional LLM post-processing. Use when: transcribing meetings, podcasts, or extracting text from recorded audio files.

tool-creator

224
from xuiltul/animaworks

Meta-skill for building AnimaWorks Python external tools: ExternalToolDispatcher, get_credential, and permissions. Use when: adding a module under core/tools, wrapping a Web API, or exposing commands via animaworks-tool.

subordinate-management

224
from xuiltul/animaworks

Supervisor tools for subordinate Anima: disable/enable, model changes, restart, delegation, state reads, and audits. Use when: pausing a subordinate, changing main or background models, restarting processes, delegating tasks, or org dashboards.

subagent-cli

224
from xuiltul/animaworks

Runs external AI agent CLIs via Bash in non-interactive mode. Delegates coding with codex exec or cursor-agent. Use when: offloading complex implementation, code review, multi-file edits, or spawning a subagent from Bash.

slack-tool

224
from xuiltul/animaworks

Slack integration tool for send/receive messages, search, unreplied checks, channel listing, and emoji reactions. Use when: posting to Slack, listing channels, replying in threads, checking unreplied items, or adding reactions.

skill-creator

224
from xuiltul/animaworks

Meta-skill for authoring Markdown Skill files with YAML frontmatter and progressive disclosure via create_skill. Use when: adding a new skill, generating SKILL.md with references or templates, or checking description rules.

notion-tool

224
from xuiltul/animaworks

Notion integration tool for searching, reading, creating, and updating pages and databases via the API. Use when: editing Notion pages, adding database rows, or searching a workspace.

machine-tool

224
from xuiltul/animaworks

Delegates work to external agent CLIs (machine tools) for large code changes, investigation, or analysis. Use when: offloading implementation via the machine command, heavy refactors, or batched agent runs.

local-llm-tool

224
from xuiltul/animaworks

Local LLM execution tool for text generation and chat through Ollama or vLLM endpoints. Use when: running on-prem inference, calling a local GPU model, or summarizing with a self-hosted LLM.