create-pi-prompt

create-pi-prompt is a skill for Claude Code from aretw0/agents-lab. It costs 31 tokens per session (375 once invoked), scanned A, original, MIT.

A guide for creating pi prompt templates, which turn Markdown snippets into reusable slash commands.

In plain words
What is it for?
Use it to create commands such as /review or /component at project, package, or global scope.
Why use it?
It makes repeated instructions easier to invoke and supports positional or full-text command arguments.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: positional $N argument.

Good fit Use it to create commands such as /review or /component at project, package, or global scope.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aretw0/agents-lab/create-pi-prompt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aretw0/agents-lab --skill create-pi-prompt
Clone the repo
git clone --depth 1 https://github.com/aretw0/agents-lab

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-pi-prompt

README.md
[![agentmods](https://agentmods.dev/badge/skills/aretw0/agents-lab/create-pi-prompt/github.svg)](https://agentmods.dev/skills/aretw0/agents-lab/create-pi-prompt)
Your own site
<a href="https://agentmods.dev/skills/aretw0/agents-lab/create-pi-prompt"><img src="https://agentmods.dev/badge/skills/aretw0/agents-lab/create-pi-prompt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-pi-prompt

Your own site · 80×15
<a href="https://agentmods.dev/skills/aretw0/agents-lab/create-pi-prompt"><img src="https://agentmods.dev/badge/skills/aretw0/agents-lab/create-pi-prompt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00375
Opus 5.5 $0.00012 $0.00150
Sonnet 5.5 $0.00006 $0.00075
Haiku 4.5 $0.00003 $0.00038

Measured 3mo ago against content hash ce4c688c73d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-pi-prompt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/pi-skills/skills/create-pi-prompt/SKILL.md · 67 lines

What it actually says

Criando Prompt Templates

Prompt templates são snippets Markdown que viram comandos /nome no pi.

Estrutura

Arquivo .md com frontmatter opcional:

---
description: Revisa as mudanças staged do git
---
Revise as mudanças staged (`git diff --cached`). Foque em:
- Bugs e erros de lógica
- Problemas de segurança
- Gaps de tratamento de erro

O nome do arquivo vira o comando: review.md → /review

Argumentos

Templates suportam argumentos posicionais:

  • $1, $2, ... — argumento por posição
  • $@ ou $ARGUMENTS — todos os argumentos juntos
  • ${@:N} — argumentos a partir da posição N
  • ${@:N:L} — L argumentos a partir de N

Exemplo:

---
description: Cria um componente React
---
Crie um componente React chamado $1 com as features: ${@:2}

Uso: /component Button dark-mode responsive

Onde Colocar

Escopo Localização
Global ~/.pi/agent/prompts/review.md
Projeto .pi/prompts/review.md
Pacote prompts/review.md (com pi.prompts no package.json)

Empacotando

{
  "name": "@aretw0/meus-prompts",
  "keywords": ["pi-package"],
  "pi": {
    "prompts": ["./prompts"]
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 67 lines · 31 tokens per session scan A ce4c688c73d0

Subscribe to this mod's changes

create-pi-prompt is a skill published in the GitHub repository aretw0/agents-lab (11 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 375 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

create-pi-prompt compared with skills from other repositories

create-pi-prompt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-pi-promptaretw0/agents-labSkill115mo agoMITA31Claude Code
dspyNousResearch/hermes-agentSkill268ktodayMITA19Claude Code, Codex
ai-engineering-toolkitsickn33/agentic-awesome-skillsSkill51ktodayMITA47Claude Code
v4-best-practicesHmbown/CodeWhaleSkill41k5d agoMITA51Claude Code, Codex
darwinian-evolverNousResearch/hermes-agentSkill268ktodayMITB22Claude Code, Codex
agent-evolutionbojieli/ai-agent-bookSkill61k3d agoApache-2.0A126Claude Code, Codex
post-training-strategybojieli/ai-agent-bookSkill61k3d agoApache-2.0A159Claude Code, Codex