glm-delegation

glm-delegation is a skill for Claude Code from athola/claude-night-market. It costs 44 tokens per session (1,334 once invoked), scanned A, original, MIT.

A delegation adapter that sends tasks to Z.ai's GLM models through the standard Claude Code command-line tool. It changes the endpoint settings so Claude Code connects to GLM instead of Anthropic.

In plain words
What is it for?
Use it for delegated tasks requiring GLM or a very large context when the delegation system selects GLM and the required credentials are available.
Why use it?
It lets the delegation system use GLM without a separate GLM command-line program. It can also route work to a GLM subscription when that is configured.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/delegation_executor.py glm "Review this design" \.

Part of the conjure plugin — 11 skills shipped together

Good fit Use it for delegated tasks requiring GLM or a very large context when the delegation system selects GLM and the required credentials are available.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market
agentmods
npx agentmods add skills/athola/claude-night-market/glm-delegation

Made for: Claude Code.

Or install conjure, the plugin that ships this one along with the rest of its 11 skills.

Wrote 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.

agentmods badge for glm-delegation

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/glm-delegation/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/glm-delegation)
Your own site
<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.

agentmods 80×15 button for glm-delegation

Your own site · 80×15
<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>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,334 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.01334
Opus 5 $0.00022 $0.00667
Sonnet 5 $0.00009 $0.00267
Haiku 4.5 $0.00004 $0.00133

Measured 9d ago against content hash 5665e380edd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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 9d ago.

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.

plugins/conjure/skills/glm-delegation/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Table of Contents

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-core selected glm for 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_KEY is unset. Verification refuses rather than sending an unauthenticated request
  • The claude binary is not installed. GLM has no fallback CLI
  • A pinned GLM-5.3 identifier is required in a script that must not break: see the rollout note below

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

Read the full file on GitHub · 162 lines

Changes

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.

  1. 9d ago First seen · 162 lines · 44 tokens per session scan A 5665e380edd8

Subscribe to this mod's changes

glm-delegation is a skill published in the GitHub repository athola/claude-night-market (337 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,334 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright…

shajith003/awesome-claude-skills · 62 tokens

slack-gif-creator

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

shajith003/awesome-claude-skills · 57 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

shajith003/awesome-claude-skills · 59 tokens

xlsx

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify…

shajith003/awesome-claude-skills · 96 tokens

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

shajith003/awesome-claude-skills · 61 tokens

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

shajith003/awesome-claude-skills · 45 tokens