Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计异常

research-codebase研究代码库

Agent Skill

research-codebase 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,082

周安装

46

GitHub Stars

1

下载量

379
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:research-codebase(研究代码库)
来源仓库:https://github.com/ferueda/agent-skills
仓库路径:skills/research-codebase
安装命令:
npx skills add https://github.com/ferueda/agent-skills --skill research-codebase
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ferueda/agent-skills --skill research-codebase

简介

research-codebase 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于代码库分析、技术文档检索或开发相关研究的场景。
  • 通过安装命令 npx skills add https://github.com/ferueda/agent-skills --skill research-codebase 添加到宿主环境。
  • 建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写后再使用。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Research Codebase

You are tasked with conducting comprehensive research across the codebase, spawning parallel sub-agents if necessary and synthesizing their findings.

CRITICAL: YOUR ONLY JOB IS TO DOCUMENT AND EXPLAIN THE CODEBASE AS IT EXISTS TODAY

  • DO NOT suggest improvements or changes unless explicitly asked for them
  • DO NOT propose future enhancements unless explicitly asked for them
  • ONLY describe what exists, where it exists, how it works, and how components interact
  • You are creating a technical map/documentation of the existing system

Steps to follow

  1. Read any directly mentioned files first:

- If the user mentions specific files, read them FULLY first - CRITICAL: Read these files yourself in the main context before spawning any sub-tasks - This ensures you have full context before decomposing the research

  1. Analyze and decompose the goal of the research:

- Think deeply about the research goal and break it down into composable research areas - Take time to ultrathink about the underlying patterns, connections, and architectural implications. - Identify specific components, patterns, or concepts to investigate - Create a research plan using TodoWrite/write_todos to track all subtasks - Consider which directories, files, or architectural patterns are relevant

  1. Spawn parallel sub-agent tasks for comprehensive research: The key is to use these agents intelligently:

- Create multiple Task agents to research different aspects concurrently - Start with locator agents to find what exists - Then use analyzer agents on the most promising findings - Run multiple agents in parallel when they're searching for different things

  1. Wait for all sub-agents to complete and synthesize findings:

- IMPORTANT: Wait for ALL sub-agent tasks to complete before proceeding - Compile all sub-agent results (both codebase and thoughts findings) - Prioritize live codebase findings as primary source of truth - Use dev/log/ as supplementary historical context - Connect findings across different components - Include specific file paths and line numbers for reference - Highlight patterns, connections, and architectural insights and decisions - Answer the user's specific questions with concrete evidence

  1. Gather metadata for the research document:

- Generate all relevant metadata - Filename: dev/research/YYYYMMDD-description.md - Format: YYYYMMDD-description.md where: - YYYYMMDD is today's date - description is a brief kebab-case description of the research topic - Examples: - 20251010-parent-child-tracking.md - 20260114-authentication-flow.md

  1. Generate research document:

- Use the metadata gathered in step 4 - Structure the document with YAML frontmatter followed by content: ` --- date: [Current date and time with timezone in ISO format] topic: "[User's Question/Topic]" tags: [research, codebase, relevant-component-names] status: complete last_updated: [Current date in YYYY-MM-DD format] --- # Research: [User's Question/Topic] **Date**: [Current date and time with timezone from step 4] ## Research Question [Original query or research goal] ## Summary [High-level findings] ## Detailed Findings ### [Component/Area 1] - Finding with reference ([file.ext:line](link)) - Connection to other components - Implementation details ### [Component/Area 2]... ## Code References - path/to/file.py:123 - Description of what's there - another/file.ts:45-67 - Description of the code block ## Architecture Insights [Patterns, conventions, and design decisions discovered] ## Historical Context (from dev/log/) [Relevant insights from dev/log/ directory with references] - dev/log/something.md - Historical decision about X - dev/log/notes.md - Past implementation of Y ## Related Research [Links to other research documents in dev/research/] ## Open Questions [Any areas that need further investigation] `

  1. Sync and present findings:

- Present a concise summary of findings to the user - Include key file references for easy navigation - Ask if they have follow-up questions or need clarification

  1. Handle follow-up questions:

- If the user has follow-up questions, append to the same research document - Update the frontmatter fields last_updated and last_updated_by to reflect the update - Add last_updated_note: "Added follow-up research for [brief description]" to frontmatter - Add a new section: ## Follow-up Research [timestamp] - Spawn new sub-agents as needed for additional investigation - Continue updating the document and syncing

Important notes:

  • Always use parallel Task agents to maximize efficiency and minimize context usage
  • Always run fresh codebase research - never rely solely on existing research documents
  • The dev/log/ directory provides historical context to supplement live findings
  • Focus on finding concrete file paths and line numbers for developer reference
  • Research documents should be self-contained with all necessary context
  • Each sub-agent prompt should be specific and focused on read-only operations
  • Consider cross-component connections and architectural patterns
  • Include temporal context (when the research was conducted)
  • Keep the main agent focused on synthesis, not deep file reading
  • Encourage sub-agents to find examples and usage patterns, not just definitions
  • Explore all of dev/ directory, not just research subdirectory
  • File reading: Always read mentioned files FULLY (no limit/offset) before spawning sub-tasks
  • Critical ordering: Follow the numbered steps exactly

- ALWAYS read mentioned files first before spawning sub-tasks (step 1) - ALWAYS wait for all sub-agents to complete before synthesizing (step 4) - ALWAYS gather metadata before writing the document (step 5 before step 6) - NEVER write the research document with placeholder values

  • Frontmatter consistency:

- Always include frontmatter at the beginning of research documents - Keep frontmatter fields consistent across all research documents - Update frontmatter when adding follow-up research - Use snake_case for multi-word field names (e.g., last_updated, git_commit) - Tags should be relevant to the research topic and components studied

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

29.34%
按下载量换算111

Antigravity

21.72%
按下载量换算82

Gemini CLI

19.96%
按下载量换算76

Claude Code

13.65%
按下载量换算52

windsurf

7.33%
按下载量换算28

OpenCode

3.39%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/ferueda/agent-skills --skill research-codebase;npx skills add ferueda/agent-skills --skill "research-codebase" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills