### Search Guide Examples Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Demonstrates how to use the `search_guide` tool to find information within the documentation. Use keywords or full questions to get ranked results with GitHub links. ```bash search_guide("hooks") ``` ```bash search_guide("cost optimization") ``` ```bash search_guide("custom agents") ``` -------------------------------- ### Local Setup Commands Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/context-engineering/skeleton-template.md Provides essential commands for setting up the development environment locally, including dependency installation, environment configuration, database migrations, and starting the development server. ```bash # Install dependencies [INSTALL COMMAND] # Set up environment cp .env.example .env # Edit .env with your local values # Run database migrations [MIGRATION COMMAND] # Start development server [DEV COMMAND] ``` -------------------------------- ### Launch Agent Vibes Installer Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/tts-setup.md Navigate to the project directory and start the interactive installer. ```bash # Navigate to your project cd /path/to/your/claude-project # Launch interactive installer npx agentvibes install ``` -------------------------------- ### Execute First Usage Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/skills/landing-page-generator/assets/section-snippets/install.html Run the provided example to verify the installation and basic functionality. ```bash {{USAGE_EXAMPLE}} ``` -------------------------------- ### Get Example Snippets Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Shows how to fetch production-ready templates using `get_example` by providing the exact template name. ```bash get_example("code-reviewer") ``` ```bash get_example("pre-commit hook") ``` -------------------------------- ### Setup Kubernetes MCP Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ecosystem/mcp-servers-ecosystem.md Install or run the Kubernetes MCP server using Docker or Go. ```bash # Docker docker run -it --rm \ --mount type=bind,src=$HOME/.kube/config,dst=/home/mcp/.kube/config \ ghcr.io/containers/kubernetes-mcp-server # Native (Go binary) go install github.com/containers/kubernetes-mcp-server@latest kubernetes-mcp-server ``` -------------------------------- ### Serena: Get Symbols Overview Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/search-tools-mastery.md Demonstrates how to get a structured overview of symbols within a specific file using Serena. ```bash serena get_symbols_overview --file auth.service.ts ``` -------------------------------- ### Plan Execution Output Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/plan-execute.md Sample output showing the progression of worktree setup, TDD scaffolding, layer execution, quality gates, and final PR creation. ```text Setting up worktree: .worktrees/user-authentication Branch: feature/user-authentication TDD scaffolding: 2 tasks marked TDD ✓ Written failing tests for: auth-token-validation ✓ Written failing tests for: refresh-token-rotation Committed: "test: failing tests for auth pipeline (TDD)" Executing Layer 1 (3 tasks, parallel)... [agent-1] Implementing: JWT token generation service [agent-2] Implementing: User session model [agent-3] Implementing: Auth middleware ✓ Layer 1 complete. 3 commits. Drift check: Layer 1... ✓ No drift detected. Executing Layer 2 (2 tasks, parallel)... [agent-4] Implementing: Login endpoint [agent-5] Implementing: Refresh endpoint ✓ Layer 2 complete. 2 commits. Quality gate... ✓ Lint passed ✓ Type check passed ✓ Tests: 47 passed, 0 failed Smoke test... ✓ GraphQL introspection: OK ✓ POST /api/auth/login: 200 ✓ POST /api/auth/refresh: 200 Pre-PR docs... ✓ PRD reconciled (1 minor deviation noted) ✓ Plan archived to docs/plans/completed/ PR created: #142 "user-authentication: JWT auth with refresh token rotation" PR merged (squash). Branch deleted. Metrics committed. Worktree cleaned. ✅ Feature complete. ``` -------------------------------- ### Install Claude Code Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/skills/landing-page-generator/assets/section-snippets/install.html Execute the installation command to begin the setup process. ```bash {{INSTALL_COMMAND}} ``` -------------------------------- ### Install and Run Claude Code Quiz Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/quiz/README.md Install project dependencies and start the quiz application. ```bash cd quiz npm install npm start # Or run directly node src/index.js ``` -------------------------------- ### Manual ccboard Installation from Source Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/skills/ccboard/commands/install.md If automatic installation fails, clone the ccboard repository and install it manually from the source code. ```bash git clone https://github.com/{OWNER}/ccboard cd ccboard cargo install --path crates/ccboard ``` -------------------------------- ### Read Section Examples Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Illustrates using the `read_section` tool to retrieve content from specific files. Pagination is supported, with a default of 500 lines per call. Includes GitHub and guide site links. ```bash read_section("guide/ultimate-guide.md", 8077) ``` ```bash read_section("guide/cheatsheet.md") ``` -------------------------------- ### Install Agent Vibes Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/integrations/agent-vibes/README.md Use the interactive installer to set up the Agent Vibes MCP server and verify the installation files. ```bash # 1. Install Agent Vibes (interactive, 4 pages) npx agentvibes install # 2. Choose Piper TTS provider (recommended) # Select: Piper > fr_FR-tom-medium > Light reverb > Low verbosity # 3. Verify installation ls -la .claude/hooks/play-tts.sh ls -la ~/.claude/piper-voices/ ``` -------------------------------- ### NotebookLM Onboarding Workflow Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ecosystem/ai-ecosystem.md Example commands for setting up notebooks, performing research, and executing advanced queries over multiple weeks. ```bash # Day 1: Setup "Log me in to NotebookLM" "Add notebook: - Codebase Architecture" "Add notebook: - API Documentation" # Day 2: Research "In Codebase Architecture, what's the auth flow?" "How does that integrate with the API docs?" "Select API Documentation notebook" "What are the rate limiting strategies?" # Week 2: Advanced "Search library for: database patterns" "In Database Patterns notebook, explain connection pooling" "How would I implement this in our codebase?" ``` -------------------------------- ### Prompt Example: Generate Technical Guide Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/pdf-generation.md Example prompt for Claude Code to generate a technical guide using Quarto and Typst, specifying sections. ```text Create a technical guide for our API as a Quarto document. Use the Typst format with a table of contents. Include sections for: Authentication, Endpoints, Error Codes. ``` -------------------------------- ### Install Git MCP Server with UV Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ecosystem/mcp-servers-ecosystem.md Recommended installation method using `uvx` for the Git MCP server. Ensure the specified repository path is accessible. ```bash uvx mcp-server-git --repository /path/to/repo ``` -------------------------------- ### Guide MCP Server Installation Check Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/tools/audit-prompt.md Checks if the 'claude-code-ultimate-guide-mcp' is installed by looking for it in ~/.claude.json. Provides instructions if not found. ```bash echo -e "\n=== GUIDE MCP SERVER ===" if command -v jq &> /dev/null && [ -f "~/.claude.json" ]; then GUIDE_MCP=$(jq -r --arg path "$CURRENT_DIR" ".projects["$path"].mcpServers // {} | keys[]" ~/.claude.json 2>/dev/null | grep -iE "claude-code-ultimate-guide|ccguide" || true) [ -n "$GUIDE_MCP" ] && echo "✅ Guide MCP installed ($GUIDE_MCP)" || echo "❌ Guide MCP not installed (npx -y claude-code-ultimate-guide-mcp)" fi ``` -------------------------------- ### Run Onboarding Prompt Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/tools/README.md Executes the onboarding prompt to initiate a personalized guided tour based on your profile. ```bash cat onboarding-prompt.md | claude ``` -------------------------------- ### Install and Configure Claude Code Mobile Access Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/tools/mobile-access.md A setup script that installs ttyd, tmux, and Tailscale, then creates a launcher script to expose the Claude Code session. ```bash #!/bin/bash # claude-mobile-setup.sh set -e echo "=== Setup Claude Code Mobile ===" # 1. Install ttyd + tmux echo "[1/2] Installing ttyd..." if [[ "$OSTYPE" == "darwin"* ]]; then brew install ttyd tmux else sudo apt install -y tmux sudo snap install ttyd --classic fi # 2. Install Tailscale echo "[2/2] Installing Tailscale..." if [[ "$OSTYPE" == "darwin"* ]]; then brew install tailscale else curl -fsSL https://tailscale.com/install.sh | sh fi # 3. Create launcher script mkdir -p ~/.local/bin cat > ~/.local/bin/claude-mobile << 'EOF' #!/bin/bash PORT=7681 PASS="${CLAUDE_MOBILE_PASS:-claude123}" TS_IP=$(tailscale ip -4 2>/dev/null || echo "not connected") echo "══════════════════════════════════" echo " CLAUDE CODE MOBILE" echo "══════════════════════════════════" echo " URL: http://$TS_IP:$PORT" echo " User: claude" echo " Pass: $PASS" echo "══════════════════════════════════" echo "" echo "Open this URL on your phone." echo "Press Ctrl+C to stop." echo "" # Kill existing session if any tmux kill-session -t cc 2>/dev/null || true # Start Claude in tmux, expose via ttyd tmux new-session -d -s cc 'claude' exec ttyd -W -p $PORT -c "claude:$PASS" tmux attach -t cc EOF chmod +x ~/.local/bin/claude-mobile ``` -------------------------------- ### Usage Examples for /learn:teach Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/learn/teach.md Basic command syntax for invoking the teaching tool with various topics and depth flags. ```bash /learn:teach React hooks # Learn about React hooks /learn:teach async/await # Understand async patterns /learn:teach SOLID principles # Learn design principles /learn:teach --deep SQL joins # In-depth explanation ``` -------------------------------- ### Compare approaches with code examples Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/learn/alternatives.md Use this command with the --detailed flag to include code examples for each alternative approach. ```bash /learn:alternatives --detailed ``` -------------------------------- ### Launch Agent Vibes Interactive Installer Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/integrations/agent-vibes/installation.md Navigates to the project directory and launches the interactive installer for Agent Vibes. This command initiates the setup process for the TTS integration. ```bash # Navigate to your Claude Code project cd /path/to/your/project # Launch installer (interactive, 4 pages) npx agentvibes install ``` -------------------------------- ### Interactive Onboarding with Claude Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/README.md Use this command to fetch and follow onboarding instructions directly within Claude. No local setup is required. ```bash claude "Fetch and follow the onboarding instructions from: https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate-guide/main/tools/onboarding-prompt.md" ``` -------------------------------- ### Claude Worktree Creation Commands Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/git-worktree.md These are example commands for creating worktrees using Claude. The `--fast` flag skips installation and tests, while `--isolated` performs a fresh node_modules install. ```bash /git-worktree auth ``` ```bash /git-worktree fix/session-bug ``` ```bash /git-worktree feature/new-api --fast ``` ```bash /git-worktree refactor/db-layer --isolated ``` -------------------------------- ### Auto-Detect Project Setup Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/git-worktree.md Detects the project type based on configuration files and installs dependencies accordingly. ```bash # Node.js (if not symlinked) if [ -f package.json ] && [ ! -L node_modules ]; then pnpm install # Detect from lockfile: pnpm-lock.yaml / yarn.lock / package-lock.json fi # Rust if [ -f Cargo.toml ]; then cargo build; fi # Python if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f pyproject.toml ]; then poetry install; fi # Go if [ -f go.mod ]; then go mod download; fi ``` -------------------------------- ### Install and Run Claude Code CLI Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/roles/adoption-approaches.md Quickly install the Claude Code CLI globally and run it within an existing project to start analyzing your codebase. Use the command with a specific prompt for targeted analysis. ```bash npm i -g @anthropic-ai/claude-code ``` ```bash claude ``` ```bash claude "Analyze this codebase architecture" ``` ```bash claude /status ``` -------------------------------- ### Workflow 1: Exploring Unknown Codebase - Step 1 Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/search-tools-mastery.md Start exploring an unknown codebase by using `grepai` for semantic discovery to find relevant files. ```bash # 1. SEMANTIC DISCOVERY (grepai) # Find files related to authentication grepai search "user authentication and session management" # → Output: auth.service.ts, session.middleware.ts, user.controller.ts ``` -------------------------------- ### Optimization Roadmap Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/optimize.md A simple text-based timeline for executing performance fixes. ```text Week 1: Critical fixes (items 1-3) Week 2: High priority (items 4-6) Week 3: Measure and validate improvements ``` -------------------------------- ### Onboard New Developer Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/team-ai-instructions.md Steps to clone the repository, create a new profile, and generate the developer's CLAUDE.md. ```bash # 1. Clone repo git clone # 2. Copy profile template cp examples/team-config/profile-template.yaml profiles/dave.yaml # Edit: name, os, tools, modules # 3. Generate npx ts-node sync-ai-instructions.ts dave # 4. Install cp output/dave/CLAUDE.md .claude/CLAUDE.md ``` -------------------------------- ### Install GitHub App via Terminal Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/github-actions.md Command to initiate the automated setup process for the GitHub App integration. ```bash /install-github-app ``` -------------------------------- ### Install session-search.sh Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ops/observability.md Setup the bash script for fast session searching by copying it to a local bin directory and aliasing it in the shell configuration. ```bash cp examples/scripts/session-search.sh ~/.claude/scripts/cs chmod +x ~/.claude/scripts/cs echo "alias cs='~/.claude/scripts/cs'" >> ~/.zshrc source ~/.zshrc ``` -------------------------------- ### Example CLAUDE.md Audit Template Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/team-ai-instructions.md Classify lines in your CLAUDE.md file into Universal, Conditional (tool/OS-dependent), or Personal categories to guide module extraction. ```markdown # Audit template ## Universal (all devs, all tools) - Architecture: hexagonal - Tests: must pass before PR - Naming: kebab-case for files ## Conditional (depends on tool or OS) - Cursor: use @filename syntax → module: cursor-rules - macOS paths: /opt/homebrew → module: macos-paths - Linux paths: /usr/local → module: linux-paths ## Personal (individual preference) - Style: verbose explanations → profile preference - Language: French comments → profile preference ``` -------------------------------- ### Initial Prompt Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/iterative-refinement.md A clear, constraint-based prompt for generating a React component. ```text Create a React component for a user profile card. - Show avatar, name, bio - Include edit button - Use Tailwind CSS - Mobile-responsive ``` -------------------------------- ### Clone the repository Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/CONTRIBUTING.md Initial step to set up a local development environment for the project. ```bash git clone https://github.com/YOUR_USERNAME/claude-code-ultimate-guide.git cd claude-code-ultimate-guide ``` -------------------------------- ### Verify Claude Setup Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/roles/adoption-approaches.md Run this command to ensure Claude is installed and accessible. Then, ask a question to verify that your CLAUDE.md configuration is being loaded correctly. ```bash claude ``` ```text What's this project's test command? ``` -------------------------------- ### Navigate to project directory Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/tools/audit-cheatsheet-prompt.md Standard commands to enter the project directory and initialize the Claude CLI. ```bash cd your-project-directory claude ``` -------------------------------- ### Get Changelog Entries Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Fetches the last N entries from the guide's CHANGELOG using `get_changelog`. Defaults to 5 entries, with a maximum of 20. ```bash get_changelog(10) ``` -------------------------------- ### Reference platform-specific paths Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/CONTRIBUTING.md Example of providing cross-platform file paths for configuration files. ```bash # macOS/Linux ~/.claude/settings.json # Windows %USERPROFILE%\.claude\settings.json ``` -------------------------------- ### Minimal CLAUDE.md Configuration Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/roles/adoption-approaches.md This is a basic CLAUDE.md file to get started. Add project-specific details like runtime, framework, commands, and a key convention. ```markdown # Project: [your-project-name] ## Stack - Runtime: [Node 20 / Python 3.11 / etc.] - Framework: [Next.js / FastAPI / etc.] ## Commands - Test: `npm test` or `pytest` - Lint: `npm run lint` or `ruff check` ## Convention - [One rule you care most about, e.g., "TypeScript strict mode required"] ``` -------------------------------- ### Add Claude Code Plugins Marketplace Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/README.md Install plugins from the Claude Code marketplace to extend functionality. Ensure you have the necessary permissions and environment setup. ```bash claude plugin marketplace add FlorianBruniaux/claude-code-plugins ``` -------------------------------- ### Initialize and Start Entire Session Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ops/ai-traceability.md Commands to initialize the Entire CLI in a project and begin capturing an agent session. ```bash # Initialize in project entire init # Start session capture entire capture --agent="claude-code" ``` -------------------------------- ### Execute Implementation Phase Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/rpi.md Initiate the implementation phase using the RPI command with a specified plan file. ```bash /rpi:implement .claude/features/[feature-name]/PLAN.md ``` ```text Run RPI Phase 3 (Implement) using: - Plan: .claude/features/[feature-name]/PLAN.md Rules: - Implement one step at a time - After each step, run the test gate specified in the plan - Do not start the next step until the test gate passes - If a test gate fails, stop and report the failure — do not improvise a fix - Commit after each step that passes its gate ``` -------------------------------- ### ast-grep: Find Structural Pattern Command Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/search-tools-mastery.md Use `ast-grep` to search for code based on Abstract Syntax Tree (AST) structural patterns. Requires installation. ```bash ast-grep "async function $F" ``` -------------------------------- ### Fetch API Documentation with Context Hub Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/docs/resource-evaluations/2026-03-16-andrewyng-context-hub.md Use this command to fetch API documentation for a specific service and language. Ensure Context Hub is installed and configured. ```bash chub get openai/chat --lang py ``` -------------------------------- ### Codebase to Audio Onboarding Workflow Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ecosystem/ai-ecosystem.md A process for converting project documentation into an audio overview using NotebookLM. ```text ┌─────────────────────────────────────────────────────────┐ │ 1. EXPORT (via Claude Code or manual) │ │ "Export all markdown files from docs/ and the │ │ main README to a single combined-docs.md file." │ │ │ │ → Output: combined-docs.md (50K tokens) │ └───────────────────────────┬─────────────────────────────┘ ↓ Upload to NotebookLM ┌─────────────────────────────────────────────────────────┐ │ 2. NOTEBOOKLM │ │ - Add combined-docs.md as source │ │ - Click "Generate Audio Overview" │ │ - Wait 3-5 minutes for generation │ │ │ │ → Output: 12-minute audio explaining your system │ └───────────────────────────┬─────────────────────────────┘ ↓ Listen during commute ┌─────────────────────────────────────────────────────────┐ │ 3. BACK TO CLAUDE CODE │ │ "Based on my notes from the audio overview: │ │ [paste notes] │ │ Help me understand the auth flow in more detail." │ │ │ │ → Output: Contextual deep-dive │ └─────────────────────────────────────────────────────────┘ ``` -------------------------------- ### TDD Workflow: Add item to cart (RED) Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/skills/tdd-workflow.md Start the TDD cycle by writing a test that is expected to fail. This ensures the test setup is correct and the feature is not yet implemented. ```typescript describe('Cart', () => { it('should add item to cart', () => { const cart = new Cart(); cart.addItem({ id: 1, name: 'Book', price: 29.99 }); expect(cart.items).toHaveLength(1); }); }); ``` -------------------------------- ### Quick Prompting Formula Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/cheatsheet.md An example demonstrating the QUICK prompting formula: WHAT, WHERE, HOW, and VERIFY. This helps structure complex requests for Claude. ```text Add input validation to the login form. WHERE: src/components/LoginForm.tsx HOW: Use Zod schema, show inline errors VERIFY: Empty email shows error, invalid format shows error ``` -------------------------------- ### Get Digest of Changes Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Retrieves a combined digest of guide changes and Claude Code CLI releases for a specified period using `get_digest`. Periods include `day`, `week`, and `month`. ```bash get_digest("week") ``` ```bash get_digest("month") ``` -------------------------------- ### List Examples by Category Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Demonstrates listing available templates filtered by category using `list_examples`. Supported categories include `agents`, `commands`, `hooks`, `skills`, and `scripts`. ```bash list_examples("agents") ``` ```bash list_examples("hooks") ``` -------------------------------- ### Build and Deploy Custom Templates Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/security/sandbox-isolation.md Build a custom Docker image and initialize a new sandbox using that template. ```bash # Build the template docker build -t my-team-sandbox:v1 . # Create sandbox with custom template docker sandbox create my-sandbox \ --template my-team-sandbox:v1 \ --load-local-template ~/my-project ``` -------------------------------- ### Setup MLflow Tracing (CLI Mode) Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ops/observability.md Installs MLflow with GenAI support and enables Claude tracing within the current project directory. Supports custom backends, named experiments, and status checks. ```bash pip install "mlflow[genai]>=3.4" ``` ```bash mlflow autolog claude ``` ```bash mlflow autolog claude -u sqlite:///mlflow.db ``` ```bash mlflow autolog claude -n "my-project" ``` ```bash mlflow autolog claude --status ``` ```bash mlflow autolog claude --disable ``` -------------------------------- ### Initialize Canary Directories Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/commands/canary.md Create the necessary directory structure for storing baselines, reports, and screenshots. ```bash mkdir -p .canary/baselines .canary/reports .canary/screenshots ``` -------------------------------- ### Claude Code Agent Team Structure Example Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/agents/cyber-defense/README.md Illustrates the file structure for a Claude Code Agent Team, featuring individual agent definition files in Markdown and a main skill file for orchestration. This setup minimizes boilerplate code. ```yaml examples/agents/cyber-defense/ ├── log-ingestor.md (~40 lines) ├── anomaly-detector.md (~50 lines) ├── risk-classifier.md (~55 lines) └── threat-reporter.md (~45 lines) examples/skills/cyber-defense-team/ └── SKILL.md (~70 lines) ``` -------------------------------- ### Git Context Enrichment Hook (Bash) Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/hooks/README.md Example bash script to enrich prompts with Git context for the UserPromptSubmit event. It extracts branch name, last commit, and counts of uncommitted/staged files. Requires Git to be installed and a Git repository to be present. ```bash #!/bin/bash # Hook: UserPromptSubmit - Add Git context to prompts set -e INPUT=$(cat) # Get Git information BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unknown") LAST_COMMIT=$(git log -1 --oneline 2>/dev/null || echo "none") UNCOMMITTED=$(git status --short 2>/dev/null | wc -l | tr -d ' ') STAGED=$(git diff --cached --name-only 2>/dev/null | wc -l | tr -d ' ') ``` -------------------------------- ### Install and Initialize Grepai Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/ecosystem/mcp-servers-ecosystem.md Commands to install the Grepai CLI, set up the required Ollama embedding model, and initialize indexing for a project. ```bash # Install grepai curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh # Install Ollama + embedding model brew install ollama ollama pull nomic-embed-text # Initialize in your project cd /path/to/project grepai init # Choose: ollama, nomic-embed-text, gob # Index your codebase grepai index # Optional: watch for file changes (auto-reindex) grepai watch ``` -------------------------------- ### Check ccboard Installation Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/skills/ccboard/SKILL.md Verifies if the ccboard executable is installed and accessible in the system's PATH. Installs if not found. ```bash # Check installation which ccboard # Install if needed /ccboard-install ``` -------------------------------- ### Install Audio Dependencies Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/guide/workflows/tts-setup.md Install necessary audio processing tools and verify their availability. ```bash # Install audio tools brew install sox ffmpeg util-linux espeak-ng # Verify all installed command -v sox && command -v ffmpeg && command -v espeak-ng && echo "✅ Dependencies OK" # ✅ Checkpoint: Dependencies installed ``` -------------------------------- ### Install ccboard Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/skills/ccboard/README.md Use this command to install or update the ccboard plugin. Alternatively, you can install it manually using cargo. ```bash # Using Claude Code command /ccboard-install # Or manually via cargo cargo install ccboard ``` -------------------------------- ### Example Session Summary Output Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/hooks/README.md Sample output generated by the plugin when all sections are enabled. ```text ═══ Session Summary ═══════════════════ ID: abc-123-def-456... Name: Fix session summary hook Branch: main Duration: Wall 5m 28s | Active 1m 33s | 12 turns | Exit: user Tool Calls: 29 (OK 27 / ERR 2) Edit: 13 Bash: 8 Read: 6 Grep: 1 Glob: 1 Errors: 2 Bash: "command not found: rtk" (x1) Edit: "old_string not unique" (x1) Files: 3 read · 2 edited · 1 created session-summary.sh (8 edits), settings.json (3 edits) Features: MCP (perplexity x4, chrome x12) · Agents (Explore x3, Plan x1) · Skills (commit) Git: +142 -37 lines · 4 files changed Code: +87 -12 net (via Edit/Write) Model Usage Reqs Input Output claude-opus-4-6 59 93K 628 Cache: 85% hit rate (3.9M read / 322K created) Est. Cost: $0.045 RTK Savings: 24 cmds · ~12.4K tokens saved (73%) Turns: 12 (8 interactive · 4 auto) · Avg 6.7s/turn ═══════════════════════════════════════ ``` -------------------------------- ### Install RTK CLI Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/examples/claude-md/rtk-optimized.md Installation methods for RTK via Homebrew or Cargo, followed by initialization. ```bash # Homebrew (macOS/Linux) brew install rtk-ai/tap/rtk # Cargo (all platforms) cargo install rtk # Hook-first install rtk init ``` -------------------------------- ### Install Yagr Agent Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/docs/resource-evaluations/2026-03-20-yagr-etienne-lescot.md Use this command to install the Yagr agent globally. Ensure you have Node.js and npm installed. ```bash npm install -g @yagr/agent@latest ``` -------------------------------- ### Configure local MCP server Source: https://github.com/florianbruniaux/claude-code-ultimate-guide/blob/main/mcp-server/README.md Set up the MCP server configuration with the GUIDE_ROOT environment variable to read files from a local repository clone. ```json { "mcpServers": { "claude-code-guide": { "type": "stdio", "command": "node", "args": ["/path/to/claude-code-ultimate-guide/mcp-server/dist/index.js"], "env": { "GUIDE_ROOT": "/path/to/claude-code-ultimate-guide" } } } } ```