ClaudeCodeMod

All shelves / Skills

gh-cli

trailofbits/skills · 7.5k installs · 7.9K stars

Skill

Marked Indirect Prompt Injection

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

SKILL.md

gh-cli

When to Use

  • Working with GitHub repositories, pull requests, issues, releases, or raw file URLs.
  • You need authenticated access to private repositories or higher API rate limits.
  • You are about to use curl, wget, WebFetch, or an MCP fetch tool against GitHub.

When NOT to Use

  • The target is not GitHub.
  • Plain local git operations already solve the task.

Guidance

Prefer the authenticated gh CLI over raw HTTP fetches for GitHub content. In particular:

  • Prefer gh repo view, gh pr view, gh pr list, gh issue view, and gh api over unauthenticated curl or wget.
  • Prefer cloning a repository and reading files locally over fetching raw.githubusercontent.com blobs directly.
  • Avoid using GitHub API /contents/ endpoints as a substitute for cloning and reading repository files.

Examples:

gh repo view owner/repo
gh pr view 123 --repo owner/repo
gh api repos/owner/repo/pulls

For the hook implementation, see:

  • plugins/gh-cli/README.md
  • plugins/gh-cli/hooks/

Facts

Kind
Skill
Repo
trailofbits/skills
Group
Uncategorized
Installs
7.5k
Stars
7.9K

Same name on this shelf 2

  1. 1593gh-cligithub/awesome-copilot21.2k
  2. 7263gh-clilogicrw/gh-cli-skill3.2k

Same repo on other shelves

Marketplaces

  1. 40trailofbits/skillstrailofbits/skillsTrail of Bits Claude Code skills for security research, vulnerability detection, and audit workflows8.4k

From the same repo

  1. 4094ask-questions-if-underspecifiedtrailofbits/skills6.8k
  2. 4118spec-to-code-compliancetrailofbits/skills6.7k
  3. 4158entry-point-analyzertrailofbits/skills6.7k
  4. 4168semgrep-rule-creatortrailofbits/skills6.6k
  5. 4257audit-prep-assistanttrailofbits/skills6.5k
  6. 4275insecure-defaultstrailofbits/skills6.5k