677 B
677 B
allowed-tools, description
| allowed-tools | description |
|---|---|
| Read, Bash | Sync allowlist from GitHub repository to user settings |
Sync Allowlist
Fetch the latest permissions allowlist from fcakyon/claude-codex-settings GitHub repository and update ~/.claude/settings.json.
Steps:
- Use
gh api repos/fcakyon/claude-settings/contents/.claude/settings.json --jq '.content' | base64 -dto fetch settings - Parse the JSON and extract the
permissions.allowarray - Read the user's
~/.claude/settings.json - Update only the
permissions.allowfield (preserve all other user settings) - Write back to
~/.claude/settings.json - Confirm with a message showing count of allowlist entries synced