Skip to content
Skillpedia
General coding48k · #5538

push-skill-to-github

What it does

This tool saves your changes to a code repository called GitHub. It ensures your modifications are sent and kept safe.

When to use it

  • ✓When you finish creating or editing a tool (skill).
  • ✓When you want to save the updates you've made.
  • ✓After your changes have been validated.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/push-skill-to-github/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/push-skill-to-github/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Save my skill changes to GitHub.”

5 new skills a week. 1 minute to read.

How it works

The tool opens a separate window to run save and send commands. It checks if everything was sent correctly and then closes the window.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Push Skills to GitHub

When to Use

  • Use when skill changes are ready to commit and push to the configured skills repo.
  • Use when the user asks to save or publish skill updates after validation.

For committing any skill change to the user's private skills repo, git root ~/.agents (this is also the canonical skill folder; .claude and .pi/agent/skills symlink to ~/.agents/skills). Pushes here auto-publish a sanitized public mirror to davidondrej/skills — never push directly to that public repo.

Use this after creating or editing a skill. If the skill is distributed to all agents, do that first (distribute-skill-to-all-agents), then run this to push the canonical copy.

Steps

Not in cmux? (no $CMUX_WORKSPACE_ID): skip the cmux pane steps — just run the git commands from step 2 directly in any available terminal, then verify the push output.

  1. Open a fresh cmux pane in the current workspace, no focus steal:
    cmux new-pane --type terminal --direction right --workspace "$CMUX_WORKSPACE_ID" --focus false
    cmux list-panes --workspace "$CMUX_WORKSPACE_ID"   # note the NEW pane + its surface ref
    
  2. Stage, commit, push in ~/.agents (send to the new pane's surface):
    cmux send --surface surface:NEW 'cd ~/.agents && git add -A && git commit -m "<concise message>" && git push'
    cmux send-key --surface surface:NEW enter
    
  3. Verify the push landed:
    sleep 2
    cmux read-screen --surface surface:NEW | tail -15   # expect "main -> main"
    
  4. Close the pane once confirmed:
    cmux close-surface --surface surface:NEW
    cmux list-panes --workspace "$CMUX_WORKSPACE_ID"    # confirm the pane is gone
    

Notes

  • Always run git from ~/.agents (the repo root), not ~/.agents/skills.
  • Write a concise, specific commit message describing the skill change.
  • Only push to GitHub when the user asks. Don't push speculatively.

Example

User request:

Validate the changed skills, review the diff, commit them with a focused message, and push the topic branch.

Limitations

  • Adapted from davidondrej/skills; verify local paths, tools, credentials, and agent features before acting.
  • For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
FAQ

Where are my skills saved?

Your skills are saved in a special folder called `~/.agents` on your computer. A public copy is automatically sent to GitHub.

Do I need to write a message to save?

Yes, it's important to write a short, clear message describing what you changed.

What happens if the push fails?

The tool will show a message indicating if the push was successful. If not, you'll need to check the details and try again.

Details

Original description by the author

Commit and push skill changes to the configured skills repository after review and validation.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#5538
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills