@amitkot/pi-permission-tune
Pi skill for maintaining @gotgenes/pi-permission-system config. Covers pattern matching, safe vs dangerous commands, and the prompt-to-rule workflow.
Package details
Install @amitkot/pi-permission-tune from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@amitkot/pi-permission-tune- Package
@amitkot/pi-permission-tune- Version
0.1.0- Published
- Jun 18, 2026
- Downloads
- not available
- Author
- amitkot
- License
- MIT
- Types
- skill
- Size
- 6.6 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@amitkot/pi-permission-tune
Pi skill for maintaining @gotgenes/pi-permission-system config.
What it provides
permission-tuneskill: reference for when Pi stops on a permission prompt and you need to add or adjust allow/deny rules for bash commands, paths, external directories, or tools.
What it covers
- Config structure and rule matching order
- Wildcard pattern semantics (including why
"cmd *"covers barecmd) - Prompt-to-rule workflow: identify surface → classify risk → add narrowest rule → validate → reload
- Safe bash rules to allow (read-only helpers, discovery commands)
- Rules that should stay ask/deny (
rm,git push,curl,env,sudo, etc.) - Path deny patterns for secrets (
.env, SSH keys, cloud credentials, etc.) external_directoryvspathusage
Usage
/skill:permission-tune
Or let Pi auto-load it when a permission-related task comes up.
Requirements
- Pi with
@gotgenes/pi-permission-systemextension installed
License
MIT