11. AI Ecosystem
11.1 Why Complementarity Matters
Section titled “11.1 Why Complementarity Matters”Claude Code is designed to be your implementation partner with deep codebase understanding. It deliberately doesn’t try to do everything—and that’s a strength.
What Claude Code Does Best
Section titled “What Claude Code Does Best”| Capability | Why Claude Excels |
|---|---|
| Contextual reasoning | Reads entire project, understands patterns |
| Multi-file editing | Coordinates changes across modules |
| Test integration | Generates tests that understand your code |
| CLI automation | Perfect for CI/CD pipelines |
| Persistent memory | CLAUDE.md files maintain context |
Where Other Tools Add Value
Section titled “Where Other Tools Add Value”| Gap | Why | Solution |
|---|---|---|
| Deep research with sources | WebSearch is limited (~5-10 sources) | Perplexity Pro (100+ verified sources) |
| Image → Code | No visual understanding | Gemini 2.5 (superior image analysis) |
| Slide generation | Limited PPTX (via Claude in PowerPoint add-in, research preview) | Kimi (native PowerPoint generation) |
| Audio synthesis | No TTS capability | NotebookLM (podcast-style overviews) |
| Live browser prototyping | No visual preview | v0.dev, Bolt (instant preview) |
| Rate limits / cost control | Per-token billing, API limits | cc-copilot-bridge (flat-rate via Copilot) |
The goal isn’t replacement—it’s chaining the right tool for each step.
11.2 Tool Matrix
Section titled “11.2 Tool Matrix”Quick Decision Guide
Section titled “Quick Decision Guide”| I need to… | Use | Why Not Claude |
|---|---|---|
| Implement a feature | Claude Code | ✅ Best choice |
| Research before implementing | Perplexity | Limited sources, no citations |
| Convert mockup to code | Gemini → Claude | Limited visual understanding |
| Create stakeholder deck | Claude in PowerPoint (add-in) or Kimi | Native PPTX generation limited to add-in |
| Understand new codebase quickly | NotebookLM → Claude | No audio synthesis |
| Rapid UI prototype | v0/Bolt → Claude | No live preview |
| Quick inline edits | IDE + Copilot | Context switching overhead |
Complementary Tools Overview
Section titled “Complementary Tools Overview”| Tool | Primary Strength | Free Tier | Pro Cost |
|---|---|---|---|
| Perplexity | Research with verified sources | 5 Pro searches/day | $20/month |
| Gemini | Image understanding → code | Generous | $19.99/month |
| Kimi | PPTX generation, 128K context | Generous | Free |
| NotebookLM | Doc synthesis + audio + MCP integration | Full features | Free |
| v0.dev | UI prototyping (Shadcn) | Limited | $20/month |
| Cursor | IDE with AI autocomplete | Limited | $20/month |
| cc-copilot-bridge | Multi-provider switching | Full | Copilot Pro+ $10/month |
Multi-Provider Setup: cc-copilot-bridge
Section titled “Multi-Provider Setup: cc-copilot-bridge”For heavy Claude Code usage, cc-copilot-bridge routes requests through GitHub Copilot Pro+ instead of Anthropic’s per-token billing.
What it solves:
- Rate limits during intensive development sessions
- Cost optimization for high-volume usage (99%+ savings possible)
- Offline development with Ollama for proprietary code
Quick Setup:
# Installgit clone https://github.com/FlorianBruniaux/cc-copilot-bridge.gitcd cc-copilot-bridge && ./install.sh
# Use (3-character aliases)ccc # Copilot mode (flat $10/month via Copilot Pro+)ccd # Direct mode (Anthropic per-token)cco # Offline mode (Ollama, 100% local)Cost Comparison:
| Scenario | Anthropic Direct | With Copilot Pro+ | Savings |
|---|---|---|---|
| Heavy daily usage | ~$300/month | $10/month | ~97% |
| 100M tokens/month | $1,500 | $10 | 99.3% |
Note: Requires GitHub Copilot Pro+ subscription ($10/month) which provides access to Claude models through VS Code’s API.
See: cc-copilot-bridge Quick Start
Local Execution Bridge (Opus Plan → LM Studio Execute)
Section titled “Local Execution Bridge (Opus Plan → LM Studio Execute)”For maximum cost savings, use Claude Code (Opus) for planning only, then execute locally via LM Studio.
Architecture:
┌──────────────┐ store_memory ┌─────────────────┐│ Claude Code │ ─────────────────────►│ doobidoo ││ (Opus) │ tag: "plan" │ SQLite + Vec ││ PLANNER │ status: "pending" └────────┬────────┘└──────────────┘ │ ▼ ┌─────────────────┐ │ bridge.py │ │ (Python CLI) │ └────────┬────────┘ │ HTTP ▼ ┌─────────────────┐ │ LM Studio │ │ localhost:1234 │ │ (MLX local) │ └─────────────────┘Cost model:
- Planning (Opus): ~$0.50-2.00 per complex plan
- Execution (LM Studio): Free (100% local)
- ROI: 80-90% cost reduction on implementation tasks
Setup:
# Requires doobidoo MCP and LM Studio runningpip install httpx
# Health checkpython examples/scripts/bridge.py --health
# List pending planspython examples/scripts/bridge.py --list
# Execute all pending planspython examples/scripts/bridge.pyWorkflow:
- Claude Code creates plan (stored in doobidoo):
{ "$schema": "bridge-plan-v1", "id": "plan_jwt_migration", "status": "pending", "context": { "objective": "Migrate auth to JWT", "files_context": {"src/auth.py": "LOAD"} }, "steps": [ {"id": 1, "type": "analysis", "prompt": "..."}, {"id": 2, "type": "code_generation", "depends_on": [1], "file_output": "src/jwt.py"} ]}- Bridge executes locally via LM Studio
- Results stored back in doobidoo for Claude Code to review
When to use:
- Implementation tasks (not architectural decisions)
- Code generation with clear specs
- Bulk transformations
- When Opus planning + local execution beats Opus end-to-end
See: examples/scripts/bridge.py, examples/scripts/README.md
11.3 Practical Workflows
Section titled “11.3 Practical Workflows”Research → Code Pipeline
Section titled “Research → Code Pipeline”Use when: You need to understand best practices before implementing.
┌─────────────────────────────────────────────────────────┐│ 1. PERPLEXITY (Deep Research Mode - 5 min) ││ ││ "Research JWT refresh token best practices for ││ Next.js 15. Include security, common pitfalls, ││ and compare jose vs jsonwebtoken libraries." ││ ││ → Output: 2000-word spec with 20+ sources ││ → Export: Copy as Markdown → spec.md │└───────────────────────────┬─────────────────────────────┘ ↓┌─────────────────────────────────────────────────────────┐│ 2. CLAUDE CODE ││ > claude ││ ││ "Implement JWT refresh per @spec.md. ││ Use jose library as recommended. ││ Add to src/lib/auth/. Include tests." ││ ││ → Output: Working implementation + tests │└─────────────────────────────────────────────────────────┘When to use: Any implementation requiring ecosystem knowledge, library comparisons, or security considerations.
Visual → Code Pipeline
Section titled “Visual → Code Pipeline”Use when: You have mockups, screenshots, or diagrams to implement.
┌─────────────────────────────────────────────────────────┐│ 1. GEMINI 2.5 PRO ││ ││ Upload: dashboard-mockup.png ││ "Convert to React component with Tailwind. ││ Include responsive breakpoints and accessibility." ││ ││ → Output: Initial JSX + Tailwind code │└───────────────────────────┬─────────────────────────────┘ ↓ Copy to clipboard┌─────────────────────────────────────────────────────────┐│ 2. CLAUDE CODE ││ ││ "Integrate this component into our Next.js app: ││ - Use our Button, Avatar components ││ - Add TypeScript types matching User interface ││ - Connect to getUserProfile API hook ││ - Add loading and error states" ││ ││ → Output: Production-ready integrated component │└─────────────────────────────────────────────────────────┘When to use: Figma exports, whiteboard sketches, architecture diagrams, error screenshots.
Documentation Pipeline
Section titled “Documentation Pipeline”Use when: You need to quickly understand a new codebase or create audio overviews.
┌─────────────────────────────────────────────────────────┐│ 1. EXPORT DOCS (Claude Code) ││ ││ "Combine all markdown from docs/ into one file. ││ Include README.md and CLAUDE.md." ││ ││ → Output: combined-docs.md │└───────────────────────────┬─────────────────────────────┘ ↓ Upload to NotebookLM┌─────────────────────────────────────────────────────────┐│ 2. NOTEBOOKLM ││ ││ - Add combined-docs.md as source ││ - Click "Generate Audio Overview" ││ - Listen during commute (10-15 min) ││ ││ → Output: Podcast-style system overview │└───────────────────────────┬─────────────────────────────┘ ↓ Take notes, return to Claude┌─────────────────────────────────────────────────────────┐│ 3. CLAUDE CODE ││ ││ "Based on my understanding from the audio: ││ Help me deep-dive into the payment flow." ││ ││ → Output: Contextual explanation + code walkthrough │└─────────────────────────────────────────────────────────┘When to use: Joining new team, reviewing unfamiliar codebase, onboarding prep.
💡 MCP Integration Available: You can now query NotebookLM notebooks directly from Claude Code using the NotebookLM MCP server. See ai-ecosystem.md § 4.1 for installation and usage guide.
Presentation Pipeline
Section titled “Presentation Pipeline”Use when: You need to communicate technical changes to stakeholders.
┌─────────────────────────────────────────────────────────┐│ 1. CLAUDE CODE ││ ││ "Summarize changes from last 5 commits. ││ Format: Overview, Key Features, Breaking Changes, ││ Migration Steps. Use business-friendly language." ││ ││ → Output: changes-summary.md │└───────────────────────────┬─────────────────────────────┘ ↓ Upload to Kimi┌─────────────────────────────────────────────────────────┐│ 2. KIMI ││ ││ "Create 10-slide deck for non-technical stakeholders.││ One key message per slide. ││ Include summary and next steps." ││ ││ → Output: stakeholder-update.pptx │└─────────────────────────────────────────────────────────┘When to use: Sprint demos, release announcements, executive updates.
11.4 Integration Patterns
Section titled “11.4 Integration Patterns”Full Workflow: Research-Heavy Feature
Section titled “Full Workflow: Research-Heavy Feature”# 1. Research (Perplexity - 10 min)# → "Best practices for WebSocket in Next.js 15"# → Export to websocket-spec.md
# 2. Implementation (Claude Code - 40 min)claude> "Implement WebSocket per websocket-spec.md. Add to src/lib/websocket/. Include reconnection."
# 3. Stakeholder update (Kimi - 5 min)# → Upload changes + screenshots# → Generate 5-slide deckFull Workflow: Visual-Heavy Feature
Section titled “Full Workflow: Visual-Heavy Feature”# 1. UI Prototype (v0 - 10 min)# → Generate dashboard layout
# 2. Visual refinement (Gemini - 5 min)# → Upload Figma polish → Get refined code
# 3. Integration (Claude Code - 30 min)claude> "Integrate this dashboard. Connect to our data hooks. Add TypeScript types."Recommended Tool Stack by Budget
Section titled “Recommended Tool Stack by Budget”| Budget | Stack | Monthly |
|---|---|---|
| Minimal | Claude Code + Perplexity Pro | $40-70 |
| Balanced | + Gemini + Cursor | $80-110 |
| Power | + v0 Pro | $100-130 |
Cost Optimization Tips
Section titled “Cost Optimization Tips”- Use Haiku for simple tasks (
/model haiku) - Batch research in Perplexity Deep Research sessions
- Use free tiers: NotebookLM, Kimi, Gemini Flash are free
- Check context regularly (
/status) to avoid waste - Use Opus sparingly - reserve for architectural decisions
📖 Deep Dive: For detailed integration patterns, ready-to-use prompts, and tool comparisons, see the complete AI Ecosystem guide.
For Non-Developers: Claude Cowork
Section titled “For Non-Developers: Claude Cowork”If you work with non-technical team members, Cowork brings Claude’s agentic capabilities to knowledge workers without requiring terminal access.
| Aspect | Claude Code | Cowork |
|---|---|---|
| Target | Developers | Knowledge workers |
| Interface | Terminal | Desktop app |
| Execute code | Yes | No (files only) |
| Outputs | Code, scripts | Excel, PPT, docs |
| Status | Production | Research preview |
Collaboration pattern: Developers use Claude Code for specs → PMs use Cowork for stakeholder summaries. Shared context via ~/Shared/CLAUDE.md.
Availability: Pro ($20/mo) or Max ($100-200/mo) subscribers, macOS only (Jan 2026). See AI Ecosystem Section 9 for details.
Further Reading
Section titled “Further Reading”Whitepapers (FR + EN)
Section titled “Whitepapers (FR + EN)”A series of 9 focused whitepapers covering Claude Code topics in depth, available in French and English:
| # | Topic | Scope |
|---|---|---|
| 00 | Foundations | First steps, core concepts |
| 01 | Effective Prompts | Prompting method, context, hooks |
| 02 | Customization | CLAUDE.md, agents, skills |
| 03 | Security | 17 hooks, threat DB, permissions |
| 04 | Architecture | Agent loop, context, token pricing |
| 05 | Team Deployment | CI/CD, observability, 50+ devs |
| 06 | Privacy & Compliance | Anthropic data, ZDR, retention |
| 07 | Reference Guide | Complete synthesis + workflows |
| 08 | Agent Teams | Multi-agent orchestration |
→ Download all whitepapers (FR + EN)
Advanced Workflows
Section titled “Advanced Workflows”For advanced autonomous workflows, see Nick Tune’s Coding Agent Development Workflows - a pipeline-driven approach focusing on fully autonomous PR generation with multi-tool orchestration.
Community Resources
Section titled “Community Resources”The Claude Code ecosystem is growing rapidly. Here are curated resources to continue learning:
Awesome Lists
Section titled “Awesome Lists”| Repository | Focus |
|---|---|
| awesome-claude-code | Commands, workflows, IDE integrations |
| awesome-claude-skills | Custom skills collection |
| awesome-claude-skills (BehiSecc) | Skills taxonomy (62 skills, 12 categories) |
| awesome-claude | General Claude resources (SDKs, tools) |
Frameworks
Section titled “Frameworks”| Framework | Description | Link |
|---|---|---|
| SuperClaude | Advanced configuration framework with 30+ commands (/sc:*), cognitive personas, and MCP integration | GitHub |
SuperClaude transforms Claude Code into a structured development platform through behavioral instruction injection. Key features:
- 30+ specialized commands for common dev tasks
- Smart personas for different contexts
- MCP server integration
- Task management and session persistence
- Behavioral modes for optimized workflows
Production Config Collections
Section titled “Production Config Collections”For battle-tested, ready-to-use configurations from production environments:
| Repository | Author | Stats | Focus |
|---|---|---|---|
| everything-claude-code | Affaan Mustafa (Anthropic hackathon winner) | ⭐ 31.9k | Production configs from 10+ months intensive use |
Why this matters: This is the largest community-validated Claude Code resource (31.9k stars in 9 days). Unlike tutorials, these are configs proven in production through winning Anthropic’s hackathon (Zenith project).
Unique innovations not found elsewhere:
- hookify: Conversational hook creation (describe need → JSON generated)
- pass@k metrics: Formal verification approach (k=3 → 91% success rate)
- Sandboxed subagents: Tool restrictions per agent (security-reviewer can’t Edit files)
- Strategic compaction skills: Manual compaction suggestions to manage context growth
- Plugin ecosystem: One-command installation for all configs
Positioning: Complementary to this guide—we teach concepts (“why”), they provide production configs (“how”).
See also: Comprehensive evaluation (Score 5/5)
SuperClaude Behavioral Modes
Section titled “SuperClaude Behavioral Modes”⚠️ Non-official Extension: SuperClaude flags (
--learn,--uc,--think, etc.) are NOT Claude Code CLI flags. They work via prompt injection in CLAUDE.md files and require installing the SuperClaude framework.
SuperClaude includes configurable behavioral modes stored in ~/.claude/MODE_*.md files:
| Mode | Purpose | Activation |
|---|---|---|
| Orchestration | Smart tool selection, parallel execution | Auto (multi-tool ops, >75% context) |
| Task Management | Hierarchical task tracking with memory | Auto (>3 steps, >2 directories) |
| Token Efficiency | Symbol-enhanced compression (30-50% reduction) | Auto (>75% context) or --uc |
| Learning | Just-in-time skill development | --learn flag or “why/how” questions |
Learning Mode: Installation & Usage
Section titled “Learning Mode: Installation & Usage”Learning Mode provides contextual explanations when techniques are first used, without overwhelming you with repeated explanations.
Installation:
- Create the mode file:
# Create MODE_Learning.md in your global Claude configtouch ~/.claude/MODE_Learning.md- Add the content (or copy from SuperClaude framework):
# Learning Mode
**Purpose**: Just-in-time skill development with contextual explanations when techniques are first used
## Activation Triggers- Manual flag: `--learn`, `--learn focus:[domain]`- User explicitly asks "why?" or "how?" about an action- First occurrence of advanced technique in session
## Default Behavior**OFF by default** - Activates via triggers above or explicit `--learn` flag
When active, tracks techniques explained this session to avoid repetition.- Register in
~/.claude/CLAUDE.md:
# Behavioral Modes@MODE_Learning.md- Add flags to
~/.claude/FLAGS.md:
**--learn**- Trigger: User requests learning mode, beginner signals, "why/how" questions- Behavior: Enable just-in-time explanations with first-occurrence tracking
**--no-learn**- Trigger: User wants pure execution without educational offers- Behavior: Suppress all learning mode offersUsage:
# Activate for entire sessionclaude --learn
# Focus on specific domainclaude --learn focus:gitclaude --learn focus:architectureclaude --learn focus:security
# Batch explanations at endclaude --learn batchOffer Format:
When Learning Mode is active, Claude offers explanations after technical actions:
git rebase -i HEAD~3-> Explain: rebase vs merge? (y/detail/skip)Response options:
y→ Surface explanation (20-50 tokens)detail→ Medium depth (100-200 tokens)skip→ Continue without explanation
With Token Efficiency Mode (compressed format):
git rebase -i HEAD~3-> ?rebaseIntegration with Other Modes:
| Combined With | Behavior |
|---|---|
Token Efficiency (--uc) | Compressed offer format: -> ?[concept] |
| Task Management | Batch explanations at phase completion |
| Brutal Advisor | Brutal on diagnosis, pedagogical on explanation |
Priority Rules:
--no-learn > --uc > --learnToken Efficiency constraints > Learning verbosityTask flow > Individual explanationsExample Session:
$ claude --learn
You: Refactor the authentication module
Claude: [Reads files, implements changes]git rebase -i HEAD~3-> Explain: rebase vs merge? (y/detail/skip)
You: y
Claude: Rebase rewrites history linearly; merge preserves branches.Use rebase for clean history before push, merge for shared branches.
[Continues work - won't ask about rebase again this session]When to Use Learning Mode:
Use --learn | Use --no-learn |
|---|---|
| New to a technology | Expert in the domain |
| Onboarding to project | Time-critical tasks |
| Want to understand decisions | Already know the patterns |
| Mentoring yourself | High context pressure |
Learning Sites
Section titled “Learning Sites”| Site | Description |
|---|---|
| Claudelog.com | Tips, patterns, tutorials, and best practices |
| ykdojo/claude-code-tips | Practical productivity tips (voice workflows, context management, terminal efficiency) |
| Official Docs | Anthropic’s official Claude Code documentation |
Tip: These resources evolve quickly. Star repos you find useful to track updates.
Additional topics from ykdojo worth exploring (not yet integrated in this guide):
- Voice transcription workflows - Native voice input now available via
/voice(rolling out, Pro/Max/Team/Enterprise). Hold Space to speak, release to send. Transcription is free and doesn’t count against rate limits. Previously required superwhisper/MacWhisper as external workarounds. - Tmux for autonomous testing - Running interactive tools in tmux sessions for automated testing
- cc-safe security tool - Auditing approved commands to prevent accidental deletions
- Cascade method - Multitasking pattern with 3-4 terminal tabs for parallel work streams
- Container experimentation - Using Docker with
--dangerously-skip-permissionsfor safe experimental work - Half-clone technique - Manual context trimming to keep recent conversation history only
Audit Your Setup
Section titled “Audit Your Setup”Use the included audit prompt to analyze your current Claude Code configuration:
File: tools/audit-prompt.md
What it does:
- Scans your global (
~/.claude/) and project (.claude/) configuration - Compares against best practices from this guide
- Generates a prioritized report with actionable recommendations
- Provides ready-to-use templates tailored to your tech stack
How to use:
- Copy the prompt from the file
- Run
claudein your project directory - Paste the prompt and review findings
- Choose which recommendations to implement
Example output:
| Priority | Element | Status | Action |
|---|---|---|---|
| 🔴 High | Project CLAUDE.md | ❌ | Create with tech stack + conventions |
| 🟡 Medium | Security hooks | ⚠️ | Add PreToolUse for secrets check |
| 🟢 Low | MCP Serena | ❌ | Configure for large codebase |
The audit covers: Memory files, folder structure, agents, hooks, MCP servers, context management, and CI/CD integration patterns.