-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclawhub.json
More file actions
100 lines (100 loc) · 2.99 KB
/
clawhub.json
File metadata and controls
100 lines (100 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "github-reader",
"version": "3.2.3",
"description": "深度解读 GitHub 项目,生成结构化分析报告(纯 GitHub REST API,无第三方依赖)",
"author": "Kris Lu",
"license": "MIT",
"tags": ["github", "analysis", "report", "github-reader", "code-analysis"],
"main": "github_reader_v3_secure.py",
"entry": "run",
"min_version": "2026.3.0",
"repository": "https://github.com/krislu1221/github-reader",
"homepage": "https://clawhub.ai/krislu1221/github-reader",
"skills": {
"category": "开发工具",
"subcategory": "代码分析",
"icon": "📦",
"color": "#4A90D9"
},
"config": {
"env": {
"GITVIEW_CACHE_DIR": {
"description": "缓存目录路径",
"default": "/tmp/gitview_cache",
"required": false
},
"GITVIEW_CACHE_TTL": {
"description": "缓存过期时间(小时)",
"default": "24",
"required": false
},
"GITVIEW_GITHUB_DELAY": {
"description": "GitHub API 调用间隔(秒)",
"default": "1.0",
"required": false
},
"GITVIEW_GITHUB_TIMEOUT": {
"description": "GitHub API 超时(秒)",
"default": "10",
"required": false
}
}
},
"features": [
"自动分析 GitHub 项目(纯 API,无第三方)",
"生成结构化分析报告",
"智能缓存(24 小时)",
"输入验证和安全防护",
"速率限制和超时控制",
"隐私透明 — 数据不经过第三方"
],
"usage": {
"examples": [
"/github-read microsoft/BitNet",
"https://github.com/HKUDS/nanobot",
"分析 HKUDS/nanobot"
],
"triggers": [
"/github-read {owner}/{repo}",
"github.com/{owner}/{repo}",
"分析 {owner}/{repo} / 解读 {owner}/{repo}"
]
},
"security": {
"data_source": "仅 GitHub REST API (api.github.com)",
"third_party_services": "none",
"input_validation": true,
"url_sanitization": true,
"cache_validation": true,
"rate_limiting": true,
"timeout_control": true
},
"data_privacy": {
"data_leaves_device_to": ["api.github.com"],
"local_cache": "/tmp/gitview_cache (configurable)",
"note": "不向任何第三方分析服务发送数据"
},
"changelog": {
"3.2.0": [
"❌ 移除 Zread 集成 — 不再调用 zread.ai",
"❌ 移除 GitView 引用",
"✅ 纯 GitHub REST API — 无第三方依赖",
"✅ 收紧触发词 — 避免误触发",
"✅ 隐私声明 — 数据流向透明",
"✅ SECURITY.md — 声明与代码一一对应",
"🔧 修复 ClawHub 安全审计 16 个问题"
],
"3.1.0": [
"🌐 国际化:完整中英双语支持",
"🔧 平台通用化",
"🔒 安全加固"
],
"3.0.0": [
"🔒 安全加固:输入验证、SSRF 防护、缓存防投毒、路径防遍历",
"⚡ 性能优化:并发限制、速率限制、超时控制"
],
"1.0.0": [
"🎉 初始版本发布"
]
}
}