Skip to content
Back to skills

Read Github Files

ASecurity

Use when reading GitHub commits, releases, or raw repo file/directory content via the API. Also covers creating a release, since releases have no dedicated manage skill of their own.

  • 6 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 27, 2026
ai-agentsbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add xrhstosmour/macsify --skill read-github-files --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Read Github Files?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Read Github Files
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xrhstosmour-read-github-files/badge)](https://www.skillsdirectory.com/skills/xrhstosmour-read-github-files)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: read-github-files
description: Use when reading GitHub commits, releases, or raw repo file/directory content via the API. Also covers creating a release, since releases have no dedicated manage skill of their own.
---

# Read GitHub Files

## When to use

- User asks to view a commit, a release, or raw file/directory content from a GitHub repo.
- User asks to create a release.
- About to `WebFetch` a `github.com` URL for a commit, release, or file, use `gh api` instead.

```bash
# Commits.
gh api repos/<owner>/<repo>/commits/<sha>

# Releases.
gh release create <tag> --title "<title>" --notes "<notes>"
gh release view <tag>
gh release download <tag>

# Raw content, files and directories.
gh api repos/<owner>/<repo>/contents/<path> --raw
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.