agentleFS
ZCodium-projectZCodium-project/ZCodium/.agents/skills/zcode-large-task-fixture/SKILL.md

zcode-large-task-fixture

Skill247 starsChanged 9 days agoMITView on GitHub

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.

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to create a large local task that behaves like a long-running ZCode Agent task.

    line 9
  2. Distinctive:

    Verify an existing generated task:

    line 27
  3. Distinctive:

    Remove a generated task:

    line 34
  4. Very specific:

    Read the script output and report the sessionId, manifest path, counts, and backup directory.

    line 45
  5. Very specific:

    Use --delete <sessionId> for generated fixtures.

    line 54
  6. Very specific:

    Do not delete manually unless you have checked the manifest and confirmed the task id starts with sess_perf_large_.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

node .agents/skills/zcode-large-task-fixture/scripts/generate-large-task-fixture.mjs \
  --workspace "$PWD" \
  --turns 3000

Verify an existing generated task:

node .agents/skills/zcode-large-task-fixture/scripts/generate-large-task-fixture.mjs \
  --verify sess_perf_large_YYYYMMDDHHMMSS_xxxxxxxx

Remove a generated task:

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.