What problem does it solve?
Magenta users often need to allowlist certain Bash commands and file paths across projects and across machines. This skill provides a centralized, repeatable way to configure and merge command permissions and file access rules into Magenta's options.
Core Features & Use Cases
- Project-wide and user-wide permissions: Manage and merge commandConfig entries across both project (.magenta/options.json) and user (~/.magenta/options.json) scopes.
- Structured permission model: Define command patterns with the described ArgSpec types, including read/write file permissions and path constraints.
- Use Case: When preparing a developer workstation, you can predefine allowed commands for typical workflows to avoid prompts and ensure security.
Quick Start
Use the update-permissions skill to add or merge a new commandConfig entry into the appropriate options.json to allow a safe script execution without prompts.