🤖 Delegate coding tasks to Qoder CLI with full feature support.
TUI mode is NOT supported in OpenClaw or other automated environments. This skill uses Print mode (-p flag) for all operations.
- ✅ Print Mode - Non-interactive automation (TTY-free)
- ✅ Subagents - Specialized AI agents for specific tasks
- ✅ Worktrees - Parallel development with Git worktrees
- ✅ MCP Servers - Extend with Model Context Protocol tools
- ✅ Quest Mode - Spec-driven delegated development
- ✅ Memory System - AGENTS.md for project context
- ✅ Granular Permissions - Fine-grained access control
- ✅ Model Selection - Auto-routing or manual model selection
- ✅ All-Sessions Ready - Works in group chats, DMs, and shared workspaces
This skill is designed for OpenClaw.
cd ~/.openclaw/workspace/skills
git clone https://github.com/lfeng/qoder-cli-skill.git qoder-agent- Download this repository
- Place in
~/.openclaw/workspace/skills/qoder-agent - The skill will be automatically loaded by OpenClaw
- OpenClaw installed and configured
- Qoder CLI installed:
curl -fsSL https://qoder.com/install | bash - Authentication: Set
QODER_PERSONAL_ACCESS_TOKENenvironment variable
Add your Qoder Personal Access Token to your shell configuration:
# Add to ~/.zshrc or ~/.bashrc
export QODER_PERSONAL_ACCESS_TOKEN="your_personal_access_token_here"
# Reload shell
source ~/.zshrcGet your token from: https://qoder.com/account/integrations
# Check Qoder CLI
qodercli --version
# Check authentication
qodercli statusOnce installed, the skill is automatically available in OpenClaw. Just ask:
"Use Qoder CLI to add error handling to the API calls"
"Refactor the authentication module using ultimate model"
"Review the code in src/ for security issues"
"Use Qoder CLI with worktree to fix issue #78 in parallel"
"Create a subagent for code review and use it to analyze src/"
"Run quest mode to build a REST API with authentication"
- Default:
auto(automatic model routing) - Best Quality:
--model=ultimate(refactoring, architecture) - Quick Tasks:
--model=efficient(simple fixes) - Code Review:
--model=performance
qoder-agent/
├── SKILL.md # Main skill documentation (Print mode focus)
├── README.md # This file
├── LICENSE # MIT License
└── .gitignore # Standard ignore patterns
See SKILL.md for complete usage documentation including:
- Print mode flags and options
- Subagent creation and usage
- Worktree parallel jobs
- MCP server integration
- Permission configuration
- Memory system (AGENTS.md)
- Model selection guide
- Troubleshooting
# One-shot task
qodercli -p "Add error handling to src/api.ts"
# With ultimate model
qodercli --model=ultimate -p "Refactor the authentication module"
# JSON output
qodercli --output-format=json -p "Analyze src/"
# Continue last session
qodercli -c -p "Continue the refactoring"Create agents/code-review.md:
---
name: code-review
description: Code review expert for security and quality
tools: Read, Grep, Glob, Bash
---
You are a senior code reviewer. Check for:
1. Security vulnerabilities
2. Code quality
3. Best practicesUse it:
qodercli -p "Use code-review subagent to analyze src/"# Create parallel jobs
qodercli --worktree -p "Fix issue #78"
qodercli --worktree -p "Fix issue #99"
# List jobs
qodercli jobs --worktree
# Remove job
qodercli rm <jobId># Add browser automation
qodercli mcp add playwright -- npx -y @playwright/mcp@latest
# Add knowledge base
qodercli mcp add deepwiki -- npx -y mcp-deepwiki@latest
# List servers
qodercli mcp listConfigure in ~/.qoder/settings.json or ${project}/.qoder/settings.json:
{
"permissions": {
"allow": [
"Read(/Users/demo/projects/myproject/**)",
"Edit(/Users/demo/projects/myproject/**)"
],
"ask": [
"Read(!/Users/demo/projects/myproject/**)"
],
"deny": [
"Bash(rm -rf *)"
]
}
}# Set environment variable
export QODER_PERSONAL_ACCESS_TOKEN="your_token"
# Check status
qodercli status# Use yolo mode (caution)
qodercli --yolo -p "task"
# Or configure permissionsTUI mode is NOT supported in OpenClaw. Always use Print mode:
# ✅ Correct
qodercli -p "Your task"
# ❌ Wrong (will fail)
qodercli # TUI requires interactive terminalContributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - See LICENSE file for details.
- OpenClaw Docs: https://docs.openclaw.ai
- Qoder CLI Docs: https://docs.qoder.com/cli
- Issues: https://github.com/lfeng/qoder-cli-skill/issues