agentleFS
sonichisonichi/sutando/skills/claude-pi/SKILL.md

claude-pi

Skill396 starsChanged 6 months agoMITView on GitHub

Use the local Pi CLI (pi.dev) from Claude Code with the user's existing Pi authentication (Kimi, Claude Pro/Max, or ChatGPT OAuth). Use for second-opinion analysis, implementation, or reviews from a Kimi-family model in the current workspace.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default provider/model is kimi-coding/kimi-for-coding.

    line 26
  2. Very specific:

    Use --read-only for analysis passes — it restricts Pi to its read tool (no bash/edit/write).

    line 27
  3. Very specific:

    Keep Pi in the target repo via --cd.

    line 30
  4. Very specific:

    If ARGUMENTS is empty, explain the available modes and suggest --read-only for analysis.

    line 56
  5. Distinctive:

    If ARGUMENTS is present, run:

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Claude Pi

Delegate work from Claude Code to the local pi CLI (pi.dev). This skill uses whatever authentication Pi is already logged into on this machine (~/.pi/agent/auth.json — OAuth for Kimi, Claude Pro/Max, or ChatGPT). It does not copy or export secrets.

Usage: /claude-pi [prompt]

ARGUMENTS: $ARGUMENTS

When to Use

  • "Use pi on this repo" / "ask kimi"
  • Need a second opinion from a Kimi-family model (default: kimi-coding/kimi-for-coding)
  • Need a non-Anthropic, non-OpenAI, non-Google perspective on a design or diff
  • Need a scripted, non-interactive agent pass (pi -p) in the current workspace

Guardrails

  • Default provider/model is kimi-coding/kimi-for-coding; override with --provider/--model.
  • Use --read-only for analysis passes — it restricts Pi to its read tool (no bash/edit/write).
  • Without --read-only, Pi has full tools (read, bash, edit, write) in the working directory — same trust level as a default Codex workspace-write run.
  • Keep Pi in the target repo via --cd; prefer --mode json when another tool consumes the output.

Quick Checks

bash "$SKILL_DIR/scripts/pi-run.sh" --check

Common Commands

# Read-only analysis
bash "$SKILL_DIR/scripts/pi-run.sh" --read-only -- "Trace how tasks flow from voice input to execution"

# Different provider/model (any Pi is logged into)
bash "$SKILL_DIR/scripts/pi-run.sh" --provider kimi-coding --model k3 -- "Review the repo structure"

# Machine-readable output
bash "$SKILL_DIR/scripts/pi-run.sh" --mode json -- "Summarize risks in src/startup.sh"

# Allow edits when the user asked for implementation help
bash "$SKILL_DIR/scripts/pi-run.sh" -- "Implement a safer startup preflight for missing services"

If Invoked As A Slash Command

  • If ARGUMENTS is empty, explain the available modes and suggest --read-only for analysis.
  • If ARGUMENTS is present, run:
bash "$SKILL_DIR/scripts/pi-run.sh" -- "$ARGUMENTS"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.