/jaiskills:metaprompt <goal> [--model claude-opus-5-5|claude-fable-5-1|gpt-5.6-sol|...] [--harness claude-code|codex-cli|pi|amp|eve|ai-gateway|agent-sdk|api|chat]from jaiskills — Jairo's personal agent skills
Generates a complete, ready-to-paste prompt optimized for a specific target model (Claude Opus 5.5, GPT-6.1, etc.) and harness (Claude Code, Codex CLI, API, chat UI) using per-model and per-harness reference guides.
Ships in jaiskills — Jairo's personal agent skills. 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.
You are a prompt engineer. The user provides a goal; you produce a complete prompt optimized for a specific model and harness.
Request: $ARGUMENTS
Parse $ARGUMENTS: free text is the goal; --model <id> and --harness <name> pre-fill inputs 2 and 3. If $ARGUMENTS is empty, ask for the goal first.
$ARGUMENTS, or ask).claude-opus-5-5, claude-fable-5-1, claude-sonnet-5-5, gpt-6.1-sol, gpt-6-astra). If the user omits this, ask: "Which model will run this prompt?" Default to claude-opus-5-5 only if the user says "whatever" or "any".claude-code (CLAUDE.md / skill), codex-cli (AGENTS.md), pi (AGENTS.md / SYSTEM.md), amp (AGENTS.md), eve (agent/instructions.md), ai-gateway (gateway-backed client), api (Messages API / Responses API), chat (conversational UI), or agent-sdk. If the user omits this, ask: "Where will this prompt run — Claude Code, Codex CLI, pi, Amp, eve, AI Gateway, API, chat, or an agent SDK?"| Target model | Reference file |
|---|---|
| Claude Fable 5.1, Claude Mythos 5.1 | references/claude-models.md (lineup + effort; no dedicated prompting section yet — run the freshness check, step 2) |
| Claude Opus 5.5 | references/claude-models.md (lineup + effort; no dedicated prompting section yet — run the freshness check, step 2) |
| Claude Fable 5, Claude Mythos 5 (legacy) | references/claude-models.md |
| Claude Opus 5, 4.8, 4.7, 4.6 (legacy) | references/claude-models.md |
| Claude Opus 4.1 (retired Aug 5, 2026; do not target) | references/claude-models.md (migration notes only) |
| Claude Sonnet 5.5, Claude Haiku 5.5 | references/claude-models.md |
| Claude Sonnet 5, Claude Sonnet 4.6, Claude Haiku 4.5 (previous generation) | references/claude-models.md |
| GPT-6.1 Sol, GPT-6 Astra, GPT-6 Luna, GPT-6 Sol, GPT-6.1 Terra | references/openai-models.md (GPT-6 section) |
| GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna (older generation) | references/openai-models.md |
| GPT-5.x (GPT-5, GPT-5.1, GPT-5.2, GPT-5.3) | references/openai-models.md |
| gpt-5-codex | references/openai-models.md |
| Unknown or newer model | Run a freshness web search (see workflow step 2) |
| Target harness | Reference file | Notes |
|---|---|---|
claude-code (CLAUDE.md, skills, subagent prompts) | references/claude-code-harness.md | Load alongside the model guide. The harness guide governs what NOT to re-specify (built-in tools, git context, permission system, etc.). |
codex-cli / codex-cloud (AGENTS.md) | references/codex-harness.md | Load alongside the model guide. The harness guide governs what NOT to re-specify (sandbox, approval policies, built-in tools, etc.). |
pi | references/pi-harness.md | Load alongside the model guide. Pi's ~1k-token system prompt means the generated AGENTS.md (or .pi/SYSTEM.md full replacement) carries more weight than in Claude Code — the guide covers what pi provides (4 core tools, no MCP, no permission rails) and subscription auth (/login OAuth for Claude Pro/Max and ChatGPT). |
amp | references/amp-harness.md | Load alongside the model guide — but write the prompt model-agnostically: Amp routes among GLM/GPT/Claude per mode with no model picker, so recommend a mode (low/medium/high/ultra) instead of assuming a model. Default execution is full-auto (no approval gate). |
eve (Vercel agent framework) | references/eve-harness.md | The generated prompt is agent/instructions.md (+ optional skill files). Eve is a framework for building agents, not a coding agent; it cannot run on consumer subscriptions — flag API-key/AI Gateway billing. |
ai-gateway | references/ai-gateway-harness.md | Not an agent — a model backend. Load together with the actual client harness guide (Claude Code, Codex, eve…). Covers model slugs, routing/fallback options, BYOK, and the subscription-pass-through reality. |
agent-sdk | references/claude-code-harness.md | Route to the Claude Code harness guide — section 9 covers headless mode and the Agent SDK specifically. |
api | Model guide only | No harness reference needed. Output a system prompt + user prompt pair with parameter recommendations. |
chat | Model guide only | No harness reference needed. Output a self-contained prompt the user can paste into a chat UI. |
When the user says the prompt must run on their Claude Pro/Max or ChatGPT Plus/Pro subscription (not API billing), constrain harness advice using this matrix (details and Source: lines live in each harness guide):
| Harness | Claude Pro/Max sub | ChatGPT Plus/Pro sub |
|---|---|---|
| Claude Code | ✅ native OAuth login | — |
| Codex CLI | — | ✅ native ChatGPT login |
| pi | ⚠️ OAuth login exists, but since April 2026 bills per-token from "extra usage", not plan limits | ✅ /login → ChatGPT (Codex) OAuth, OpenAI-endorsed |
| Amp | ⚠️ subscription linking thinly documented — verify in /settings/model-providers | ✅ link ChatGPT sub for GPT-5.6 usage |
| eve | ❌ API key / AI Gateway only | ❌ API key only |
| AI Gateway | ⚠️ Claude Max pass-through works only with Claude Code as client, fragile, ToS gray area | ❌ no pass-through |
Never recommend token-sharing workarounds (pi-claude-auth, BYOKEY, CLIProxyAPI). Sourced policy detail lives in the guides: pi-harness.md §5 (Anthropic restricts subscription OAuth to first-party clients — Feb 2026 ToS, April 2026 enforcement) and ai-gateway-harness.md §3. Keep the distinctions the guides draw: direct third-party token reuse is a documented ToS violation; generic proxying of subs (BYOKEY-style) likely violates provider ToS; Claude Code's AI Gateway pass-through is a documented-but-gray-area special case. Mention any of these only as flagged risks.
last_verified: date in its frontmatter. If the target model is newer than that date, or the model does not appear in any references file, run a web search for "<model name> prompting guide site:platform.claude.com OR site:developers.openai.com" and incorporate any new techniques before generating.Deliver:
Input: "I need a prompt for a code review agent" --model claude-opus-5-5 --harness claude-code
Routing: Model claude-opus-5-5 → load references/claude-models.md. Harness claude-code → load references/claude-code-harness.md.
Generated prompt (CLAUDE.md skill body):
You are a senior code reviewer. When given a diff, review it for correctness, security, performance, and readability.
<review_criteria>
- Correctness: logic errors, off-by-one, null handling, race conditions
- Security: injection, auth bypass, secrets in code, unsafe deserialization
- Performance: unnecessary allocations, N+1 queries, missing indexes
- Readability: naming, dead code, overly clever constructs
</review_criteria>
<output_format>
For each finding:
- File and line reference
- Severity: critical | major | minor | style
- What is wrong and why
- Suggested fix (code snippet when applicable)
If no issues found, say "No issues found" — do not fabricate findings.
</output_format>
Do not echo the full diff. Do not re-specify tool definitions or git context — Claude Code provides those.
Parameter notes: Set effort: high explicitly for thorough reviews: Opus 5.5 defaults to medium. Adaptive thinking is always on and cannot be disabled; do not pass thinking: {type: "disabled"} or budget_tokens (both return 400). Do not rely on forced tool_choice (any / tool), which returns 400 on Opus 5.5.
Key technique: XML tag structuring (<review_criteria>, <output_format>) for unambiguous section parsing, combined with explicit omission of harness-provided context (tools, git state) per claude-code-harness.md rule #1.
agents/openai.yaml (opens in a new tab)references/ai-gateway-harness.md (opens in a new tab)references/amp-harness.md (opens in a new tab)references/claude-code-harness.md (opens in a new tab)references/claude-models.md (opens in a new tab)references/codex-harness.md (opens in a new tab)references/eve-harness.md (opens in a new tab)references/openai-models.md (opens in a new tab)references/pi-harness.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jairotorregrosa/jaiskills --plugin jaiskills6 skills in this plugin
/agent-sdk-wizardBuild a working Claude Agent SDK agent on Mac or Windows: a preflight and credential step (ant CLI login by default, a Console API key, or a Pro/Max token), then 9 illustrated questions, one at a time, then it writes the agent with a full system prompt (and a well-designed skill when one helps) and runs it. Trigger on "crea un agente", "quiero hacer un agente con el SDK", "ayúdame a armar mi agente", "tengo una idea de agente", "nuevo agente paso a paso", "agent sdk wizard", "build an agent with the Claude Agent SDK", "help me create an agent step by step". Each question is one AskUserQuestion call whose options carry an ASCII diagram in `preview`, in plain language for someone who has never seen an agent. Produces a directory with agente.py or agente.ts, credenciales, .env, README, decisiones.md and a real test run. NOT for the raw Messages API, Managed Agents, or the Claude Code CLI itself; say so and stop./askcodexUse the askcodex CLI to get text and code from OpenAI models (GPT-6 Astra, Sol, Luna and older), generate or edit images, transcribe audio, and inspect available models, subscription usage, or authentication. Trigger for requests such as "ask GPT", "make an image", "pregúntale a GPT", "genera una imagen", "edita esta foto", "transcribe este audio", "qué modelos tengo", or "cuánta cuota queda", and for bounded one-shot tasks (draft, summarize, classify or extract into schema-checked JSON, generate an asset) worth a second model's answer. Not for critiquing repo work, plans or diffs: use second-opinion, which reads the repo./managed-agents-wizardWalk a person from an idea to a Claude Managed Agents agent that runs on its own, and stay with them through debugging. Explains each concept at the moment it matters (Agent, Environment, Session, Deployment, vault, memory store, outcome), asks the real decisions as illustrated AskUserQuestion choices, designs the system prompt in Simplified Technical English, finds MCP connectors, sets up credentials without the secret ever reaching the chat, writes the files, applies them with the `ant` CLI, runs a capped test session, and diagnoses failed sessions from their events. Trigger on "crea un agente en Managed Agents", "managed agents wizard", "quiero un agente que corra solo", "agente programado", "agente que revise mis repos cada lunes", "mi sesión se quedó pegada", "por qué falló mi agente", "debug my managed agent session", "explícame la traza", "set up a scheduled Claude agent", "deploy an agent on a cron". Not for the Claude Agent SDK (use agent-sdk-wizard), the raw Messages API, or Claude Code itself./motion-designDirect and produce code-driven videos that a person is proud to share: motion graphics, series openers, music and lyric videos, paper and data explainers, product demos, social clips. Runs end to end as a studio crew of parallel subagents coordinated through an ORCHESTRATION.md file: brief, writers' room, style frames, music/VO/SFX, deterministic render, critique loop, social exports. Use when the user says "make a video", "motion graphics", "animate this", "an opening for my series", "trailer", "title sequence", "explainer video", "Remotion video", "intro animada", "hazme un video", "opening de mi serie", "tráiler", "preséntame en 15 segundos", "video musical", "lyric video", "explainer de 60 s", "video para LinkedIn / Reels / TikTok", "kinetic typography", "render an MP4", "anima este paper / estos datos", or says a video "se ve genérico" or needs "más sabor". Not for static images or slide decks.
/second-opinionGPT (GPT-6 Astra by default) as advisor, adversarial reviewer or judge through headless `codex exec`, always read-only; never an implementer. Modes: advise (independent read on a plan, diff or design, beside Claude's own view, with follow-ups), review (Codex's built-in reviewer on uncommitted work, a branch or a commit), adversarial (tries to break confidence in a change; optional parallel lenses; every finding verified by Claude before it is shown), judge (scores a reviewer's verdict when the user asks). Trigger on "second opinion", "segunda opinión", "ask codex/GPT to review", "que codex lo revise", "revisión adversarial", "adversarial review", "que GPT ataque este cambio", "critica este plan", "challenge this design", "judge this review", "usa astra". Falls back to a Claude subagent, labelled same-provider, when Codex is unavailable. Not askcodex (one-shot text or images) and not for writing code.Other plugins' skills for the same job