Loading...
Loading...
Lightweight POSIX synchronization engine for cross-repository agent skill workflows.
curl -fsSL https://raw.githubusercontent.com/MishraShardendu22/agent-skills/main/scripts/install.sh | bashCanonical upstream repository hosting 30 production agent skills, test suites, and automated release tags.
Portable bash script with zero external dependencies. Executes safe git-level synchronization and branch management.
Run skills-sync pull in any repository to inject engineering standards into .agents/skills/.
Installs binary to ~/.local/bin/skills-sync and sets executable permissions.
skills-sync pullFetches and updates all skills from the upstream hub into your local .agents/skills/ directory.
[INFO] Synchronizing skills from upstream: MishraShardendu22/agent-skills (main) [INFO] Fetching remote skill catalog... [SUCCESS] Successfully pulled and updated 30 skills into /workspace/.agents/skills
| VARIABLE | DEFAULT | DESCRIPTION |
|---|---|---|
| AGENT_SKILLS_REPO | MishraShardendu22/agent-skills | The central upstream GitHub repository where skills are pulled from and pushed to. |
| AGENT_SKILLS_BRANCH | main | Target git branch for upstream pull/push operations. |
| GITHUB_TOKEN | (optional) | GitHub Personal Access Token for authenticated clones or automated CI PR creation. |
| AGENT_SKILLS_DIR | Auto-detected (.agents/skills) | Override path where local skills are populated on the host filesystem. |
Add to .github/workflows/sync-skills-upstream.yml in any downstream repository.
name: Sync Skills Upstream
on:
push:
branches: [ main ]
paths: [ '.agents/skills/**', 'skills/**' ]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push Skills Upstream to Hub
env:
AGENT_SKILLS_REPO: "MishraShardendu22/agent-skills"
GITHUB_TOKEN: ${{ secrets.SKILLS_SYNC_TOKEN || secrets.GITHUB_TOKEN }}
run: |
curl -fsSL https://raw.githubusercontent.com/MishraShardendu22/agent-skills/main/scripts/skills-sync.sh | bash -s -- push