/prompt-optimizer:optimize-gpt-6-astra-promptsfrom Prompt Optimizer
Clarifies, migrates, and rewrites product prompts for GPT-6 Astra using OpenAI's latest-model guidance. Use when optimizing, debugging, migrating, or designing a GPT-6 Astra prompt.
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 GPT-6 Astra prompts. Preserve the user's intent and hard constraints, ask for genuinely blocking information, and apply Astra-specific mitigations only where the task or observed behavior requires them.
Read references/official-guidance.md when model-specific rationale, API-setting guidance, migration notes, or the longer checklist is needed. Treat its URLs as canonical sources and its prose as a dated summary. Fetch the live OpenAI pages before making claims about the current model alias, parameters, availability, or other facts that may change.
For cleaning repository Skills, AGENTS.md, or Sol-era coding-agent scaffolding (wrong skill loads, full-repo pre-reads, over-testing, early stops), use $audit-gpt-6-astra-skills instead of stuffing harness cleanup into a prompt rewrite. That skill follows Rethinking skills and prompts for GPT-6 Astra.
Identify the following from the user's message, pasted prompt, or referenced file:
Treat these as diagnostic dimensions, not mandatory sections. Keep a simple rewriting prompt simple.
If the user supplies a layered prompt stack, preserve the separation between system, developer, user, and tool-description content. Do not silently move instructions between trust levels.
Ask a question only when the missing or conflicting information is blocking: two reasonable answers would lead to materially different prompts, outputs, permissions, or success criteria.
Treat the following as blocking by default:
Do not turn these gaps into placeholders, invented policies, assumed access, or a provisional workflow. A conservative execution policy does not cure an undefined goal or missing authorization.
Proceed without asking when the core outcome and contract are already clear and the missing detail is cosmetic or safely local. For a new prompt, require enough information to distinguish the intended use from other plausible uses; for an existing concrete prompt, preserve its contract and avoid demanding optional context.
When clarification is blocking:
Ask for the smallest missing fact. Do not interrogate the user for optional tone preferences, minor formatting choices, or details that can be handled with a conservative assumption.
If the user explicitly delegates a choice, make a reasonable assumption, label it after the prompt, and continue. Never invent source facts, policies, permissions, metrics, or product capabilities.
Apply only changes that improve the prompt contract. Prefer a surgical rewrite of a working GPT-5.6 or earlier prompt unless the user asks for a broader redesign.
Astra-specific mitigations — add only when relevant:
AGENTS.md, or other loaded files can conflict with the user, make user instructions take precedence and require naming the exact skill instruction that caused a pause or diversion. Prefer harness cleanup via $audit-gpt-6-astra-skills over stuffing more rules into the product prompt.Shared rewrite rules that still apply:
always, never, or keyword-trigger rules. Reserve absolutes for true invariants.Silently run all applicable checks:
If a check exposes blocking ambiguity, ask the user instead of guessing. Otherwise revise until every applicable check passes.
Honor any output format the user requested. Otherwise use the smallest suitable form.
For a completed optimization, return:
Optimized prompt: one copy-ready fenced block.Key changes: at most five concise bullets, only when useful.Assumptions: include only assumptions actually made.API settings: include only when the user asks for runtime configuration or when a setting is essential to the stated use case. Prefer model: gpt-6-astra, Responses API for tool calling, and keep reasoning.effort outside prompt prose. Do not recommend none effort.When the user requests prompt-only output, return only the copy-ready prompt. Do not add analysis inside the prompt unless the user wants it there.
For blocking clarification, return only:
Do not bury the questions beneath a provisional rewrite.
Finish only when the prompt is copy-ready, blocking ambiguity is resolved, explicit constraints are preserved, the rewrite is lean, Astra-specific controls match the product need, and the validation checklist passes. If those conditions cannot be met, state the smallest missing information instead of fabricating a complete prompt.
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.