← ClaudeAtlas

claude-codelisted

Delegate coding tasks (features, refactors, PR reviews) to the Claude Code CLI from bash; use when offloading a bounded or multi-turn coding job to claude.
aashutosh396/mindpalace · ★ 0 · AI & Automation · score 78
Install: claude install-skill aashutosh396/mindpalace
# Claude Code — Orchestration Guide Delegate coding tasks to [Claude Code](https://code.claude.com/docs/en/cli-reference) (Anthropic's autonomous coding agent CLI) by invoking the `claude` CLI from bash. Claude Code v2.x can read files, write code, run shell commands, spawn subagents, and manage git workflows autonomously. All examples below are plain shell commands — run them with your bash tool (set the working directory with `cd` or run inside the project dir). ## Prerequisites - **Install:** `npm install -g @anthropic-ai/claude-code` - **Auth:** run `claude` once to log in (browser OAuth for Pro/Max, or set `ANTHROPIC_API_KEY`) - **Console auth:** `claude auth login --console` for API key billing - **SSO auth:** `claude auth login --sso` for Enterprise - **Check status:** `claude auth status` (JSON) or `claude auth status --text` (human-readable) - **Health check:** `claude doctor` — checks auto-updater and installation health - **Version check:** `claude --version` (requires v2.x+) - **Update:** `claude update` or `claude upgrade` ## Two Orchestration Modes You can drive Claude Code in two fundamentally different ways. Choose based on the task. ### Mode 1: Print Mode (`-p`) — Non-Interactive (PREFERRED for most tasks) Print mode runs a one-shot task, returns the result, and exits. No PTY needed. No interactive prompts. This is the cleanest integration path. ```bash cd /path/to/project && claude -p 'Add error handling to all API calls in src/' --allowedTools 'Rea