zcode-subagent
Installation
SKILL.md
ZCode Subagent
Lets the current agent call the ZCode (z.ai, GLM engine) desktop app as a coding subagent: hand it a task, then detect completion and read the result, all from the shell. The calling agent dispatches a prompt into the app, detects when the turn finishes, and reads a small structured digest of the result. It never screenshots or scrapes the full transcript, so the caller spends a fixed, tiny token cost per task regardless of how long ZCode worked.
When to use
- You (a parent agent) need to hand a coding task to ZCode and understand the outcome cheaply.
- You want ZCode automation without a standalone z.ai API key (the app's logged-in "coding plan" is enough).
- You need a follow-up prompt in the same ZCode conversation.