Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

research-codebase研究代码库

Agent Skill

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

总安装

2,746

周安装

110

GitHub Stars

163

下载量

889
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flora131/atomic --skill research-codebase

简介

research-codebase 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配和来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用该技能。
  • 安装前需确认权限范围、维护状态,避免触发联网或文件读写操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

Research Codebase

You are tasked with conducting comprehensive research across the codebase to answer user questions by spawning parallel sub-agents and synthesizing their findings.

The user's research question/request is: $ARGUMENTS

Steps to follow after receiving the research query:

<EXTREMELY_IMPORTANT>

  • OPTIMIZE the research question using your prompt-engineer skill to refine phrasing and structure for maximum clarity and precision.
  • After research is complete and the research artifact(s) are generated, provide an executive summary of the research and path to the research document(s) to the user, and ask if they have any follow-up questions or need clarification.

</EXTREMELY_IMPORTANT>

  1. Read any directly mentioned files first:

- If the user mentions specific files (tickets, docs, or other notes), read them FULLY first - IMPORTANT: Use the readFile tool WITHOUT limit/offset parameters to read entire files - 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 research question:

- Break the research question down into composable research areas - Take time to ultrathink about the underlying patterns, connections, and architectural implications the user might be seeking - Identify specific components, patterns, or concepts to investigate - Create a research plan using TodoWrite to track all subtasks - Consider which directories, files, or architectural patterns are relevant

  1. Spawn parallel sub-agent tasks: For codebase research: IMPORTANT: All agents are documentarians, not critics. They will describe what exists without suggesting improvements or identifying issues. For research directory: For online search: The key is to use these agents intelligently:

- Create multiple Task agents to research different aspects concurrently - We now have specialized agents that know how to do specific research tasks: - Use the codebase-locator agent to find WHERE files and components live - Use the codebase-analyzer agent to understand HOW specific code works (without critiquing it) - Use the codebase-pattern-finder agent to find examples of existing patterns (without evaluating them) - Output directory: research/docs/ - Examples: - The database logic is found and can be documented in research/docs/2024-01-10-database-implementation.md - The authentication flow is found and can be documented in research/docs/2024-01-11-authentication-flow.md - Use the codebase-research-locator agent to discover what documents exist about the topic - Use the codebase-research-analyzer agent to extract key insights from specific documents (only the most relevant ones) - VERY IMPORTANT: In case you discover external libraries as dependencies, use the codebase-online-researcher agent for external documentation and resources - The agent fetches live web content using the playwright-cli skill (or bunx @playwright/cli / curl). Instruct it to apply the token-efficient fetch order: (1) try curl https://<site>/llms.txt for an AI-friendly index (see llmstxt.org), (2) try curl <url> -H "Accept: text/markdown" to get pre-converted Markdown (supported on Cloudflare-hosted docs via Markdown for Agents), (3) fall back to HTML parsing via playwright-cli - Instruct the agent to return LINKS with their findings and INCLUDE those links in the research document - The agent should persist reusable source documents under research/web/<YYYY-MM-DD>-<kebab-case-topic>.md (with frontmatter noting source_url, fetched_at, and fetch_method) so future research can reuse them without re-fetching - Output directory for the synthesized research artifact: research/docs/ - Examples: - If researching Redis locks usage, the agent might find relevant usage and create a document research/docs/2024-01-15-redis-locks-usage.md with internal links to Redis docs and code references (and cache the fetched Redis docs under research/web/) - If researching OAuth flows, the agent might find relevant external articles and create a document research/docs/2024-01-16-oauth-flows.md with links to those articles - Start with locator agents to find what exists - Then use analyzer agents on the most promising findings to document how they work - Run multiple agents in parallel when they're searching for different things - Each agent knows its job - just tell it what you're looking for - Don't write detailed prompts about HOW to search - the agents already know - Remind agents they are documenting, not evaluating or improving

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

- IMPORTANT: Wait for ALL sub-agent tasks to complete before proceeding - Compile all sub-agent results (both codebase and research findings) - Prioritize live codebase findings as primary source of truth - Use research findings as supplementary historical context - Connect findings across different components - Include specific file paths and line numbers for reference - Highlight patterns, connections, and architectural decisions - Answer the user's research question with concrete evidence - If findings reveal the original question was misframed (e.g., the system works differently than assumed, or the components don't exist where expected), flag this to the user before finalizing the document. This is valuable signal — don't bury it.

  1. Generate research document:

- Follow the directory structure for research documents:

research/
├── tickets/
│   ├── YYYY-MM-DD-XXXX-description.md
├── docs/
│   ├── YYYY-MM-DD-topic.md
├── notes/
│   ├── YYYY-MM-DD-meeting.md
├── ...
└──
  • Naming conventions:

- YYYY-MM-DD is today's date - topic is a brief kebab-case description of the research topic - meeting is a brief kebab-case description of the meeting topic - XXXX is the ticket number (omit if no ticket) - description is a brief kebab-case description of the research topic - Examples: - With ticket: 2025-01-08-1478-parent-child-tracking.md - Without ticket: 2025-01-08-authentication-flow.md

  • Structure the document with YAML frontmatter followed by content: ` --- date:!date '+%Y-%m-%d %H:%M:%S %Z' researcher: [Researcher name from thoughts status] git_commit:!git rev-parse --verify HEAD 2>/dev/null || echo "no-commits" branch:!git branch --show-current 2>/dev/null || git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unborn" repository:!basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown-repo" topic: "[User's Question/Topic]" tags: [research, codebase, relevant-component-names] status: complete last_updated:!date '+%Y-%m-%d' last_updated_by: [Researcher name] --- # Research ## Research Question [Original user query] ## Summary [High-level documentation of what was found, answering the user's question by describing what exists] ## Detailed Findings ### [Component/Area 1] - Description of what exists ([file.ext:line](link)) - How it connects to other components - Current implementation details (without evaluation) ### [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 Documentation [Current patterns, conventions, and design implementations found in the codebase] ## Historical Context (from research/) [Relevant insights from research/ directory with references] - research/docs/YYYY-MM-DD-topic.md - Information about module X - research/notes/YYYY-MM-DD-meeting.md - Past notes from internal engineering, customer, etc. discussions -... ## Related Research [Links to other research documents in research/] ## Open Questions [Any areas that need further investigation] `
  1. Add GitHub permalinks (if applicable):

- Check if on main branch or if commit is pushed: git branch --show-current and git status - If on main/master or pushed, generate GitHub permalinks: - Get repo info: gh repo view --json owner,name - Create permalinks: https://github.com/{owner}/{repo}/blob/{commit}/{file}#L{line} - Replace local file references with permalinks in the document

  1. 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:

  • Please DO NOT implement anything in this stage, just create the comprehensive research document
  • 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 research/ 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 documentation operations
  • Document cross-component connections and how systems interact
  • Include temporal context (when the research was conducted)
  • Link to GitHub when possible for permanent references
  • Keep the main agent focused on synthesis, not deep file reading
  • Have sub-agents document examples and usage patterns as they exist
  • Explore all of research/ directory, not just research subdirectory
  • CRITICAL: You and all sub-agents are documentarians, not evaluators
  • REMEMBER: Document what IS, not what SHOULD BE
  • NO RECOMMENDATIONS: Only describe the current state of the codebase
  • 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

Final Output

  • A collection of research files with comprehensive research findings, properly formatted and linked, ready for consumption to create detailed specifications or design documents.
  • IMPORTANT: DO NOT generate any other artifacts or files OUTSIDE of the research/ directory.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.89%
按下载量换算337

Claude

29.51%
按下载量换算262

Cursor

18.97%
按下载量换算169

Gemini CLI

9.24%
按下载量换算82

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills