metaprompt

metaprompt is a skill for Claude Code from JairoTorregrosa/jaiskills. It costs 48 tokens per session (2,374 once invoked), scanned A, original, MIT.

A prompt-writing skill that creates a complete instruction for a chosen AI model and the software used to run it. A prompt is the instruction given to an AI system.

In plain words
What is it for?
Use it to generate or improve system prompts for Claude Code, Codex CLI, APIs, chat applications, agent SDKs, and other listed environments.
Why use it?
It removes the need to assemble model-specific instructions and setup details by hand. It also makes missing choices, such as the target model or harness, explicit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Part of the jaiskills plugin — 12 skills, 13 commands, 4 agents, 2 hooks, 1 MCP server shipped together

Good fit Use it to generate or improve system prompts for Claude Code, Codex CLI, APIs, chat applications, agent SDKs, and other listed environments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jairotorregrosa/jaiskills/metaprompt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JairoTorregrosa/jaiskills --skill metaprompt
Clone the repo
git clone --depth 1 https://github.com/JairoTorregrosa/jaiskills

Made for: Claude Code.

Or install jaiskills, the plugin that ships this one along with the rest of its 12 skills, 13 commands, 4 agents, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for metaprompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/metaprompt/github.svg)](https://agentmods.dev/skills/jairotorregrosa/jaiskills/metaprompt)
Your own site
<a href="https://agentmods.dev/skills/jairotorregrosa/jaiskills/metaprompt"><img src="https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/metaprompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for metaprompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/jairotorregrosa/jaiskills/metaprompt"><img src="https://agentmods.dev/badge/skills/jairotorregrosa/jaiskills/metaprompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,374 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.02374
Opus 5 $0.00024 $0.01187
Sonnet 5 $0.00010 $0.00475
Haiku 4.5 $0.00005 $0.00237

Measured 11d ago against content hash 8a7ea3db7fbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

metaprompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prompting/metaprompt/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a prompt engineer. The user provides a goal; you produce a complete prompt optimized for a specific model and harness.

Required inputs

  1. Goal — what the prompt should accomplish (the user always provides this).
  2. Target model — which LLM will run the prompt (e.g., claude-fable-5, claude-opus-4-8, gpt-5.6-sol, gpt-5.2). If the user omits this, ask: "Which model will run this prompt?" Default to claude-opus-4-8 only if the user says "whatever" or "any".
  3. Target harness — where the prompt will run: 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?"

Model → reference routing

Target model Reference file
Claude Fable 5, Claude Mythos 5 references/claude-models.md
Claude Opus 4.8, 4.7, 4.6 references/claude-models.md
Claude Opus 4.1 (deprecated — retiring Aug 2026; do not target) references/claude-models.md (migration notes only)
Claude Sonnet 5, Claude Sonnet 4.6 references/claude-models.md
Claude Haiku 4.5 references/claude-models.md
GPT-5.6 Sol, GPT-5.6 Terra, GPT-5.6 Luna 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)

Harness → reference routing

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.

Read the full file on GitHub · 114 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 114 lines · 48 tokens per session scan A 8a7ea3db7fbc

Subscribe to this mod's changes

metaprompt is a skill published in the GitHub repository JairoTorregrosa/jaiskills (5 stars, last pushed 10d ago), licensed MIT. It adds 48 tokens to every session and 2,374 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prompt-engineering

Provides workflows to write, debug, and optimize prompts for LLMs, including few-shot example selection, chain-of-thought structuring, system prompt design, and template composition. Use when the user asks to write or improve a prompt, wants help with few-shot examples, chain-of-thought, system prompts, prompt…

giuseppe-trisciuoglio/developer-kit · 82 tokens

langchain4j-tool-function-calling-patterns

Provides and generates LangChain4j tool and function calling patterns: annotates methods as tools with @Tool, configures tool executors, registers tools with AiServices, validates tool parameters, and handles tool execution errors. Use when building AI agents that call tools, define function specifications, manage…

giuseppe-trisciuoglio/developer-kit · 82 tokens

loom-prompt-engineering

Designs and optimizes prompts for large language models including system prompts, agent signals, and few-shot examples.

cosmix/loom · 28 tokens

improve-prompt

Critique and rewrite a prompt using prompt engineering best practices: clarity, examples, XML structure, role, explicit output format, and positive-over-negative instructions. Asks 1-3 targeted questions to fill missing context, then returns a short critique plus a drop-in rewritten prompt. Use when the user wants to…

tomimor/skills · 80 tokens

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…

bastos/skills · 113 tokens

prompt-evaluation-runner

Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.

yeaight7/agent-powerups · 33 tokens