什么是 allow-agent-commands?
添加或更改 AI 代理权限配置中允许的命令(OpenCode、Claude Code) 来源:aspiers/ai-config。
添加或更改 AI 代理权限配置中允许的命令(OpenCode、Claude Code)
通过命令行快速安装 allow-agent-commands AI 技能到你的开发环境
来源:aspiers/ai-config。
Commands must be explicitly allowed in the permission configs before agents can run them. This skill covers adding entries to both OpenCode and Claude Code configuration files.
IMPORTANT: The config files are stowed into via GNU Stow symlinks. Always edit them directly from within the ai-config repository, NOT from . The paths below are relative to the ai-config repository root.
Important: Insert new entries in alphabetical order by command name. When adding a new command, find the correct position to maintain sorting. Do NOT reorder existing entries.
添加或更改 AI 代理权限配置中允许的命令(OpenCode、Claude Code) 来源:aspiers/ai-config。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/aspiers/ai-config --skill allow-agent-commands添加或更改 AI 代理权限配置中允许的命令(OpenCode、Claude Code) 来源:aspiers/ai-config。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aspiers/ai-config --skill allow-agent-commands 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/aspiers/ai-config