Skip to content
Back to skills

Make Skill

ASecurity

Turns a workflow into a reusable project skill (.claude/skills/NAME/SKILL.md). Use to scaffold a new SKILL.md.

  • 16 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsgoshellbashgitapi

Works with

  • claude code
  • terminal
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add Alexander-Tyagunov/magician --skill make-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Make Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Make Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alexander-tyagunov-make-skill/badge)](https://www.skillsdirectory.com/skills/alexander-tyagunov-make-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: make-skill
description: Turns a workflow into a reusable project skill (.claude/skills/NAME/SKILL.md). Use to scaffold a new SKILL.md.
allowed-tools: Read, Glob, Edit(./.claude/skills/**), Bash(git commit -m *)
disable-model-invocation: true
argument-hint: "[skill-name or pattern description]"
---

# /make-skill — Write New Skills

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.

## When to Use

- User explicitly requests a new skill
- You observe a workflow worth capturing and the user wants it saved as a skill

## Autonomy

Gates: none. Everything else runs without asking, except one plain question when nothing describes the skill to make.

## Process

1. **Take the pattern from `$ARGUMENTS` and the conversation.** Only when neither describes it, ask in plain text "What should the skill do? One or two sentences." and end the turn.
2. **Name it**: one word, verb-like, lowercase (`migrate`, `localize`, `document`). Glob `.claude/skills/*/SKILL.md` first, so the name does not collide with an existing project skill. State the name; the user renames by saying so.
3. **Define the scope**: what the skill does, where it starts, where it ends, and where it must stop for the user (its gates).
4. **Draft the skill** from this template:

```
---
# Required: one sentence that names when and why to use this skill (used for auto-invocation).
# Use a >- block if the description contains ": " (colon + space).
description: <what it does; "Use when ..." with 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(npm test *)
# Never grant bare Bash, Write, WebFetch or WebSearch, a whole CLI (Bash(git *)), an interpreter
# or a shell. Never pre-approve a push, a merge or `git add -A`: those prompts are the human gate.
# Subagents are dispatched with the Agent tool (the old name Task is not used).
# 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: what the skill does and when to use it.>

## Autonomy

Gates: <each stop that needs the user, or "none">. Everything else runs without asking.

## Process

1. <step: what to do and why, concretely>
2. <step>
...

<Write a gate only for what only the user knows or for an irreversible outward action. Take
everything else from the arguments, the repository and the preferences, state the default you
chose, and go on. A gate is one AskUserQuestion call: header of 12 characters or fewer, 2 to 4
options that exclude each other, the recommended option first, each label in the user's words.
An approval is Approve plus one real alternative; the user can always type a change. Never an
option that only means "I will type more", and never a closing question: an offer is one
closing line.>

## 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 memory add`) 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: <the result, with paths or numbers>."
<The signal states the result. It never tells the user to run a command. At most one
"Next: ..." line, and none when another skill invoked this one.>
```

Quote any other frontmatter value that contains `: ` or `#`, or that starts with `[ { | > ! & * '` or `"`, so it parses as a plain string.

5. **Write to disk**: write the draft to `.claude/skills/<name>/SKILL.md` (writing the file creates the folders).
6. **Check it** against the checklist below and fix what fails. Then invoke the skill once when it is safe to run (no outward action) and read the result.
7. **Commit only when the request asks for a commit:**
```bash
git add .claude/skills/<name>/
git commit -m "feat: add /<name> skill"
```

## If the skill needs an MCP tool

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](../../lore/skill-authoring.md#tool-budget)). When the user still wants an MCP server, draft its tools to this shape:

```json
{
  "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}
}
```

- One tool per user intent, not one per API endpoint. Group the lookups behind one read tool and each change behind its own write tool.
- Set `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.
- Check preconditions inside the tool (the order exists, is paid, is not refunded yet) and return a clear error. A precondition written only in the skill is advisory.
- Suggest deferred loading (ToolSearch) when the server is needed only now and then.

## Skill Quality Checklist

- [ ] Frontmatter uses only valid fields (description, name, allowed-tools, disable-model-invocation, argument-hint, context), parses as strict YAML, and has a specific description
- [ ] `allowed-tools` is scoped: no bare Bash/Write/WebFetch/WebSearch, no whole-CLI or interpreter grants, no pre-approved push, merge or `git add -A`, file writes as `Edit(<path>)`, `Agent` and not `Task`
- [ ] SKILL.md stays lean (<~250 lines); heavy reference material lives in references/, one level deep, linked from SKILL.md
- [ ] The Autonomy paragraph has the one short form: "Gates: <list>. Everything else runs without asking." (40 words or fewer)
- [ ] Every question passes the question standard ([lore/questions.md](../../lore/questions.md)): only what the user alone knows, asked after the read-only pass, 2 to 4 options, header of 12 characters or fewer, recommended first, no option that only defers, no internal vocabulary
- [ ] No blanket "always ask" rule; a HARD-GATE names one irreversible action
- [ ] The Completion Signal states the result, never tells the user to run a command, and has at most one "Next:" line
- [ ] Has an `## 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)
- [ ] Process steps are concrete: what to do and why
- [ ] Does not duplicate an existing skill; the name matches the behavior
- [ ] A rule that must hold every time is a hook, not only skill text: a skill is advisory ([advisory vs enforced](../../lore/skill-authoring.md#advisory-vs-enforced))
- [ ] Any MCP tool has one intent, a `readOnlyHint`, and its preconditions checked in the tool

## Obstacles

/make-skill 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](../../lore/obstacles.md).

## Completion Signal

"Make-skill complete: /<name> written to .claude/skills/<name>/SKILL.md (<committed | not committed>). It loads in a new session if it does not show up yet."

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.