/oberskills:skill-craft [create <topic> | review <path>]from oberskills
Creates, evaluates, and reviews Claude Code skills and agent definition files. Covers skill-vs-subagent-vs-hook decisions, SKILL.md authoring, frontmatter optimization, baseline-first evals with pressure testing, validation, and packaging.
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.
Create skills through baseline-first evals, or audit existing ones. Judgment work (intake, design, eval authoring, interpretation, edits) happens here; everything checkable (validation, trigger probes, run spawning, grading, verdicts, stats, packaging) runs through the skill-eval MCP tools — never fill in compliance verdicts by hand.
| Intent | Mode | Load |
|---|---|---|
| Build something new ("create/write a skill for X") | CREATE | Pipeline below; references per phase |
| Audit an existing skill (path to a SKILL.md or skill directory) | REVIEW | references/review-skill.md in this skill directory |
| Audit the prompt body wording inside an agent definition, or a dispatch brief | Redirect | Invoke oberskills:prompt REVIEW (the file as an artifact — structure, frontmatter, evals — stays here) |
| Improve an existing skill | CREATE from phase 3 (BASELINE), with an old_skill snapshot as the baseline config | references/eval.md in this skill directory |
| Unclear or ambiguous request | Ask, or invoke oberskills:clarify for structured decomposition | — |
references/design.md in this skill directory).| You need | Build | Why |
|---|---|---|
| Reusable procedure or domain knowledge Claude loads when relevant | Skill (default) | Commands are merged into skills; skills add supporting files and invocation control |
| User-controlled side-effect macro (deploy, release, publish) | Skill + disable-model-invocation: true | You don't want Claude deciding to deploy because the code looks ready; also removes the description from context |
| Background conventions Claude applies, user never invokes | Skill + user-invocable: false | Reference-content archetype |
| Work that floods the main context (logs, search results, bulk reads) | Subagent | Isolation: explores with tens of thousands of tokens, returns a distilled summary (sizing norm: the oberskills:agent skill) |
| Guaranteed enforcement on every event (block a tool call, gate a commit) | Hook | Prose can't guarantee execution; hooks run in the harness. Measured: a forced-eval hook reached near-perfect activation where description-level fixes plateaued — numbers in references/design.md in this skill directory (Spence) |
| Deterministic, repeated computation | Script bundled in a skill | Executed, not loaded — only output costs tokens |
| Always-relevant, small project facts | CLAUDE.md | Passive context is consistently available; no triggering decision to miss |
| Both reusable instructions AND isolation | Skill + context: fork (+ agent:) — task content with an actionable prompt only | Guideline-only forked skills return nothing useful |
.claude/commands/*.md files are legacy: same frontmatter, no supporting files. New artifacts get a skill directory. Full decision detail: references/design.md in this skill directory.
| # | Phase | Load | skill-eval tools | Gate — proceed only when |
|---|---|---|---|---|
| 1 | INTAKE | — | — | Problem stated; 3+ natural trigger phrasings collected; pre-gate above passed |
| 2 | DESIGN | references/design.md in this skill directory | — | Artifact type chosen from the table above; file structure and freedom levels planned; complexity contract stated (non-applicability, cost/fast path, fallback) |
| 3 | BASELINE | references/eval.md in this skill directory | run_eval (configurations: ["without_skill"], one call per eval id) | evals.json with ≥3 evals exists; baseline runs complete; specific failures documented from grading output |
| 4 | BUILD | references/build.md in this skill directory | validate_skill | Minimal SKILL.md written that addresses the documented baseline gaps; validate_skill returns zero errors |
| 5 | EVAL | references/eval.md in this skill directory | run_eval, aggregate_benchmark, test_triggers, optimize_description, compare_outputs | with-skill beats baseline on the gap assertions; trigger accuracy passes in both directions; pressure gates pass (discipline skills). Otherwise iterate — max 3 iterations, then redesign |
| 6 | SHIP | — | validate_skill (package: true if a .skill file is wanted) | Zero errors; warnings resolved or explicitly justified to the user; user checkpoint passed |
Write the skill after the baseline. The baseline failures are the spec.
validate_skill; the tool's output is normative)| Limit | Value |
|---|---|
name | ≤64 chars, lowercase alphanumeric + hyphens, no leading/trailing/consecutive hyphens, must match the directory name, no "anthropic"/"claude" |
description | 1–1024 chars, third person, no XML tags |
description + when_to_use in the listing | truncated at 1,536 chars combined by default (skillListingMaxDescChars setting) |
| SKILL.md body | <500 lines hard; <5k tokens recommended; ~200 lines for the always-relevant core |
| References | One level deep from SKILL.md; >100 lines → table of contents at top |
| Evals | ≥3 before ship |
When this summary and the tool disagree, trust the tool.
[Verb-first capabilities]. Use when [triggers/contexts]. Not for: [near-miss exclusions].
test_triggers. Full doctrine and when to deviate: references/build.md in this skill directory.Tools are exposed as skill-eval:<tool> (or the host-exposed mcp__...<tool> name); short names below.
| Tool | Use at | Does |
|---|---|---|
validate_skill | BUILD, SHIP, REVIEW | Spec lint + house WARN lints; zero errors required to ship; package: true also zips a .skill |
test_triggers | EVAL, REVIEW | Activation rate over should/shouldn't queries via isolated probe sessions |
optimize_description | EVAL | Train/holdout description improvement; chunked — one iteration per call, loop until done: true |
run_eval | BASELINE, EVAL | Runs one eval id across configurations × runs in parallel, composes pressure blocks, grades externally |
grade_run | EVAL | (Re)grades an existing run directory after editing assertions |
aggregate_benchmark | EVAL | Stats, named-config delta, ship gates, notes → benchmark.json + benchmark.md |
compare_outputs | EVAL (subjective skills) | Blind A/B judgment with shuffled sides |
If these tools are missing, the server isn't running. Claude Code users can run /reload-plugins after the SessionStart dependency install. Codex/local users should run bun install in the plugin's mcp/ directory, then restart or reinstall the plugin session.
Claude Code names and mechanics remain supported where the host exposes them. On Codex or another host, use the equivalent skill-eval:<tool> MCP name, and use the host's available subagent/delegation surface when a workflow says to dispatch an analyzer or behavioral-test agent.
validate_skill WARNs on the forms it can match (anti-rationalization tables, the two self-directed section forms, tick instructions next to checkbox items); subtler self-attestation is a REVIEW-mode check.| Counterpart | Hand-off |
|---|---|
oberskills:prompt | Skill bodies are prompts — apply its DESIGN principles to body text; it owns example-count guidance, snippets, and the porting reference for non-Claude/weak-model targets. All prompt-wording review, including the prompt body inside an agent definition, goes to its REVIEW mode; the definition file as an artifact (structure, frontmatter, evals) stays here |
oberskills:agent | Dispatching any subagent during development or review (analyzer, behavioral tests); owns model/effort selection and the subagent-frontmatter field table (its mechanics reference) |
oberskills:clarify | Ambiguous intake |
| skill-eval MCP server | All checkable steps (table above). Server owns validation rules, pressure-block language, trigger-probe mechanics, grading schema, verdict computation, workspace layout |
Analyzer agent prompt (dispatched during EVAL, see references/eval.md in this skill directory): agents/analyzer.md in this skill directory.
| File | Load when |
|---|---|
references/design.md in this skill directory | DESIGN phase: artifact choice, invocation control, structure, disclosure, routers |
references/build.md in this skill directory | BUILD phase: frontmatter, naming, description doctrines, writing rules, model deltas, templates |
references/eval.md in this skill directory | BASELINE/EVAL phases: evals.json authoring, checks, pressure evals, trigger evals, interpretation, ship gates |
references/review-skill.md in this skill directory | REVIEW mode: audit dimensions, behavioral test, verdict |
What SKILL.md sets; muted values are Claude Code's defaults
Trigger on "create a skill", "write a skill for", "review this skill", "skill evals", "benchmark the skill", "trigger eval", "optimize the description", "package the skill", "should this be a skill or a hook".
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./promptDesign and review prompts Claude-first — system prompts, reusable agent definitions, long or novel dispatch briefs, pipeline stages, and prompts users will run elsewhere. Two modes: design and adversarial review. Covers Claude model behavior and migration, de-prompting, few-shot design, output-schema ordering, context engineering, prompt security, optimization, non-Claude/Codex target review via references/porting.md in this skill directory, and a verbatim behavior-snippet library. Use when writing, improving, debugging, reviewing, or migrating any prompt. Not for: creating, reviewing, or testing skill files (use skill-craft); routine subagent delegation prompts (use agent)./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