preset-skill-zhipu

preset-skill-zhipu is a skill for Claude Code, Codex from Lingtai-AI/lingtai. It costs 21 tokens per session (918 once invoked), scanned A, original, Apache-2.0.

A reference for configuring the zhipu provider in a terminal user interface, including its model, API key, and regional service URLs.

In plain words
What is it for?
Use it when adding or editing the zhipu provider preset and selecting the China, international, or OpenCode Go endpoint.
Why use it?
It clarifies which endpoint, model spelling, and credential setting to use for different Zhipu regions or OpenCode Go.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it when adding or editing the zhipu provider preset and selecting the China, international, or OpenCode Go endpoint.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lingtai-ai/lingtai/zhipu
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 Lingtai-AI/lingtai --skill zhipu
Clone the repo
git clone --depth 1 https://github.com/Lingtai-AI/lingtai

Made for: Claude Code, Codex.

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 preset-skill-zhipu

README.md
[![agentmods](https://agentmods.dev/badge/skills/lingtai-ai/lingtai/zhipu/github.svg)](https://agentmods.dev/skills/lingtai-ai/lingtai/zhipu)
Your own site
<a href="https://agentmods.dev/skills/lingtai-ai/lingtai/zhipu"><img src="https://agentmods.dev/badge/skills/lingtai-ai/lingtai/zhipu/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 preset-skill-zhipu

Your own site · 80×15
<a href="https://agentmods.dev/skills/lingtai-ai/lingtai/zhipu"><img src="https://agentmods.dev/badge/skills/lingtai-ai/lingtai/zhipu.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 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: 2 findings, up to medium

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 →

  • medium Data Exfiltration · line 15
    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 24
    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.00021 $0.00918
Opus 5 $0.00010 $0.00459
Sonnet 5 $0.00004 $0.00184
Haiku 4.5 $0.00002 $0.00092

Measured 3d ago against content hash 64d0bcad729b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

preset-skill-zhipu 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 3d 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.

tui/internal/preset/skills/lingtai-preset-skill/reference/zhipu/SKILL.md · 73 lines

How it starts

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

zhipu preset revision

Use this child for the named built-in zhipu preset. zhipuPreset in tui/internal/preset/preset.go:1275 ships GLM-5.2, ZHIPU_API_KEY, OpenAI compatibility, CN/INTL coding endpoints, web_search, and skills; it does not ship a vision capability. ProviderRegionURLs["zhipu"] also has an OpenCode Go row whose model spelling is lowercase.

Template-specific settings

Read the official Zhipu model overview and Z.AI model docs for the applicable region. For the native CN/INTL route, use that provider catalog and its documented API model list/endpoint; for OpenCode Go, separately call the gateway's authenticated GET https://opencode.ai/zen/go/v1/models and preserve the lowercase IDs it serves. Do not treat GLM-4.6V or the optional Z.AI Vision MCP as the text preset's native vision. Preserve the exact case required by the selected route. The optional official server uses package @z_ai/mcp-server and backing model GLM-4.6V; it reads Z_AI_API_KEY and Z_AI_MODE, while this preset reads ZHIPU_API_KEY. Vision Understanding consumes a separate 5-hour prompt pool; never install, register, or invoke that MCP automatically.

TUI surfaces to revise

Start at zhipuPreset in tui/internal/preset/preset.go. Revise providerModels["zhipu"] and all matching modelHasVision entries in tui/internal/tui/preset_editor.go when the picker or text/vision fact changes. For endpoint or credential changes, revise ProviderRegionURLs and ProviderDefaultEnv in preset.go. Recheck the constructor's intentionally absent vision key and the model-row/base_url behavior; follow tui/internal/tui/SKILL.md and tui/CONTRACT.md.

The picker retains uppercase GLM-5.2/GLM-5.1 and lowercase glm-5.2/glm-5.1 in one mixed list. This is an evidence-backed no-op: the reviewed sources do not pin a native Coding Plan GLM-5.3 ID or casing strongly enough to split the native and Go routes safely, so no native GLM-5.3 entry is invented. The constructor's absent vision key is intentional: the shipped GLM coding models are text-only.

Read the full file on GitHub · 73 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. 3d ago Changed · +5 lines · -1 tokens per session 64d0bcad729b
  2. 12d ago First seen · 68 lines · 22 tokens per session scan A c6d8b407b725

Subscribe to this mod's changes

preset-skill-zhipu is a skill published in the GitHub repository Lingtai-AI/lingtai (677 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 918 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens