Agent skill

Skill Creator

by espennilsen in espennilsen/pi

Create, review, and improve skills for Pi agents. An agent skill from espennilsen/pi.

MITAuto-check passedAgent Workflows

Install Skill Creator

skills CLI
$ npx skills add espennilsen/pi --skill skill-creator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install espennilsen/pi skill-creator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/espennilsen/pi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/skill-creator .claude/skills/skill-creator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
skill-creator
GitHub stars
122
Token cost
~2.1k tokens
SKILL.md length
915 words
Files
5 (incl. scripts, references)
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Create, review, and improve skills for Pi agents. An agent skill from espennilsen/pi.

  • Works in 6 steps: Understand the Use Case → Plan the Skill Contents → Scaffold the Skill → …
  • Asked to create a new skill
  • SKILL.md covers What Is a Skill?, Skill Creation Process, Review Mode and Common Mistakes, plus 1 more section
  • Runs Shell and Python scripts from its folder; calls bash and python3

What it does

Skill Creator is an agent skill from espennilsen/pi. Create, review, and improve skills for Pi agents. A skill is a folder with a SKILL.md that teaches an agent specialized workflows, domain knowledge, or tool integrations. Use when asked to create a new skill, improve an existing skill, review a skill for quality, scaffold a skill from a workflow, or convert documentation into a skill. Also triggers on "make a skill for", "build a skill", "skill for [topic]", "teach the agent to", or "package this workflow as a skill".

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/patterns.md`, `references/writing-guide.md` and `scripts/init-skill.sh`).

It sits in Agent Workflows, covering Skill authoring. The licence is MIT.

When your agent uses it

  • Asked to create a new skill
  • Improve an existing skill
  • Review a skill for quality
  • Scaffold a skill from a workflow

Example prompts

  • “make a skill for”
  • “build a skill”
  • “skill for [topic]”
  • “/skill-creator”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Understand the Use Case
  2. Plan the Skill Contents
  3. Scaffold the Skill
  4. Write the SKILL.md
  5. Validate
  6. Iterate

What it can do on your machine

Read from SKILL.md and the folder at commit 79d019b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell and Python), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • agentskills.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Skill Creator loads about 2.1k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 122 tokens; SKILL.md has 915 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from espennilsen/pi at commit 79d019b, republished under its MIT licence (© espennilsen). 915 words, ~2,065 tokens.

Download SKILL.mdSave it as .claude/skills/skill-creator/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
skill-creator
description
Create, review, and improve skills for Pi agents. A skill is a folder with a SKILL.md that teaches an agent specialized workflows, domain knowledge, or tool integrations. Use when asked to create a new skill, improve an existing skill, review a skill for quality, scaffold a skill from a workflow, or convert documentation into a skill. Also triggers on "make a skill for", "build a skill", "skill for [topic]", "teach the agent to", or "package this workflow as a skill".

Skill Creator

Create effective, well-structured skills for Pi agents. This skill covers the full lifecycle: planning, scaffolding, writing, validating, and iterating.

Pi implements the Agent Skills standard. Skills work across Pi, Claude Code, and the Anthropic API.

What Is a Skill?

A skill is a folder that teaches an agent how to handle specific tasks:

skill-name/
├── SKILL.md           # Required — frontmatter + instructions
├── scripts/           # Optional — executable code (deterministic operations)
├── references/        # Optional — documentation loaded on-demand
└── assets/            # Optional — templates, fonts, icons used in output

Skills are NOT code. They are structured instructions — like an onboarding guide for a new team member who happens to be an AI.

Skill Creation Process

Step 1: Understand the Use Case

Before writing anything, answer these questions:

  1. What does the user want to accomplish? (concrete outcome)
  2. What would they say to trigger it? (natural language phrases)
  3. What steps are involved? (the workflow)
  4. What does the agent need that it doesn't already know? (domain knowledge, scripts, reference docs)
  5. What tools does the agent need? (bash, web_fetch, extensions, MCP)

Ask 2-3 clarifying questions if the use case isn't clear. Get concrete examples of how the skill would be used before proceeding.

Step 2: Plan the Skill Contents

For each step in the workflow, decide what belongs where:

Content typeWhere it goesWhen to use
Workflow steps, decisions, guidanceSKILL.md bodyCore instructions the agent follows
Executable code that's reusedscripts/Deterministic operations, data processing, validation
Detailed docs, API refs, schemasreferences/Loaded only when the agent needs them
Templates, images, boilerplateassets/Files used in output, not loaded into context

Key principle: Only include what the agent doesn't already know. Claude is already smart — don't explain how to write Python or use git. Add the domain knowledge, specific workflows, and tribal knowledge that make this task unique.

Step 3: Scaffold the Skill

Run the init script to create the directory structure:

bash
bash scripts/init-skill.sh <skill-name> [target-directory]

Default target: current working directory. The script creates the folder with SKILL.md template and optional subdirectories.

Step 4: Write the SKILL.md

See references/writing-guide.md for the full writing guide. Key points:

Frontmatter (Level 1 — always in context)
yaml
---
name: kebab-case-name
description: >
  What it does + when to use it + specific trigger phrases.
  Max 1024 chars. This is the ONLY thing loaded by default.
---

The description is the most important part — it determines whether the skill activates. Include:

  • What the skill does (1 sentence)
  • When to use it (specific scenarios)
  • Trigger phrases users would actually say

Rules:

  • name: kebab-case, lowercase, max 64 chars, must match folder name
  • description: required, max 1024 chars, no XML angle brackets
  • No claude or anthropic in the name (reserved)
Body (Level 2 — loaded when skill activates)

Keep SKILL.md body under 500 lines / ~5000 words. This goes into the agent's context window alongside conversation history, other skills, and system prompt.

Structure options (pick the best fit):

PatternBest forExample
WorkflowSequential processesSteps 1→2→3 with validation gates
Task-basedTool collections"Merge PDFs" / "Split PDFs" / "Extract text"
ReferenceStandards, guidelinesBrand guide with colors / typography / voice
CapabilitiesFeature setsNumbered list of related features

Writing rules:

  • Use imperative form ("Run the script", not "You should run the script")
  • Be specific and actionable (file paths, commands, parameters)
  • Include error handling for common failures
  • Provide concrete examples over abstract explanations
  • Reference bundled files with relative paths: scripts/validate.sh, references/api.md
Bundled Resources (Level 3 — loaded on demand)
markdown
## Advanced Configuration

For database schema details, see [references/schema.md](references/schema.md).
For deployment patterns by provider, see:
- [references/aws.md](references/aws.md)
- [references/gcp.md](references/gcp.md)

The agent reads these files only when it needs them. This is progressive disclosure — keep SKILL.md lean, push detail into reference files.

Guidelines:

  • Keep references one level deep from SKILL.md (no deeply nested links)
  • For files over 100 lines, add a table of contents at the top
  • Scripts can be executed without reading into context (token efficient)
  • Assets are used in output, not loaded into context
Show full SKILL.md (339 more words)Show less
Step 5: Validate

Run the validation script:

bash
python3 scripts/validate.py <path/to/skill-folder>

Checks: frontmatter format, naming conventions, description quality, file structure, broken references, line count.

Step 6: Iterate

Skills are living documents. After real usage:

  1. Note where the agent struggles or goes off-track
  2. Tighten instructions for problem areas
  3. Add error handling for new edge cases
  4. Move content between SKILL.md and references as needed
  5. Re-validate after changes

Review Mode

When asked to review an existing skill, evaluate against this checklist:

Triggering
  • Description includes what + when + trigger phrases
  • Tested: would the agent load this for the right queries?
  • Tested: would it NOT load for unrelated queries?
Structure
  • SKILL.md exists with valid frontmatter
  • Name is kebab-case, matches folder name
  • Body under 500 lines
  • Progressive disclosure used (references for detail)
  • No README.md or extraneous docs in the skill folder
Content Quality
  • Only includes knowledge the agent doesn't already have
  • Instructions are specific and actionable
  • Error handling for common failures
  • Concrete examples provided
  • Scripts tested and working
Pi-Specific
  • Relative paths use skill directory as root
  • Compatible with Pi's skill loading (--skill or discovery)
  • Works alongside other skills (composable)

Report findings as: 🔴 Critical | 🟡 Important | 🔵 Minor | ✅ Good

Common Mistakes

MistakeFix
Description too vague ("Helps with projects")Add specific triggers and capabilities
Everything in SKILL.md (2000+ lines)Move detail to references/, keep body lean
Explaining things the agent already knowsRemove — only add novel domain knowledge
No trigger phrases in descriptionAdd "Use when..." with natural language examples
Inline scripts in SKILL.mdMove to scripts/, reference with relative path
Magic values without explanationDocument all constants, paths, credentials
Missing error handlingAdd "If X fails..." for each critical step
README.md in the skill folderDelete — all docs go in SKILL.md or references

Pi Skill Locations

Skills are discovered from these locations (first match wins on name collision):

  • Global: ~/.pi/agent/skills/, ~/.agents/skills/
  • Project: .pi/skills/, .agents/skills/ (cwd + ancestors to git root)
  • Settings: skills array in settings.json
  • CLI: --skill <path> (always loads, even with --no-skills)
  • Packages: skills/ dirs or pi.skills in package.json

Skills register as /skill:name commands in interactive mode.

© espennilsen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in skills/skill-creator of espennilsen/pi.

  • SKILL.md
  • references/patterns.md
  • references/writing-guide.md
  • scripts/init-skill.sh
  • scripts/validate.py

Open the folder on GitHubat commit 79d019b

Compare with similar skills

Skill Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Skill Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Creator this skillespennilsen/pi122—~2.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79589 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    66k GitHub stars~1k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from espennilsen/pi

All 36 skills in this repo
  • GitHub

    espennilsen/pi

    Interact with GitHub repos, PRs, issues, CI, and notifications via the pi-github extension commands and gh CLI.

    122 GitHub stars~1k tokensUpdated 17 days ago
    Auto-check passed
  • Dry Code Review

    espennilsen/pi

    Perform a comprehensive DRY (Don't Repeat Yourself) code review on a codebase.

    122 GitHub stars~1.7k tokensUpdated 17 days ago
    Auto-check passed
  • Extract Design System

    espennilsen/pi

    Reverse-engineer a design system from a live website (public URL or localhost).

    122 GitHub stars~2k tokensUpdated 17 days ago
    Auto-check passed
  • Herdr Operations

    espennilsen/pi

    A skill your agent uses when inspecting or operating Herdr sessions, workspaces, tabs, panes, agents, terminal output, agent messaging, or waits.

    122 GitHub starsUsed in 1 repo~525 tokens
    Auto-check passed
  • PDF Reader

    espennilsen/pi

    Read and extract content from PDF files — text, tables, metadata, and images.

    122 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed
  • Google Workspace

    espennilsen/pi

    Manage Google Workspace via the gws CLI — Drive, Gmail, Sheets, Docs, Slides, People, Chat, Meet, Forms, and cross-service workflows.

    122 GitHub stars~3.4k tokensUpdated 17 days ago
    Auto-check passed

Categories

Questions about Skill Creator

What does Skill Creator do?

Create, review, and improve skills for Pi agents. An agent skill from espennilsen/pi. Skill Creator is an agent skill from espennilsen/pi. Create, review, and improve skills for Pi agents.

When should I use Skill Creator?

Skill Creator fits situations like: asked to create a new skill; improve an existing skill; review a skill for quality; scaffold a skill from a workflow.

How do I install Skill Creator in Claude Code?

Run `npx skills add espennilsen/pi --skill skill-creator -a claude-code`. Or copy the skill folder (skills/skill-creator in espennilsen/pi) into .claude/skills/skill-creator in your project. Claude Code loads it when a task matches its description.

How do I install Skill Creator in Codex?

Run `npx skills add espennilsen/pi --skill skill-creator -a codex`. Or copy the skill folder (skills/skill-creator in espennilsen/pi) into .agents/skills/skill-creator in your project. Codex loads it when a task matches its description.

Can I use Skill Creator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add espennilsen/pi --skill skill-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-creator, .gemini/skills/skill-creator, .github/skills/skill-creator and .opencode/skills/skill-creator in your project.

What does Skill Creator need to run?

Going by SKILL.md and its folder, Skill Creator needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (bash and python3). Our summary lists: Python 3; A Bash shell.

Does Skill Creator access the network?

SKILL.md names 1 domain. As links in the text: agentskills.io. This is read from the text; nothing was executed.

Is Skill Creator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Skill Creator use?

Skill Creator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Creator use?

About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.1k tokens, read only when the agent opens those files.

What are the alternatives to Skill Creator?

Skills that share tags, products or a category with Skill Creator: Skill Creator (Azure/azqr, 795 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Creator?

espennilsen (a GitHub user) maintains it in espennilsen/pi, which has 122 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 21, 2026.

Source: espennilsen/pi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.