set-copilot: Skill for Claude Code

.claude/skills/set/glm/SKILL.md

glm is a skill for Claude Code from tatargabor/set-copilot. It costs 115 tokens per session (2,981 once invoked), scanned A, a copy of glm, MIT.

A command-line skill for running Claude Code with GLM models from z.ai, either once, in batches, or interactively. GLM is a separate family of AI models, so this tool handles their configuration and context limits explicitly.

In plain words
What is it for?
Use it to run prompts on GLM, compare GLM with another model on the same task, inspect configuration, or investigate unusual GLM runs.
Why use it?
It avoids repeating setup work and helps prevent long prompts from exceeding the model's usable context. It also prevents an unnoticed fallback to a different model.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions Claude Code.

This is tatargabor/set-copilot's own configuration. It tells Claude Code how to work on set-copilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything set-copilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tatargabor/set-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tatargabor/set-copilot/master/.claude/skills/set/glm/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tatargabor/set-copilot

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tatargabor/set-copilot/glm/github.svg)](https://agentmods.dev/skills/tatargabor/set-copilot/glm)
Your own site
<a href="https://agentmods.dev/skills/tatargabor/set-copilot/glm"><img src="https://agentmods.dev/badge/skills/tatargabor/set-copilot/glm/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tatargabor/set-copilot/glm"><img src="https://agentmods.dev/badge/skills/tatargabor/set-copilot/glm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,981 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.
Origin 100% copy Near-identical to another mod 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.00115 $0.02981
Opus 5.5 $0.00046 $0.01192
Sonnet 5.5 $0.00023 $0.00596
Haiku 4.5 $0.00012 $0.00298

Measured 1mo ago against content hash 7e0c099052f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

glm 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 1mo 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.

Origin

This is a copy

100% identical to glm — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/set/glm/SKILL.md · 199 lines

How it starts

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

Running GLM — set-glm

The hard part is not switching the model — it is the context window. The Claude Code CLI does not know GLM's window, so it cuts to a conservative value (~200k) — and a long prompt either fails loudly or runs in a silent compact loop. This skill exists so that nobody has to measure that again.

⚠ Switching is always a USER decision. No automatics and no silent fallback: on missing config the runner stops, it does not fall back to Claude. A silent fallback is the worst outcome because the run would still finish — just inside the other framework, with nothing telling you which one.

Usage

set-glm --check                     # config + LIVE probe call — start here
set-glm -p "prompt"                 # one-shot call
set-glm -p "…" --output-format json # structured output (with token- and cost-fields)
set-glm                             # interactive session on GLM
set-glm --print-env                 # what it sets (token masked)

Every other flag passes through to claude unchanged (--allowedTools, --json-schema, --append-system-prompt, …). --model and --autocompact are only added when the caller did not supply them.

Configuration — ONE central file (since 2026-08-29)

~/.config/set-core/providers.json, mode 0600. This is the only place the framework reads a provider credential from; set-glm and the fleet's agent-owner call the same resolver, so the measured launch parameters live in one place and do not drift apart.

set-providers path        # where it is expected
set-providers show        # what is in it — token masked
set-providers migrate     # carry the old glm.env over, ONE command

Precedence has three levels: machine-level default → project override → the request itself. The model is decided per field; the credential and its endpoint are ONE block — a level either provides both or is rejected. A key is issued for one endpoint, and taking the two from different levels is a combination nobody has described: best case a 401, worst case the other bill.

Read the full file on GitHub · 199 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. 1mo ago First seen · 199 lines · 115 tokens per session scan A 7e0c099052f4

Subscribe to this mod's changes

glm is a skill published in the GitHub repository tatargabor/set-copilot (3 stars, last pushed 6d ago), licensed MIT. It adds 115 tokens to every session and 2,981 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to glm, differing in 0 lines, and is treated as a copy.

Related

glm compared with skills from other repositories

glm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
glmtatargabor/set-copilotSkill36d agoMITA115Claude Code
agent-platform-model-registrygoogle/skillsSkill26kyesterdayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51ktodayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill26kyesterdayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20k3d agoMITA35Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.4ktodayApache-2.0A92Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.4ktodayApache-2.0A30Claude Code