codex/promptgen/SKILL.md
Turn rough instructions into stronger prompts using the source workflow at `claude/promptgen`. Use when the user wants a task prompt, system prompt, coding-agent prompt, tool description, eval grader, subagent briefing, or prompt-improvement pass rather than direct execution.
npx skillsauth add smykla-skalski/sai promptgenInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user wants a rough task description turned into a stronger prompt instead of asking Codex to perform the underlying task.
This is a thin Codex wrapper around claude/promptgen/skills/promptgen/SKILL.md. Reuse the source workflow, references, scripts, and eval material from the Claude skill directory instead of maintaining duplicated Codex copies.
claude/promptgen/skills/promptgen/SKILL.mdclaude/promptgen/skills/promptgen/agents/openai.yamlLoad only the source files needed for the current task. Do not recreate or copy the Claude-side bundled resources into this Codex skill.
claude/promptgen/skills/promptgen/SKILL.md as the source workflow and ignore Claude-only invocation wiring.claude/promptgen/skills/promptgen/references/. The references cover prompt principles, mechanics, structure templates, security patterns, code-for-agents rules, and anti-patterns.prompt-mechanics.md for the prompt brief and specificity dial; read prompt-structure.md to pick the target template (Claude / GPT / Codex / generic) and any prompt-type insert (subagent briefing, three-agent harness, eval grader).prompt-principles.md for evidence-backed defaults, model-generation gotchas, and reasoning-effort / verbosity calibration.security-patterns.md only when the prompt's target agent will face untrusted input, MCP tools, RAG, or the lethal trifecta. Apply Meta's Rule of Two when state-changing actions are in scope.anti-patterns.md self-check before returning the prompt; audit explicitly for contradictions.--for codex mechanics when the target prompt is for Codex, repo edits, code review, CI repair, or long-running coding-agent work.reasoning_effort (none | minimal | low | medium | high | xhigh) and verbosity tuning at the API level instead of writing prose that approximates them. Default none on GPT-5.2; calibrate up only for genuinely complex multi-step work.AGENTS.md at the repo root (or nested per directory). Codex / Cursor / Copilot / Amp / Jules / Factory / Windsurf / Aider all read this file. Cap is 32 KiB (project_doc_max_bytes).After any fix or state-changing action, rerun the narrowest relevant validator, script, listing command, or source check and compare the before / after result.
development
Run the council workflow from a normal Copilot session only when the user explicitly asks for council review, multi-persona critique, debate, design review, code review, architecture feedback, UX review, or tradeoff analysis. Do not use it for commit, stage, merge, approval, or generic pre-commit requests. Accept the same mode syntax as the bundled council reviewers: `core|auto|core-eng|core-ux|core-mix|all|debate <problem|@file>`. During council slash-command use, the current session agent moderates reviewer agents directly. Runs broader than 6 reviewers require explicit AskUserQuestion approval before launch.
tools
Use when the user invokes $council, $council:council, Council review, or Council debate. Use loaded SKILL body or one direct installed `skills/council/SKILL.md` read. Direct read path must contain `/.codex/plugins/cache/sai/council/` and end `/skills/council/SKILL.md`. `cd <cwd> && sed -n ... <path>` is valid. Do not use `pwd`, `ls`, `find`, `rg`, `cat`, multiple `&&`, or `;`. Never use repo-local paths. If unavailable, stop exactly `Council not run: skill unavailable.` At most one pre-tool message, exact `Council progress:` line only. Non-final lines start `Council progress:`.
development
Run council reviews with sourced engineering, UX, reliability, performance, AI, and strategy persona lenses. Use when the user asks for council review, multi-persona critique, debate, design review, code review, architecture feedback, UX review, or tradeoff analysis.
development
Use when the user asks for council review, multi-persona critique, debate, design review, code review, architecture feedback, UX review, or tradeoff analysis. Bare invocations use `core` profile auto-detect; explicit `auto` selects the best-fit 6 personas from the sourced 27-persona engineering and UX roster. Users can still pin `core`, `core-eng`, `core-ux`, `core-mix`, `all`, or `debate`.