Skip to content
Agentmart
Submit a tool

create-skill

Author, revise, or validate a pi skill (a SKILL.md folder) against the Agent Skills standard.

Skill by gh0stwin

IndexedMIT
Write a review

Chalk Labs

Need help deploying create-skill?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/gh0stwin-create-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Author, revise, or validate a pi skill (a SKILL.md folder) against the Agent Skills standard. Use for "create a skill", "write a skill for X", "turn this workflow into a skill", "fix this skill's frontmatter", or "tune this skill's description" so it triggers when it should. Also use when a reflect or automate-me proposal asks for a new or edited skill.

Use cases: writing, productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/create-skill

What's inside

Skill name
create-skill
Description
Author, revise, or validate a pi skill (a SKILL.md folder) against the Agent Skills standard. Use for "create a skill", "write a skill for X", "turn this workflow into a skill", "fix this skill's frontmatter", or "tune this skill's description" so it triggers when it should. Also use when a reflect or automate-me proposal asks for a new or edited skill.
License
MIT
Instructions
75 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: references/rubric.md, scripts/run.sh

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Create a skill

A skill is a directory with a `SKILL.md`: YAML frontmatter plus instructions the agent loads on demand. This skill covers where it goes, how the frontmatter must read, how to write the body, and how to test that it triggers.

## 1. Decide it should be a skill

A skill earns its place when the workflow recurs, is longer than a paragraph, and would waste context if it always sat in the prompt. Do not create one for a one-off task, a fact better kept in the repository's own docs, or a preference that belongs in `AGENTS.md`.

Existing-skill-first: extend a skill that already owns the topic rather than adding a near-duplicate. Search the loaded skills and the package's `skills/` before writing.

## 2. Choose the location

| Location | Scope | Use when |
| --- | --- | --- |
| `<package>/skills/<name>/` | whoever installs the package | shipping the skill with a pi package |
| `~/.pi/agent/skills/<name>/` | every project for this user | a personal workflow |
| `.pi/skills/<name>/` | this repository | a project-local workflow; trust-gated |
| `.agents/skills/<name>/` | the repository and its descendants | a project-local skill shared across harnesses; trust-gated |
| `~/.agents/skills/<name>/` | every project, shared across harnesses | a portable skill |

Project skills only load after the project is trusted. `.agents/skills/` is found in the working directory and every ancestor up to the git repository root. A package declares its skills with `pi.skills` in `package.json` or a conventional `skills/` directory. Settings (`skills` in `settings.json`) and `--skill <path>` load a skill from any path.

## 3. Write the frontmatter

```markdown
---
name: kebab-case-name
description: What the skill does and when to load it. Be specific about the trigger words a user would say.
---
```

Rules from the Agent Skills standard:

- `name`: required, 1-64 characters, lowercase `a-z`, `0-9`, and hyphens only. No leading or trailing hyphen, no `--`. Pi does not require it to equal the directory name and does not warn on a mismatch; the standard does require the match, and shared skill directories read better when they match. If `name` is missing, pi silently falls back to the directory name, but write it.
- `description`: required, at most 1024 characters. Only descriptions are always in context, so the description is the trigger. Say what the skill does and when to use it, in the user's words.
- Optional: `license`, `compatibility` (max 500 chars), `metadata`, `allowed-tools`, `disable-model-invocation` (the only optional field pi reads).

Pi warns on violations and still loads the skill; a missing or empty `description`, or frontmatter that does not parse as YAML, stops it loading. Keep `description` as one YAML scalar; quote it or use a block scalar (`>-`) when it contains punctuation such as `:` or wraps across lines.

`disable-model-invocation: true` hides the skill from the system prompt. The user can still run `/skill:<name>`, but the agent cannot discover or load the skill on its own. Use it only for an entry point the user opts into, never for a skill another skill routes to.

The description is the whole trigger. Weak: "Helps with PDFs." Strong: "Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF documents or when the user mentions PDFs, forms, or document extraction."

## 4. Write the body

- Lead with the workflow, not with motivation. Steps in the order they run.
- Use relative paths from the skill directory (`references/rubric.md`, `scripts/run.sh`) and say that is what they are.
- Push detail into `references/` and load it by pointer, so the main file stays small. Keep the main file to the decisions and the order.
- Add `scripts/` only for logic that must be deterministic. Scripts need a shebang, a `README`-style usage line, and a test where one is cheap.
- Write in the imperative to the agent. State the failure mode a step prevents.
- Apply the **unslop** skill. Agent-facing prose has a higher bar than human prose: an unhelpful sentence becomes an instruction some future agent follows.
- Do not restate the repository's own conventions; point at them.

## 5. Validate

1. Frontmatter: name and description present, name matches the rules above, description under 1024 characters.
2. Links: every relative link resolves from the skill directory.
3. Scripts: run each one with `--help` or its narrowest case, and run its test.
4. Load: run `pi --skill <skill-dir>` (or install the package) and confirm pi lists the skill as loaded with no skill diagnostics; for a hidden skill, confirm `/skill:<name>` resolves.
5. Grep the body for stale references to files, skills, or commands that no longer exist.

## 6. Test that it triggers

A skill that does not trigger is not shipped. Test the description against realistic prompts:

1. Write five prompts that should load the skill and five that should not.
2. In a fresh session, ask the first set without naming the skill and see whether the agent reads it.
3. If a should-load prompt misses, add the user's actual phrasing to the description. If a should-not-load prompt fires, add the boundary ("Skip when ...") to the description.
4. Re-run after each edit. Two or three rounds is usually enough.

## 7. Ship it

Route the change through the **opening-a-pr** playbook in the **poteto-mode** skill (`../poteto-mode/playbooks/opening-a-pr.md`): run the **deslop** skill over the diff, write the commit and PR body with the **technical-writing** skill, and apply the **unslop** skill to the prose.

From gh0stwin/pi-pstack, MIT.

More from gh0stwin/pi-pstack

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 12, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from gh0stwin

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get create-skill running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying create-skill?

CallGet help
Cite this page

create-skill. Agent Mart. https://agentmart.dev/skills/gh0stwin-create-skill (last updated 2026-10-24)