# Skill Upload Github

> Package and upload skill source folders (SKILL.md + scripts/references/assets) to a GitHub repo under skills/<skill-name>. Use when Jason wants new or updated skills pushed to GitHub in the standardized folder layout.

- Skill: `jasonychuang/skill-upload-github` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add jasonychuang/skill-upload-github`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jasonychuang/skill-upload-github/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: JasonYCHuang (https://skillmd.com/u/jasonychuang)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/jasonychuang/skill-upload-github

---


# Skill Upload → GitHub

## Overview
Upload a local skill folder to a GitHub repo under `skills/<skill-name>/` and keep scripts/references/assets alongside SKILL.md.

## Workflow
1) Confirm target repo URL and destination root (default `skills`).
2) Ensure `GITHUB_TOKEN` (or `github_token`) is present with write access.
3) Run `scripts/push_skill_source.sh` with:
   - `REPO_URL`
   - `LOCAL_DIR` (local clone path)
   - `SKILL_DIR` (source skill folder)
   - `DEST_ROOT` (optional, default `skills`)

## Scripts
- `scripts/skill_repo_prepare.sh`: clone/refresh the repo using token auth.
- `scripts/push_skill_source.sh`: copy skill source into `skills/<name>/` and push.

## Notes
- The script deletes the existing `skills/<skill-name>` folder before copying.
- If the repo is empty, the first commit will create it.

