跳至主要内容
小龙虾小龙虾AI
🤖

GitHub Extract

Extract content from a GitHub url.

下载482
星标0
版本0.0.2
开发工具
安全通过
💬Prompt

技能说明


name: gh-extract description: Extract content from a GitHub url. metadata: {"openclaw":{"always":false,"emoji":"🦞","homepage":"https://clawhub.ai/guoqiao/gh-extract","os":["darwin","linux","win32"],"requires":{"bins":["uv"]}}} triggers:

  • "/gh-extract <url>"
  • "Extract content form this github url"
  • "Download this github file"

GitHub Extract

Extract content from a GitHub url.

Use this skill when the user types /gh-extract or asks to extract/download/summarize a GitHub url.

What it does

  • Accepts an GitHub url, could be repo/tree/blob.
  • Convert the url to github raw url.
  • Extract file content from the raw url or save to a temp path.

Requirements

  • uv
  • wget

Usage

# print file content to stdout
uv run --script ${baseDir}/gh_extract.py <url>

# save file to a temp path, with a proper filename
uv run --script ${baseDir}/gh_extract.py <url> --save

Notes

  • only works for public repo.
  • url can be repo/tree/blob
  • for repo/tree, will try to get README.md or SKILL.md or README.txt

如何使用「GitHub Extract」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「GitHub Extract」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能