Skip to content

Instantly share code, notes, and snippets.

@hushin
Created June 17, 2026 23:51
Show Gist options
  • Select an option

  • Save hushin/1695335aa6e722b6f7f07672f4873c83 to your computer and use it in GitHub Desktop.

Select an option

Save hushin/1695335aa6e722b6f7f07672f4873c83 to your computer and use it in GitHub Desktop.
pi-coding-agent 導入メモ

pi 導入メモ

1. グローバルパッケージのインストール

pi-coding-agent をグローバルにインストールします。

bun add -g --ignore-scripts @earendil-works/pi-coding-agent

2. 既存のコーディングスキルの整理

既存のコーディングスキル(skills)をクリーンアップして整理。

3. Sandbox 環境の構築 (srt sandbox)

sandbox-runtime (srt) のセットアップと起動。

# 依存パッケージと srt のインストール
sudo apt-get install socat
npm install -g @anthropic-ai/sandbox-runtime

# pi を指定して srt を起動
srt -c pi

4. エージェント設定 (~/.pi/agent/AGENTS.md)

5. RTK (Runtime Toolkit) の初期化

rtk init -g --agent pi

6. ccc (Cocoindex Code) の追加

npx skills add cocoindex-io/cocoindex-code

7. Context7 (最新コードドキュメントツール) のセットアップ

LLM や AI エディタ向けに最新のコードドキュメントを提供する upstash/context7 の設定。

npx ctx7 setup

8. 拡張機能 (Superpowers) のインストール

pi install git:github.com/obra/superpowers

参考リファレンス

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment