hocgin/claude-cli-bridge/glm-claude-task
Claude Code and agent skill by hocgin/claude-cli-bridge
- community
Checking that the SKILL.md file is still in the repository.
Delegate an arbitrary task to the glm_claude MCP worker and get the result back synchronously. Use whenever the user wants to hand off any free-form coding, file, shell, or research task to a GLM-backed sub-agent that can read/edit files and run commands on its own — 跑个任务, 委派任务, 让它去做, 帮我执行, 调用子智能体, 调个 GLM, 用 claude 做这件事, 交给子agent. This is the general-purpose entry point; prefer the specialized skills for search/review/re-review when they fit.
Install
npx vskill@latest install hocgin/claude-cli-bridge/glm-claude-taskSKILL.md
The same SKILL.md was published earlier as hocgin/claude-cli-bridge/glm-claude-task.
GLM/Claude arbitrary task delegation
The ask_task tool runs a fresh isolated GLM-backed sub-agent (the Claude Code CLI) with the full default tool set — Bash, Read, Write, Edit, web search — under bypassed permissions, blocks until it finishes, and returns the final answer in one call. Use it when the task doesn't fit the specialized identities (online-search / S1 / S2 / S3) and you want the worker to act autonomously.
Prerequisites
Requires the glm_claude MCP server. If ask_task / ask_status are missing, tell the user the worker is unavailable and stop.
When to use this vs the specialized skills
| Want | Use | |
|---|---|---|
| Pure internet research / fact lookup | glm-claude-research (cheaper, scoped) | |
| Code review (syntax/security/style) | glm-claude-review | |
| Re-review of a previously reviewed target | glm-claude-rereview | |
| Anything else — multi-step coding, file edits, running commands, mixed work, or you're unsure | this skill / `ask_task` |
When in doubt, ask_task is the safe general choice. The specialized skills exist because they're cheaper and better-bounded, not because ask_task can't do those jobs.
How to delegate
- Check availability once:
``text ask_status() ``
Proceed only when it returns ok: true and connected: true.
- Dispatch the task with
ask_task. This call blocks until completion, so
send the full goal and let the worker act autonomously:
``text ask_task( prompt=<the complete task: goal, constraints, relevant paths>, cwd=<project root the task concerns>, timeout_seconds=600 ) ``
The worker has full tools, so it can read files, edit code, and run commands inside cwd. Describe the what and where; let it work out the how.
- Read the returned `answer` — it is the worker's final result. If
state is failed, report error instead. If state is cancelled, say so.
Optional knobs
- `system_prompt` — fully replaces the default instructions when you need
tight control over the worker's behaviour or role. Omit for plain tasks.
- `model` —
glm-5.2(default, cheap/fast) for routine work;sonnetor
opus for harder reasoning.
- `effort` —
low/medium/high/xhigh/max. Raise it for hard
problems.
- `add_dirs` — extra absolute directories the worker may touch beyond
cwd
(e.g. a shared config dir outside the project).
- `max_budget_usd` — per-task spend cap. Default is higher than the identity
tools since arbitrary tasks may run longer; lower it to be safe.
Cancelling & tracking
ask_task blocks synchronously, but the task stays queryable and cancellable while it runs (and after):
If a task is clearly off-track, cancel it rather than waiting out the timeout.
Result boundary
- Treat the worker's
answeras the result of the delegated work. If it edited
files, verify the changes yourself (read the files, run tests) — the worker runs under bypassed permissions, so its edits are applied directly.
- Do not dispatch a second worker to "verify" the first unless the user asks.
Inspect the output yourself.
- If the answer is incomplete or wrong, either re-dispatch with a sharper
prompt or do the remaining work directly — surface which path you took.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/glm-claude-task/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hocgin/claude-cli-bridge/glm-claude-task)