Skip to content
Skillv1.0.0

push-skill-to-github

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

by sickn33(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from sickn33/agentic-awesome-skills (skills/push-skill-to-github/SKILL.md). Install upstream with npx skills add sickn33/agentic-awesome-skills --skill push-skill-to-github. Copyright stays with the author (MIT).

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.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/sickn33-agentic-awesome-skills-push-skill-to-github/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

sickn33-agentic-awesome-skills-push-skill-to-github.ocm.jsonjson
{
  "ocm": "1",
  "id": "sickn33-agentic-awesome-skills-push-skill-to-github",
  "kind": "skill",
  "name": "push-skill-to-github",
  "description": "Commit and push skill changes to the configured skills repository after review and validation.",
  "publisher": "sickn33",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "skills",
      "git",
      "publishing",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Commit and push skill changes to the configured skills repository after review and validation."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/sickn33/agentic-awesome-skills",
      "path": "skills/push-skill-to-github/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/sickn33/agentic-awesome-skills/blob/HEAD/skills/push-skill-to-github/SKILL.md",
      "key": "sickn33/agentic-awesome-skills/skills/push-skill-to-github/SKILL.md"
    },
    "license": "MIT"
  },
  "instructions": "# Push Skills to GitHub\n\n## When to Use\n\n- Use when skill changes are ready to commit and push to the configured skills repo.\n- Use when the user asks to save or publish skill updates after validation.\n\nFor 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.\n\nUse this after creating or editing a skill. If the skill is distributed to all ",
  "cost": {
    "context_tokens": 598
  }
}

Fetch it by URL: GET /api/v1/registry/sickn33-agentic-awesome-skills-push-skill-to-github/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.