Install
openclaw skills install repo-analysisRead, 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 给我一个接手评审.
openclaw skills install repo-analysisUse 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:
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.
Use when the user wants a fast understanding. Typical asks:
Goal:
Depth:
Expected output size:
Use when the user wants system structure, runtime flow, or design analysis. Typical asks:
Goal:
Depth:
Expected output size:
Use when the user wants adoption, maintenance, or takeover judgment. Typical asks:
Goal:
Depth:
Expected output size:
When the user does not explicitly choose a mode, infer it from intent.
Use 速读版 when the user says things like:
Behavior:
Use 架构版 when the user says things like:
Behavior:
Use 接手评审版 when the user says things like:
Behavior:
If the user explicitly asks for:
Then use that mode directly, even if other phrasing suggests something else.
If the user mixes intents, choose a primary mode and keep the rest lightweight.
Example:
If both parts are clearly important, say which mode you are using first and note what is being kept brief.
Follow this order unless the user asks for a narrower slice.
Keep the investigation evidence-based. Prefer direct repo evidence over guesswork. Use a simple evidence ladder when reporting:
First determine which of these the user actually wants:
Also determine the target scope as early as possible:
Call out the scope explicitly in the answer when it materially affects depth. Examples:
If the request is broad and you can proceed safely, default to:
Start broad, then narrow.
Collect these first:
README*, CONTRIBUTING*, ARCHITECTURE*, CLAUDE.md, AGENTS.mdpackage.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, docker-compose*, Dockerfile*src/, app/, server/, backend/, frontend/, cmd/, crates/, packages/Questions to answer early:
Do not read everything. Read the smallest set that explains the system.
Priority order:
README*package.json, pyproject.toml, etc.)main.*, index.*, router/bootstrap files)Use these patterns to find entry points:
main.py, app/main.py, server.ts, cmd/*/main.gosrc/main.ts, src/App.*, router/store setupdocker-compose.yml, Helm, deployment scripts, CI workflowsBuild an internal map of the project using these lenses.
Identify the major modules and what each owns.
Good output shape:
portal/ → user UIbackend/ → API and orchestrationproxy/ → LLM/provider relayplugin/ → integration with external runtimeTrace one or two important paths end to end. Examples:
Look for:
Check whether the project includes:
These areas usually dominate maintenance cost.
Evaluate with engineering judgment, not marketing language.
Look for:
Look for:
Comment on:
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:
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.
Use the template that matches the chosen mode.
Use this when speed matters more than depth.
如果目标是公共 GitHub 仓库,且用户明显在问“值不值得看 / 跟 / 用”,可额外补一个短块:
控制规则:
Use this when structure and flow matter most.
Use this when the user wants engineering judgment for takeover or adoption.
如果目标是公共 GitHub 仓库,且用户明显在问是否采用,可额外补一个短块:
Always:
Never:
Use this as a lightweight checklist, not a rigid form.
Read these only when needed:
references/output-template.md — reusable report templates for all modesreferences/signals.md — what to look for when judging maturity, risk, and takeover costreferences/github-health.md — when to add a lightweight GitHub health layer and how to keep it briefreferences/adapted-notes.md — distilled methods borrowed from surveyed external skills