/magician:inscribe [skill-name or pattern description]from magician
Scaffolds a reusable project skill (SKILL.md) from a recurring workflow pattern. Guides naming, drafting frontmatter, and writing to .claude/skills/<name>/SKILL.md.
Ships in magician. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a new project skill from a recurring pattern. Claude Code loads project skills from .claude/skills/<name>/SKILL.md in the repository, so that is where the new skill goes.
migrate, localize, document). Glob .claude/skills/*/SKILL.md first so the name doesn't collide with an existing project skill.---
# Required: a specific description naming the trigger context (used for auto-invocation).
# Use a >- block if the description contains ": " (colon + space).
description: <one sentence; name when/why to use this skill and the trigger context>
# Optional: short slug name (defaults to the directory name)
name: <name>
# Recommended: scope tools to reduce permission prompts, e.g. Read, Edit(./src/**), Bash(git status)
# Never grant bare Bash, Write, WebFetch or WebSearch, a whole CLI (Bash(git *)), or an
# interpreter or shell; scope each command, e.g. Bash(npm test *).
# allowed-tools: <comma-separated tools>
# For side-effectful or standalone skills, prevent silent auto-invocation:
# disable-model-invocation: true
# Optional: hint shown for arguments. Always a double-quoted string (write an inner " as \").
# argument-hint: "[arg description]"
# For heavy read-only skills, run in a forked context to keep the main thread lean:
# context: fork
---
# /<name> — <Title>
<One paragraph describing the skill's purpose and when to use it.>
## Process
1. <step>
2. <step>
...
## Obstacles
State how this skill surfaces obstacles. If it does dispatchable work, include the producer block. If it dispatches/consumes workers, include roll-up + detect-pattern + memorize (`ctx learn`) wiring. If it is terminal/utility, a one-line note that it reports to the human in prose. The block format is described in magician's lore/obstacles.md.
## Completion Signal
"<name> complete. <what was accomplished>."
Quote any other frontmatter value that contains : or #, or that starts with [ { | > ! & * ' or ", so it parses as a plain string.
Write to disk — write the drafted content to .claude/skills/<name>/SKILL.md (writing the file creates the folders).
Test it — invoke the skill once to verify it works as expected
Commit — only after the user confirms they want it committed:
git add .claude/skills/<name>/
git commit -m "feat: add /<name> skill"
Prefer a bundled CLI or an existing tool. Each MCP tool definition costs context on every turn, and tool choice degrades above about 30–50 tools (tool budget). When the user still wants an MCP server, draft its tools to this shape:
{
"name": "orders_refund",
"description": "Refund one order. Use when the user asks to refund or cancel a paid order. Not for partial refunds.",
"inputSchema": {"type": "object", "properties": {"order_id": {"type": "string"}}, "required": ["order_id"]},
"annotations": {"readOnlyHint": false, "destructiveHint": true, "idempotentHint": true}
}
readOnlyHint: true on every tool that changes nothing, so a client can allow it without a prompt. Set destructiveHint on a tool that deletes or overwrites.allowed-tools is scoped: no bare Bash/Write/WebFetch/WebSearch, no whole-CLI or interpreter grants, file writes as Edit(<path>)## Obstacles section — a producer block if it does dispatchable work, roll-up/detect/memorize wiring if it consumes workers, or a one-line terminal note otherwise (see lore/obstacles.md)readOnlyHint, and its preconditions checked in the tool/inscribe is an interactive, user-facing scaffolder — it reports to the human, not upward — so it emits no upward Obstacles block: surface any blocker in prose to the user and stop. See lore/obstacles.md.
"Inscribe complete. New skill / ready. Invoke it with /."
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub alexander-tyagunov/magician --plugin magician25 skills in this plugin
/acceleratePerformance profiling and optimization, baseline first. Use when something is slow or must hit a latency/throughput target./almanacOne-time workspace setup; .workspace/, .gitignore, CLAUDE.md, optional AGENTS.md and REVIEW.md. Run once per project./autopsyBlameless post-mortem / RCA; timeline, 5-Whys, action items, committed write-up. Use after an incident or outage./blueprintTurns an approved spec into a TDD task plan, parallelism map and plan.md + plan.html. Use after spec approval, before coding.Other plugins' skills for the same job