
cullendotdev/pi-skill-gate
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
A Pi extension to control which skills are injected into the system prompt.
概要
Interactive skill visibility manager for pi coding agent Control which skills are injected into the initial system prompt with /skill-gate. Browse full skill content, toggle visibility on or off, and invoke skills — all from a keyboard-driven overlay. Skills that are not injected can still be executed manually in chat. State is persisted across sessions and injected into the system prompt before every agent run. - — uses pi's ResourceLoader API with dynamic directory discovery to match /skill: autocomplete (including extension-contributed, project-memory, and migrated package skills) - — view the complete SKILL.md content (description, when-to-use, procedure, prompt body) for every skill with syntax-highlighted markdown rendering - — press y to copy the current skill's full SKILL.md body to the clipboard for pasting elsewhere - — press o to open the current skill's SKILL.md in $VISUAL / $EDITOR.
README
以下は原文 README の抜粋です。原文を見る。
Control which skills are injected into the initial system prompt with /skill-gate. Browse full skill content, toggle visibility on or off, and invoke skills — all from a keyboard-driven overlay. Skills that are not injected can still be executed manually in chat. State is persisted across sessions and injected into the system prompt before every agent run.

Features
- Complete skill coverage — uses pi’s
ResourceLoaderAPI with dynamic directory discovery to match/skill:autocomplete (including extension-contributed, project-memory, and migrated package skills) - Skill browser — view the complete
SKILL.mdcontent (description, when-to-use, procedure, prompt body) for every skill with syntax-highlighted markdown rendering - Yank body to clipboard — press
yto copy the current skill’s fullSKILL.mdbody to the clipboard for pasting elsewhere - Open in $EDITOR — press
oto open the current skill’sSKILL.mdin$VISUAL/$EDITOR. The overlay pauses, the editor takes over the terminal, and the body cache is invalidated on return so your edits show up immediately - Toggle visibility — enable or disable skills individually; disabled skills are excluded from the system prompt
- Search with highlighting —
/searches by skill name;fperforms full-text search across names, descriptions, and SKILL.md bodies. Matching text is highlighted in the sidebar, description, and rendered prompt body - Bulk actions with confirm modals — enable/disable all visible skills at once (
a/A, warning-bordered modal) or reset the current scope to defaults (r, error-bordered modal). Bulk respects the active search filter - Persistent state — toggle state saved to
~/.pi/agent/config/skill-gate.json - Usage analytics — every
/skill:nameinvocation is counted and persisted; show a “Uses” column in the sidebar (toggle withu) and per-skill usage in the detail view - System prompt injection — enabled skills are automatically inserted as `` before each agent start via the
before_agent_starthook - Respects native-disabled — skills with
disableModelInvocation: trueare marked with a disabled indicator and cannot be toggled - Per-project configs — project-level overrides stored under a
projectskey in the same config file, keyed by absolute path. Toggle scope between global and project withg - Fast hook —
before_agent_startfilters from in-memory caches (skills + config) — zero filesystem access per agent turn
Installation
Via npm (recommended)
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add cullendotdev/pi-skill-gate