Lightweight Explorer
轻量探索模式 — 用最少 token 完成代码搜索和调研。核心理念:只读搜索不需要加载全部工具和项目规则。适用于:(1) 搜索代码库找文件/函数 (2) 调研项目架构 (3) 多文件分析 (4) 回答"代码里哪里有 X"类问题。灵感源自 Claude Code Explore Agent 设计。
Install
npx skills add kadaliao/claude-code-skills-collection --skill lightweight-explorergit clone --depth 1 https://github.com/kadaliao/claude-code-skills-collection.git /tmp/claude-code-skills-collection
mkdir -p ~/.claude/skills
cp -r /tmp/claude-code-skills-collection/lightweight-explorer ~/.claude/skills/lightweight-explorerPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Lightweight Explorer ## 核心理念 > 探索任务 = 只读 + 快速 + 低成本 **不修改任何文件**。探索的目标是收集信息并报告,不是做改动。 ## 搜索策略 ### 不知道位置时 → 广搜 ```bash # 文件模式搜索 find . -name "*.ts" -path "*/auth/*" | head -20 # 内容搜索 grep -rn "pattern" src/ --include="*.ts" | head -30 # 结构概览 find src/ -type f -name "*.ts" | head -50 ``` ### 知道大概位置时 → 精确读 直接 `read` 目标文件,不要先搜索。 ### 第一次搜不到 → 换策略 - 换命名方式(camelCase vs snake_case vs kebab-case) - 换搜索范围(src/ → lib/ → packages/) - 用更宽泛的 pattern ## 并行执行 **独立的搜索操作必须并行发起**,不要串行: ``` ✅ 同时搜 3 个不同的 grep pattern ❌ 搜完第一个再搜第二个 ``` ## 输出格式 探索完成后输出简洁报告: ``` ## 发现 ### [主题1] - 文件: path/to/file.ts (line X-Y) - 内容: 简短描述 ### [主题2] ... ``` **不要**: - 创建文件(包括临时文件) - 修改任何文件 - 运行写操作命令(git add/commit, npm install, mkdir) - 输出冗长的分析 — 保持精简 ## 搜索深度控制 调用者可指定深度: - `quick` — 基础搜索,找到主要文件即可 - `medium` — 中等探索,多角度验证 - `thorough` — 全面分析,检查多个位置和命名约定 默认 `medium`。 ## 适用场景 | 场景 | 动作 | |---|---| | "XXX 在哪里?" | grep + find | | "这个模块怎么工作的?" | 读入口文件 → 追踪调用链 | | "有没有类似的实现?" | grep pattern + 并行搜多处 | | "项目结构是什么样的?" | find + tree + 读关键文件 |
Details
- Skill name
lightweight-explorer- Repository
- kadaliao/claude-code-skills-collection
- Path
lightweight-explorer/SKILL.md- Repo updated
- 31 March 2026
FAQ
What does the Lightweight Explorer skill do?
轻量探索模式 — 用最少 token 完成代码搜索和调研。核心理念:只读搜索不需要加载全部工具和项目规则。适用于:(1) 搜索代码库找文件/函数 (2) 调研项目架构 (3) 多文件分析 (4) 回答"代码里哪里有 X"类问题。灵感源自 Claude Code Explore Agent 设计。
How do I install the Lightweight Explorer skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add kadaliao/claude-code-skills-collection --skill lightweight-explorer. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Lightweight Explorer popular?
It lives in kadaliao/claude-code-skills-collection, which has 9 GitHub stars and 8 forks.
Related skills
Adversarial Verification
9kadaliao/claude-code-skills-collection
对抗性验证技能 — 验证代码变更/部署/任务交付物的正确性。不是确认"它能工作",而是尝试"把它搞坏"。用于:(1) 完成非平凡任务后自验 (2) 审查 PR/MR (3) 部署后验证 (4) bobooo 说"验证一下"。灵感源自 Claude Code Verification Agent 设计。
Coordinator Orchestrator
9kadaliao/claude-code-skills-collection
多 Agent 协调者模式 — 你是指挥官,不是执行者。调度 Worker 做研究/实现/验证,你负责综合和决策。适用于:(1) 复杂任务需要多步骤并行 (2) 需要研究→综合→实现→验证的工作流 (3) bobooo 说"用 CC 做"时的编排模式。灵感源自 Claude Code Coordinator Mode。
Memory Type System
9kadaliao/claude-code-skills-collection
结构化记忆类型系统 — 四类型分类 + frontmatter 规范 + 写入/召回/漂移防护全流程。适用于所有 Agent 的长期记忆管理。解决记忆混乱、召回不准、膨胀失控问题。灵感源自 Claude Code Memory Type Taxonomy(memoryTypes.ts)。
Self Rationalization Guard
9kadaliao/claude-code-skills-collection
自我合理化防护 — 识别和反制 AI Agent 常见的偷懒/逃避/自我欺骗模式。不限于验证,适用于所有任务执行。当 Agent 即将跳过步骤、简化问题、或用"看起来对"替代"运行验证"时触发。灵感源自 Claude Code Verification Agent 的 Rationalization Detection。
Hebbs Tune
9hebbs-ai/hebbs-skill
Retrieval tuning skill for HEBBS: profile the client, generate domain-specific evals, run baseline, tune retrieval parameters, store learnings, and export compiled rules to a markdown file for prompt injection.
Worker Prompt Craft
9kadaliao/claude-code-skills-collection
Worker/子代理 Prompt 编写指南 — 写出让子代理一次做对的 prompt。解决"子代理看不到上下文"、"指令模糊导致返工"、"委托理解而非综合"的问题。适用于:(1) 使用 sessions_spawn/sessions_send 时 (2) 调度 CC 子任务时 (3) 任何需要给 AI 子代理写指令的场景。灵感源自 Claude Code Coordinator Prompt Guidelines。
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.