Token导航 LogoToken导航

Agent Skill · 运维和基础设施

github-modes(GitHub modes 运维)

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

github-modes 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,第三方扫描有提醒项,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 1,667。

总安装 442周安装 19GitHub Stars 8下载 155核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github-modes(GitHub modes 运维)
来源仓库:https://github.com/vamseeachanta/workspace-hub
仓库路径:skills/github-modes
安装命令:
npx skills add https://github.com/vamseeachanta/workspace-hub --skill github-modes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/vamseeachanta/workspace-hub --skill github-modes

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

用于切换和管理 GitHub 仓库的不同工作模式。支持开发、测试、生产等环境配置。可一键切换相关分支和权限设置。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。简化多环境协作开发流程。

github-modes 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。模式定义需提前在配置文件中设定。

来源仓库内路径:skills/github-modes

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/vamseeachanta/workspace-hub --skill github-mod…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

github-modes 怎么安装?

在终端执行 npx skills add https://github.com/vamseeachanta/workspace-hub --skill github-modes。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

github-modes 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

github-modes 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

github-modes 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

github-modes 用的人多吗?

公开数据是累计安装 442 次,近一周安装 19 次,下载 155 次,GitHub 8 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

github-modes 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
github-modes

GitHub modes 运维 · 本页

4428调用外部服务MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

GitHub Integration Modes Skill

Overview

This skill provides comprehensive GitHub integration modes for workflow orchestration, PR management, issue tracking, and repository coordination. Each mode is optimized for specific GitHub workflows with batch operation support.

Key Capabilities:

  • GitHub workflow orchestration and coordination
  • Pull request management and review automation
  • Issue tracking and project management
  • Release coordination and deployment
  • Repository architecture and organization
  • CI/CD pipeline coordination

Quick Start

# Verify GitHub CLI authentication
gh auth status

# Check repository access
gh repo view

# List open PRs
gh pr list

# List issues
gh issue list

# Check workflow runs
gh run list --limit 5

GitHub Workflow Modes

1. gh-coordinator

GitHub workflow orchestration and coordination

# Coordinate multiple GitHub operations
gh issue create --title "Feature: New Integration" --body "Description here"
gh pr create --title "Implement feature" --body "Closes #123"
gh workflow run ci.yml
  • Coordination Mode: Hierarchical
  • Max Parallel Operations: 10
  • Best For: Complex GitHub workflows, multi-repo coordination

2. pr-manager

Pull request management and review coordination

# Create PR with reviewers
gh pr create \
  --title "Feature implementation" \
  --body "## Summary\n- Feature 1\n- Feature 2" \
  --reviewer user1,user2 \
  --assignee @me

# Review PR
gh pr review 123 --approve --body "LGTM!"

# Merge with squash
gh pr merge 123 --squash --delete-branch
  • Review Mode: Automated
  • Multi-reviewer: Yes
  • Best For: PR reviews, merge coordination, conflict resolution

3. issue-tracker

Issue management and project coordination

# Create structured issue
gh issue create \
  --title "Bug: Login failure" \
  --body "## Description\n...\n## Steps to Reproduce\n1. ..." \
  --label "bug,priority:high" \
  --assignee @me \
  --milestone "v2.0"

# Update issue
gh issue edit 123 --add-label "in-progress"

# Close with comment
gh issue close 123 --comment "Fixed in #456"
  • Issue Workflow: Automated
  • Label Management: Smart
  • Best For: Project management, issue coordination, progress tracking

4. release-manager

Release coordination and deployment

# Create release
gh release create v1.2.0 \
  --title "Release v1.2.0" \
  --notes "## What's New\n- Feature 1\n- Bug fix 2" \
  --target main

# Upload release assets
gh release upload v1.2.0 ./dist/*.zip

# List releases
gh release list
  • Release Pipeline: Automated
  • Versioning: Semantic
  • Best For: Release management, version coordination, deployment pipelines

Repository Management Modes

5. repo-architect

Repository structure and organization

# Create repository
gh repo create my-project --public --description "Project description"

# Clone with specific options
gh repo clone owner/repo -- --depth=1

# Fork repository
gh repo fork owner/repo --clone

# Set repository settings
gh repo edit --enable-issues --enable-wiki=false
  • Structure Optimization: Yes
  • Multi-repo: Support
  • Best For: Repository setup, structure optimization, multi-repo management

6. code-reviewer

Automated code review and quality assurance

# Get PR diff
gh pr diff 123

# Get changed files
gh pr view 123 --json files --jq '.files[].path'

# Add review comment
gh pr review 123 --comment --body "Consider refactoring this function"

# Request changes
gh pr review 123 --request-changes --body "Please address the following..."
  • Review Quality: Deep
  • Security Analysis: Yes
  • Best For: Code quality, security reviews, performance analysis

7. branch-manager

Branch management and workflow coordination

# Create feature branch via API
gh api repos/:owner/:repo/git/refs \
  -f ref='refs/heads/feature/new-feature' \
  -f sha=$(gh api repos/:owner/:repo/git/refs/heads/main --jq '.object.sha')

# Delete branch
gh api repos/:owner/:repo/git/refs/heads/old-branch --method DELETE

# List branches
gh api repos/:owner/:repo/branches --jq '.[].name'
  • Branch Strategy: GitFlow
  • Merge Strategy: Intelligent
  • Best For: Branch coordination, merge strategies, workflow management

Integration Modes

8. sync-coordinator

Multi-package synchronization

# Sync files across repos
gh api repos/:owner/:repo/contents/file.md --jq '.content' | base64 -d

# Create sync PR
gh pr create \
  --title "Sync: Update shared configurations" \
  --head sync/config-update \
  --base main

9. ci-orchestrator

CI/CD pipeline coordination

# Trigger workflow
gh workflow run ci.yml --ref main

# Check workflow status
gh run list --workflow=ci.yml --limit=5

# View run details
gh run view $RUN_ID

# Download artifacts
gh run download $RUN_ID

10. security-guardian

Security and compliance management

# List secret scanning alerts
gh api repos/:owner/:repo/secret-scanning/alerts

# List code scanning alerts
gh api repos/:owner/:repo/code-scanning/alerts

# Check Dependabot alerts
gh api repos/:owner/:repo/dependabot/alerts

Batch Operations

All GitHub modes support batch operations for maximum efficiency:

# Parallel issue creation
gh issue create --title "Task 1" --body "..." &
gh issue create --title "Task 2" --body "..." &
gh issue create --title "Task 3" --body "..." &
wait

# Batch label management
for issue in 1 2 3 4 5; do
  gh issue edit $issue --add-label "sprint-24" &
done
wait

# Parallel PR reviews
for pr in 10 11 12; do
  gh pr review $pr --approve --body "Automated approval" &
done
wait

MCP Tool Integration

Swarm Coordination

// Initialize GitHub workflow swarm

// Execute workflow with coordination
  task: "GitHub workflow coordination",
  strategy: "parallel",
  priority: "high"
}

// Store workflow state
  action: "store",
  key: "github/workflow/state",
  value: {
    mode: "pr-manager",
    activePRs: [123, 124, 125],
    status: "reviewing"
  }
}

GitHub-Specific Tools

// Repository analysis
  repo: "owner/repo",
  analysis_type: "code_quality"
}

// PR management
  repo: "owner/repo",
  action: "review",
  pr_number: 123
}

// Issue tracking
  repo: "owner/repo",
  action: "triage"
}

Usage Examples

Complete PR Workflow

# 1. Create feature branch
git checkout -b feature/new-feature

# 2. Make changes and commit
git add .
git commit -m "feat: Add new feature"
git push -u origin feature/new-feature

# 3. Create PR with full metadata
gh pr create \
  --title "feat: Add new feature" \
  --body "## Summary
- Implements feature X
- Adds tests for Y

## Testing
- [x] Unit tests pass
- [x] Integration tests pass

Closes #123" \
  --reviewer tech-lead,senior-dev \
  --assignee @me \
  --label "enhancement,needs-review" \
  --milestone "v2.0"

# 4. Wait for reviews and CI
gh pr checks 456 --watch

# 5. Merge when ready
gh pr merge 456 --squash --delete-branch

Automated Issue Management

# Triage unlabeled issues
gh issue list --label "" --json number,title | \
  jq -r '.[] | "\(.number): \(.title)"'

# Bulk close stale issues
gh issue list --label "stale" --json number | \
  jq -r '.[].number' | while read num; do
    gh issue close $num --comment "Closing stale issue"
  done

# Create linked issues
PARENT=$(gh issue create --title "Epic: Feature Set" --body "Parent issue")
gh issue create --title "Sub-task 1" --body "Part of #$PARENT"
gh issue create --title "Sub-task 2" --body "Part of #$PARENT"

Best Practices

1. Authentication

  • Use gh auth login for initial setup
  • Store tokens securely in GitHub Secrets
  • Use GITHUB_TOKEN in workflows
  • Rotate tokens regularly

2. Rate Limiting

  • Batch operations when possible
  • Use GraphQL for complex queries
  • Implement exponential backoff
  • Cache API responses

3. Workflow Design

  • Use reusable workflows
  • Implement proper error handling
  • Add meaningful commit messages
  • Follow semantic versioning

4. Security

  • Enable branch protection
  • Require PR reviews
  • Use signed commits
  • Enable security scanning

Configuration Options

ModeMax ParallelBatch OptimizedPrimary Use
gh-coordinator10YesComplex workflows
pr-manager5YesPR reviews
issue-tracker20YesIssue management
release-manager3NoReleases
repo-architect5YesRepo setup
code-reviewer5YesCode review
branch-manager10YesBranch ops

Related Skills


Version History

  • 1.0.0 (2026-01-02): Initial skill conversion from github-modes agent

平台分布

Claude Code

30.2%
按下载量换算47

windsurf

24.13%
按下载量换算37

trae

18.28%
按下载量换算28

OpenCode

12.01%
按下载量换算19

Cursor

7.96%
按下载量换算12

Codex

3.52%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills