permissioned-github

permissioned-github is a skill for Claude Code, Codex from 2428424081cn/Skill-mcp. It costs 29 tokens per session (1,410 once invoked), scanned A, original, MIT.

Guidelines for using GitHub, a service for hosting code and collaborating on changes, from a restricted agent environment. They define how to use the GitHub command-line tool and request permission when needed.

In plain words
What is it for?
Use it when reading or managing repositories and pull requests, searching pull requests, creating or updating GitHub items, or pushing branches with the approved commands.
Why use it?
It prevents GitHub actions from failing silently or being performed without the required access, while keeping repository and organization targets explicit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when reading or managing repositories and pull requests, searching pull requests, creating or updating GitHub items, or pushing branches with the approved commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2428424081cn/skill-mcp/permissioned-github
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 2428424081cn/Skill-mcp --skill permissioned-github
Clone the repo
git clone --depth 1 https://github.com/2428424081cn/Skill-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for permissioned-github

README.md
[![agentmods](https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/permissioned-github.svg)](https://agentmods.dev/skills/2428424081cn/skill-mcp/permissioned-github)
Your own site
<a href="https://agentmods.dev/skills/2428424081cn/skill-mcp/permissioned-github"><img src="https://agentmods.dev/badge/skills/2428424081cn/skill-mcp/permissioned-github.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,410 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01410
Opus 5 $0.00015 $0.00705
Sonnet 5 $0.00006 $0.00282
Haiku 4.5 $0.00003 $0.00141

Measured 6d ago against content hash 25b1849d73ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

permissioned-github scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

* Do not use other commmands like curl.
skills/agent/permissioned-github/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Skill

This skill describes how to interact with GitHub and request the permissions to perform actions that are not authorized by default in the agent environment. This skill is authoritative for the usage of the gh CLI and git command.

By default, the agent is restricted to performing only a subset of actions on GitHub.

How to Interact with GitHub

To perform actions on GitHub:

  • Use the gh CLI. Always set the -R ORG/REPO argument.
  • Do not use other commmands like curl.
  • Do not write scripts to interact with the GitHub API servers directly.

To perform branch operations (e.g., push):

  • Use the git command.

Asking for Permissions

Permission Format

The permission format is as follows:

<command-binary>.<action>(<resource_json>)

resource_json has the following fields:

  • org: Mandatory GitHub organization. Use '*' to indicate all organizations.
  • repo: Mandatory GitHub repository. Use '*' to indicate all repositories.
  • pr: Optional pull request number. Use '*' to indicate all pull requests. Supported actions:
    • read: to view PR details, and to run gh search prs.
    • create
    • update: to comment, review, edit, close, reopen, etc.
    • approve
    • merge
  • issue: Optional issue number. Use '*' to indicate all issues. Supported actions:
    • read
    • create
    • update: to comment, review, edit, close, reopen, etc.
  • branch: Mandatory branch name. Use '*' to indicate all branches. Supported actions:
    • read: to clone, pull, fetch, checkout, and to run gh search commits. Always set branch to * for read.
    • create: to push a new branch.
    • update: to push to an existing remote branch (including force-push).
    • delete: to delete a remote branch.

Other operations are not supported and the corresponding permission will not be granted. If you need support, stop immediately and tell the user you cannot proceed and why.

Examples

Example 1: Creating an Issue

Read the full file on GitHub · 151 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 151 lines · 29 tokens per session scan A 25b1849d73ab

Subscribe to this mod's changes

permissioned-github is a skill published in the GitHub repository 2428424081cn/Skill-mcp (1 stars, last pushed 13d ago), licensed MIT. It adds 29 tokens to every session and 1,410 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

codex-autoresearch

Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…

leo-lilinxiao/codex-autoresearch · 80 tokens

changelog-composer

Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".

Mathews-Tom/armory · 67 tokens