Coding Agents
This document describes how to integrate AnyTask with AI coding agents including Claude Code, Cursor, Gemini CLI, and Codex CLI.Overview
AnyTask provides slash commands that work with multiple AI coding agents, enabling you to:- Create tasks directly from your coding agent
- Get task suggestions based on priority and dependencies
- Work on tasks with full context loaded automatically
- Track progress without leaving your development environment
Prerequisites
- AnyTask CLI installed
- Authentication configured (API key)
- Workspace initialized in your project
Quick Setup
Step 1: Install AnyTask CLI
See the Installation Guide for installation options.Step 2: Authenticate
Step 3: Initialize Workspace
Step 4: Install Agent Commands
Supported Agents
| Agent | Command Format | Installation Location |
|---|---|---|
| Claude Code | Markdown | .claude/commands/ |
| Cursor | Markdown | .cursorrules/ |
| Gemini CLI | TOML | .gemini/ |
| Codex CLI | YAML | .codex/ |
Slash Commands
Once installed, use these slash commands in your coding agent:/anyt:anyt-new {requirement}
Create a new task in AnyTask cloud.
Example:
/anyt:anyt-next
Pick the next suggested task to work on.
Example:
/anyt:anyt-work {TASK_ID}
Continue working on a specific task.
Example:
Example Workflows
Daily Development Workflow
Creating Tasks from Conversations
How It Works
- Slash commands execute
anytCLI commands in the background - Task context is loaded from
.anyt/tasks/{ID}/task.md - Progress is synced back to AnyTask cloud automatically
- Active task is tracked in
.anyt/active_task.json
File Locations
| Path | Description |
|---|---|
.anyt/anyt.json | Workspace configuration |
.anyt/active_task.json | Currently active task |
.anyt/tasks/ | Local task files |
Troubleshooting
Commands not found
Ensure agent commands are installed by runninganyt agent install.
Not in workspace
Initialize workspace in your project:Authentication errors
Re-authenticate:Next Steps
- Quick Start - Complete 4-step setup
- Worker System - Enable autonomous task execution
- CLI Reference - All CLI commands