Link agents and skills from awesome-copilot or any common repos with agents/skills to your local repository.
Project description
Copilot Linker
A cross-platform Python utility to link agents and skills from the awesome-copilot repository to any local git repository.
Installation
Install from source:
pip install .
Or for development:
pip install -e .
From PyPI (once published):
pip install gh-agent-sync
Usage
Run the utility from the root of your git repository:
Link Agents and Skills
gh-agent-sync link
Or specify a custom repository:
gh-agent-sync link --url https://github.com/your-org/your-agents-repo
This will:
- Clone or update the awesome-copilot repository into
.github/awesome-copilot - Create symbolic links (or copies if symlinks fail) to
.github/agentsand.github/skills - Add the linked paths to
.gitignoreto prevent them from being committed
Undo Linking
gh-agent-sync undo
This will:
- Remove the
.github/agentsand.github/skillsdirectories - Remove the cloned
.github/awesome-copilotrepository
Development
Building
To build the package:
python -m build
Publishing
- Create a release on GitHub
- The CI/CD workflow will automatically build and publish to PyPI
Make sure to set up PyPI API tokens in the repository secrets if needed.
What it does
- Checks if the current directory is a git repository
- Clones or updates the awesome-copilot repository into
.github/awesome-copilot - Creates symbolic links (or copies if symlinks fail):
.github/agents→.github/awesome-copilot/agents.github/skills→.github/awesome-copilot/skills
- Adds linked paths to
.gitignore
This allows you to use the agents and skills from awesome-copilot in your repository without copying the files directly.
Requirements
- Python 3.8+
- Git
- Internet connection for cloning the repository
Notes
- On systems where symlinks are not supported or require special permissions, the utility will fall back to copying the directories.
- The utility creates links/copies, so changes in the awesome-copilot repo will be reflected in your links (after updating with
git pullin the cloned directory).
Architecture
Contributing
We use a pull request workflow with automated versioning and release management. Please see CONTRIBUTING.md for detailed guidelines on:
- How to create pull requests
- Conventional commit message style
- Automated versioning and release process
All commits should follow the Conventional Commits specification.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gh_agent_sync-1.2.1.tar.gz.
File metadata
- Download URL: gh_agent_sync-1.2.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c79133fbd3cf460680388d01a1b6180e2e985164b3a1ccbea52a18a856791d37
|
|
| MD5 |
e90d125086fba2d071210c77d7858f64
|
|
| BLAKE2b-256 |
045b12939cd8ea36dcba24bd1d5ed9deb95ca6b163602d4276e789f4a9bf3330
|
File details
Details for the file gh_agent_sync-1.2.1-py3-none-any.whl.
File metadata
- Download URL: gh_agent_sync-1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c37ca83076215c102452786e13d97a14f29eb22debf95860aa3cb2ab6e17ef0d
|
|
| MD5 |
39d4d9c0a4e736ffd8eac4fee2d1fa82
|
|
| BLAKE2b-256 |
4ad8c9aceee0def317c09f24b8748488c764014161d521e5ebf01eea5fd64da2
|