qwen-code-permission
Installation
SKILL.md
Qwen Code Permission Manager
Manage Qwen Code's permissions.allow / permissions.ask / permissions.deny in settings.json.
Workflow
-
Identify the rule string from user request (e.g.,
"Bash(. ~/.x-cmd.root/X)") -
Determine the action:
allow(default) /ask/deny -
Run the bundled script (find it at
scripts/add_permission.pyrelative to this skill):uv run --script <skill-path>/scripts/add_permission.py "Bash(. ~/.x-cmd.root/X)" --action allow -
Confirm the change was written
-
Remind user: 配置更改需要重启 Qwen Code(
/exit后重新运行)才能生效