Documentation

CLI Reference

Complete CLI command reference

CLI Reference#

Complete reference for all doyaken CLI commands and options.

Core Commands#

dk (or doyaken)#

Start an interactive doyaken session.

dk
# or
doyaken

This opens an interactive prompt where you can give tasks in natural language.

dk run [N]#

Run a specific number of workers in parallel.

# Run with default workers
dk run

# Run with 3 workers
dk run 3

Options:

  • N - Number of parallel workers (default: 1)

dk tasks#

List all tasks in the project.

dk tasks

Shows tasks organized by status:

  • todo - Tasks waiting to be started
  • doing - Tasks currently in progress
  • done - Completed tasks

dk skills#

List available skills and their descriptions.

dk skills

Skills are specialized commands that can be invoked with /skill-name:

doyaken > /plan "Design the authentication flow"
doyaken > /review "Check for security issues"
doyaken > /refactor "Improve the database queries"

dk mcp status#

Check the status of MCP (Model Context Protocol) integrations.

dk mcp status

Shows:

  • Connected MCP servers
  • Available tools from each server
  • Connection health

dk doctor#

Diagnose your doyaken setup.

dk doctor

Checks:

  • Project configuration
  • Environment variables
  • AI provider connectivity
  • Dependency status

Slash Commands#

Use slash commands in interactive mode for specific operations:

| Command | Description | | ------------ | ------------------------------------- | | /plan | Create a detailed implementation plan | | /implement | Execute the implementation | | /review | Review code for issues | | /refactor | Refactor existing code | | /test | Generate or run tests | | /docs | Generate documentation | | /debug | Debug an issue | | /commit | Create a git commit |

Example Usage#

# Plan a feature
doyaken > /plan "Add user authentication with OAuth"

# Implement the plan
doyaken > /implement "Follow the authentication plan"

# Review the changes
doyaken > /review "Check the OAuth implementation"

# Commit when done
doyaken > /commit "Add OAuth authentication"

Environment Variables#

| Variable | Description | Default | | ------------------- | ---------------------------- | ----------------- | | ANTHROPIC_API_KEY | Anthropic API key for Claude | - | | OPENAI_API_KEY | OpenAI API key | - | | DOYAKEN_MODEL | Default model to use | claude-sonnet-4 | | DOYAKEN_WORKERS | Default number of workers | 1 |

Exit Codes#

| Code | Meaning | | ---- | ------------------- | | 0 | Success | | 1 | General error | | 2 | Configuration error | | 3 | API error |

API Keys Required

You need at least one AI provider API key configured. Set ANTHROPIC_API_KEY or OPENAI_API_KEY in your environment or .env file.