majiayu000/claude-skill-registry-data/allow-agent-commands
Claude Code and agent skill by majiayu000/claude-skill-registry-data
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Author "majiayu000" has blocked skill(s)
Add or change allowed commands in AI agent permission configs (OpenCode, Claude Code)
Install
npx vskill@latest install majiayu000/claude-skill-registry-data/allow-agent-commandsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/allow-agent-commands.
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.
OpenCode Configuration
File: .config/opencode/opencode.json under permission.bash
Format:
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:
Important: Insert new entries in alphabetical order. Commands are sorted by the command name (the part after Bash( and before :). Do NOT reorder existing entries.
General Pattern for New AI Tools
When adding new AI tools:
- Find their config file (usually in
~/.config/or project root) - Look for
permissions,allowedCommands, or similar sections - Add the command with glob patterns for arguments
- Insert new entries in alphabetical order by command name
- Do NOT reorder existing entries.
After Adding Commands
After adding the new command entries to both config files:
- Check if there are any other staged changes with
git status - If there are NO other staged changes, stage ONLY the new hunks in the two
config files using the git-stager subagent (be careful not to stage unrelated changes)
- Invoke the
git-committersubagent to commit the changes
Examples
Adding rg (ripgrep) to both configs:
OpenCode (insert after rev *, before rpm -q*):
Claude Code (insert after Bash(rg:*), before Bash(rpm -q:*)):
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdevelopment/allow-agent-commands/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/allow-agent-commands)