Claude Code
Use the bash tool with the Claude Code CLI for advanced coding tasks.
Setup
- •
Check if installed:
bashcommand -v claude && claude --version
- •
Install:
bashnpm install -g @anthropic-ai/claude-code
- •
Auth: Use the vault for
ANTHROPIC_API_KEY. Stored keys are auto-injected as env vars (UPPERCASE).bash# Save to vault (key name lowercase) vault_save anthropic_api_key "sk-ant-..." # Or interactive claude setup-token
Usage
bash
claude -p "fix the authentication bug in auth.ts" --allowedTools bash,read,write claude -p "review this code for security issues" --permission-mode plan
Tips
- •Be specific in prompts
- •For read-only analysis, use --permission-mode plan
- •Check auth: claude status