# Github

> Interact with GitHub repositories using the GitHub API Use when this capability is needed.

- Skill: `tomevault-io/github-42` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/github-42`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/github-42/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/github-42

---


# GitHub Skill

Interact with GitHub repositories using the GitHub API. No authentication required for public repositories (60 requests/hour), but you can add a token in config for higher limits (5000 requests/hour).

## Available Tools

You have access to the following GitHub tools:

### Search Repositories
```javascript
github_search_repos({
  query: "language:javascript stars:>1000",
  sort: "stars",  // optional: "stars", "forks", "updated"
  limit: 10       // optional: max 30
})
```

### Get Repository Information
```javascript
github_get_repo({
  owner: "HKUDS",
  repo: "nanobot"
})
```

### List Issues
```javascript
github_list_issues({
  owner: "HKUDS",
  repo: "nanobot",
  state: "open",  // optional: "open", "closed", "all"
  limit: 10       // optional: max 30
})
```

### Get File Contents
```javascript
github_get_file({
  owner: "HKUDS",
  repo: "nanobot",
  path: "README.md",
  branch: "main"  // optional
})
```

## Examples

**Find popular JavaScript projects:**
```javascript
github_search_repos({
  query: "language:javascript stars:>5000",
  sort: "stars",
  limit: 5
})
```

**Check repository details:**
```javascript
github_get_repo({
  owner: "facebook",
  repo: "react"
})
```

**Read a specific file:**
```javascript
github_get_file({
  owner: "HKUDS",
  repo: "nanobot",
  path: "nanobot/agent/loop.py"
})
```

## Configuration

To increase rate limits, add a GitHub token to `~/.chatdock/settings.json`:

```json
{
  "github": {
    "token": "ghp_your_token_here"
  }
}
```

Get a token at: https://github.com/settings/tokens

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/abhaymundhara) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

