write-a-prompt
/write-a-prompt
Creates a copy-ready prompt from a rough request, notes, source material, or the current conversation using OpenAI's prompting guidance. Use when the user invokes $write-a-prompt or /write-a-prompt, types a common misspelling such as /write-a-promopt or /wite-a-prompt, asks to "write a prompt for me," asks to turn the conversation into a prompt, or wants a prompt tailored for Chat, ChatGPT Work, or Codex. It writes the prompt without performing the underlying task.
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 06.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Creates a copy-ready prompt from a rough request, notes, source material, or the current conversation using OpenAI's prompting guidance. Use when the user invokes $write-a-prompt or /write-a-prompt, types a common misspelling such as /write-a-promopt or /wite-a-prompt, asks to "write a prompt for me," asks to turn the conversation into a prompt, or wants a prompt tailored for Chat, ChatGPT Work, or Codex. It writes the prompt without performing the underlying task.
Triggers from the description
Original author description
Creates a copy-ready prompt from a rough request, notes, source material, or the current conversation using OpenAI's prompting guidance. Use when the user invokes $write-a-prompt or /write-a-prompt, types a common misspelling such as /write-a-promopt or /wite-a-prompt, asks to "write a prompt for me," asks to turn the conversation into a prompt, or wants a prompt tailored for Chat, ChatGPT Work, or Codex. It writes the prompt without performing the underlying task.
How it works
- Workflow
- Quality Check
- Examples
SKILL.md preview
--- name: write-a-prompt description: Creates a copy-ready prompt from a rough request, notes, source material, or the current conversation using OpenAI's prompting guidance. Use when the user invokes $write-a-prompt or /write-a-prompt, types a common misspelling such as /write-a-promopt or /wite-a-prompt, asks to "write a prompt for me," asks to turn the conversation into a prompt, or wants a prompt tailored for Chat, ChatGPT Work, or Codex. It writes the prompt without performing the underlying task. --- # Write a Prompt Turn the user's intent and available context into one prompt they can paste into a new task. Do not execute the task described by that prompt. Treat OpenAI's [Prompting guide](https://learn.chatgpt.com/docs/prompting) as the source of truth. Read the current page when web access is available and current guidance matters. Do not block prompt writing when the page is unavailable; follow the principles below. ## Workflow 1. Determine the target surface. - Use Chat for questions, ideas, short drafts, and everyday decisions. - Use Work for multi-source, tool-using, multi-step, or larger deliverables. - Use Codex for codebases, code changes, debugging, tests, and developer tools. - Follow an explicitly named target. Otherwise infer it from the request without asking unless the choice materially changes the prompt. 2. Extract only context that can change the result. - Carry forward relevant requirements, decisions, examples, reproduction steps, file paths, constraints, and unresolved facts from the conversation. - Make the prompt self-contained when the target will not have access to this conversation. - Name useful files, images, connected sources, or tools and say what to take from each. - Omit irrelevant dialogue, obsolete directions, raw secrets, and unsupported assumptions. 3. Write from the result the user needs. Add only the useful parts: - Goal: state the outcome first. - Context: include information or sources that affect the result. - Output: specify the audience, format, length, or detail level when useful. - Boundaries: preserve the one or two constraints that prevent real problems. - Verification: request a final check proportional to the task's importance. Do not force these parts into headings or a rigid template. A short prompt is preferable when it is sufficient. Describe process only when the process itself matters. 4. Tailor the prompt to the task. - For current information, request web search and source links. - For Work, name the reviewable deliverable, relevant sources, audience, and approval boundary before sending, publishing, or changing shared information. - For Codex, include the desired behavior, relevant code or reproduction, important compatibility constraints, and how to verify the change. Ask for a plan first only when the approach needs review. - For important outputs, ask the target to flag missing or conflicting information instead of guessing. 5. Resolve gaps conservatively. Ask at most one concise clarification only when the missing answer would materially change the prompt and cannot be inferred. Otherwise make a reasonable assumption or use a clearly labeled placeholder. 6. Return the deliverable. Output only the finished prompt in one fenced code block unless the user asks for rationale, variants, or another format. Match the user's language. Do not preface the block with analysis. ## Quality Check Before responding, confirm that the prompt: - is self-contained for its intended target - leads with the requested result - includes relevant context without replaying the whole conversation - preserves material boundaries without micromanaging every step - asks for an appropriate output and final verification - contains no invented facts, hidden assumptions, or exposed secrets - clearly asks the next agent to do the task rather than to write another prompt ## Examples ### Hand Off a Bug Fix Input: ```text /write-a-prompt based on this conversation to fix the bug ``` Expected behavior: synthesize the bug symptoms, reproduction evidence, relevant paths, prior findings, change boundaries, and validation expectations from the conversation into a standalone Codex prompt. Return the prompt only; do not fix the bug. ### Research a Reversible Workplace Experiment Input: ```text /write-a-prompt help me decide whether our 18-person remote design studio should test a four-day workweek ``` Output: ```text Research whether an 18-person remote design studio should run a four-day-workweek experiment. Use current, credible sources and distinguish measured evidence from opinion or inference. Deliver a concise decision memo that summarizes likely benefits, risks, operational constraints, and the kinds of teams for which published results may not generalize. Recommend whether to proceed. If the evidence supports a test, propose a reversible eight-week pilot with scope, workload safeguards, employee and client communication drafts, success metrics, baseline data, weekly check-ins, and explicit stop conditions. Flag assumptions and missing company-specific information instead of guessing. Do not announce a policy, contact employees or clients, or change calendars; prepare the memo and pilot plan for leadership review only. Link every material factual claim to its source and finish by checking that the recommendation follows from the evidence. ``` ### Turn Session Context into an Experiment Input: ```text /write-a-prompt use the context of this session to create a tailored prompt to run the experiment we discussed ``` Expected behavior: extract the specific hypothesis, current baseline, relevant files or implementation seam, benchmark commands, constraints, and success or rejection criteria established during the session. Turn them into a self-contained prompt for a reversible experiment that measures before and after, reports comparable evidence, keeps only a demonstrated improvement, and removes rejected experiment code. Do not tell the next agent to "use this session," because it may not have access to the original conversation.
Files in this package (2)
- SKILL.md 6 KB
- agents/openai.yaml 1 KB
Versions
The database has no other skills named write-a-prompt.
Database snapshot: 13.11.2026 · package version a22ddc69919e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100meta-prompt
Write the prompt another Claude will act on, from a rough request or the conversation so far, carrying the user's intent at the user's level of certainty. Use when the user asks for a prompt, meta-prompt, brief or handoff for a separate session, or wants to delegate the task… - 100meta-prompt
把用户口语化/模糊的任务描述转成一段高质量、可直接复制到其他 AI 会话使用的 prompt。**必须用此 skill**当用户说「帮我优化 prompt」「这段任务怎么问 AI 更好」「写一个 prompt 我发给 GPT/Claude」「帮我写 prompt」「把这个需求包装成 prompt」「meta prompt」,或者显式调用 `/mp`。默认产出 Claude 友好的 XML 结构化 prompt,当用户指定目标是 GPT/ChatGPT/OpenAI 时切换为 markdown 分节格式。**不要在当前会话执行产出的 prompt,只输出 prompt 文本给用户复制**。 - 100prompt-engineer
Use this skill when the user explicitly asks to create, write, improve, or optimize a prompt for use with an AI. Trigger on phrases like "write me a prompt", "improve this prompt", "create a system prompt", "how do I ask ChatGPT/Claude to...", or "quero um prompt para...". Do… - 100ai-fluency-prompt-architect
Turns rough intent into a copy-paste, production-grade AI prompt using the AI Fluency 4D framework (Delegation, Description, Discernment, Diligence) plus six durable prompting techniques. WHEN: \"write me a prompt\", \"make this prompt better\", \"improve my prompt\", \"prompt… - 100prompt-optimizer
When the user wants a prompt optimized for ChatGPT, Claude, Gemini, or another AI — 'make this prompt better', 'optimize for ChatGPT', 'rewrite my prompt' — even without saying 'optimize'. - 95prompt-optimizer
Analyze raw prompts, identify intent and gaps, inventory the current oh-my-codex skill catalog across local/upstream sources, choose the best-fit skill chain, and output a ready-to-paste optimized prompt for Codex. Advisory role only — never executes the task itself. TRIGGER…