Token导航 LogoToken导航

Agent Skill · 开发

qoder-cli-skill(qoder CLI 技能)

qoder-cli-skill 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

qoder-cli-skill 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 3,146。

总安装 12,513周安装 532GitHub Stars 公开资料未说明下载 4,384核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qoder-cli-skill(qoder CLI 技能)
来源仓库:https://github.com/lfeng/qoder-cli-skill
安装命令:
openclaw skills install qoder-cli-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install qoder-cli-skill

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

qoder CLI 技能委托编码任务给专业代码生成引擎执行。适用于功能开发、代码审查与重构等复杂编程需求。通过 clawhub 安装,命令为 openclaw skills install qoder-cli-skill,采用非交互式打印模式。使用前需明确任务边界,避免过度依赖导致代码质量不可控。

建议人工复核生成结果,确保符合项目规范与安全标准。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install qoder-cli-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

qoder-cli-skill 怎么安装?

在终端执行 openclaw skills install qoder-cli-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

qoder-cli-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

qoder-cli-skill 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

qoder-cli-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

qoder-cli-skill 用的人多吗?

公开数据是累计安装 12,513 次,近一周安装 532 次,下载 4,384 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

qoder-cli-skill 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
qoder-cli-skill

qoder CLI 技能 · 本页

12,513—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
qoder-agent
description
Delegate coding tasks to Qoder CLI using Print mode (non-interactive). Use when: (1) building/creating new features or apps, (2) code reviews, (3) refactoring, (4) iterative coding that needs file exploration. Supports subagents, worktrees, MCP servers, quest mode, and hooks. Works in all session types (direct chat, group chat, Discord, etc.). NOT for: simple one-liner fixes (just edit), reading code (use read tool). Requires qodercli installed.
metadata

Qoder Agent (Print Mode - Non-Interactive)

Use Print mode (-p) for all Qoder CLI work in OpenClaw. TUI mode is not supported in automated environments.

✅ All-Sessions Ready: This skill works in:

  • Direct 1:1 chats
  • Group chats (DingTalk, Discord, Slack, etc.)
  • Shared workspace sessions
  • Private sessions

⚠️ Important: Print Mode Only

TUI mode is NOT supported in OpenClaw or other automated environments due to TTY requirements.

Always use Print mode with the -p flag:

# ✅ Correct - Print mode (non-interactive)
bash workdir:~/project command:"qodercli -p 'Add error handling'"

# ❌ Wrong - TUI mode requires interactive terminal
bash pty:true command:"qodercli"  # Will fail

🔐 Environment Setup (Auto-Detected)

Qoder CLI authentication is automatically available via:

# Environment variable (set in ~/.zshrc)
QODER_PERSONAL_ACCESS_TOKEN="your_token_here"

# Or check if already authenticated
qodercli status

In any session type, the environment variable is inherited from the shell, so Qoder CLI works seamlessly.


🚀 Quick Start

Basic Usage

# Quick one-shot task
bash workdir:~/project command:"qodercli -p 'Add error handling to the API calls'"

# With ultimate model for best quality
bash workdir:~/project command:"qodercli --model=ultimate -p 'Refactor this module'"

# With JSON output
bash workdir:~/project command:"qodercli --output-format=json -p 'Analyze this code'"

# Continue last session
bash workdir:~/project command:"qodercli -c -p 'Continue the refactoring'"

# Max turns limit
bash workdir:~/project command:"qodercli --max-turns=10 -p 'Fix the bug'"

# Yolo mode (skip permissions)
bash workdir:~/project command:"qodercli --yolo -p 'Make the changes'"

🎯 Print Mode Flags

FlagDescriptionExample
-pRequired - Run non-interactivelyqodercli -p "task"
-qQuiet mode (hide spinner)qodercli -q -p "task"
--output-formatOutput format: text, json, stream-jsonqodercli --output-format=json
-wSpecify workspace directoryqodercli -w /path/to/project
-cContinue last sessionqodercli -c -p "continue"
-rResume specific sessionqodercli -r <session-id>
--modelModel tier selectionqodercli --model=ultimate
--max-turnsMaximum dialog turns (0 = unlimited)qodercli --max-turns=10
--max-output-tokensMax tokens: 16k, 32kqodercli --max-output-tokens=32k
--yoloSkip permission checksqodercli --yolo
--allowed-toolsAllow only specified toolsqodercli --allowed-tools=READ,WRITE
--disallowed-toolsDisallow specified toolsqodercli --disallowed-tools=Bash
--agentsJSON object defining custom agentsqodercli --agents='{"reviewer":{...}}'
--attachmentAttach image files (repeatable)qodercli --attachment=img.png

🧠 Model Selection

Qoder CLI uses automatic model routing - it selects the globally optimal model based on task characteristics. You can override this:

Model ValueUse CaseSpeedQualityCost
autoDefault - automatic routing⚡⚡⚡⭐⭐⭐💰💰💰
efficientQuick tasks, simple queries⚡⚡⚡⚡⭐⭐💰💰
liteVery simple tasks⚡⚡⚡⚡⚡⭐💰
performanceComplex tasks needing depth⚡⚡⭐⭐⭐⭐💰💰💰💰
ultimateBest quality - refactoring, architecture, code review⚡⭐⭐⭐⭐⭐💰💰💰💰💰
qmodelQwen model family⚡⚡⚡⭐⭐⭐⭐💰💰💰
q35modelQwen 3.5 specific⚡⚡⚡⭐⭐⭐⭐💰💰💰
mmodelMiniMax model⚡⚡⚡⭐⭐⭐⭐💰💰💰
gmodelGPT model family⚡⚡⭐⭐⭐⭐⭐💰💰💰💰

Recommendations:

  • Default: Use --model=auto (let Qoder choose)
  • Refactoring/Architecture: --model=ultimate
  • Quick fixes: --model=efficient
  • Code review: --model=performance or ultimate
  • Simple queries: --model=lite or efficient

🎯 Quest Mode (Spec-Driven Development)

Quest Mode allows you to write specifications while AI automatically completes development tasks using subagents.

# Quest mode via prompt
bash workdir:~/project command:"qodercli --model=ultimate -p 'Build a REST API with authentication, rate limiting, and logging'"

Quest Mode automatically:

  1. Analyzes requirements
  2. Routes to appropriate subagents
  3. Coordinates multi-step development
  4. Ensures consistency across files

🤖 Subagents

Subagents are specialized AI agents for specific tasks with their own context windows and tool permissions.

Create a Subagent (Manual)

Create markdown files in:

  • ~/.qoder/agents/<agentName>.md - User-level (all projects)
  • ${project}/agents/<agentName>.md - Project-level

Example: code-review agent

---
name: code-review
description: Code review expert for quality and security checks
tools: Read, Grep, Glob, Bash
---

You are a senior code reviewer responsible for ensuring code quality.

Checklist:
1. Readability and code style
2. Naming conventions
3. Error handling
4. Security checks
5. Test coverage
6. Performance considerations

Use Subagents

# Explicit invocation
bash workdir:~/project command:"qodercli -p 'Use code-review subagent to check code issues'"

# Implicit invocation
bash workdir:~/project command:"qodercli -p 'Analyze this code for potential performance issues'"

# Chained subagents
bash workdir:~/project command:"qodercli -p 'First use design subagent for system design, then use code-review subagent'"

# Custom agents inline
bash workdir:~/project command:"qodercli --agents='{\"reviewer\":{\"description\":\"Reviews code\",\"prompt\":\"You are a code reviewer\"}}' -p 'Review this'"

🌳 Worktree (Parallel Jobs)

Worktree jobs are concurrent jobs that use Git worktrees to run tasks in parallel, avoiding read/write conflicts.

Requirements: Git installed and usable locally.

Commands

CommandDescription
qodercli --worktree "job description"Create and start new worktree job
qodercli jobs --worktreeList existing worktree jobs
qodercli rm <jobId>Remove a job (delete worktree)

Create a Job

# Basic worktree job (non-interactive)
bash workdir:~/project command:"qodercli --worktree -p 'Fix issue #78'"

# With branch specification
bash workdir:~/project command:"qodercli --worktree --branch=main -p 'Implement feature'"

# With max turns
bash workdir:~/project command:"qodercli --worktree --max-turns=20 -p 'Complex refactoring'"

View Jobs

bash workdir:~/project command:"qodercli jobs --worktree"

Delete Jobs

bash workdir:~/project command:"qodercli rm <jobId>"

⚠️ Warning: Deletion is irreversible. Proceed with caution.

Parallel Issue Fixing Example

# Multiple worktrees for parallel work
bash workdir:~/project background:true command:"qodercli --worktree -p 'Fix issue #78'"
bash workdir:~/project background:true command:"qodercli --worktree -p 'Fix issue #99'"

# Monitor progress
process action:list
process action:log sessionId:XXX

🔌 MCP Servers

Qoder CLI integrates with any standard MCP (Model Context Protocol) tool.

Add MCP Servers

# Basic syntax
bash command:"qodercli mcp add <name> -- <command>"

# Example: Playwright for browser control
bash command:"qodercli mcp add playwright -- npx -y @playwright/mcp@latest"

Recommended MCP Tools

# Context7 - Upstash context management
bash command:"qodercli mcp add context7 -- npx -y @upstash/context7-mcp@latest"

# DeepWiki - Wikipedia/knowledge access
bash command:"qodercli mcp add deepwiki -- npx -y mcp-deepwiki@latest"

# Chrome DevTools - Browser automation
bash command:"qodercli mcp add chrome-devtools -- npx chrome-devtools-mcp@latest"

Manage MCP Servers

# List servers
bash command:"qodercli mcp list"

# Remove server
bash command:"qodercli mcp remove playwright"

🔐 Permissions

Qoder CLI enforces precise tool execution permissions.

Configuration Files (precedence: high → low)

  1. ${project}/.qoder/settings.local.json - Project-level, highest (gitignore)
  2. ${project}/.qoder/settings.json - Project-level
  3. ~/.qoder/settings.json - User-level

Permission Strategies

StrategyDescription
allowAutomatically allow matching operations
denyAutomatically deny matching operations
askPrompt for permission (default for outside project)

Example Configuration

{
  "permissions": {
    "ask": [
      "Read(!/Users/demo/projects/myproject/**)",
      "Edit(!/Users/demo/projects/myproject/**)"
    ],
    "allow": [
      "Read(/Users/demo/projects/myproject/**)",
      "Edit(/Users/demo/projects/myproject/**)"
    ],
    "deny": [
      "Bash(rm -rf /**)"
    ]
  }
}

Permission Types

1. Read & Edit Rules

Patterns follow gitignore-style matching:

Pattern FormDescriptionExampleMatches
/pathAbsolute from system rootRead(/Users/demo/**)/Users/demo/xx
~/pathFrom home directoryRead(~/Documents/*.png)/Users/demo/Documents/xx.png
path or ./pathRelative to current dirRead(/*.java)./xx.java
!**Negation patternRead(!**/node_modules/**)Excludes node_modules
2. WebFetch Rules

Restrict domains for network fetch:

{
  "permissions": {
    "allow": [
      "WebFetch(domain:example.com)",
      "WebFetch(domain:*.github.io)"
    ]
  }
}
3. Bash Rules

Restrict commands for shell execution:

{
  "permissions": {
    "allow": [
      "Bash(npm run build)",
      "Bash(npm run test:*)",
      "Bash(curl http://site.com/:*)"
    ],
    "deny": [
      "Bash(rm -rf *)",
      "Bash(sudo *)"
    ]
  }
}

📝 Memory (AGENTS.md)

Qoder CLI uses AGENTS.md as memory - content is auto-loaded as context.

File Locations

  • User-level: ~/.qoder/AGENTS.md - Applies to all projects
  • Project-level: ${project}/AGENTS.md - Applies to current project

Typical Content

  • Development standards and notes
  • Overall system architecture
  • Project-specific conventions
  • API documentation
  • Testing requirements

Generate/Manage

# Manually create AGENTS.md in project root
cat > ~/project/AGENTS.md << 'EOF'
# Project Guidelines

## Architecture
- MVC pattern
- REST API design

## Code Style
- ESLint strict mode
- Prettier formatting
EOF

⚡ Advanced Options

OptionDescriptionExample
-wSpecify workspace directoryqodercli -w /path/to/project
-cContinue last sessionqodercli -c -p "continue"
-rResume specific sessionqodercli -r <session-id>
--allowed-toolsAllow only specified toolsqodercli --allowed-tools=READ,WRITE
--disallowed-toolsDisallow specified toolsqodercli --disallowed-tools=Bash
--max-turnsMaximum dialog turnsqodercli --max-turns=10
--yoloSkip permission checksqodercli --yolo
--worktreeCreate worktree jobqodercli --worktree "task"
--branchSet branch for worktreeqodercli --worktree --branch=main
--agentsDefine custom agents inlineqodercli --agents='{...}'
--attachmentAttach image filesqodercli --attachment=img.png

⚠️ Rules

  1. Print mode only - TUI mode not supported in OpenClaw
  2. Always use -p flag - Non-interactive mode required
  3. Respect workdir - Qoder sees only the specified directory's context
  4. Monitor with process:log - check background session progress
  5. Use worktrees for parallel work - avoid read/write conflicts
  6. Initialize AGENTS.md - helps Qoder understand project context
  7. Configure permissions - set appropriate access rules per project
  8. Leverage subagents - specialized agents for specific tasks
  9. Add MCP servers - extend capabilities with external tools
  10. Works in all sessions - environment variables are inherited automatically
  11. Use ultimate model for complex tasks - refactoring, architecture, code review

Progress Updates (Critical)

When you spawn Qoder CLI in the background, keep the user in the loop:

  • Send 1 short message when you start (what's running + where)
  • Then only update again when something changes:

- a milestone completes (build finished, tests passed) - the CLI asks a question / needs input - you hit an error or need user action - the CLI finishes (include what changed + where)

  • If you kill a session, immediately say you killed it and why

This prevents the user from seeing only "Agent failed before reply" and having no idea what happened.


Auto-Notify on Completion

For long-running background tasks, append a wake trigger:

bash workdir:~/project background:true command:"qodercli --model=ultimate 'Build a REST API for todos.

When completely finished, run: openclaw system event --text \"Done: Built todos REST API with CRUD endpoints\" --mode now'"

This triggers an immediate wake event — you get pinged in seconds, not minutes.


🌐 Cross-Session Usage

In Group Chats (DingTalk, Discord, Slack)

# Just use normal commands - environment is inherited
bash workdir:~/project command:"qodercli -p 'Help me fix this bug'"

# No special setup needed!

In Direct Messages

Same as group chats - works out of the box.

In Shared Workspaces

# Specify the workspace explicitly
bash workdir:/shared/project command:"qodercli --model=ultimate -p 'Refactor this'"

Privacy Note

  • Qoder CLI only accesses the specified workdir
  • Environment variables are inherited from the host shell
  • No credentials are exposed in chat messages
  • Each session has isolated Qoder CLI state

📊 Comparison with Other Coding Agents

FeatureQoder CLICodexClaude Code
Print Mode✅✅❌
Subagents✅❌❌
Worktrees✅❌❌
MCP Servers✅✅✅
Memory (AGENTS.md)✅✅✅
Model Selection✅ (auto-routing)❌❌
Quest Mode✅❌❌
Permission System✅ (granular)⚠️⚠️
All-Sessions Ready✅⚠️⚠️

Qoder CLI strengths:

  • Subagents for specialized tasks
  • Worktrees for parallel development
  • Quest mode for spec-driven development
  • Automatic model routing
  • Granular permission system
  • Cross-session compatibility

📋 Quick Reference Card

# Quick task (print mode, auto model)
qodercli -p "Your prompt"

# High-quality task (ultimate model)
qodercli --model=ultimate -p "Your prompt"

# Quest mode (spec-driven)
qodercli -p "Build a REST API with auth"

# Background task (worktree)
qodercli --worktree -p "Your task"

# Check status
qodercli status

# Skip permissions (use with caution)
qodercli --yolo -p "Your prompt"

# Continue last session
qodercli -c -p "Continue"

# JSON output
qodercli --output-format=json -p "Analyze"

# With custom subagents
qodercli --agents='{"reviewer":{...}}' -p "Review this"

🔧 Troubleshooting

Not Logged In

# Check status
qodercli status

# Set environment variable
export QODER_PERSONAL_ACCESS_TOKEN="your_token"

Permission Denied

# Use yolo mode (caution)
qodercli --yolo -p "task"

# Or configure permissions in ~/.qoder/settings.json

Model Selection Issues

# Explicitly specify model
qodercli --model=ultimate -p "task"

# Or use auto for automatic routing
qodercli --model=auto -p "task"

TUI Mode Error

TUI mode is NOT supported in OpenClaw. Always use Print mode:

# ✅ Correct
qodercli -p "Your task"

# ❌ Wrong (will fail)
qodercli  # TUI requires interactive terminal

平台分布

OpenClaw

92.87%
按下载量换算4,071

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills