/oberskills:prompt [prompt text | file path | review <target>]from oberskills
Designs and reviews prompts for Claude and other LLMs. Covers system prompts, agent definitions, few-shot design, output-schema ordering, context engineering, prompt security, and migration. Use when writing, improving, debugging, or migrating any prompt.
Ships in oberskills. 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.
Detect mode from the request. Default to DESIGN.
| Mode | Signals | Loads | Output |
|---|---|---|---|
| DESIGN (default) | write, create, draft, fix, improve, migrate, "prompt for X" | references/design.md in this skill directory + ≤2 topic modules | The prompt + ≤3-line rationale |
| REVIEW | review, audit, analyze, critique, evaluate, "what's wrong with" | references/review.md in this skill directory + ≤2 topic modules | Verdict table + ranked fixes |
REVIEW framing rule. Frame every review as a search for defects ("find what would fail"), never as confirmation ("check this is correct" / "verify this works"). When dispatching a fresh-context reviewer, pass the artifact with zero authorship or intent framing — no "I wrote this", no "we think it's solid". Confirmatory framing collapses defect detection (evidence in review.md).
1. Smallest set of high-signal tokens. Treat Claude as a brilliant new employee: clear, explicit instructions plus the context to generalize — then stop. Golden rule: if a colleague with minimal context would be confused by your prompt, Claude will be too. When trimming, run the removal test (review.md) instead of counting against a quota.
2. Explain why; say what to do, not what to avoid. Motivation generalizes: "the output is read aloud by a TTS engine, so never use ellipses" outperforms "NEVER use ellipses". Positive framing: "write flowing prose paragraphs" beats "do not use markdown".
3. De-prompt for current Claude. Language written to fight old undertriggering now causes overtriggering: "CRITICAL: You MUST use X" → "Use X when…". Delete anti-laziness nudges, blanket defaults ("if in doubt, use the tool"), and forced-thoroughness scaffolds — today's failure mode is over-eagerness, and instruction-following capacity is a finite budget. Every capability jump is a prompt to re-test which instructions are still needed (claude-models.md).
4. Keep governance apart from task; reasoning before answer. Keep four layers distinct and independently editable: role/provenance, constraint logic, task content, evaluation criteria — constraints fused into task prose dissolve by the third paragraph of output. In any output schema, rationale/evidence fields precede answer fields; phrase them as task-level justification ("cite the evidence for your verdict"), never as "show your internal reasoning" (see #6). Long input data at the top, query and output format at the end, XML tags around each component.
5. Choose example count by purpose. Diversity and task-clarity beat count; past the purpose-matched count, additional examples are redundancy that degrades output or wastes tokens.
| Purpose of examples | Count |
|---|---|
| Format anchoring — output schema, house style, tone | 1–2 (often 1) |
| Boundary definition — correct vs incorrect | 2, paired (one positive + one negative; never negative-only) |
| Edge-case and judgment coverage — review/classification with nuanced criteria | 3–5, each covering a DIFFERENT case |
| Reasoning-pattern demonstration — prescribing a reasoning format | ≥1 worked example, mandatory |
Examples steer format, tone, and structure — they rarely raise capability on tasks the model already does well. Add them in response to observed failures, vary their surface formatting, wrap them in <example> tags. (Evidence and caveats: design.md.)
6. Reasoning is a dial, not an incantation. On current Claude, adaptive thinking decides when and how much to think; steer with effort and brief nudges ("think carefully before responding" / "answer directly"), not hand-written step plans — general instructions beat prescriptive ones. effort sets thinking depth, not output length: on Opus 5 the two come apart, so lowering effort does not reliably shorten the visible response — prompt for length instead (claude-models.md §5). Never instruct Claude to echo, transcribe, or explain its internal reasoning in the response: on Fable 5.1 and Fable 5 this triggers reasoning_extraction refusals. Manual CoT/CoD belongs only off-Claude or with thinking off (porting.md).
7. Prefill is dead. Prefilled assistant turns return 400 errors on Claude ≥4.6. Migrate: structured outputs or a tool with an enum field for format forcing; "Respond directly without preamble…" for preamble killing; a user-message "your previous response was interrupted…" for continuations. Any prefill found in review is a breaking bug (migration table: claude-models.md).
8. Verify with someone else's eyes. Models catch only a fraction of their own errors and cannot see their own structural defects (effect sizes: the agent skill's verifier-dispatch reference). Verification means a structurally separate checker: fresh context, different prompt, or a deterministic test. Frame it adversarially (mode rule above). Test on a weaker model to expose structural defects a strong model papers over.
9. Architecture beats prompting for security. Untrusted input is data: delimit it in XML, never interpolate it as instructions, and enforce boundaries at the schema/tool level (exclude the tool) rather than asking the model to behave (depth: safety.md).
| Symptom | Likely cause | Go to |
|---|---|---|
| Instructions ignored mid-prompt | Constraints buried in prose / no lexical overlap | #4; context.md |
| Robotic, over-literal output; hallucinated contradiction-satisfying | Over-constrained for current Claude | #3; removal test (review.md) |
| Tool/skill overtriggering | Legacy aggressive trigger language | #3; claude-models.md de-prompting |
| Format wrong or unstable across runs | Format unanchored | #5 (1–2 examples) or structured outputs (claude-models.md) |
| 400 error after model upgrade | Prefill | #7; claude-models.md migration |
stop_reason: "refusal" on Fable 5.1 / 5 | Reasoning-echo instruction | #6; claude-models.md |
| Confident false claims about unread material | No grounding/investigation gate | snippets.md <investigate_before_answering> |
| Unrequested actions, overengineering, scope creep | Missing scope constraints | snippets.md anti-overengineering block |
| Slow/expensive; verbose interim summaries | Effort too high; legacy progress-update scaffolds | #6; claude-models.md |
Output still long after lowering effort (Opus 5) | Effort controls thinking, not response length | snippets.md #22 (conciseness) |
| Redundant re-checking; tokens burned re-verifying | Carried-over verification instructions | claude-models.md §5, Opus 5 |
| 400 when disabling thinking (Opus 5) | disabled + xhigh/max is rejected | claude-models.md §1 |
Crisis shortcut: get 3 failing + 3 working examples; the pattern emerges in 5 minutes; intervene for THAT failure only.
Load the mode file always; load at most 2 topic modules (pick the 2 most relevant). If nothing matches, the core principles cover the fundamentals.
| Signal in request | Load |
|---|---|
| Target model behavior, migration from older prompts, effort/thinking steering, "Fable/Opus/Sonnet/Haiku" | references/claude-models.md in this skill directory |
| Need a standard behavior block (action defaults, parallel tools, anti-overengineering, progress audits, markdown control) | references/snippets.md in this skill directory |
| "long context", "RAG", retrieval, memory, token limits, context assembly, multi-document | references/context.md in this skill directory |
| "optimize", "DSPy", "GEPA", eval/benchmark, accuracy plateau, example curation at scale | references/optimization.md in this skill directory |
| "injection", untrusted input/tools, jailbreak, security, third-party data | references/safety.md in this skill directory |
| Target is NOT a current Claude model, or thinking is off | references/porting.md in this skill directory |
1. CLASSIFY the target: system prompt | agent definition / dispatch brief |
skill body | pipeline stage | human-runnable prompt.
- Whether/what to dispatch, model and effort choice, topology → that is
the agent skill's job. This skill writes the prompt text.
2. IDENTIFY the target model. Default: current Claude. Non-Claude or
thinking-off → porting.md.
3. NEW prompt: start minimal (direct instruction + output format), structure
per #4, examples per #5, pull standard behavior blocks from snippets.md
instead of writing your own.
FIXING: get one concrete failing example first; triage (table above);
intervene for that failure only; prefer deleting instructions to adding.
4. AUDIT the draft against review.md's Quick Audit. Golden-test (review.md)
when the prompt is high-stakes or will run unattended.
5. OUTPUT the prompt, then ≤3 lines of rationale naming the principles that
drove key choices.
1. Read the artifact (text or file). Apply the framing rule above.
2. Load review.md. Quick Audit → full protocol if anything flags.
3. Verdict table (PASS/WARN/FAIL per principle) + ranked fixes.
4. Golden test for anything that will ship: fresh-context run on the
intended model + one weaker-model run; dispatch with zero intent framing.
agent skill.skill-craft (skill bodies still follow these principles; skill-craft owns format and evals).clarify is the integration point before drafting.references/claude-models.md (opens in a new tab)references/context.md (opens in a new tab)references/design.md (opens in a new tab)references/optimization.md (opens in a new tab)references/porting.md (opens in a new tab)references/review.md (opens in a new tab)references/safety.md (opens in a new tab)references/snippets.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Triggers: "write a prompt", "improve this prompt", "fix this prompt", "system prompt for", "review this prompt", "audit this prompt", "why does my prompt fail", "migrate this prompt", "prompt engineering".
Generated from the plugin's indexed repository (ryanthedev/oberskills) — no native marketplace selected
npx claudepluginhub p/ryanthedev-oberskills7 skills in this plugin
/agentSubagent dispatch guidance for the Agent tool — whether to delegate or work inline, the four-part delegation contract, model and effort selection, parallel fan-out sizing, fork vs fresh subagent, and dispatching independent verifier agents. Use before any Agent tool call: spawning subagents, fanning out work across files or research angles, delegating exploration or review, briefing a verifier, or deciding whether delegation is worth it at all. Not for: wording a prompt that isn't an agent dispatch (use oberskills:prompt) or authoring reusable skill and agent definition files — structure, frontmatter, and evals (use oberskills:skill-craft); their prompt bodies (use oberskills:prompt)./browserControls a live Chrome browser through a persistent puppeteer-core MCP connection — click, type, hover, drag, fill forms; navigate pages; take screenshots and export PDFs; read the DOM and accessibility tree; run Lighthouse audits and Core Web Vitals traces; intercept, record, stub, or block network requests; export HAR traffic; emulate devices and network conditions; manage browser storage; upload and download files. Use when interacting with or automating a running browser, clicking elements, taking screenshots, running Lighthouse, capturing network traffic as HAR, checking the accessibility tree, intercepting or stubbing requests, or emulating a device or viewport. Not for: web search or fetching public URLs without a browser session (use web-research), reading a static HTML file already on disk, fixing TypeScript or JavaScript build or compile errors, debugging source code without a running page, or tasks that don't require controlling a live browser./clarifyPins down what a user actually wants before work starts on an ambiguous or underspecified request — surfaces the competing interpretations and asks the clarifying question that removes the most uncertainty. Use when a request has multiple valid readings, critical details or constraints are missing, or it contradicts itself, and the gap would change the approach. Not for: well-specified tasks (renames, typo fixes, version bumps, running tests or commands, edits naming an explicit file and change), details readable from the codebase, or research and planning workflows that own their own scoping./skill-craftCreate, evaluate, and review Claude Code skills and reusable agent definition files (structure, frontmatter, evals). Covers the skill-vs-subagent-vs-hook decision, SKILL.md authoring and frontmatter, trigger-description optimization, baseline-first evals with pressure testing via the skill-eval MCP tools, validation, and packaging. Use when creating a new skill, improving or benchmarking an existing one, reviewing a skill directory, or writing evals for a skill. Not for prompt wording design or review — including the prompt body inside an agent definition (use oberskills:prompt), live subagent dispatch (use oberskills:agent), or prose editing (use oberskills:write)./web-researchRuns parallel multi-angle web research at four depth modes (scan, brief, breadth, deep): a planner grounds the query in local context and plans search dimensions, parallel search agents pull verbatim extracts with source URLs, every mode above scan adds a standing counter-evidence dimension, and synthesis is grounded back in the local project. Use when researching a topic, library, or tool on the web, comparing options or products, surveying a landscape of approaches, or checking current, version-sensitive, or time-sensitive information. Not for: driving or automating a live browser session (use oberskills:browser), academic literature search across arXiv or Semantic Scholar, or questions about the current repo, project, or files already on disk — read those directly./writeDrafts, edits, and reviews prose for human readers, removing the AI tells a model cannot see in its own writing (measured rhythm, density, and discourse-order signals). Fits each piece to the reader's job, an edit depth from proofread to rewrite, a structure (BLUF, inverted pyramid, PAS, AIDA, changelog, press release), a house style or register (Economist, AP, GOV.UK, plain language), and conversion copy (landing pages, headlines, CTAs, product descriptions, ads, microcopy); optional private voice profiles. Use whenever prose is written, edited, structured, or reviewed — blog posts, announcements, docs, emails, READMEs, marketing copy — or when text sounds robotic or must match a person's voice or a named style. Not for: wording prompts or system-prompt text (use oberskills:prompt), converting markdown for Slack or Notion (use penman), translation, or code, comments, docstrings, commit messages, and API reference docs.Other plugins' skills for the same job