Install command
Provided
Activate Claude's extended thinking mode with multi-level planning depth from 'think' to 'ultrathink' for comprehensive strategy creation before implementation
Open the source and read safety notes before installing.
Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
Decision playbook
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
0
78
—
No baseline selected
No major trust-signal divergence detected in the current selection.
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Source provenance statusRequired
Marked as source-backed.
Metadata reviewed
Registry metadata indicates a reviewed listing.
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Trust level risk gateRequired
Trust level does not block evaluation.
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Package verification flag
No package verification flag provided.
Checksum metadata
No checksum provided for downloaded artifact.
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
Baseline comparison available
No baseline peer selected yet.
Diverging trust signals identified
No major trust-signal divergence found.
Setup at a glance
Copy-ready — paste the snippet to get started.
Install command
Provided
Config snippet
Not provided
Copy snippet
Provided
Prerequisites
None
Platforms
1 listed
Difficulty
100/100
Adoption plan
Current risk score 16/100. Use staged verification before broader rollout.
Validate source and review signals before any execution.
Confirm source provenanceRequired
Source URL/provenance metadata is present.
Confirm metadata review state
Listing has review metadata.
Verify install payload
Install/config payload exists and can be inspected.
Confirm safety, privacy, and package integrity signals.
Review safety notesRequired
Safety notes are present.
Review privacy notesRequired
Privacy notes are present.
Verify package integrity metadata
No package verification/checksum metadata.
Adopt in controlled steps based on the selected plan.
Run in isolated sandbox firstRequired
Use a constrained sandbox and observe behavior across multiple tasks.
Roll out graduallyRequired
Roll out to a small cohort before wider usage.
Set monitoring and fallback
Define rollback path and monitor errors after adoption.
Evidence readiness
Required evidence gates are covered (5/6 signals complete).
Source repository/provenance is listed.
Required in this preset
Review metadata is present.
Required in this preset
Safety notes are present.
Required in this preset
Privacy notes are present.
Optional in this preset
Package integrity metadata is missing.
Optional in this preset
Install payload is available.
Required in this preset
Required evidence gates are covered for this preset.
Decision timeline
5/6 steps complete with no blocking gaps for this preset.
triage
Source/provenance metadata is available.
triage
Review metadata is available.
verify
Safety notes are available.
verify
Privacy notes are available.
verify
Package integrity metadata is missing.
rollout
Install payload is available.
No required blockers for this timeline preset.
Safety & privacy surface
2 safety and 2 privacy notes across 4 risk areas. Review closely: credentials & tokens, permissions & scopes, third-party handling.
/plan-mode [task] [depth]The /plan-mode command activates Claude's extended thinking capabilities with progressive depth levels to create comprehensive strategies before jumping into implementation.
/plan-mode [task] [depth]
--think - Basic extended thinking (~30s planning)--think-hard - Medium depth analysis (~60-90s planning)--think-harder - Deep analysis (~2-3min planning)--ultrathink - Maximum depth analysis (~5-10min planning)--architecture - System architecture and design--implementation - Step-by-step implementation strategy--refactor - Refactoring approach and migration path--debug - Debugging strategy and root cause analysis--research - Research and analysis plan--show-thinking - Display Claude's thought process (default: true)--no-implement - Plan only, do NOT implement--approve-first - Require approval before proceeding to implementationCommand:
/plan-mode "Add user authentication" --think --architecture
Claude's Planning:
[Extended Thinking Mode: think]
Analyzing requirements...
- Need secure authentication
- Consider session management
- Evaluate auth methods
Evaluating approaches:
1. JWT tokens (stateless, scalable)
2. Session cookies (stateful, simple)
3. OAuth2 (third-party, complex)
Selected: JWT tokens
Reasoning: Stateless design scales better, mobile-friendly
Architecture Plan:
1. Database Schema:
- users table (id, email, password_hash, created_at)
- refresh_tokens table (user_id, token, expires_at)
2. API Endpoints:
POST /api/auth/register
POST /api/auth/login
POST /api/auth/refresh
POST /api/auth/logout
3. Middleware:
- Authentication middleware (verify JWT)
- Rate limiting (prevent brute force)
4. Security:
- bcrypt for password hashing (cost: 12)
- JWT expiry: 15min access, 7d refresh
- HTTPS only
Ready to implement? (y/n)
Command:
/plan-mode "Migrate from REST to GraphQL" --think-harder --refactor
Claude's Deep Analysis:
[Extended Thinking Mode: think harder]
Analyzing current state...
- 45 REST endpoints across 8 resources
- Mixed response formats (some paginated, some not)
- Over-fetching in 12 endpoints
- Under-fetching requiring 3+ requests in 8 workflows
Evaluating migration strategies:
1. Big Bang Migration:
Pros: Clean break, no dual maintenance
Cons: High risk, long freeze
Risk: HIGH
2. Gradual Migration (selected):
Pros: Low risk, incremental value
Cons: Dual maintenance period
Risk: LOW
3. Parallel Systems:
Pros: Safe rollback
Cons: Infrastructure cost
Risk: MEDIUM
Selected: Gradual Migration
Reasoning: Minimize risk, maintain velocity
Migration Plan (8-week timeline):
Week 1-2: Foundation
- Install Apollo Server
- Design GraphQL schema
- Setup type generation
- Create resolver boilerplate
Week 3-4: Core Resources (Priority: High)
- Migrate User queries/mutations
- Migrate Post queries/mutations
- Add DataLoader for N+1 prevention
- Write integration tests
Week 5-6: Secondary Resources
- Migrate Comments
- Migrate Tags
- Migrate Categories
- Performance benchmarking
Week 7: Optimization
- Query complexity limiting
- Persisted queries
- APQ (Automatic Persisted Queries)
- Caching strategy
Week 8: Cutover
- Feature flag rollout (10% → 50% → 100%)
- Monitor error rates
- Deprecate REST endpoints
- Documentation update
Dependencies:
- GraphQL code generator
- Apollo Server 4.x
- DataLoader
- GraphQL Tools
Risks & Mitigation:
1. Schema design issues
→ Weekly schema reviews
2. Performance regressions
→ Load testing before each phase
3. Breaking changes for clients
→ Maintain REST parallel for 3 months
Success Metrics:
- Reduce API calls by 40%
- Improve response times by 25%
- Client satisfaction > 8/10
Ready to proceed with Week 1-2? (y/n)
Command:
/plan-mode "Design scalable microservices architecture" --ultrathink --architecture
Claude's Comprehensive Analysis:
[Extended Thinking Mode: ultrathink]
[This may take 5-10 minutes for thorough analysis]
Phase 1: Requirements Analysis
Current System:
- Monolithic architecture (250K LOC)
- PostgreSQL database (2TB)
- Peak load: 10K req/s
- Team: 20 developers
- Deployment: Weekly releases
Pain Points:
- Deployment requires full system downtime
- Database bottleneck at peak load
- Slow feature velocity (conflicting changes)
- Scaling inefficient (must scale entire monolith)
Goals:
- Zero-downtime deployments
- Independent service scaling
- Faster feature delivery
- Improved fault isolation
Phase 2: Service Decomposition Strategy
Boundary Identification:
1. User Service
- Domain: Identity, authentication
- Data: 5M users, 100MB
- Load: 2K req/s
- Team: 3 developers
2. Product Service
- Domain: Catalog, inventory
- Data: 1M products, 50GB
- Load: 5K req/s
- Team: 5 developers
3. Order Service
- Domain: Transactions, fulfillment
- Data: 10M orders, 500GB
- Load: 1K req/s
- Team: 4 developers
4. Payment Service
- Domain: Transactions, invoice records
- Data: 8M transactions, 200GB
- Load: 800 req/s
- Team: 3 developers
5. Notification Service
- Domain: Email, SMS, push
- Data: Events only
- Load: 3K req/s
- Team: 2 developers
Phase 3: Technology Stack
```yaml
Services:
user-service:
runtime: Node.js (Fast user queries)
database: PostgreSQL (ACID for users)
cache: Redis (Session storage)
product-service:
runtime: Node.js (Heavy read workload)
database: PostgreSQL (Primary)
cache: Redis (Product catalog)
search: Elasticsearch (Full-text search)
order-service:
runtime: Node.js (Transaction handling)
database: PostgreSQL (Strong consistency)
message-queue: RabbitMQ (Order processing)
payment-service:
runtime: Node.js (PCI compliance)
database: PostgreSQL (Financial data)
encryption: At-rest and in-transit
notification-service:
runtime: Node.js (I/O heavy)
queue: RabbitMQ (Async delivery)
providers: SendGrid, Twilio, FCM
Phase 4: Communication Patterns
Synchronous (REST/GraphQL):
Asynchronous (Event-Driven):
Phase 5: Data Management
Database Per Service:
Shared Data Access Patterns:
Phase 6: Migration Strategy (12 months)
Quarter 1: Foundation
Quarter 2: Core Services
Quarter 3: Financial Systems
Quarter 4: Supporting Services
Phase 7: Infrastructure
Kubernetes:
nodes: 20 (auto-scaling 10-50)
namespaces: dev, staging, production
Service Mesh (Istio):
- Traffic management
- Circuit breaking
- Mutual TLS
- Observability
Monitoring:
- Prometheus (metrics)
- Grafana (dashboards)
- Jaeger (distributed tracing)
- ELK Stack (logging)
CI/CD:
- GitHub Actions
- ArgoCD (GitOps)
- Canary deployments
Phase 8: Risk Assessment
High Risk:
Medium Risk:
Low Risk:
Phase 9: Success Metrics
Technical:
Business:
Phase 10: Go/No-Go Decision
Recommendation: PROCEED
Reasoning:
Next Steps:
Estimated Total Cost: $450K (infrastructure + developer time) ROI Timeline: 18 months
Approve architecture plan? (y/n)
## Thinking Levels Comparison
| Level | Time | Depth | Use Case |
|-------|------|-------|----------|
| think | 30s | Surface analysis | Quick decisions, simple tasks |
| think hard | 60-90s | Multiple alternatives | Feature planning, moderate complexity |
| think harder | 2-3min | Deep analysis, risks | Refactoring, architecture changes |
| ultrathink | 5-10min | Comprehensive strategy | System design, migrations |
## When to Use Each Level
### --think (Quick Planning)
- Adding a new API endpoint
- Fixing a known bug
- Writing a simple feature
- Code refactoring (small scope)
### --think-hard (Moderate Planning)
- Designing a new feature
- Database schema changes
- Integration with third-party service
- Performance optimization
### --think-harder (Deep Planning)
- Large refactoring projects
- Migration strategies
- Architecture improvements
- Complex debugging
### --ultrathink (Maximum Planning)
- Microservices architecture
- System-wide migrations
- Technology stack changes
- Multi-month projects
## Best Practices
1. **Plan Before Code**: Use `/plan-mode` before implementing complex features
2. **Interrupt When Needed**: Press ESC if Claude's plan goes off track
3. **Approve Before Proceeding**: Use `--approve-first` for critical changes
4. **Match Depth to Complexity**: Don't use ultrathink for simple tasks
5. **Review Alternatives**: Extended thinking evaluates multiple approaches
6. **Document Plans**: Plans serve as architecture documentation
7. **Iterate on Feedback**: Refine plan based on team input
## Integration with Other Commands
### Plan → TDD Workflow
```bash
/plan-mode "Add payment processing" --think-hard --no-implement
# Review plan
/tdd-workflow "Implement payment processing per plan" --unit
/plan-mode "Refactor auth system" --think-harder --no-implement
# Review plan
/subagent-create --architect --code-reviewer --test-engineer
# Implement with specialist subagents
/plan-mode "Database migration" --ultrathink
# Create checkpoint before proceeding
# Implement migration
# Rewind if issues arise
Plan Mode & Extended Thinking for Claude Code side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
Next steps differ across entries — use the actions in the table below to copy install commands and source links per resource.
| Field | Activate Claude's extended thinking mode with multi-level planning depth from 'think' to 'ultrathink' for comprehensive strategy creation before implementation Open dossier | Use the built-in /context command to inspect Claude Code's context-window usage, plus a custom .claude/commands recipe for repeatable codebase-context analysis before refactors. Open dossier | A user-created custom slash command that runs a red-green-refactor TDD loop in Claude Code: write failing tests first, implement until they pass, then refactor. Built with the documented custom-command frontmatter and $ARGUMENTS substitution, not a built-in feature. Open dossier | A user-created custom slash command for Claude Code that turns a file or function into a test suite. You create .claude/commands/generate-tests.md and invoke it with /generate-tests; it is a prompt recipe, not a built-in command, and uses no CLI flags. Open dossier |
|---|---|---|---|---|
| Next stepsDiffers | ||||
| Trust | ||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trust | Package not verified | Package not verified | Package not verified | Package not verified |
| Source provenance | Source-backed | Source-backed | Source-backed | Source-backed |
| Submitter | — | — | — | — |
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Brand | — | — | — | — |
| Category | commands | commands | commands | commands |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | JSONbored | JSONbored | JSONbored | JSONbored |
| Added | 2025-10-25 | 2025-10-25 | 2025-10-25 | 2025-09-16 |
| Platforms | Claude Code | Claude Code | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | ✓Review generated changes and commands before applying them; slash commands can ask the agent to read, write, edit, or run tools in the current project. Limit scope to the intended files and run in a trusted checkout when the command analyzes code, tests, security findings, or generated output. | ✓The custom /analyze-context command makes Claude read files across your repository; scope it with a path argument to limit how much is pulled into context. Analysis output reflects Claude's reading of the code in that session, not a deterministic static-analysis tool — verify any load-bearing metrics or recommendations against the actual source. | ✓The base recipe does not pre-approve Bash commands. Review the project's test scripts first, then approve the exact test command when Claude Code prompts or add a narrowly scoped command only after you trust it. Claude may create and edit test and source files as part of the loop (Read/Edit/Write). Run it in version control so changes are reviewable and reversible. If you extend the prompt with auto-commit or deploy steps, add explicit safety review; the base recipe does not commit or push. | ✓The recipe asks Claude to run the test suite, which executes project code and test commands locally; review the source and tests before running, especially in an unfamiliar repository. If you add an allowed-tools field (e.g. Bash(npm test:*)), Claude can run those tool calls without a per-use permission prompt while the command is active. Scope it narrowly. Project-level .claude/commands files are shared via git and run for anyone who trusts the workspace; treat a checked-in command as executable content and review it before trusting the repo. |
| Privacy notes | ✓Prompts, source files, logs, errors, dependency metadata, and generated reports may be sent to the configured AI model during command execution. Redact secrets, customer data, private repository details, and proprietary code before sharing command output outside the workspace. | ✓Both /context and a custom analysis command operate on whatever files and project memory are loaded in the session; no data leaves your machine beyond the normal Claude Code model request, but file contents you ask Claude to read become part of the conversation context sent to the model. | ✓The command body can read project files via @ references and !`command` injection if you add them; only reference files you are comfortable sending to the model as prompt context. The base recipe asks you to inspect project test scripts instead of injecting package.json automatically. | ✓Dynamic-injection lines (!`...`) and @file references send the output of shell commands and the contents of referenced files into the model context; avoid pointing them at files containing secrets, credentials, or other sensitive data. |
| Prerequisites | — none listed | — none listed | — none listed | — none listed |
| Install | | — | — | — |
| Config | — | — | — | — |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.