code-yeongyu

Pi Agent System — Git skill for Claude Code

Git community

ci license: MIT.

How to install Pi Agent System

This entry records only its repository, not the path inside it, so there is no exact command to give. Open code-yeongyu/pi-agent-system and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pi Agent System does

ci license: MIT.

Alternatives in Git

  • Claude.md Template For Users — Attribution: Behavioral patterns adapted from obra/superpowers by Jesse Vincent (@obra), MIT License 6.8k ★
  • Contributing To Context-mode — This project is licensed under the Elastic License 2.0 (ELv2) and moves forward with your support 5.6k ★
  • MCP Think Tool — by cgize MIT - Claude Desktop 思考工具 39 ★

README

pi-agent-system

[![ci](https://github.com/code-yeongyu/pi-agent-system/actions/workflows/ci.yml/badge.svg)](https://github.com/code-yeongyu/pi-agent-system/actions/workflows/ci.yml) [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Agent profile extension for the [pi coding agent](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent). It reads the sub-agent type from `SANEPI_AGENT_TYPE` or `PI_AGENT_TYPE`, loads markdown agent profiles, filters the active toolset, and appends per-agent prompt fragments.

This package is the standalone extraction of senpi-mono's former builtin `agent-system` extension.

Behavior

Case Result
No SANEPI_AGENT_TYPE / PI_AGENT_TYPE extension stays inactive
Known agent type filters active tools using the agent's tools rules
Agent has prompt body appends the body to the system prompt before the agent starts
Unknown agent type logs available agent types and leaves tools unchanged

Built-in profiles:

Agent Purpose Default tool rules
general General sub-agent for parallel work allow everything except nested task and todowrite
explore Fast read-only exploration deny by default, allow read, grep, find, ls, bash

Agent files

Create markdown files in any of these locations:

  • ~/.pi/agent/agents/.md
  • ~/.pi/agent/agent/.md
  • ~/.senpi/agent/agents/.md
  • ~/.senpi/agent/agent/.md
  • /.pi/agents/.md
  • /.pi/agent/.md
  • /.senpi/agents/.md
  • /.senpi/agent/.md

Project definitions override global definitions. `.senpi` definitions override `.pi` definitions at the same scope.

---
description: Review code changes
mode: subagent
model: gpt-5.1
temperature: 0.2
tools:
  "*": deny
  read: allow
  grep: allow
  bash:
    "git diff*": allow
---
You are a careful code-r