{"version":"0.2.80","anchor":"usage-examples","canonical_anchor":"usage-examples","heading":"Usage Examples","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/0.2.80\/e\/usage-examples","release_url":"https:\/\/changelogs.core-directive.com\/v\/0.2.80","markdown":"### Usage Examples\n\nUsing OAuth with Claude.ai Account:\n`# Enable Claude.ai OAuth authentication\nexport CLAUDE_MAX=1\nclaude\n\n# The OAuth flow will include user:inference scope\n# Your Claude.ai Pro\/Team account will be used for API access`\nCreating Deny Rules:\n`# In the permission rules interface:\n1. Press Tab to switch to \"Deny\" mode\n2. Select \"Add a new rule...\"\n3. Enter the tool pattern (e.g., \"Bash\", \"Write*\", etc.)\n4. The tool will be automatically denied without prompting`\nManaged Settings Example:\n`\/\/ \/Library\/Application Support\/ClaudeCode\/policies.json\n{\n  \"permissions\": {\n    \"allow\": [\"Read*\", \"Grep\", \"LS\"],\n    \"deny\": [\"Bash\", \"Write*\", \"Delete*\"]\n  }\n}`"}