From 90adef6cfbc72bd2a6a2dc6f8b8c613d6a09289f Mon Sep 17 00:00:00 2001 From: catlog22 Date: Sun, 14 Dec 2025 10:31:22 +0800 Subject: [PATCH] docs: clarify CodexLens action parameter requirements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add clearer documentation for each action: - search/search_files: requires query parameter - symbol: no query, extracts all symbols from file 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .claude/agents/context-search-agent.md | 10 +++++----- .../reference/agents/context-search-agent.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.claude/agents/context-search-agent.md b/.claude/agents/context-search-agent.md index 71214908..6a145e4e 100644 --- a/.claude/agents/context-search-agent.md +++ b/.claude/agents/context-search-agent.md @@ -45,11 +45,11 @@ You are a context discovery specialist focused on gathering relevant project inf ### 3. Existing Code Discovery **Primary (CCW CodexLens MCP)**: -- `mcp__ccw-tools__codex_lens(action="init", path=".")` - Initialize index -- `mcp__ccw-tools__codex_lens(action="search", query="pattern")` - Content search -- `mcp__ccw-tools__codex_lens(action="search_files", query="pattern")` - File search (paths only) -- `mcp__ccw-tools__codex_lens(action="symbol", file="path")` - File structure analysis -- `mcp__ccw-tools__codex_lens(action="update", files=[...])` - Update specific files +- `mcp__ccw-tools__codex_lens(action="init", path=".")` - Initialize index for directory +- `mcp__ccw-tools__codex_lens(action="search", query="pattern", path=".")` - Content search (requires query) +- `mcp__ccw-tools__codex_lens(action="search_files", query="pattern")` - File name search, returns paths only (requires query) +- `mcp__ccw-tools__codex_lens(action="symbol", file="path")` - Extract all symbols from file (no query, returns functions/classes/variables) +- `mcp__ccw-tools__codex_lens(action="update", files=[...])` - Update index for specific files **Fallback (CLI)**: - `rg` (ripgrep) - Fast content search diff --git a/.claude/skills/command-guide/reference/agents/context-search-agent.md b/.claude/skills/command-guide/reference/agents/context-search-agent.md index 71214908..6a145e4e 100644 --- a/.claude/skills/command-guide/reference/agents/context-search-agent.md +++ b/.claude/skills/command-guide/reference/agents/context-search-agent.md @@ -45,11 +45,11 @@ You are a context discovery specialist focused on gathering relevant project inf ### 3. Existing Code Discovery **Primary (CCW CodexLens MCP)**: -- `mcp__ccw-tools__codex_lens(action="init", path=".")` - Initialize index -- `mcp__ccw-tools__codex_lens(action="search", query="pattern")` - Content search -- `mcp__ccw-tools__codex_lens(action="search_files", query="pattern")` - File search (paths only) -- `mcp__ccw-tools__codex_lens(action="symbol", file="path")` - File structure analysis -- `mcp__ccw-tools__codex_lens(action="update", files=[...])` - Update specific files +- `mcp__ccw-tools__codex_lens(action="init", path=".")` - Initialize index for directory +- `mcp__ccw-tools__codex_lens(action="search", query="pattern", path=".")` - Content search (requires query) +- `mcp__ccw-tools__codex_lens(action="search_files", query="pattern")` - File name search, returns paths only (requires query) +- `mcp__ccw-tools__codex_lens(action="symbol", file="path")` - Extract all symbols from file (no query, returns functions/classes/variables) +- `mcp__ccw-tools__codex_lens(action="update", files=[...])` - Update index for specific files **Fallback (CLI)**: - `rg` (ripgrep) - Fast content search