Skip to content
Back to skills

Github Curl

ASecurity

Use when making GitHub API calls and the mcp__github__gh tool is not in the tool list (a session where mods do not load: claude -p, an older Claude Code). Runs the same Python standard-library engine from Bash: pull requests, review threads, comments, reviews, metadata, issues and image attachments. WHEN: a GitHub API call is needed and mcp__github__gh is unavailable. WHEN NOT: mcp__github__gh is available (use it), or a non-GitHub API.

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 12, 2026
ai-agentspythonshellbashgitapi

Works with

  • claude code
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill github-curl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Github Curl?

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

Security grade badge for Github Curl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-github-curl/badge)](https://www.skillsdirectory.com/skills/majiayu000-github-curl)

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: github-curl
description: |
  Use when making GitHub API calls and the mcp__github__gh tool is not in the
  tool list (a session where mods do not load: claude -p, an older Claude Code).
  Runs the same Python standard-library engine from Bash: pull requests, review
  threads, comments, reviews, metadata, issues and image attachments.
  WHEN: a GitHub API call is needed and mcp__github__gh is unavailable.
  WHEN NOT: mcp__github__gh is available (use it), or a non-GitHub API.
---

# github-curl

When the `mcp__github__gh` tool is listed, use it instead: it takes the same
subcommands as JSON and needs no shell quoting.

Otherwise, run the engine from Bash. Check the prerequisites first and stop on a
non-zero exit:

```bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/preflight.sh"
```

Then:

```bash
GH="${CLAUDE_PLUGIN_ROOT}/engine/gh.py"

PR=$(python3 "$GH" pr-get --format pr-number)
python3 "$GH" pr-threads "$PR" --format thread-summary
```

Every subcommand, formatter and exit code is listed in
`${CLAUDE_PLUGIN_ROOT}/engine/REFERENCE.md`. Its tables give the CLI arguments
(`<pr>`, `--body-file P`); its "Calling" section describes the tool's JSON form,
which this route does not use.

Text bodies always travel by file: write the body to a file and pass
`--body-file`, never the text as an argument. Before writing a commit message,
a pull request title, a pull request description or a review comment, read its
rules in `${CLAUDE_PLUGIN_ROOT}/engine/writing/`.

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.