Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

analyze-open-source分析开源

Agent Skill

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

总安装

5,574

周安装

237

GitHub Stars

公开资料未说明

下载量

1,953
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install analyze-open-source

简介

analyze-open-source 解析开源项目的代码逻辑、API 设计与算法实现细节。

  • 适用于学习新技术栈、贡献代码前理解项目结构或排查第三方依赖问题。
  • 通过 clawhub 安装后,可快速生成项目分析报告供团队参考。
  • 应尊重项目许可证要求,不得用于非法复制或商业滥用。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
analyze-open-source
description
Analyze and explain open-source project code logic, architecture, data flows, APIs, and algorithms. Use when the user asks to analyze a project, understand codebase structure, explain code logic, or requests a technical walkthrough of an open-source repository.

Analyze Open-Source Project

Systematically analyze an open-source project's codebase to help the user quickly understand its architecture, core logic, data flows, key APIs, and algorithm implementations.

All analysis output MUST be in Chinese (zh-CN).

Execution Workflow

Follow these steps strictly in order. Use parallel subagents (Task tool with subagent_type="explore") where noted.

Phase 1: Context Gathering

Read these files first (use parallel reads):

  1. README.md (or README.rst, README.txt) — project purpose, features, quick start
  2. Primary config/dependency file — detect tech stack:

- Node.js: package.json - Python: pyproject.toml > setup.py > requirements.txt - Go: go.mod - Java/Kotlin: pom.xml or build.gradle - Rust: Cargo.toml - C/C++: CMakeLists.txt or Makefile - .NET: *.csproj or *.sln

  1. CI/Docker files if present (Dockerfile, .github/workflows/) — reveals build & deploy info

Summarize: project name, purpose, tech stack, major dependencies, and build/run commands.

Phase 2: Directory Structure Scan

Run a directory listing (depth 2) to map out the project layout.

Classify each top-level directory into one of:

  • core: main business logic
  • api: HTTP/gRPC/CLI interface layer
  • model/entity: data models or domain objects
  • config: configuration and environment
  • util/common: shared utilities
  • test: test suites
  • docs: documentation
  • scripts/tools: build or deployment scripts
  • other: anything else

Phase 3: Entry Point Identification

Search for program entry points based on the detected tech stack:

Tech StackTypical Entry Points
Node.jspackage.json "main"/"scripts.start", index.js, src/index.ts, app.js
Python__main__.py, main.py, app.py, manage.py, cli.py
Gomain.go, cmd/*/main.go
Javaclasses with public static void main, @SpringBootApplication
Rustsrc/main.rs, src/lib.rs
C/C++main.c, main.cpp
Web Frontendsrc/index.tsx, src/main.ts, src/App.vue

Read the entry point file(s) and trace the initialization/bootstrap sequence.

Phase 4: Deep Analysis

Perform all four dimensions of analysis. Use parallel explore subagents for independent dimensions.

4a. Architecture & Module Dependencies

  • Identify the architectural pattern (MVC, Clean Architecture, Hexagonal, Microservices, Monolith, etc.)
  • Map module dependencies — which modules import/call which
  • Produce a Mermaid graph showing module relationships

4b. Core Business Flow & Data Flow

  • Trace the primary user-facing workflow(s) end-to-end
  • Identify how data enters, transforms, persists, and exits the system
  • Produce a Mermaid flowchart or sequence diagram for the most important flow

4c. Key API Interfaces & Call Chains

  • List public API endpoints or exported interfaces
  • For the top 3-5 most important APIs, trace the call chain from handler to data layer
  • Note middleware, interceptors, or decorators in the chain

4d. Algorithm & Function Implementation

  • Identify non-trivial algorithms or complex business logic
  • Extract the key code snippets (keep concise, max ~30 lines each)
  • Annotate each snippet explaining the logic step by step

Output Format

Use the template defined in template.md to structure the final report.

Key formatting rules:

  • Use Markdown headings (##, ###) for clear hierarchy
  • Include at least 2 Mermaid diagrams (architecture graph + primary flow)
  • Code snippets use CODE REFERENCE format (startLine:endLine:filepath) when citing existing code
  • Keep the entire report readable in under 15 minutes

Guidelines

  • Depth over breadth: It is better to deeply explain 3 critical modules than to shallowly list 20.
  • Follow the data: When in doubt about what to analyze next, follow the data flow.
  • Cite code: Always reference specific files and line numbers — never make vague claims.
  • Be opinionated: State clearly what the architectural strengths and weaknesses are.
  • Progressive disclosure: Start with executive summary; put detailed analysis in later sections. The user should get 80% of the value from the first 20% of the report.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

91.94%
按下载量换算1,796

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills