Development v1.0.0

github-fetcher

Use this skill when the user mentions a GitHub URL or asks to analyze, review, explore, or understand any GitHub...

shiscofield12 更新于 2026-04-12 1 浏览
下载 SKILL

技能说明

Use this skill when the user mentions a GitHub URL or asks to analyze, review, explore, or understand any GitHub project, repository, or codebase. Triggers on phrases like "分析这个项目", "看看这个仓库", "analyze this repo", "what does this project do", or any github.com URL in the message.

使用场景

When given a GitHub URL or repo name, ALWAYS use curl to fetch real content first. Never guess or infer — fetch then analyze.

查看英文原始说明

Use this skill when the user mentions a GitHub URL or asks to analyze, review, explore, or understand any GitHub project, repository, or codebase. Triggers on phrases like "分析这个项目", "看看这个仓库", "analyze this repo", "what does this project do", or any github.com URL in the message.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/github-fetcher
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 18 kB
SKILL.md text/markdown
---
name: github-fetcher
description: Use this skill when the user mentions a GitHub URL or asks to analyze, review, explore, or understand any GitHub project, repository, or codebase. Triggers on phrases like "分析这个项目", "看看这个仓库", "analyze this repo", "what does this project do", or any github.com URL in the message.
metadata: {"clawdbot":{"emoji":"🐙","requires":{"bins":["curl"]}}}
---
# GitHub Repository Fetcher

When given a GitHub URL or repo name, ALWAYS use curl to fetch real content first. Never guess or infer — fetch then analyze.

## Standard analysis workflow
```bash
# 1. List root directory
curl -s "https://api.github.com/repos/OWNER/REPO/contents/"

# 2. Get README
curl -s "https://raw.githubusercontent.com/OWNER/REPO/main/README.md"

# 3. Explore key subdirectories based on findings
curl -s "https://api.github.com/repos/OWNER/REPO/contents/src"
```

## Get specific file
```bash
curl -s "https://raw.githubusercontent.com/OWNER/REPO/main/PATH/TO/FILE"
```

## Extract OWNER/REPO from URLs
- https://github.com/ultraworkers/claw-code → OWNER=ultraworkers REPO=claw-code
- github.com/foo/bar → OWNER=foo REPO=bar

## Tips
- Try `master` if `main` returns 404
- Use `?ref=BRANCH` for other branches
- GitHub API rate limit: 60 req/hour unauthenticated
- After fetching, always provide analysis based on actual content

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。