/prompt-optimizer:optimize-glm-promptsfrom Prompt Optimizer
Clarifies and rewrites prompts for the GLM / 智谱 model family, preserving intent and constraints while adding structure only when it changes model behavior.
Ships in Prompt Optimizer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn rough ideas and existing prompt stacks into copy-ready GLM prompts. Preserve the user's intent and hard constraints, ask for genuinely blocking information, and add structure only when it changes model behavior.
Read references/official-guidance.md when model-specific rationale or the longer checklist is needed. Treat its prose as a dated summary and its URL as the canonical source. Fetch the live Zhipu AI page before making claims about current model IDs, API features, parameters, context limits, availability, or pricing.
Identify:
Treat these as diagnostic dimensions, not mandatory headings. Preserve system, developer, user, and tool-description boundaries when the user supplies a layered prompt stack.
Ask a question only when two reasonable answers would materially change the outcome, source boundary, prompt layer, schema, permissions, or success criteria.
Treat these gaps as blocking by default:
When clarification is blocking, ask one to three high-information questions and do not produce a provisional prompt. Otherwise proceed with conservative local assumptions and list only assumptions actually made. Never invent facts, sources, policies, access, or permissions.
Apply only techniques that improve the contract:
Do not add every technique to every prompt. Prefer a surgical rewrite for an existing prompt with a clear contract.
Silently check:
If a check exposes blocking ambiguity, ask the user instead of guessing.
Honor the user's requested format. Otherwise return:
优化后的提示词 or Optimized prompt: one copy-ready fenced block, or separate system and user blocks when both are needed.关键改动 or Key changes: at most five concise bullets, only when useful.假设 or Assumptions: only assumptions actually made.API 设置建议 or API settings: only when requested or essential.For prompt-only requests, return only the prompt. For blocking clarification, return only a short blocker statement, one to three questions, and optionally a one-line answer template.
Finish only when the prompt is copy-ready, explicit requirements are preserved, prompt layers and schemas are clear where relevant, and GLM does not need to guess a material part of the contract. Otherwise state the smallest missing information.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ichendev/prompt-optimizer-plugins --plugin prompt-optimizer11 skills in this plugin
/audit-gpt-6-astra-skillsAudit and subtractively clean Skills, AGENTS.md, and coding-agent scaffolding for GPT-6 Astra. Use when Astra stops early, loads the wrong skills, over-reads, over-tests, over-asks, or when migrating Sol-era harness instructions—not for rewriting product prompts (use optimize-gpt-6-astra-prompts)./optimize-claude-fable-5-promptsClarify and rewrite prompts for Claude Fable 5. Use when optimizing, migrating, debugging, or designing a Fable 5 / Fabel prompt (including Fable/Fabel 提示词优化)—not for Claude Opus 5./optimize-claude-opus-5-promptsClarify and rewrite prompts or agent harnesses for Claude Opus 5 (claude-opus-5). Use when optimizing, migrating from Opus 4.8, or tuning Opus 5 behaviors such as long responses, over-narration, scope expansion, eager subagents, or over-verification (including Opus 5 提示词优化)—not for Claude Fable 5./optimize-claude-sonnet-5-5-promptsClarify and rewrite prompts or agent harnesses for Claude Sonnet 5.5 (claude-sonnet-5-5). Use when optimizing, migrating from Sonnet 5, or tuning Sonnet 5.5 behaviors such as effort, initiative/scope, between_tools, JSON accuracy, progress updates, or low-effort verification (including Sonnet 5.5 提示词优化)—not for Opus/Fable prompt rewrites or bare model picking (use select-claude-models)./optimize-deepseek-v4-promptsClarify and rewrite prompts for DeepSeek-V4 Pro and Flash. Use when optimizing, debugging, migrating, or designing a DeepSeek-V4 prompt (including DeepSeek / DeepSeek-V4 提示词优化); keep reasoning modes and special tokens outside prompt prose./optimize-gemini-promptsClarify and rewrite prompts for the Gemini model family. Use when optimizing, debugging, migrating, or designing a Gemini prompt (including Gemini 提示词优化), especially multimodal or long-context cases.