skills/pi-skills/porting-claude-skills/SKILL.md
Use when porting a Claude Code skill to Pi/agentskills.io format. Covers frontmatter, tool references, cross-references, companion files, and subagent patterns.
npx skillsauth add jbro/pi-agent porting-claude-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Claude Code skills target the Skill tool. Pi uses the agentskills.io standard:
skills live in named directories, Pi auto-discovers them at startup, injects metadata into
the system prompt as XML, and the agent loads full content on demand via the Read tool.
Most skills port with mechanical changes. A few need substantive adaptation. Some should be skipped.
Classify the skill before porting:
| Category | Action |
|---|---|
| No platform-specific tools or patterns | Direct port |
| Uses TodoWrite, EnterPlanMode, or CLAUDE.md references | Direct port with minor changes |
| Uses Task tool incidentally (e.g., "dispatch a reviewer") | Adapt: replace with in-session instruction |
| Entire skill orchestrates subagents via Task | Skip |
# Source (Claude) → Pi
name: some-skill # keep — must match directory name exactly
description: "..." # keep — trim to ≤1024 chars if needed
# drop any other fields
| Source pattern | Replace with |
|---|---|
| superpowers:skill-name | skill-name |
| **REQUIRED SUB-SKILL:** Use superpowers:X | **See skill:** X |
| Plain English skill references | Keep as-is |
| Source pattern | Replace with |
|---|---|
| @filename.md | \filename.md` in this skill's directory (load with Read tool)| |See @filename.md for details|Read `filename.md` from this skill's directory` |
| Source | Replace with |
|---|---|
| Use the Skill tool / Invoke the skill | Read the skill's SKILL.md at its listed location |
| TodoWrite item list | Plain - [ ] markdown checklist |
| EnterPlanMode | Remove; replace with "plan your approach before proceeding" |
| Task tool (subagent dispatch) | See Subagent section below |
Task tool)Pi has no built-in subagent dispatch. Replace based on usage:
| Source | Replace with |
|---|---|
| ~/.claude/skills/ | ~/.pi/agent/skills/ |
| CLAUDE.md references | AGENTS.md |
| File type | Action |
|---|---|
| Reference docs (root-cause-tracing.md, etc.) | Copy verbatim |
| Scripts and tools (find-polluter.sh, etc.) | Copy verbatim |
| Subagent prompt templates (*-prompt.md, code-reviewer.md) | Skip |
Read SKILL.md and all companion filesmkdir -p ~/.pi/agent/skills/<skill-name>/SKILL.mdREADME.md in the skill directory with source attribution, e.g.:
Adapted from [obra/superpowers](https://github.com/obra/superpowers), MIT License.
Adapted at commit: <commit-hash>
Use the actual source repo URL and commit if known; omit the commit line if not.name matches directory; no forbidden patterns remain (grep scan passes)writing-clearly-and-concisely skill.testing
Use when writing or editing human-facing prose that needs clearer, more concise wording.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation or task, to determine which skills apply before responding or taking any action.