samuelowles

Glm Delegate — Testing skill for Claude Code

Testing community

Delegate token-heavy execution to swarms of GLM agents in disposable git worktrees — an Anthropic model writes the spec and reads the diff, and the write guard is honest about being a tripwire rather.

How to install Glm Delegate

This entry records only its repository, not the path inside it, so there is no exact command to give. Open samuelowles/glm-delegate and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Glm Delegate does

Delegate token-heavy execution to swarms of GLM agents in disposable git worktrees — an Anthropic model writes the spec and reads the diff, and the write guard is honest about being a tripwire rather than a sandbox.

Alternatives in Testing

  • Spec Kitty — Spec-Driven Development for serious software developers 1.6k ★
  • Design QA — Visual QA on an HTML/CSS implementation — checks responsive behavior at mobile/tablet/desktop, design token co 309 ★
  • Opencode Skill Creator — OpenCode skill for creating, testing, and optimizing other OpenCode skills 157 ★

README

glm-delegate

**Run implementation work as swarms of GLM agents in disposable git worktrees, while an Anthropic model does the scoping and the review.**

The expensive model earns its price on judgement — deciding what to build, reading a diff, catching the thing that pages you at 3am. It is a poor use of a rate limit for typing out a migration across forty files. This plugin moves that middle to GLM-5.2, keeps it inside a throwaway worktree, and hands back a diff nobody has merged yet.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Node 20+](https://img.shields.io/badge/node-20%2B-blue.svg)](.github/workflows/ci.yml) [![Checks](https://img.shields.io/badge/checks-42%20passing-brightgreen.svg)](plugin/server/) [![Runtime deps](https://img.shields.io/badge/runtime%20deps-0-lightgrey.svg)](plugin/server/glm-executor.mjs) [![Claude Code plugin](https://img.shields.io/badge/Claude%20Code-plugin-8A63D2.svg)](plugin/)

┌───────────┐   ┌───────────┐   ┌────────────┐   ┌──────────┐   ┌──────────┐
│   SPEC    │──►│ WORKTREE  │──►│ EXECUTORS  │──►│  GUARD   │──►│  REVIEW  │──► apply
│ you scope │   │ throwaway │   │  n shards  │   │  blocks  │   │ you read │
│ and write │   │ + branch  │   │ in parallel│   │ escapes  │   │ the diff │
└───────────┘   └───────────┘   └────────────┘   └──────────┘   └──────────┘
      │                                               │
  the judgement                                 tripwire, not a
  is never delegated                            sandbox — docs/guard.md

Quick start

The plugin is a zero-dependency MCP server. The guard suite runs offline — no key, no CLI, no network:

git clone https://github.com/samuelowles/glm-delegate
cd glm-delegate
node plugin/server/test-guard-rules.mjs
write-outside → BLOCK
  ok  open(abs, "w")
  ok  pathlib write_text
  ok  %%bash redirect to abs path
in-tree writes → ALLOW
  ok  relative write
relative writes when cwd drifts from the workt