Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Delegate coding and file edits to Anthropic Claude Code CLI
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-18 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-04 | ✓→✗ | ▼ Worse | 39% | 0% |
| case-06 | ✓→✗ | ▼ Worse | 134% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 97% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 5% | 0% |
Delegate complex multi-file coding tasks, refactoring, and code review to Anthropic Claude Code CLI. Claude Code has deep IDE integration and can make targeted edits across an entire codebase.
powershell# Requires Node.js 18+ npm install -g @anthropic-ai/claude-code # Verify installation claude --version # Authenticate (requires Anthropic API key) $env:ANTHROPIC_API_KEY = "sk-ant-..."
powershell# Navigate to the project Set-Location "C:\Users\<you>\myproject" # Run with a specific task claude "Refactor the authentication module to use JWT tokens instead of sessions"
powershell# Run a specific task non-interactively (for automation) claude --print "Review the function in src/utils.ts and suggest improvements" # Pipe output to a file claude --print "Generate TypeScript interfaces for this JSON schema" | Out-File types.ts
powershell# Ask Claude to work on a specific file claude "Fix all TypeScript type errors in src/components/Dashboard.tsx" # With additional context claude "The function processPayment in src/payments.ts fails when amount is 0. Fix it."
powershell# Get a code review without applying changes $review = claude --print "Review src/api.ts for security vulnerabilities and anti-patterns" Write-Host $review
powershell# Multi-step task with context $task = @" Refactor the codebase to: 1. Extract all database queries from controllers into a repository layer 2. Add TypeScript types for all repository methods 3. Update all tests to use the new repository interfaces "@ claude $task
powershellclaude --directory "C:\Users\<you>\other-project" "Add error handling to all async functions"
"Refactor my Express API to use async/await everywhere" → Navigate to the project directory and use step 2: claude "Refactor all callback-based Express route handlers to use async/await with proper error handling".
"Review my authentication code for security issues" → Use step 5 with --print to get a review without applying changes.
"Generate TypeScript interfaces for my API response types" → Use step 3 in headless mode, pipe output to a types file.
git diff after each sessionANTHROPIC_API_KEY must be set — Claude Code bills against the Anthropic API--print) does not apply changes — it only returns textOther measured skills in the registry, with their headline benchmark lift.