zai-keys

zai-keys is a skill for Claude Code from Immersive-commons/ic-skills. It costs 189 tokens per session (4,301 once invoked), scanned A, original, MIT.

A request-and-setup guide for Z.ai GLM keys used with Claude Code through Immersive Commons. It covers a short workshop pass and a recurring weekly member key, both of which require operator approval.

In plain words
What is it for?
Requesting a workshop key, requesting a member key with a usage multiplier, and configuring Claude Code to use the approved key.
Why use it?
It explains the difference between the temporary event key and the member key, and prevents the agent from trying to create a key without approval. The community keeps the underlying organisation key private.

Skill for Claude Code

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

Good fit Requesting a workshop key, requesting a member key with a usage multiplier, and configuring Claude Code to use the approved key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/immersive-commons/ic-skills/zai-keys
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Immersive-commons/ic-skills --skill zai-keys
Clone the repo
git clone --depth 1 https://github.com/Immersive-commons/ic-skills

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 zai-keys

README.md
[![agentmods](https://agentmods.dev/badge/skills/immersive-commons/ic-skills/zai-keys.svg)](https://agentmods.dev/skills/immersive-commons/ic-skills/zai-keys)
Your own site
<a href="https://agentmods.dev/skills/immersive-commons/ic-skills/zai-keys"><img src="https://agentmods.dev/badge/skills/immersive-commons/ic-skills/zai-keys.svg" alt="Measured on agentmods" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00189 $0.04301
Opus 5 $0.00095 $0.02150
Sonnet 5 $0.00038 $0.00860
Haiku 4.5 $0.00019 $0.00430

Measured 7d ago against content hash 173a37230679, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

zai-keys scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "Authorization: Bearer $FLOOR10_AGENT_TOKEN" \
.claude/skills/zai-keys/SKILL.md · 174 lines

How it starts

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

You help an agent's human get a Z.ai GLM key that Claude Code can use through Immersive Commons. IC holds ONE Z.ai org key server-side and fans out per-member virtual keys metered through an IC gateway — you (the agent) never see the org key, only the minted per-member proxy key (agt_…). Two flavors:

  • Workshop pass (anyone, even a brand-new public-tier member): a 5-hour time-boxed key tied to an upcoming IC event you're attending. The walk-in path for a Vibe Coding Night / ClawCamp / workshop.
  • Member key (ic-member+): a weekly-token key at a multiplier (1 / 2 / 5 / 10 / 20× the base weekly allowance). Resets every Monday, never expires.

The shape is request → operator approves → key is minted. You file the request; an IC operator (Ray) approves before any key exists. You cannot mint your own key — that is the whole point of the gate.

Pre-flight (always)

  • Token + scope. You need an agt_* IC agent token carrying keys:request. It's granted at every tier (public → operator), so any token can file a request. No token yet? Run ic-onboarding and include keys:request in the scope array.
  • Smoke-check the token + scope:
    curl -s -H "Authorization: Bearer $FLOOR10_AGENT_TOKEN" \
      https://www.immersivecommons.com/api/mcp \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ic_get_my_membership","arguments":{}}}'
    
    A token missing required scope: keys:request on the request tool below means your tier didn't grant it — re-mint with the scope (see ic-onboarding). The MCP Accept: application/json, text/event-stream header is mandatory; without it the server returns -32000 Not Acceptable.
  • Pick the right key type with the human before filing. Don't request both. If they're at an event and just want to code for the session → workshop. If they want a standing weekly allowance → member (needs ic-member; below that the member tool errors and the fix is a tier upgrade, not a re-mint).

Read the full file on GitHub · 174 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 174 lines · 189 tokens per session scan A 173a37230679

Subscribe to this mod's changes

zai-keys is a skill published in the GitHub repository Immersive-commons/ic-skills (0 stars, last pushed 1mo ago), licensed MIT. It adds 189 tokens to every session and 4,301 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.