@ryan_nookpi/pi-extension-cross-agent

Load commands from Claude, Gemini, and Codex agent directories into pi.

Package details

extension

Install @ryan_nookpi/pi-extension-cross-agent from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@ryan_nookpi/pi-extension-cross-agent
Package
@ryan_nookpi/pi-extension-cross-agent
Version
0.1.0
Published
Apr 16, 2026
Downloads
134/mo · 9/wk
Author
ryan_nookpi
License
MIT
Types
extension
Size
6.3 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

cross-agent

Load commands from other AI coding agent directories (.claude/, .gemini/, .codex/) into pi.

What it does

Scans project-local and global agent directories and registers commands/*.md files as /name commands.

Source Pattern Behavior
commands/*.md Markdown with optional frontmatter Registered as /name command
skills/ Directories with SKILL.md or flat .md files Detected but not registered (reserved for future use)
agents/*.md Markdown agent definitions Detected but not registered (reserved for future use)
.pi/agents/*.md Pi-native agent definitions Detected but not registered (reserved for future use)

Scan order

For each provider (claude, gemini, codex):

  1. <cwd>/.<provider>/ (project-local)
  2. ~/.<provider>/ (global)

First-seen command name wins on duplicates.

Command template variables

Commands support $ARGUMENTS / $@ (full args) and $1, $2, … (positional) substitution.

Install

pi install npm:@ryan_nookpi/pi-extension-cross-agent