github-repo-management
Clone/create/fork repos; manage remotes, releases.
Skill by werxiao882-cell
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/werxiao882-cell-github-repo-management
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
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
github-repo-management- Description
- Clone/create/fork repos; manage remotes, releases.
- License
- MIT
- Instructions
- 505 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Agent Skills spec issues
- body: 505 lines (spec recommends under 500)
Files (2)
- SKILL.md
- github-api-cheatsheet.md · references/
SKILL.md (first lines)
# GitHub Repository Management
Create, clone, fork, configure, and manage GitHub repositories. Each section shows `gh` first, then the `git` + `curl` fallback.
## Prerequisites
- Authenticated with GitHub (see `github-auth` skill)
### Setup
```bash
if command -v gh &>/dev/null && gh auth status &>/dev/null; then
AUTH="gh"
else
AUTH="git"
if [ -z "$GITHUB_TOKEN" ]; then
if [ -f ~/.hermes/.env ] && grep -q "^GITHUB_TOKEN=" ~/.hermes/.env; then
GITHUB_TOKEN=$(grep "^GITHUB_TOKEN=" ~/.hermes/.env | head -1 | cut -d= -f2 | tr -d '\n\r')
elif grep -q "github.com" ~/.git-credentials 2>/dev/null; then
GITHUB_TOKEN=$(grep "github.com" ~/.git-credentials 2>/dev/null | head -1 | sed 's|https://[^:]*:\([^@]*\)@.*|\1|')
fi
fi
fi
# Get your GitHub username (needed for several operations)
if [ "$AUTH" = "gh" ]; then
GH_USER=$(gh api user --jq '.login')
else
GH_USER=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user | python3 -c "import sys,json; print(json.load(sys.stdin)['login'])")
fi
```
If you're inside a repo already:
```bash
REMOTE_URL=$(git remote get-url origin)
OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
```
---
## 1. Cloning Repositories
Cloning is pure `git` — works identically either way:
```bash
# Clone via HTTPS (works with credential helper or token-embedded URL)
git clone https://github.com/owner/repo-name.git
# Clone into a specific directory
git clone https://github.com/owner/repo-name.git ./my-local-dir
# Shallow clone (faster for large repos)
git clone --depth 1 https://github.com/owner/repo-name.git
# Clone a specific branch
git clone --branch develop https://github.com/owner/repo-name.git
# Clone via SSH (if SSH is configured)
git clone git@github.com:owner/repo-name.git
```
**With gh (shorthand):**
```bash
gh repo clone owner/repo-name
gh repo clone owner/repo-name -- --depth 1
```
## 2. Creating Repositories
**With gh:**
```bash
# Create a public repo and clone it
gh repo create my-new-project --public --clone
# Private, with description and license
gh repo create my-new-project --private --description "A useful tool" --license MIT --clone
# Under an organization
gh repo create my-org/my-new-project --public --clone
# From existing local directory
cd /path/to/existing/project
gh repo create my-project --source . --public --push
```
**With git + curl:**
```bash
# Create the remote repo via API
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/user/repos \
-d '{
"name": "my-new-project",
"description": "A useful tool",
"private": false,
"auto_init": true,
"license_template": "mit"
}'
# Clone it
git clone https://github.com/$GH_USER/my-new-project.git
cd my-new-project
# -- OR -- push an existing local directory to the new repo
cd /path/to/existing/project
git init
git add .
git commit -m "Initial commit"
git remote add origin https://github.com/$GH_USER/my-new-project.git
git push -u origin main
```
To create under an organization:From werxiao882-cell/NanoHermes, MIT.
More from werxiao882-cell/NanoHermes
- 0.548score
ai-agent-integration-testing
werxiao882-cell
Integration testing for AI Agent CLI systems — PTY-driven conversation simulation, tool chain verification, OpenSpec-driven test design, and real-API…
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
article-extraction
werxiao882-cell
Extract web article content from WeChat MP, blogs, and other platforms, converting text, images, formatting, and tables to clean Markdown.
SkillCFreshness: C★ 13Claude Code +9 - 0.541score
kanban-orchestrator
werxiao882-cell
Decomposition playbook + anti-temptation rules for an orchestrator profile routing work through Kanban.
SkillCFreshness: C★ 13Claude Code +9 - 0.538score
kanban-worker
werxiao882-cell
Pitfalls, examples, and edge cases for Hermes Kanban workers.
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
minecraft-modpack-server
werxiao882-cell
Host modded Minecraft servers (CurseForge, Modrinth).
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
webhook-subscriptions
werxiao882-cell
Webhook subscriptions: event-driven agent runs.
SkillCFreshness: C★ 13Claude Code +9 - 0.528score
pokemon-player
werxiao882-cell
Play Pokemon via headless emulator + RAM reads.
SkillCFreshness: C★ 13Claude Code +9 - 0.330score
openspec-propose
openspec
Propose a new change with all artifacts generated in one step.
SkillCFreshness: C★ 13Claude Code +9 - 0.330score
openspec-explore
openspec
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements.
SkillCFreshness: C★ 13Claude Code +9 - 0.330score
openspec-apply-change
openspec
Implement tasks from an OpenSpec change.
SkillCFreshness: C★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jul 6, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/werxiao882-cell/NanoHermes
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from werxiao882-cell
- 0.548score
ai-agent-integration-testing
werxiao882-cell
Integration testing for AI Agent CLI systems — PTY-driven conversation simulation, tool chain verification, OpenSpec-driven test design, and real-API…
SkillCFreshness: C★ 13Claude Code +9 - 0.543score
article-extraction
werxiao882-cell
Extract web article content from WeChat MP, blogs, and other platforms, converting text, images, formatting, and tables to clean Markdown.
SkillCFreshness: C★ 13Claude Code +9 - 0.541score
kanban-orchestrator
werxiao882-cell
Decomposition playbook + anti-temptation rules for an orchestrator profile routing work through Kanban.
SkillCFreshness: C★ 13Claude Code +9 - 0.538score
kanban-worker
werxiao882-cell
Pitfalls, examples, and edge cases for Hermes Kanban workers.
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
webhook-subscriptions
werxiao882-cell
Webhook subscriptions: event-driven agent runs.
SkillCFreshness: C★ 13Claude Code +9 - 0.532score
minecraft-modpack-server
werxiao882-cell
Host modded Minecraft servers (CurseForge, Modrinth).
SkillCFreshness: C★ 13Claude Code +9
Cite this page
github-repo-management skill. Agent Mart. https://agentmart.dev/skills/werxiao882-cell-github-repo-management (last updated 2026-10-24)