Token导航 LogoToken导航

Agent Skill · 研究检索

repo-analysis(回购分析)

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

repo-analysis 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 22,249。

总安装 4,609周安装 194GitHub Stars 公开资料未说明下载 1,614核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.4.0

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:repo-analysis(回购分析)
来源仓库:https://github.com/9penny/repo-analysis
安装命令:
openclaw skills install repo-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install repo-analysis

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

回购分析用于工程化阅读与评估 GitHub 项目代码结构。支持仓库解释、技术栈梳理与依赖关系分析。通过 clawhub 安装后,提供仓库 URL 即可启动分析流程。需确认代码可读性与许可证兼容性。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

repo-analysis 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install repo-analysis;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

repo-analysis 怎么安装?

在终端执行 openclaw skills install repo-analysis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

repo-analysis 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

repo-analysis 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

repo-analysis 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

repo-analysis 用的人多吗?

公开数据是累计安装 4,609 次,近一周安装 194 次,下载 1,614 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

repo-analysis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
repo-analysis

回购分析 · 本页

4,609—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
repo-analysis
description
Read, explain, and evaluate a software repository or GitHub project in an engineering-oriented way. Use when the user asks to read a repo, understand a codebase, analyze architecture, evaluate whether a project is worth following or adopting, prepare onboarding notes, or summarize stack, module boundaries, risks, and entry points. Supports three output modes: 速读版, 架构版, and 接手评审版. Also supports a lightweight GitHub health layer for public repositories when the user asks whether a project is worth following, adopting, or referencing. Triggers include requests like 读一下这个项目, 看看这个 GitHub 仓库, 分析一下 repo, 这个项目怎么样, 帮我快速理解代码结构, 给我一个架构分析, or 给我一个接手评审.

Repo Analysis

Overview

Use this skill to turn an unfamiliar repository into a concrete engineering assessment. The goal is not to restate the README, but to identify what the project is, how it is structured, how it runs, where the main boundaries are, and what risks or follow-up questions matter.

Default mindset:

  • engineering-first
  • evidence-first
  • broad scan before deep reading
  • explicit separation of fact, inference, and unknowns

Output modes

Choose one mode as early as possible. If the user does not specify, choose the lightest mode that still answers the request. Prefer explicit user choice over automatic detection.

Mode 1: 速读版

Use when the user wants a fast understanding. Typical asks:

  • "读一下这个项目"
  • "帮我看看这个 repo 是干嘛的"
  • "快速理解一下这个仓库"

Goal:

  • tell the user what the project is
  • identify stack and repo shape
  • map the top-level modules
  • summarize major strengths and risks
  • recommend what to read next

Depth:

  • broad scan
  • minimum high-signal files
  • one or two entry points at most

Expected output size:

  • short to medium

Mode 2: 架构版

Use when the user wants system structure, runtime flow, or design analysis. Typical asks:

  • "给我一个架构分析"
  • "这个项目主链路是什么"
  • "帮我拆一下模块边界"
  • "分析它怎么运行的"

Goal:

  • explain the system shape
  • map module boundaries and ownership
  • trace one or two critical execution paths
  • identify important abstractions and complexity hotspots

Depth:

  • targeted deep reading of core services and entry points
  • may include backend, frontend, plugin, runtime, queue, or deployment chain

Expected output size:

  • medium to long

Mode 3: 接手评审版

Use when the user wants adoption, maintenance, or takeover judgment. Typical asks:

  • "这个项目值不值得接手"
  • "给我一个接手评审"
  • "我们要不要基于它二开"
  • "从工程上看风险大不大"

Goal:

  • judge maturity, maintainability, and operational complexity
  • identify high-risk modules and safer entry points
  • estimate onboarding/takeover cost
  • suggest a pragmatic reading and change strategy

Depth:

  • architecture + repo health + risk evaluation
  • optional GitHub enhancement when public metadata matters

Expected output size:

  • medium to long

Automatic mode selection

When the user does not explicitly choose a mode, infer it from intent.

Default to 速读版

Use 速读版 when the user says things like:

  • "读一下这个项目"
  • "看看这个 repo"
  • "这个项目怎么样"
  • "快速理解一下"
  • "帮我看看它是做什么的"

Behavior:

  • give a concise engineering summary
  • if it is a public GitHub repo, optionally add a light GitHub health layer
  • do not expand into deep architecture unless needed
  • by default, follow only one main execution path; avoid second-layer architecture decomposition unless the user asks

Default to 架构版

Use 架构版 when the user says things like:

  • "给我一个架构分析"
  • "主链路是什么"
  • "模块边界怎么划分"
  • "怎么运行的"
  • "message flow / runtime / workflow 怎么走"

Behavior:

  • trace entry points and critical flows
  • prioritize runtime, message, deployment, or plugin boundaries when relevant
  • answer primarily "系统怎么工作"
  • do not spend too much space on adoption judgment unless asked

Default to 接手评审版

Use 接手评审版 when the user says things like:

  • "值不值得接手"
  • "适不适合二开"
  • "风险大不大"
  • "给我一个接手评审"
  • "我们要不要基于它做"

Behavior:

  • prioritize maintainability, maturity, complexity, and safe entry points
  • explicitly identify high-risk modules
  • answer primarily "我们敢不敢接、该怎么接、代价是什么"
  • suggest an onboarding and modification strategy

Explicit override wins

If the user explicitly asks for:

  • "速读版"
  • "架构版"
  • "接手评审版"

Then use that mode directly, even if other phrasing suggests something else.

Mixed requests

If the user mixes intents, choose a primary mode and keep the rest lightweight.

Example:

  • "先快速看一下,再说值不值得接手"

- primary mode: 速读版 - secondary: add a short takeover judgment

If both parts are clearly important, say which mode you are using first and note what is being kept brief.

Default workflow

Follow this order unless the user asks for a narrower slice.

  1. Clarify the analysis target
  2. Choose output mode
  3. Scan repository shape and stack
  4. Read the minimum set of high-signal files
  5. Map architecture and runtime flow as needed
  6. Judge health, risks, and adoption cost as needed
  7. Output a structured engineering summary

Keep the investigation evidence-based. Prefer direct repo evidence over guesswork. Use a simple evidence ladder when reporting:

  • 已确认: direct observation from files, manifests, docs, tests, or official metadata
  • 推测: a reasonable inference from the available evidence
  • 待验证: plausible but not yet confirmed

1. Clarify the analysis target

First determine which of these the user actually wants:

  • Quick understanding: what the project does, stack, rough structure
  • Architecture reading: modules, runtime flow, key abstractions
  • Adoption / takeover review: maintainability, risk, maturity, onboarding cost
  • Implementation entry points: where to start reading or modifying code
  • GitHub project review: combine repo structure with community / activity signals

Also determine the target scope as early as possible:

  • whole repository / monorepo
  • subproject / service / package
  • single module / directory

Call out the scope explicitly in the answer when it materially affects depth. Examples:

  • "当前目标是整仓,我先按速读版给整体判断。"
  • "当前目标是前端子项目,所以这次聚焦 portal 本身。"

If the request is broad and you can proceed safely, default to:

  • project positioning
  • tech stack
  • module structure
  • main execution path
  • strengths
  • risks
  • recommended reading order

2. Scan repository shape and stack

Start broad, then narrow.

Collect these first:

  • root directory tree
  • key docs: README*, CONTRIBUTING*, ARCHITECTURE*, CLAUDE.md, AGENTS.md
  • stack manifests: package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, docker-compose*, Dockerfile*
  • main app directories: src/, app/, server/, backend/, frontend/, cmd/, crates/, packages/

Questions to answer early:

  • Single app or monorepo?
  • Product app, library, platform, or infra project?
  • Primary languages and frameworks?
  • Local run path and deployment path?
  • Evidence of production readiness: tests, migrations, CI, observability, auth, docs?

3. Read the minimum high-signal files

Do not read everything. Read the smallest set that explains the system.

Priority order:

  1. Root README*
  2. Service/module README files
  3. Stack manifests (package.json, pyproject.toml, etc.)
  4. Main entry points (main.*, index.*, router/bootstrap files)
  5. Architecture or deployment docs
  6. A few core service files that reveal control flow

Use these patterns to find entry points:

  • Backend: main.py, app/main.py, server.ts, cmd/*/main.go
  • Frontend: src/main.ts, src/App.*, router/store setup
  • Infra/runtime: docker-compose.yml, Helm, deployment scripts, CI workflows
  • Plugin/adapter systems: registries, factories, adapters, interfaces, hooks

4. Map architecture and runtime flow

Build an internal map of the project using these lenses.

A. Product boundary

  • What problem does the project solve?
  • Who uses it?
  • Is it a framework, a business app, an internal platform, or a runtime layer?

B. Module boundary

Identify the major modules and what each owns.

Good output shape:

  • portal/ → user UI
  • backend/ → API and orchestration
  • proxy/ → LLM/provider relay
  • plugin/ → integration with external runtime

C. Execution path

Trace one or two important paths end to end. Examples:

  • request → router → service → model → DB
  • browser action → frontend API client → backend route → runtime adapter
  • incoming message → transport → queue/bus → worker → response channel

D. Data and control points

Look for:

  • auth / identity
  • persistence layer
  • messaging / event bus / queue
  • deployment / compute abstraction
  • configuration / feature flags
  • plugin / extension loading

E. Operating complexity

Check whether the project includes:

  • multi-service coordination
  • async jobs / event streaming
  • multi-tenant or RBAC logic
  • runtime abstraction layers
  • dual CE/EE branches
  • security hooks / policy engines

These areas usually dominate maintenance cost.

5. Judge health, risks, and adoption cost

Evaluate with engineering judgment, not marketing language.

Health signals

Look for:

  • clear docs
  • coherent directory structure
  • explicit configuration examples
  • migrations / schema management
  • tests or at least test scaffolding
  • CI/CD or deploy scripts
  • issue / PR hygiene when GitHub metadata is available

Risk signals

Look for:

  • architecture more ambitious than implementation depth
  • many abstraction layers with unclear payoff
  • naming inconsistency
  • weak tests around critical flows
  • implicit runtime assumptions
  • hand-rolled infra/security with little validation
  • monorepo sprawl without clear boundaries

Adoption / takeover cost

Comment on:

  • how long a new engineer would need to become effective
  • which modules are safest to modify first
  • which modules are high-risk to touch
  • where observability/debugging will likely be painful

Optional GitHub enhancement

When the target is a public GitHub repository and the user wants evaluation, not just code reading, optionally add a lightweight GitHub health layer.

Use it when the user asks things like:

  • "这个项目怎么样"
  • "值不值得跟"
  • "适不适合采用"
  • "值不值得参考 / 二开"

Keep it lightweight. Only add the signals that materially help engineering judgment:

  • project health signals: stars, forks, license, commit recency, release rhythm
  • maintenance signals: whether issue / PR activity is still moving, and whether maintainers appear engaged
  • documentation signals: whether README / docs / CONTRIBUTING are present and useful

Do not turn the answer into a market report or community roundup by default. Treat this as an enhancement layer. Do not let external hype replace code-level judgment.

6. Mode-specific output templates

Use the template that matches the chosen mode.

A. 速读版

Use this when speed matters more than depth.

问题判断
  • 这是什么类型的项目
  • 大概处于什么成熟度阶段
原因分析
  • 从目录、README、依赖清单、入口文件里看到的直接证据
快速结论
  • 项目定位
  • 技术栈
  • 顶层模块
  • 一个主链路简述
  • 亮点
  • 风险

如果目标是公共 GitHub 仓库,且用户明显在问“值不值得看 / 跟 / 用”,可额外补一个短块:

  • GitHub 健康度补充

控制规则:

  • 速读版默认只展开一条主链路
  • 如果目标是整仓,只给第一层模块地图,不展开每个子系统内部细节
  • GitHub 健康度补充保持简短,不能盖过代码本身
阅读建议
  • 接下来最值得看的 3–5 个文件或模块
验证方式
  • 已确认:
  • 推测:
  • 待验证:

B. 架构版

Use this when structure and flow matter most.

问题判断
  • 系统是单体、平台、插件体系还是多运行时架构
  • 复杂度主要集中在哪些层
原因分析
  • 入口文件、核心服务、路由、运行时/消息/部署层的证据
架构拆解
  • 产品边界
  • 模块边界
  • 关键抽象
  • 核心链路 1
  • 核心链路 2(如果有)
  • 复杂度热点
结论
  • 架构优点
  • 架构风险
  • 最需要继续验证的设计点
阅读建议
  • 继续深读顺序
  • 哪些文件是架构关键节点
验证方式
  • 已确认:
  • 推测:
  • 待验证:

C. 接手评审版

Use this when the user wants engineering judgment for takeover or adoption.

问题判断
  • 这项目适不适合接手/二开/参考
  • 当前工程成熟度大致在哪一档
原因分析
  • 文档质量
  • 模块边界
  • 测试与部署信号
  • 关键复杂度来源
  • 命名/历史包袱/多服务协同成本
接手评审结论
  • 项目定位
  • 技术栈与部署形态
  • 高风险模块
  • 相对安全的切入点
  • 接手成本
  • 二开建议
  • 不建议贸然改动的区域

如果目标是公共 GitHub 仓库,且用户明显在问是否采用,可额外补一个短块:

  • GitHub 健康度补充
建议方案
  • 新人第一阶段阅读顺序
  • 第一刀适合从哪里切
  • 如果要上线/落地,先补哪些验证
验证方式
  • 已确认:
  • 推测:
  • 待验证:

Output quality rules

Always:

  • Separate fact from inference
  • Cite concrete file paths when making non-obvious claims
  • Prefer "this suggests" over overclaiming when evidence is partial
  • Call out uncertainty clearly
  • Optimize for helping an engineer take over the project faster
  • Prefer official repo evidence over third-party commentary
  • Use external GitHub/community signals only as supporting context
  • Match output depth to the chosen mode
  • Keep GitHub health signals lightweight and subordinate to repo evidence

Never:

  • Just paraphrase README marketing copy
  • Pretend you verified runtime behavior if you only read files
  • Expand into irrelevant refactoring advice
  • Judge quality only by stars or hype
  • Let community sentiment override direct code evidence
  • Use long-form architecture output when the user only asked for a quick read

Suggested investigation checklist

Use this as a lightweight checklist, not a rigid form.

  • [ ] Repo type identified
  • [ ] Output mode chosen
  • [ ] Primary stack identified
  • [ ] Main entry points found
  • [ ] Core modules mapped
  • [ ] Run/deploy path identified
  • [ ] Main data/control flow sketched when needed
  • [ ] High-risk modules identified when needed
  • [ ] Suggested reading order prepared
  • [ ] Clear boundary between facts and inferences

Reference files

Read these only when needed:

  • references/output-template.md — reusable report templates for all modes
  • references/signals.md — what to look for when judging maturity, risk, and takeover cost
  • references/github-health.md — when to add a lightweight GitHub health layer and how to keep it brief
  • references/adapted-notes.md — distilled methods borrowed from surveyed external skills

平台分布

OpenClaw

79.19%
按下载量换算1,278

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills