Skip to main content
skill CX Codex

pi-prompting — Claude Code skill: what it does, how to install

Internal prompt guidance for Pi task runners using DeepSeek models. It helps structure coding, debugging, and repository review through strict XML contracts.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Agents365-ai/365-skills --skill pi-prompting -a claude-code
Open on GitHub

What pi-prompting does

This skill guides pi:pi-companion-forwarder when it delegates work to Pi. By default, the plugin targets DeepSeek V4 models: Flash for general work and Pro for code reviews. Instead of loose instructions, prompts are organized into explicit XML blocks like <task>, <output_contract>, and <action_safety>. Numbered checklists take priority over plain paragraphs.

For coding and debugging, prompts include a <completeness_contract> requiring passing tests and clean lint runs. When pi-subagents is present, it adds an <available_pi_subagents> block to route tasks between workers, planners, and scouts. Built-in tools like /pi:review and /pi:adversarial-review already carry predefined review instructions, so manual prompt drafting is unnecessary for those tasks.

Raising reasoning with --effort high by default is counterproductive. DeepSeek Flash gets no benefit from it, while DeepSeek Pro takes longer to answer. Tightening the prompt checklist works better.

What it helps with

  • structure Pi prompts with <task> and <action_safety> XML tags
  • restrict writable directories and files during automated edits
  • enforce definition-of-done criteria with tests and linter checks
  • route subtasks across specialized workers with pi-subagents

Example prompts for the agent

  • Draft a task prompt for Pi to fix a bug in src/auth.ts following pi-prompting rules
  • Prepare a prompt for Pi with an <action_safety> block for safe refactoring
  • Compose a follow-up instruction for task --resume-last with only the delta

How to install pi-prompting

1Skills CLI (Vercel)

npx skills add Agents365-ai/365-skills --skill pi-prompting -a claude-code

2Manually: put the files in place

~/.claude/skills/pi-prompting/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pi-prompting/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pi-prompting

How to install pi-prompting in Claude Code?

Run npx skills add Agents365-ai/365-skills --skill pi-prompting -a claude-code.

What does pi-prompting do?

It outlines prompt formatting rules for Pi task runners on DeepSeek Flash and Pro. The skill structures tasks using XML contracts that define task scope, safe file paths, and output criteria.

Can pi-prompting be invoked directly by a user?

No, the skill is set to user-invocable: false. It acts as internal guidance and is triggered when pi:pi-companion-forwarder dispatches tasks to Pi.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set21

semanticscholar-skill Searches academic papers, authors, and citation graphs using the Semantic Scholar API. Helps agents explore scientific literature, gather references, and get recommendations. CX Codex +1 3,400installs paper-fetch Finds and downloads research paper PDFs from a DOI, title, or DOI list. Handy when you need to retrieve a paper from available sources. CX Codex +1 3,400installs asta Searches the Semantic Scholar academic graph via AI2's Asta MCP server. Finds citations, author publications, and 500-word snippets. CX Codex +1 3,100installs journal-abbrev Looks up journal name abbreviations and expands them back, using ISO 4 and MEDLINE. Handy when you prepare a reference list or clean up BibTeX. CX Codex +1 3,000installs target-prioritization The skill builds a per-gene dossier from UniProt, OpenTargets, PubMed, HPA and ChEMBL, then re-ranks your candidate genes by a composite score. CX Codex +1 2,900installs pi-cli-runtime This skill defines how a forwarding subagent sends requests to the Pi runtime through a helper script. Use it to route diagnosis, research, or code-change requests. CX Codex +1 2,800installs pi-result-handling Skill for presenting Pi helper output correctly in Claude Code, Cursor and other IDEs. Preserves review structure, file paths and line numbers as reported. CX Codex +1 2,800installs bangumi-frames Extracts anime video frames from Bilibili or local files, separates scenery, and clusters characters using anime person detection and CCIP embeddings. CX Codex +1 2,300installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor