Agent skill · AI & Agents

allow-agent-commands

Add or change allowed commands in AI agent permission configs (OpenCode, Claude Code)

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill allow-agent-commands --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/agent/allow-agent-commands/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Adding/Changing Allowed Commands ## When to use this skill Use this skill when: - A command needs to be added to the allow list for AI agents - Permission settings need to be modified for existing commands - Setting up a new AI tool that requires command permissions ## How it works 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. ## OpenCode Configuration File: `.config/opencode/opencode.json` under `permission.bash` Format: ```json "uname *": "allow", ``` Pattern: `"command argpatterns": "action"` where `*` matches any args **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.** ## Claude Code Configuration File: `.claude/settings.json` under `permissions.allow` Format: ```json "Bash(uname:*)", ``` **Important**: In

What's inside
Steps it walks through
  1. When to use this skill
  2. How it works
  3. OpenCode Configuration
  4. Claude Code Configuration
  5. General Pattern for New AI Tools
  6. After Adding Commands
  7. Examples
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the allow-agent-commands skill do?

Add or change allowed commands in AI agent permission configs (OpenCode, Claude Code)

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill allow-agent-commands --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going