← 返回 Skills 市场
hkysj

GitHub Analyzer

作者 hkysj · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
283
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install hkysj-github-analyzer
功能描述
GitHub 项目分析工具 - 技术栈识别、许可证合规评估、部署方案建议。Analyze GitHub repos for tech stack, license compliance, and deployment options. 用途:商业使用合规检查、技术选型调研、开源依赖尽调。
使用说明 (SKILL.md)

GitHub Analyzer / GitHub 项目分析器

Analyze GitHub repositories and generate comprehensive evaluation reports. 分析 GitHub 仓库,生成完整的评估报告。


Features / 功能特性

Feature Description
📊 Project Overview / 项目概览 Stars, Forks, language, activity, issue status
📜 License Compliance / 许可证合规 Commercial use, modification rights, copyleft requirements
🔧 Tech Stack Detection / 技术栈识别 Node.js / Python / Go / Rust / Docker / etc.
🚀 Deployment Guide / 部署建议 Recommended deployment methods based on project type
📄 Report Export / 报告导出 Auto-generated Markdown report saved locally

Usage / 使用方法

# Analyze a repository / 分析项目
./scripts/analyze_repo.sh owner/repo

# Specify output directory / 指定输出目录
./scripts/analyze_repo.sh owner/repo ~/path/to/reports

Default output directory / 默认输出目录: ~/Desktop/github-reports/


License Compliance Reference / 许可证合规参考

License Commercial Use\x3Cbr/>商业使用 Modification\x3Cbr/>修改权 Copyleft\x3Cbr/>传染性 Risk Level\x3Cbr/>风险等级
MIT ✅ Permitted ✅ Permitted ❌ None 🟢 Low / 低
Apache-2.0 ✅ Permitted ✅ Permitted ❌ None 🟢 Low / 低
BSD-3-Clause ✅ Permitted ✅ Permitted ❌ None 🟢 Low / 低
GPL-3.0 ⚠️ With conditions ✅ Permitted ✅ Strong 🔴 High / 高
AGPL-3.0 ⚠️ With conditions ✅ Permitted ✅ Very Strong 🔴 High / 高
LGPL-3.0 ✅ Permitted (as library) ✅ Permitted ⚠️ Partial 🟡 Medium / 中
MPL-2.0 ✅ Permitted ✅ Permitted ⚠️ File-level 🟡 Medium / 中
No License ❌ Unclear ❌ Unclear - 🔴 High / 高

Note / 说明: "Commercial Use" refers to the right to use the software in proprietary software products. Always consult the full license text and legal advice when in doubt. "Commercial Use" 指在专有软件产品中使用该软件的权利。如有疑问,请查阅完整许可证文本并咨询法律意见。

Full reference / 完整对照表: references/licenses.md


Report Sample / 报告示例

# GitHub Repository Analysis Report

## Project Info / 项目信息
| Field | Value |
|-------|-------|
| Repository | owner/repo |
| Stars | 10,000+ |
| License | MIT |
| Risk Level | 🟢 Low |

## License Compliance / 许可证合规
| Check | Result |
|-------|--------|
| Commercial Use / 商业使用 | ✅ Permitted |
| Modification / 修改 | ✅ Permitted |
| Copyleft / 传染性 | ❌ None |

## Deployment / 部署建议
Docker recommended:
docker-compose up -d

Resources / 资源

scripts/

  • analyze_repo.sh — Main analysis script / 主分析脚本

references/

  • licenses.md — Complete open-source license reference / 完整许可证参考

Author / 作者: hkysj
Version / 版本: 1.0.2
Feedback / 反馈: https://clawhub.com/skills/hkysj-github-analyzer


Respect open-source licenses. Contribute back when possible. 尊重开源许可证,尽可能回馈社区。

安全使用建议
This skill appears to do what it says: it uses curl + jq to call GitHub APIs, inspects repo files, and writes a Markdown report locally. Before installing/running: (1) verify you have curl and jq on PATH; (2) be aware the script makes unauthenticated requests to api.github.com/raw.githubusercontent.com and may hit rate limits—if you plan many queries, run it with a personal GITHUB_TOKEN (the script doesn't currently support one, so you'd need to modify it); (3) confirm you're comfortable the tool will create files under the chosen output directory (default ~/Desktop/github-reports); (4) license analysis is a heuristic, not legal advice—consult legal counsel for decisions; (5) the skill's source/homepage is not provided—if provenance matters, inspect the included script yourself or request more info from the publisher before use.
功能分析
Type: OpenClaw Skill Name: hkysj-github-analyzer Version: 1.0.3 The skill is a legitimate tool for analyzing GitHub repositories, providing insights into tech stacks and license compliance. It uses standard utilities like `curl` and `jq` to interact with the GitHub API and generates local Markdown reports in `~/Desktop/github-reports/`. No evidence of data exfiltration, malicious execution, or unauthorized system modifications was found in `scripts/analyze_repo.sh` or the documentation.
能力评估
Purpose & Capability
Name/description (repo analysis, license/tech-stack/deploy advice) match the provided script and docs. Required binaries (curl, jq) and files (script, license reference) are appropriate. Minor metadata mismatch: SKILL.md lists version 1.0.2 while registry shows 1.0.3 (likely a packaging/versioning oversight).
Instruction Scope
Runtime instructions run the included shell script which: queries GitHub API and raw.githubusercontent.com, inspects repository root file list, reads README, and writes a Markdown report to a local output directory (default ~/Desktop/github-reports). This stays within the stated scope, but note the script makes network calls to GitHub (unauthenticated) and writes files locally.
Install Mechanism
No install spec (instruction-only plus bundled script). No downloads from third-party URLs or archive extraction. Risk is low because only the provided script runs and uses standard tools already declared.
Credentials
The skill declares no required environment variables or credentials, which is consistent with the script (it uses unauthenticated GitHub API calls). Consideration: unauthenticated GitHub API calls are rate-limited; providing a GITHUB_TOKEN would be reasonable for heavy use but is not required by the skill. No sensitive local files or unrelated credentials are accessed.
Persistence & Privilege
always:false and no modifications to agent/system configuration. The script writes only its own report files to the user-specified output directory; it does not alter other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hkysj-github-analyzer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hkysj-github-analyzer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
简化 description 格式,确保中英文都能正常显示
v1.0.2
i18n: 双语支持 (EN/CN) | Professional tone: 专业术语替换口语化表达 | Added: 尊重开源社区提醒
v1.0.1
优化技能文档:更专业的描述、功能亮点表格、许可证快速参考、报告示例
v1.0.0
首次发布:GitHub 项目分析工具,支持许可证合规判断、技术栈检测、报告生成并保存到本地
元数据
Slug hkysj-github-analyzer
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

GitHub Analyzer 是什么?

GitHub 项目分析工具 - 技术栈识别、许可证合规评估、部署方案建议。Analyze GitHub repos for tech stack, license compliance, and deployment options. 用途:商业使用合规检查、技术选型调研、开源依赖尽调。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 283 次。

如何安装 GitHub Analyzer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hkysj-github-analyzer」即可一键安装,无需额外配置。

GitHub Analyzer 是免费的吗?

是的,GitHub Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

GitHub Analyzer 支持哪些平台?

GitHub Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 GitHub Analyzer?

由 hkysj(@hkysj)开发并维护,当前版本 v1.0.3。

💬 留言讨论