Files
Claude-Code-Workflow/.claude/CLAUDE.md
catlog22 6cb819cb3a Enhance FastEmbed Integration and GPU Management
- Updated Windows platform guidelines for path formats and Bash rules.
- Refactored CodexLens routes to improve GPU detection and indexing cancellation logic.
- Added FastEmbed installation status handling in the dashboard, including UI updates for installation and reinstallation options.
- Implemented local model management with improved API responses for downloaded models.
- Enhanced GPU selection logic in the model mode configuration.
- Improved error handling and user feedback for FastEmbed installation processes.
- Adjusted Python environment checks to avoid shell escaping issues on Windows.
2026-01-06 14:42:00 +08:00

1.5 KiB

Claude Instructions

  • CLI Tools Usage: @~/.claude/workflows/cli-tools-usage.md
  • Coding Philosophy: @~/.claude/workflows/coding-philosophy.md
  • Context Requirements: @~/.claude/workflows/context-tools.md
  • File Modification: @~/.claude/workflows/file-modification.md
  • CLI Endpoints Config: @.claude/cli-tools.json

CLI Endpoints

Strictly follow the @.claude/cli-tools.json configuration

Available CLI endpoints are dynamically defined by the config file:

  • Built-in tools and their enable/disable status
  • Custom API endpoints registered via the Dashboard
  • Managed through the CCW Dashboard Status page

Tool Execution

Agent Calls

  • Always use run_in_background: false for Task tool agent calls: Task({ subagent_type: "xxx", prompt: "...", run_in_background: false }) to ensure synchronous execution and immediate result visibility
  • TaskOutput usage: Only use TaskOutput({ task_id: "xxx", block: false }) + sleep loop to poll completion status. NEVER read intermediate output during agent/CLI execution - wait for final result only

CLI Tool Calls (ccw cli)

  • Default: run_in_background: true - Unless otherwise specified, always use background execution for CLI calls:
    Bash({ command: "ccw cli -p '...' --tool gemini", run_in_background: true })
    
  • After CLI call: Stop immediately - let CLI execute in background, do NOT poll with TaskOutput

Code Diagnostics

  • Prefer mcp__ide__getDiagnostics for code error checking over shell-based TypeScript compilation