Agent skill

Pi Coding Agent

by mizchi in mizchi/skills

A skill your agent uses when embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts, writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on…

No licenceAuto-check passedAI & LLM Engineering

Install Pi Coding Agent

skills CLI
$ npx skills add mizchi/skills --skill pi-coding-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mizchi/skills pi-coding-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/pi-coding-agent .claude/skills/pi-coding-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pi-coding-agent
GitHub stars
356
Token cost
~5.4k tokens
SKILL.md length
1,571 words
Files
2
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts, writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on…

  • Embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts
  • SKILL.md covers When to use, Pitfalls (read first), Install and Minimal session, plus 10 more sections
  • Calls npm, npx and pnpm; reaches github.com; needs ANTHROPIC_API_KEY and LOCAL_OPENAI_API_KEY
  • Writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on

What it does

Pi Coding Agent is an agent skill from mizchi/skills. Use when embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts, writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on, packaging and pi install from npm/git, or picking between the SDK and pi --mode rpc for non-Node hosts. Covers session setup, the cwd × tools factory trap, TypeBox tool schemas, and the peerDependencies rule. Trigger on pi-coding-agent, pi.registerTool, pi install, or "embed a coding agent into Node" descriptions even when pi is not named.

Its SKILL.md is about 5.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in AI & LLM Engineering, covering Embeddings. It works with Git and npm. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts
  • Writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on
  • Packaging and pi install from npm/git
  • Picking between the SDK and pi --mode rpc for non-Node hosts

Example prompts

  • “embed a coding agent into Node”
  • “/pi-coding-agent”

Requirements

  • Node.js
  • A credential in ANTHROPIC_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    Also links to:

    • pi.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ANTHROPIC_API_KEY
    • LOCAL_OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pi Coding Agent loads about 5.4k tokens when it runs. Until then it costs about 138 tokens; SKILL.md has 1,571 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~138
When it runs · the whole SKILL.md, loaded when a task matches
~5.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,571 words (~5,448 tokens).

“@mariozechner/pi-coding-agent (upstream) ships both the pi interactive TUI and a first-class SDK. With the SDK you can spawn an agent session from any Node 20.6+ script, stream its output, scope its tools, and bolt on your own tools — without…”

— opening of SKILL.md by mizchi
name
pi-coding-agent

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in pi-coding-agent of mizchi/skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 62f5808

Compare with similar skills

Pi Coding Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pi Coding Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pi Coding Agent this skillmizchi/skills356—~5.4kAutomated safety check: PassNone
Ownmem Dashboardgrpcer/ownmem423—~563Automated safety check: PassApache-2.0
Installrekal-dev/rekal-cli207—~432Automated safety check: PassApache-2.0
Frontmcp Extensibilityagentfront/frontmcp146—~3.2kAutomated safety check: PassApache-2.0
Getting Startedlive-codes/livecodes1.5k—~1.6kAutomated safety check: PassMIT
Integrate Agent Emailamd/gaia1.6k—~7.4kAutomated safety check: PassMIT

Similar skills

  • Ownmem Dashboard

    grpcer/ownmem

    Open OwnMem Console, the local dashboard for this repository's memory.

    423 GitHub stars~563 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Install

    rekal-dev/rekal-cli

    Install the Rekal binary on this machine. An agent skill from rekal-dev/rekal-cli.

    207 GitHub stars~432 tokensUpdated 28 days ago
    AI & LLM EngineeringAuto-check passed
  • Frontmcp Extensibility

    agentfront/frontmcp

    A skill your agent uses when extending FrontMCP beyond the core SDK by integrating external npm packages, libraries, or third-party services into providers and tools.

    146 GitHub stars~3.2k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Getting Started

    live-codes/livecodes

    Quick start for standalone app at livecodes.io, embedding playgrounds with CDN or npm, and self-hosting basics.

    1.5k GitHub stars~1.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • A skill your agent uses when integrating the @amd-gaia/agent-email npm package — embedding the GAIA email agent (a local triage/draft/send sidecar) into a Node, TypeScript, or Electron app.

    1.6k GitHub stars~7.4k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • A skill your agent uses when integrating the @amd-gaia/gaia npm package — running GAIA's flagship agent, or embedding its local sidecar into a Node, TypeScript, or Electron app.

    1.6k GitHub stars~9.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: warnings

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    356 GitHub stars~1.7k tokensUpdated 5 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    356 GitHub stars~3.6k tokensUpdated 5 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    356 GitHub stars~2.9k tokensUpdated 5 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    356 GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    356 GitHub stars~995 tokensUpdated 5 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    356 GitHub stars~1.9k tokensUpdated 5 days ago
    Auto-check passed

Works with

Questions about Pi Coding Agent

What does Pi Coding Agent do?

A skill your agent uses when embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts, writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on…. Pi Coding Agent is an agent skill from mizchi/skills.on, packaging and pi install from npm/git, or picking between the SDK and pi --mode rpc for non-Node hosts.

When should I use Pi Coding Agent?

Pi Coding Agent fits situations like: embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts; writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on; packaging and pi install from npm/git; picking between the SDK and pi --mode rpc for non-Node hosts.

How do I install Pi Coding Agent in Claude Code?

Run `npx skills add mizchi/skills --skill pi-coding-agent -a claude-code`. Or copy the skill folder (pi-coding-agent in mizchi/skills) into .claude/skills/pi-coding-agent in your project. Claude Code loads it when a task matches its description.

How do I install Pi Coding Agent in Codex?

Run `npx skills add mizchi/skills --skill pi-coding-agent -a codex`. Or copy the skill folder (pi-coding-agent in mizchi/skills) into .agents/skills/pi-coding-agent in your project. Codex loads it when a task matches its description.

Can I use Pi Coding Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mizchi/skills --skill pi-coding-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pi-coding-agent, .gemini/skills/pi-coding-agent, .github/skills/pi-coding-agent and .opencode/skills/pi-coding-agent in your project.

What does Pi Coding Agent need to run?

Going by SKILL.md and its folder, Pi Coding Agent needs the command-line tools its instructions call (npm, npx and pnpm) and credentials named ANTHROPIC_API_KEY and LOCAL_OPENAI_API_KEY. Our summary lists: Node.js; A credential in ANTHROPIC_API_KEY.

Does Pi Coding Agent access the network?

SKILL.md names 2 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: pi.dev. This is read from the text; nothing was executed.

Is Pi Coding Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pi Coding Agent use?

No licence was found for Pi Coding Agent or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Pi Coding Agent use?

About 5.4k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pi Coding Agent?

Skills that share tags, products or a category with Pi Coding Agent: Ownmem Dashboard (grpcer/ownmem, 423 stars), Install (rekal-dev/rekal-cli, 207 stars), Frontmcp Extensibility (agentfront/frontmcp, 146 stars) and Getting Started (live-codes/livecodes, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pi Coding Agent?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 356 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

Source: mizchi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.