Exhaustive feature reference + Forge/NowPage integration plan | Updated March 26, 2026 | v2.1.85
A background AI classifier (Sonnet 4.6) replaces manual permission prompts. Instead of approving every file edit or bash command, the classifier evaluates each action and blocks anything unsafe.
curl | bash, sending sensitive data externallyBash(*) allow rules get dropped. Narrow rules like Bash(npm test) carry over# CLI startup
claude --enable-auto-mode
# Then cycle with Shift+Tab
# Non-interactive / scripted
claude -p "refactor the auth module" --permission-mode auto
# Settings default
{ "permissions": { "defaultMode": "auto" } }
# View default rules
claude auto-mode defaults
Availability: Team plan (research preview). Enterprise + API rolling out. Requires Sonnet 4.6 or Opus 4.6. Admins enable at claude.ai/admin-settings/claude-code.
Cost: Classifier calls count toward token usage. Extra cost mainly from shell commands and network operations.
Performance: 0.4% false-positive rate (n=10,000). 17% false-negative rate on known dangerous actions (n=52).
Automated PR review that dispatches a fleet of specialized agents to analyze GitHub pull requests in parallel -- looking for logic errors, security vulnerabilities, broken edge cases, and subtle regressions.
claude.ai/admin-settings/claude-codeManual triggers: @claude review (starts review + subscribes to future pushes) or @claude review once (one-shot)
Customization: CLAUDE.md for project instructions. REVIEW.md for review-only guidance (style rules, skip patterns).
Results: Substantive review comments rose from 16% to 54% of PRs. On large PRs (>1,000 lines), 84% generated findings averaging 7.5 issues. Engineers marked less than 1% of findings incorrect.
Cost: $15-25 per review on average, billed separately through extra usage.
| Mode | What Claude Can Do Without Asking | Best For |
|---|---|---|
default | Read files | Getting started, sensitive work |
acceptEdits | Read + edit files | Iterating on code |
plan | Read files (proposes, doesn't execute) | Exploring, planning refactors |
auto | All actions with background safety | Long-running tasks |
bypassPermissions | All actions, NO checks | Isolated containers ONLY |
dontAsk | Only pre-approved tools | Locked-down CI |
Switch: Shift+Tab cycles modes. --permission-mode <mode> at startup.
User-defined commands that fire at specific lifecycle points. Four handler types: command (shell), http (POST to URL), prompt (single-turn LLM), agent (multi-turn subagent).
| Event | When |
|---|---|
SessionStart | Session begins or resumes |
UserPromptSubmit | Prompt submitted, before processing |
PreToolUse | Before a tool executes (can block) |
PermissionRequest | Permission dialog appears |
PostToolUse | After a tool succeeds |
PostToolUseFailure | After a tool fails |
Notification | Claude sends a notification |
SubagentStart/Stop | Subagent lifecycle |
TaskCreated/Completed | Task lifecycle |
Stop | Claude finishes responding |
StopFailure | Turn ends due to API error |
TeammateIdle | Agent team member about to idle |
InstructionsLoaded | CLAUDE.md or rules loaded |
ConfigChange | Config file changes |
CwdChanged/FileChanged | Reactive environment |
WorktreeCreate/Remove | Worktree lifecycle |
PreCompact/PostCompact | Context compaction |
Elicitation/ElicitationResult | MCP input dialogs |
SessionEnd | Session terminates |
{
"hooks": {
"PostToolUse": [{
"matcher": "Edit|Write",
"hooks": [{
"type": "command",
"command": "jq -r '.tool_input.file_path' | xargs npx prettier --write"
}]
}]
}
}
v2.1.85: Conditional if field using permission rule syntax to filter execution.
PreToolUse decisions: "allow" (skip prompt), "deny" (cancel with reason), "ask" (show prompt).
/voice command activates push-to-talk. Hold spacebar to speak, release to send. 20 languages supported. Rebind key via voice:pushToTalk in keybindings.json. Requires SoX on Linux (apt install sox).
/loop 5m check the deploy -- runs every 5 minutes within session. Auto-expires after 3 days. Up to 50 concurrent.
Recurring tasks on Anthropic infrastructure -- even when computer is off. Create via /schedule or web at claude.ai/code/scheduled. Minimum 1 hour interval. Fresh repo clone each run. Supports MCP connectors (Slack, Linear, Google Drive).
Run on your machine with local file access. Minimum 1 minute interval.
| Cloud | Desktop | /loop | |
|---|---|---|---|
| Runs on | Anthropic cloud | Your machine | Your machine |
| Machine required | No | Yes | Yes |
| Persistent | Yes | Yes | No (session-scoped) |
| Min interval | 1 hour | 1 minute | 1 minute |
| Local files | No (fresh clone) | Yes | Yes |
Coordinate multiple Claude Code instances working together. One lead session spawns teammates with shared task lists and direct messaging.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
Shift+Down to cycle) or split panes (tmux/iTerm2)| Subagents | Agent Teams | |
|---|---|---|
| Communication | Report back to main only | Message each other |
| Coordination | Main manages all | Shared task list, self-claiming |
| Token cost | Lower | Higher (separate instances) |
/remote-control bridges local terminal to claude.ai/code + mobile apps. Local environment stays available. Provides URL + QR code./teleport moves session between web/iOS and local terminal with full history preserved.Extensions adding skills, agents, hooks, and MCP servers. Official marketplace: anthropics/claude-plugins-official -- 101+ plugins. 43+ community marketplaces, 834+ plugins total.
Install: /plugin marketplace add or /plugin install
Components: Skills (slash commands), Hooks (auto-fire on events), MCP servers (external connections).
Filesystem + network isolation for bash commands. Reduces permission prompts by 84%.
sandbox.failIfUnavailable, sandbox.filesystem.allowWrite, sandbox.filesystem.denyRead/effort or --effort flag. "ultrathink" = High for one turn only./fast toggles. Same Opus 4.6, 2.5x faster output.CLAUDE_CODE_DISABLE_1M_CONTEXT=1/model to switch. Left/right arrows adjust effort slider.anthropics/claude-code-action@v1 -- @claude mentions in PRs/issues trigger automated workanthropics/claude-code-security-review -- automated OWASP scanning@Claude in channels spins up session, posts PR links backClaude Code runtime as a library for building custom agents.
pip install claude-agent-sdk-pythonnpm install @anthropic-ai/claude-agent-sdkbetas option for 1M context windowMCP servers that push messages INTO a Claude Code session from Telegram, Discord, iMessage, or custom webhooks. Enable: --channels flag at startup. When active, AskUserQuestion and plan-mode tools are disabled. Permission relay forwards approval prompts to phone.
--worktree (-w) creates isolated repo copy under .claude/worktrees/ with own branch and git index. Subagents support isolation: "worktree". worktree.sparsePaths for large monorepos. ExitWorktree tool to leave. Resuming a session auto-switches back to its worktree.
Standalone application: macOS (Intel + Apple Silicon), Windows (x64). Visual diff review, multiple sessions side by side, scheduled tasks, /desktop handoff from terminal.
Computer Use: Claude can screenshot, point, click, and navigate your screen when no tool access exists for a task.
| Feature | Status | Details |
|---|---|---|
| Auto-Memory | Available | Auto-saves context to MEMORY.md. /memory to manage. 25KB/200 line limit. |
| MCP Enhancements | Available | Elicitation, OAuth (RFC 9728), tool lazy loading (95% context savings), 2KB desc cap, headers helpers |
| Checkpoints | Available | Auto save points before each change. Esc-twice or /rewind. |
| PowerShell | Preview | Windows native PowerShell tool (opt-in, v2.1.84) |
| Deep Links | Available | Queries up to 5,000 chars, open in preferred terminal |
| /btw Command | Available | Side questions that don't interrupt main workflow |
| /branch (fork) | Available | Fork conversation to explore alternatives |
| Transcript Search | Available | Press / in transcript mode, n/N to navigate |
| Security Review | Available | /security-review for pre-commit OWASP scanning |
How to incorporate each feature into Forge and NowPage operations, ranked by asymmetric leverage.
What: Enable CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1. Run team lead + teammates in tmux panes.
Forge integration:
TaskCreated/TaskCompleted hooks to update Task Board automaticallyCascade: Multiplies factory throughput -> sleep time = team builds in parallel instead of serial Ralph queue -> morning shows 3-4x more completed work
Action: Add env var to settings. Update ralph.sh to spawn as teammate when CC session active.
What: Wire Claude Code hooks to Forge's event system for automatic state tracking.
Hook wiring plan:
SessionStart -> Auto-read SESSION-QUEUE.md, JASON-DEPS.md, CASCADE.mdStop -> Auto-update SESSION-QUEUE.md with in-progress workPostToolUse (Edit/Write) -> Auto-log file changes to changelog.jsonlTaskCompleted -> Update Task Board + Telegram notificationStopFailure -> Alert via Telegram + queue retryPostCompact -> Save checkpoint to KFSCascade: Eliminates manual session handoff -> no more "forgot to update SESSION-QUEUE" -> every session auto-persists -> perfect session continuity
Action: Write bridge scripts in scripts/hooks/. Add to .claude/settings.json.
What: Replace external cron-based health checks with in-session monitoring.
/loop 5m check all forge service health endpoints and alert on failures/loop 15m run work-selector.sh and update CASCADE.md/loop 30m check ralph queue status and report blocked tasksCascade: Health issues caught during active sessions -> faster MTTR -> fewer cascading failures
What: /fast for all Ralph tasks. Same Opus 4.6, 2.5x faster.
Cascade: Queue drains 2.5x faster -> more tasks complete per sleep cycle -> compounds daily
What: Stop worrying about context limits. Load full service directories + PRDs + context in one session.
Cascade: No more context-related failures mid-refactor -> complex multi-file changes complete in one session
What: MCP channel server that pipes Telegram messages directly into active Claude Code session.
Cascade: True mobile-first Forge control -> walk-and-decide workflow -> no more "wait for Jason to SSH in" -> decisions happen in real-time from anywhere
What: Each agent/teammate works in isolated git worktree.
Cascade: Unblocks true parallel factory -> 3-4 services modified simultaneously without conflicts
What: Cloud tasks on Anthropic infrastructure, no VPS dependency.
Cascade: Briefs publish even if VPS is down -> content never misses a day -> compounds audience trust
What: Replace bash-based Ralph with Python Agent SDK orchestrator.
Cascade: Agents become first-class services with health endpoints -> proper error handling -> composability -> factory reliability step-change
What: When available: Ralph runs with zero human prompts for safe operations.
Cascade: The "sleep and factory works" vision, fully realized -> Jason sleeps -> agents build -> morning shows results -> zero friction
Blocker: Need Team plan ($150/user/mo) or wait for Max availability.
What: Automated PR review on every push.
Blocker: Team plan required. $15-25/review cost.
What: Package Forge skills/hooks/MCP as distributable plugin.
| Feature | Access | Notes |
|---|---|---|
| Claude Code CLI | YES | Full access |
| Opus 4.6 | YES | Default model |
| 1M Context Window | YES | Max plan perk |
| Fast Mode | YES | /fast |
| Voice Mode | YES | /voice |
| Agent Teams | YES | Experimental flag |
| Subagents | YES | Built-in |
| Hooks (21+ events) | YES | Full access |
| Worktrees | YES | --worktree |
| /loop + Scheduling | YES | Cloud + Desktop |
| Remote Control | YES | /remote-control |
| Dispatch | YES | Phone to Computer |
| Teleport | YES | /teleport |
| Plugins | YES | /plugin |
| Sandboxing | YES | bwrap on Linux |
| Agent SDK | YES | Python + TypeScript |
| GitHub Actions | YES | claude-code-action |
| MCP Enhancements | YES | All features |
| Channels | YES | Research preview |
| Checkpoints | YES | Esc-twice or /rewind |
| Auto-Memory | YES | Already using |
| Auto Mode | TEAM ONLY | Research preview, needs Team plan |
| Code Review (PR) | TEAM ONLY | Team/Enterprise only |
| Admin Controls | TEAM ONLY | claude.ai/admin-settings |
| Managed Settings | TEAM/ENT | Organization policies |
Cost: $150/user/month (premium tier) vs current $200/mo Max 20x
Gains: Auto Mode + Code Review + Admin Controls + Managed Settings
The math: Auto Mode eliminates 93% of permission prompts during factory runs. Code Review at $15-25/review catches bugs pre-merge. If spending 30+ minutes/day on permission approvals and manual review, Team plan pays for itself in hours.
Consideration: Team plan may have different rate limits than Max 20x. Could potentially run BOTH (Max for interactive, Team for factory/CI). Verify rate limits before switching.
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 -> Unlocks parallel factory work| Variable | Purpose |
|---|---|
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS | Enable agent teams |
CLAUDE_CODE_DISABLE_1M_CONTEXT | Disable 1M context |
CLAUDE_CODE_DISABLE_CRON | Disable cron scheduling |
CLAUDE_CODE_MAX_OUTPUT_TOKENS | Override max output tokens |
CLAUDE_STREAM_IDLE_TIMEOUT_MS | Streaming idle watchdog (default 90s) |
CLAUDE_CODE_SUBPROCESS_ENV_SCRUB | Strip credentials from subprocesses |
ANTHROPIC_DEFAULT_MODEL_NAME | Customize model picker labels |
ANTHROPIC_CUSTOM_MODEL_OPTION | Custom /model entries |
ENABLE_CLAUDEAI_MCP_SERVERS | Toggle claude.ai MCP servers |
OTEL_LOG_TOOL_DETAILS | Gate tool parameters in OpenTelemetry |
| Command / Flag | Description |
|---|---|
/plan | Enter plan mode for single request |
/voice | Activate voice mode |
/loop | Recurring prompt at intervals |
/schedule | Create cloud scheduled task |
/copy | Interactive picker for code blocks |
/color | Set session prompt-bar color |
/rename | Rename session |
/effort | Set model effort level |
/context | View context usage + optimization tips |
/hooks | Browse configured hooks |
/branch | Fork conversation |
/compact | Manual context compaction |
/export | Export session |
/teleport | Transfer session CLI to web |
/desktop | Hand off to Desktop app |
/remote-control | Bridge to claude.ai/code |
/btw | Side question during response |
/fast | Toggle fast mode |
/model | Switch models |
/status | Show status during response |
/debug | Toggle debug mode |
/memory | Manage auto-memory |
/security-review | Pre-commit security scan |
/plugin | Plugin management |
--worktree / -w | Git worktree isolation |
--channels | Enable channel servers |
--enable-auto-mode | Make auto mode available |
--permission-mode | Set starting permission mode |
--print / -p | Non-interactive/headless mode |
--bare | Skip hooks/LSP/plugins for scripts |
--json-schema | Structured output |
--resume / --continue | Resume previous session |
Generated by Forge | Claude Code v2.1.85 | March 26, 2026
Sources: code.claude.com/docs, anthropic.com/engineering, claude.com/blog, GitHub anthropics/claude-code