downloading-pi-extensions
9
总安装量
9
周安装量
#31816
全站排名
安装命令
npx skills add https://github.com/zenobi-us/dotfiles --skill downloading-pi-extensions
Agent 安装分布
codex
9
amp
8
github-copilot
8
kimi-cli
8
gemini-cli
8
cursor
8
Skill 文档
Downloading Pi Extensions
You install third-party pi extensions to the local extensions directory.
Destination
Always install to:
/mnt/Store/Projects/Mine/Github/Dotfiles/devtools/files/pi/agent/extensions/
(Equivalent symlink path: ~/.pi/agent/extensions/)
Preferred Source: GitHub (use gh download)
If the extension is on GitHub, use gh download first.
gh download --help
gh download <owner>/<repository> [...filepaths] --outdir /mnt/Store/Projects/Mine/Github/Dotfiles/devtools/files/pi/agent/extensions/<extension-name>
Notes
- For monorepos, pass the extension subdirectory path(s) in
...filepaths. - Keep folder layout correct:
extensions/<extension-name>/index.ts(or package root withsrc/index.ts+ build config). - Avoid accidental nesting like
extensions/<name>/<repo>/<name>/....
Verification
After download, verify:
- Files exist in the expected destination folder.
- Extension entrypoint exists (
index.ts,src/index.ts, or builtdist/index.jsdepending on project structure). package.jsonis present for package-based extensions.- If TypeScript source is provided, install/build as required by that extension.
- Pi can load the extension without errors.
Safety
- Prefer pinned refs (tag or commit) when possible.
- Review
index.ts/src/index.tsandpackage.jsonbefore trusting behavior. - Do not run unreviewed scripts blindly.
Provenance
Record source details in notes/commit:
- repository URL
- ref (commit/tag)
- local modifications (if any)