pi-skill-creator
Create, test, and improve Agent Skills for pi and opencode.
Skill by kwanpham2195
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/kwanpham2195-pi-skill-creator
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.
About
Use cases: testing, writing, productivity, agent-building
Reviews
Write a reviewNo 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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pi-skill-creator
What's inside
- Skill name
pi-skill-creator- Description
- Create, test, and improve Agent Skills for pi and opencode. Use when users want to create a new skill from scratch, edit or improve an existing skill, run evals to test a skill, or optimize a skill's description for better triggering accuracy. Triggers for any skill creation or evaluation task targeting pi, opencode, or codex.
- License
- MIT
- Instructions
- 226 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (17)
- README.md
- SKILL.md
- analyzer.md · agents/
- comparator.md · agents/
- grader.md · agents/
- generate_review.py · eval-viewer/
- evals.json · evals/
- evals_array.json · evals/
- trigger_evals.json · evals/
- verify_code_change_evals.json · evals/
- schemas.md · references/
- __init__.py · scripts/
- aggregate_benchmark.py · scripts/
- improve_description.py · scripts/
- literal_run_eval.py · scripts/
- literal_run_loop.py · scripts/
- package_skill.py · scripts/
SKILL.md (first lines)
# Pi Skill Creator
Create and iteratively improve skills for coding agent harnesses like **pi**, **opencode**, and **codex**.
The core loop: draft a skill → run test prompts → review outputs → improve → repeat.
## Workflow Overview
1. **Capture intent** — what should the skill do, when should it trigger
2. **Write SKILL.md** — name, description, instructions, examples
3. **Create test prompts** — 2-3 realistic user queries per skill
4. **Run evals** — spawn subagents with/without skill, compare outputs
5. **Review** — HTML viewer shows outputs + quantitative benchmark
6. **Improve** — rewrite based on feedback, repeat until satisfied
7. **Package** — bundle as `.skill` file for distribution
---
## Creating a Skill
### Step 1: Capture Intent
Ask the user:
1. What should this skill enable the agent to do?
2. When should it trigger? (what phrases/contexts)
3. Expected output format?
4. Test cases needed? (skills with verifiable outputs benefit most)
### Step 2: Write SKILL.md
```
skill-name/
├── SKILL.md ← required
├── scripts/ ← optional helper scripts
├── references/ ← optional docs loaded on demand
└── assets/ ← optional templates, icons
```
**SKILL.md anatomy:**
```yaml
---
name: skill-name
description: When to trigger + what it does. Be "pushy" — overtrigger rather than undertrigger.
---
# Skill Name
## What this skill does
## When to use it
## How to use it
## Examples
```
**Description writing tips:**
- Use imperative: "Use this skill for..." not "This skill does..."
- Focus on user intent, not implementation
- Be distinctive — the description competes with other skills for the agent's attention
- Keep under 200 words / 1024 chars
### Step 3: Create Test Prompts
Save to `evals/evals.json`:
```json
{
"skill_name": "my-skill",
"evals": [
{
"id": 1,
"prompt": "Realistic user query",
"expected_output": "What the skill should produce",
"files": []
}
]
}
```
## Running and Evaluating
### Run all evals
```bash
python -m scripts.run_eval \
--agent pi \
--skill-path /path/to/skill \
--workspace /tmp/skill-workspace \
--evals evals/evals.json
```
This spawns subagents for each eval in parallel — one **with skill**, one **without** (baseline).
### Spawn subagents directly
Use `delegate_task` (if using the `pi-subagents` skill) or the pi CLI in each subagent:
**With-skill:**
```bash
cd /project && pi -p "task..." --skill my-skill
```
**Baseline (no skill):**
```bash
cd /project && pi -p "task..."
```
### Grading
```bash
python -m scripts.aggregate_benchmark /workspace/iteration-1 \
--agent pi \
--skill-name my-skill
```
### Review in browserFrom kwanpham2195/agent-stuff, MIT.
More from kwanpham2195/agent-stuff
- 0.563score
obsidian-vault-config
kwanpham2195
Manage the shared Obsidian config at ~/.obsidian-shared that every vault symlinks into.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
product-description
kwanpham2195
Create or extend feature-by-feature product behavior documentation from source code, tests, and live verification.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
config-manager
kwanpham2195
Manage local machine configuration through chezmoi and global config files.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
delegated-execution
kwanpham2195
Use when delegating work, coordinating subagents, or consulting an advisor on a consequential decision.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
create-verification-skill
kwanpham2195
Generate a project-local Pi verification skill that drives your app the way a user does — any language, framework, or platform.
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
orbstack
kwanpham2195
Control OrbStack and Docker readiness on macOS.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
librarian
kwanpham2195
Cache and refresh remote Git repositories for local source reference.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
clean-copy
kwanpham2195
Reimplement the current branch on a new branch with a clean, narrative-quality git commit history.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
pr
kwanpham2195
Create or update a pull request for the current branch.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
define-outcome
kwanpham2195
Clarify product intent and observable acceptance for a feature or change when the desired outcome, scope, or success criteria are ambiguous.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
issue
kwanpham2195
Capture a user request or hand off scoped implementation work to a local workspace issue or an authorized configured remote tracker.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
show-me
kwanpham2195
Explain technical work or prepare developer review artifacts with diagrams, structural diffs, pseudocode, and concrete contracts.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 14, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/kwanpham2195/agent-stuff
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from kwanpham2195
- 0.563score
obsidian-vault-config
kwanpham2195
Manage the shared Obsidian config at ~/.obsidian-shared that every vault symlinks into.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
product-description
kwanpham2195
Create or extend feature-by-feature product behavior documentation from source code, tests, and live verification.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
config-manager
kwanpham2195
Manage local machine configuration through chezmoi and global config files.
SkillBFreshness: B★ 2Claude Code +9 - 0.563score
delegated-execution
kwanpham2195
Use when delegating work, coordinating subagents, or consulting an advisor on a consequential decision.
SkillBFreshness: B★ 2Claude Code +9 - 0.559score
create-verification-skill
kwanpham2195
Generate a project-local Pi verification skill that drives your app the way a user does — any language, framework, or platform.
SkillBFreshness: B★ 2Claude Code +9 - 0.558score
orbstack
kwanpham2195
Control OrbStack and Docker readiness on macOS.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
pi-skill-creator. Agent Mart. https://agentmart.dev/skills/kwanpham2195-pi-skill-creator (last updated 2026-10-24)