zcode-large-task-fixture
zai-org/ZCode/.agents/skills/zcode-large-task-fixture/SKILL.md
Generate, verify, or remove large synthetic ZCode task fixtures in local ~/.zcode persistence for UI/session performance testing. Use when testing big conversation/task rendering, task list performance, snapshot recovery, tool-call rendering, reasoning, patches, todos, and model usage without spending time chatting manually.
What's in it
- ZCode Large Task Fixture
- Quick Commands
- Workflow
- Safety
- Coverage
--- name: zcode-large-task-fixture description: Generate, verify, or remove large synthetic ZCode task fixtures in local ~/.zcode persistence for UI/session performance testing. Use when testing big conversation/task rendering, task list performance, snapshot recovery, tool-call rendering, reasoning, patches, todos, and model usage without spending time chatting manually. disable-model-invocation: true --- # ZCode Large Task Fixture Use this skill to create a large local task that behaves like a long-running ZCode Agent task. It writes both persistence layers: - App task index: `~/.zcode/v2/tasks-index.sqlite` - Agent session DB: `~/.zcode/cli/db/db.sqlite` The generated task is synthetic test data. Always back up before writing and record the manifest path. ## Quick Commands From the z-code repository root: ```bash node .agents/skills/zcode-large-task-fixture/scripts/generate-large-task-fixture.mjs \ --workspace "$PWD" \ --turns 3000 ``` Verify an existing generated task: ```bash node .agents/skills/zcode-large-task-fixture/scripts/generate-large-task-fixture.mjs \ --verify sess_perf_large_YYYYMMDDHHMMSS_xxxxxxxx ``` Remove a generated task: ```bash node .agents/skills/zcode-large-task-fixture/scripts/generate-large-task-fixture.mjs \ --delete sess_perf_large_YYYYMMDDHHMMSS_xxxxxxxx ``` ## Workflow 1. Confirm the target workspace path. Use the repository root unless the user names another workspace. 2. Generate with `--turns 3000` for a large fixture. This creates roughly 6,000 messages and 20,000 parts. 3. Read the script output and report the `sessionId`, manifest path, counts, and backup directory. 4. Verify with `--verify <sessionId>`. 5. Tell the user to restart or refresh the app if it was already running, then open the pinned task titled `Performance Fixture Large Mixed Task`. ## Safety - The script uses SQLite `.backup` before generation unless `--no-backup` is passed. - Backups are stored under `~/.zcode/perf-task-backups/<timestamp>/`. - Manifests are stored under `~/.zcode/perf-task-manifests/<sessionId>.json`. - Use `--delete <sessionId>` for generated fixtures. It deletes from `tasks-index.sqlite` and cascades the agent `session` rows. - Do not delete manually unless you have checked the manifest and confirmed the task id starts with `sess_perf_large_`. ## Coverage Generated sessions include: - User text and file parts - Assistant text and reasoning parts - Tool parts with completed, running, pending, and error states - Bash, Read, Grep, Glob, Edit, Write, TodoWrite, AskUserQuestion, Agent, WebSearch, and WebFetch tool shapes - Patch, compaction, subtask, agent, retry, step-start, and step-finish parts - Todo rows, session target rows, model usage rows, turn usage rows, and task index searchable text
More agent context in zai-org/ZCode
11 other files this repository gives its agents.
Skill
- agent-browser.agents/skills/agent-browser/SKILL.md
- ai-elements.agents/skills/ai-elements/SKILL.md
- architecture-governance.agents/skills/architecture-governance/SKILL.md
- dep-refs.agents/skills/dep-refs/SKILL.md
- dogfood.agents/skills/dogfood/SKILL.md
- e2e-case-lifecycle.agents/skills/e2e-case-lifecycle/SKILL.md
- electron.agents/skills/electron/SKILL.md
- feature-boundary-planner.agents/skills/feature-boundary-planner/SKILL.md
- vercel-react-best-practices.agents/skills/react-best-practices/SKILL.md
Discussion
Evidence it works
Elsewhere, people who say they tested it. Read them for what they measured.
- Sep 27, 2026 · Web · dedimarco.com · ZCode from Z.ai: testing the desktop harness for GLM 5.3 — Dedimarco
Talked about elsewhere, linking to zai-org/ZCode
- ZCode, embroiled in a controversy over stealing user code, is now open source
Hacker News · 5 points · Sep 21, 2026
- An AI Coding Agent Uploaded Whole Git Histories: How to Lock Down Your Homelab
Web · dev.to · Oct 12, 2026
- Is Z.ai's ZCode Worth Self-Hosting? The Real Cost
YouTube · Open Source Trend · 705 views · 1 comments · Oct 4, 2026
- Z AI open-sourced ZCode. 😁 github.com/zai-org/ZCode
Bluesky · @sungkim.bsky.social · 57 likes and reposts · 2 replies · Sep 21, 2026
- feat(agents): add first-class ZCode harness
GitHub · stablyai/orca · 1 reactions · 13 comments · Sep 23, 2026
- ZCode: Z.ai's coding agent harness. Powerful, intelligent, extensible
Hacker News · 4 points · Sep 21, 2026
- On the Importance of Open-Weight AI - by Maria Sukhareva
Web · msukhareva.substack.com · Sep 27, 2026
- ZCode GitHub Install Guide by Z.ai: GLM-5.3 Agentic Coding Architecture Explained
YouTube · Alex Hitt · 610 views · 3 comments · Sep 21, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

