permissioned-github
Guidelines for interacting with GitHub and request permissions from the user when commands fail due to restrictions in the agent environment.
Skill by 2428424081cn
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/2428424081cn-permissioned-github
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/permissioned-github
What's inside
- Skill name
permissioned-github- Description
- Guidelines for interacting with GitHub and request permissions from the user when commands fail due to restrictions in the agent environment.
- License
- MIT
- Instructions
- 147 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- skill.json
SKILL.md (first lines)
# 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:
```shell
<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
Command: `gh issue create --title "Bug report" --body "Description" -R myorg/myrepo`
Permission: `gh.create({"org": "myorg", "repo": "myrepo", "issue": "*"})`
*Note: keep the permission lean and don't populate empty fields*
### Example 2: Commenting on a PR
Command: `gh pr comment 123 --body "Looks good" -R myorg/myrepo`
Permission: `gh.update({"org": "myorg", "repo": "myrepo", "pr": "123"})`
*Note: keep the permission lean and don't populate empty fields*
### Example 3: Closing an Issue
Command: `gh issue close 123 --comment "closing issue" -R myorg/myrepo`
Permission: `gh.update({"org": "myorg", "repo": "myrepo", "issue": "123"})`
*Note: keep the permission lean and don't populate empty fields*
### Example 4: Approving a PR
Command: `gh pr review 123 --approve --body "Looks good" -R myorg/myrepo`
Permission: `gh.approve({"org": "myorg", "repo": "myrepo", "pr": "123"})`
*Note: keep the permission lean and don't populate empty fields*
### Example 5: Pushing to an Existing Branch
Command: `git push origin feature/my-feature` (branch already exists on the remote)
Permission: `git.update({"org": "myorg", "repo": "myrepo", "branch": "feature/my-feature"})`
*Note: use `update` for a force-push too; use `create` (below) when the branch does not yet exist on the remote.*
### Example 6: Creating a New Branch
Command: `git push origin feature/my-feature` (first push of a branch that does not exist on the remote)
Permission: `git.create({"org": "myorg", "repo": "myrepo", "branch": "feature/my-feature"})`
### Example 7: Fetching all branches
Command: `git fetch --all`
Permission: `git.read({"org": "myorg", "repo": "myrepo", "branch": "*"})`
*Note: `read` cannot be scoped to a single branch; `branch` must be `*`.*
### Example 8: Cloning a Repository
Command: `git clone https://github.com/myorg/myrepo.git`
Permission: `git.read({"org": "myorg", "repo": "myrepo", "branch": "*"})`
### Example 9: Deleting a Branch
Command: `git push origin --delete feature/my-feature`
Permission: `git.delete({"org": "myorg", "repo": "myrepo", "branch": "feature/my-feature"})`
*Note: keep the permission lean and don't populate empty fields*
### Example 10: Searching Pull RequestsFrom 2428424081cn/Skill-mcp, MIT.
More from 2428424081cn/Skill-mcp
- 0.544score
agy-customizations
2428424081cn
Comprehensive guide and reference for the Antigravity Customization System.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
golang-idiomatic-patterns
2428424081cn
Go (Golang) 原生工程惯用法:错误链包装、Context 生命周期、Goroutine 泄漏防御与表驱动测试。
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
graphql-schema-design
2428424081cn
GraphQL API 设计准则:Relay 游标分页、DataLoader 批量防 N+1 查询与 Schema 优雅演进。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
structured-output-json-schema
2428424081cn
大模型严格结构化输出 JSON Schema 约束设计与 Function Calling 容错修复机制。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
prompt-ab-testing
2428424081cn
大模型 Prompt 提示词 A/B 测试与版本迭代指南。提供提示词量化评估指标与防御性提示词设计。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
nestjs-prisma-drizzle
2428424081cn
NestJS 模块化依赖注入架构与 Prisma / Drizzle ORM 端到端类型安全后端规范。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
spring-boot-clean-architecture
2428424081cn
Spring Boot 3 / Java 企业级 DDD 领域驱动设计与六边形 (Hexagonal) 干净架构规范。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
code-review-guard
2428424081cn
静态代码审查与漏洞检查助手。深度扫描源码中的 SQL 拼接、空异常捕获、未清理定时器与硬编码凭据。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
fastapi-rest-service
2428424081cn
FastAPI / Pydantic v2 高性能异步后端开发指南。涵盖依赖注入、异步数据库连接池与统一响应封装。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
redis-cache-patterns
2428424081cn
Redis 缓存实战架构模式。防击穿/雪崩/穿透、滑动窗口限流与分布式锁标准实现。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
llm-prompt-injection-defense
2428424081cn
大模型 Prompt 注入防御与越狱防护准则:非可信数据定界隔离、系统提示词防嗅探与输入清洗。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
architecture-decision-records
2428424081cn
架构决策记录 (ADR) 标准规范:技术选型、架构权衡论证与变更生命周期管理。
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 24, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/2428424081cn/Skill-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 2428424081cn
- 0.544score
agy-customizations
2428424081cn
Comprehensive guide and reference for the Antigravity Customization System.
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
graphql-schema-design
2428424081cn
GraphQL API 设计准则:Relay 游标分页、DataLoader 批量防 N+1 查询与 Schema 优雅演进。
SkillBFreshness: B★ 1Claude Code +9 - 0.541score
golang-idiomatic-patterns
2428424081cn
Go (Golang) 原生工程惯用法:错误链包装、Context 生命周期、Goroutine 泄漏防御与表驱动测试。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
structured-output-json-schema
2428424081cn
大模型严格结构化输出 JSON Schema 约束设计与 Function Calling 容错修复机制。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
nestjs-prisma-drizzle
2428424081cn
NestJS 模块化依赖注入架构与 Prisma / Drizzle ORM 端到端类型安全后端规范。
SkillBFreshness: B★ 1Claude Code +9 - 0.538score
architecture-decision-records
2428424081cn
架构决策记录 (ADR) 标准规范:技术选型、架构权衡论证与变更生命周期管理。
SkillBFreshness: B★ 1Claude Code +9
Cite this page
permissioned-github skill. Agent Mart. https://agentmart.dev/skills/2428424081cn-permissioned-github (last updated 2026-10-24)