Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/athola/claude-night-marketnpx agentmods add skills/athola/claude-night-market/glm-delegationWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/athola/claude-night-market/glm-delegation)<a href="https://agentmods.dev/skills/athola/claude-night-market/glm-delegation"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/glm-delegation/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/athola/claude-night-market/glm-delegation"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/glm-delegation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Excessive Agency · line 109 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
- medium Data Exfiltration · line 107 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 124 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 128 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.01226 |
| Opus 5.5 | $0.00016 | $0.00490 |
| Sonnet 5.5 | $0.00008 | $0.00245 |
| Haiku 4.5 | $0.00004 | $0.00123 |
Grade A, and why
glm-delegation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GLM Delegation
Overview
GLM ships no CLI of its own. Z.ai serves an Anthropic-compatible
endpoint, so the stock claude binary reaches GLM by changing two
environment variables and nothing else. This is the endpoint-swap
archetype: the redirection is environment, never argv.
GLM-5.3 was released on 2026-08-14 and claims a large coding gain over GLM-5.2 from post-training alone.
When To Use
delegation-coreselectedglmfor the task- A 1M-token context is wanted through
glm-5.3[1m] - A GLM Coding Plan subscription should absorb the work instead of the Anthropic quota
When NOT To Use
ZAI_API_KEYis unset. Verification refuses rather than sending an unauthenticated request- The
claudebinary is not installed. GLM has no fallback CLI
Prerequisites
Installation
Only the stock Claude Code binary is needed:
npm install -g @anthropic-ai/claude-code
Authentication
export ZAI_API_KEY="<your-zai-key>"
The delegation service builds the child environment from that one
variable. Z.ai requires ANTHROPIC_AUTH_TOKEN, not
ANTHROPIC_API_KEY. Putting the key in the wrong one is the most
common way to get a 401 here, so the service names the correct
variable and the overlay references ${ZAI_API_KEY} rather than
storing a secret.
Quick Start
Using the shared delegation executor
uv run python scripts/delegation_executor.py glm "Review this design" \
--files docs/
Through the Makefile
make -C plugins/conjure delegate-glm PROMPT='Review this design'
Direct CLI usage
ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic \
ANTHROPIC_AUTH_TOKEN="$ZAI_API_KEY" \
claude --model glm-5.3 -p "Review this design"
Smart Delegation
glm declares code_execution and large_context strengths and ranks
behind gemini, qwen and minimax in the candidate order. It declares
glm-5.3 as its default, glm-5.3[1m] for large context, and
glm-5.3-flash for fast response.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · -3 tokens per session 4248c0b34901
- 25d ago Changed · -1 lines cc68a6cea722
- 1mo ago Changed · -1 lines ba9abc5ccbcb
- 2mo ago Changed · -11 lines 8762b898c033
- 2mo ago First seen · 162 lines · 44 tokens per session scan A 5665e380edd8
glm-delegation is a skill published in the GitHub repository athola/claude-night-market (358 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,226 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
glm-delegation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| glm-delegationathola/claude-night-market | Skill | 358 | today | MIT | A | 41 | Claude Code |
| algorithmic-artshajith003/awesome-claude-skills | Skill | 25 | 1mo ago | none | A | 62 | Claude Code, Codex |
| slack-gif-creatorshajith003/awesome-claude-skills | Skill | 25 | 1mo ago | none | A | 57 | Claude Code, Codex |
| mcp-buildershajith003/awesome-claude-skills | Skill | 25 | 1mo ago | none | A | 61 | Claude Code, Codex |
| canvas-designshajith003/awesome-claude-skills | Skill | 25 | 1mo ago | none | A | 59 | Claude Code, Codex |
| xlsxshajith003/awesome-claude-skills | Skill | 25 | 1mo ago | none | A | 96 | Claude Code, Codex |
| skill-creatorshajith003/awesome-claude-skills | Skill | 25 | 1mo ago | none | A | 45 | Claude Code, Codex |