Agent skill
github-operations
Use when Codex must inspect or update GitHub resources (issues, PRs, workflows) through the official remote GitHub MCP server.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/github-operations
SKILL.md
GitHub Operations
Purpose
Provide actionable steps for reviewing pull requests, triaging issues, syncing branches, and triggering GitHub workflows using the GitHub-hosted MCP server defined in servers/github.
Setup Checklist
- Ensure
mcp.jsonincludes thegithubentry pointing to${GITHUB_MCP_ENDPOINT}with the${GITHUB_MCP_TOKEN}Authorization header. - Confirm scopes on
${GITHUB_MCP_TOKEN}coverrepo,workflow, andread:org. - Keep repository context synchronized locally so file diffs referenced by the server make sense inside this workspace.
Core Workflow
- Plan – summarize the GitHub objective (e.g., “merge PR #42 after lint passes”) and list the API actions needed (
pullRequest.get,reviews.create, etc.). - Execute – call the MCP tools exposed by the server (issue search, PR diff, workflow dispatch). Prefer batched queries to avoid rate limits.
- Validate – re-fetch the entity to confirm the state transition (PR merged, labels applied, workflow run queued).
- Document – record actions inside the user message or repository docs when follow-up by humans is required.
Operational Notes
- Rate limits from GitHub are enforced at the server; when a call is throttled, wait 5 seconds and retry once.
- Use read-only queries when gathering context for other skills (e.g., fetching PR details before a filesystem refactor) to minimize write noise.
- Treat
${GITHUB_MCP_TOKEN}as a production credential—store it in.env.localand do not log it.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?