github-repo-management
Clone/create/fork repos; manage remotes, releases.
Skill by m4tinbeigi-official
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/m4tinbeigi-official-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
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/github-repo-management
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 _hermes_env="${HERMES_HOME:-$HOME/.hermes}/.env"; [ -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 m4tinbeigi-official/hermes-literary-translation-mastery, MIT.
More from m4tinbeigi-official/hermes-literary-translation-mastery
- 0.618score
novel-art-direction-prompts
m4tinbeigi-official
Use when extracting key visual moments from novels, chapters, or scenes to generate high-fidelity cinematic image prompts for Midjourney, Stable Diffusion…
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
audiobook-script-director
m4tinbeigi-official
Use when adapting novels, chapters, or prose into dramatized audio drama scripts, full-cast audiobooks, or TTS multi-voice pipelines.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
book-authoring-mastery
m4tinbeigi-official
Use when writing, drafting, architecting, plotting, or editing full-length fiction/non-fiction books, novels, or series.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-auth
m4tinbeigi-official
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
himalaya
m4tinbeigi-official
Himalaya CLI: IMAP/SMTP email from terminal.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-code-review
m4tinbeigi-official
Review PRs: diffs, inline comments via gh or REST.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-pr-workflow
m4tinbeigi-official
GitHub PR lifecycle: branch, commit, open, CI, merge.
SkillBFreshness: B★ 47Claude Code +9 - 0.613score
computer-use
m4tinbeigi-official
Drive the user's desktop in the background — clicking, typing, scrolling, dragging — without stealing the cursor, keyboard focus, or switching virtual…
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
hp-voice-hermione
m4tinbeigi-official
Hermione Granger character voice profile, academic precision, rule-abiding and fast-paced dialogue style for Persian translation.
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
evaluating-llms-harness
m4tinbeigi-official
lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.).
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
hp-voice-voldemort
m4tinbeigi-official
Lord Voldemort character voice profile, chilling, cruel, regal supremacy, and hiss-like dialogue style for Persian translation.
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
rick-sanchez-content-voice
m4tinbeigi-official
Authentic voice, tone, and formatting profile for Rick Sanchez (ریک سانچز) channel content generation, tech breakdowns, AI news, and conversational posts.
SkillBFreshness: B★ 47Claude Code +9
Signals
- Stars
- 47
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Aug 22, 2026 (2 months ago)
- Last release
- Sep 6, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- 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 m4tinbeigi-official
- 0.618score
book-authoring-mastery
m4tinbeigi-official
Use when writing, drafting, architecting, plotting, or editing full-length fiction/non-fiction books, novels, or series.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
audiobook-script-director
m4tinbeigi-official
Use when adapting novels, chapters, or prose into dramatized audio drama scripts, full-cast audiobooks, or TTS multi-voice pipelines.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
novel-art-direction-prompts
m4tinbeigi-official
Use when extracting key visual moments from novels, chapters, or scenes to generate high-fidelity cinematic image prompts for Midjourney, Stable Diffusion…
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-code-review
m4tinbeigi-official
Review PRs: diffs, inline comments via gh or REST.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
himalaya
m4tinbeigi-official
Himalaya CLI: IMAP/SMTP email from terminal.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-auth
m4tinbeigi-official
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
SkillBFreshness: B★ 47Claude Code +9
Cite this page
github-repo-management skill. Agent Mart. https://agentmart.dev/skills/m4tinbeigi-official-github-repo-management (last updated 2026-10-24)