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…

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.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.svg" alt="Measured on agentmods" 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 $0.00015 $0.00187
Sonnet 5 $0.00006 $0.00075
Haiku 4.5 $0.00003 $0.00038

Measured 7d ago against content hash ce4c688c73d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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. 7d 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 2mo ago), licensed MIT. It adds 31 tokens to every session and 375 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

opik-optimizer

Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.

vincentkoc/dotskills · 41 tokens

neurolink-guide

Guide for using the NeuroLink SDK and CLI. Invoke when users ask how to use neurolink, integrate AI providers, add MCP tools, configure RAG, set up memory, deploy servers, or work with multimodal content. Covers SDK, CLI, providers, tools, and enterprise features.

juspay/neurolink · 65 tokens

langgraph

Build multi-agent AI systems with LangGraph — the low-level orchestration framework for stateful, graph-based agent workflows. Covers supervisor, swarm, and hierarchical multi-agent patterns; subgraph composition; state management (checkpointers/stores); persistence; evals; and production debugging. Reach for this…

magnus919/agent-skills · 100 tokens

dspy

Optimize and build programmatic prompt systems with Stanford DSPy. Signatures, modules (Predict, ChainOfThought, ReAct), optimizer/teleprompter selection, compilation, caching, evaluation. Use when doing programmatic prompt optimization or building compiled prompt programs. Do not use this skill for unrelated…

magnus919/agent-skills · 72 tokens

langchain

Build LLM applications with LangChain. Use when working with LangChain or comparing LLM application frameworks. Do not use this skill for unrelated requests; route to the nearest named specialist.

magnus919/agent-skills · 40 tokens

context-engineering-advisor

Diagnose context stuffing vs. context engineering. Use when an AI workflow feels bloated, brittle, or hard to steer reliably.

getcrew44/crew44 · 32 tokens