Skip to content

breakbottle/agent-skill-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agent-skill-sync

Cross-IDE skill creator, sync, inspection, and removal tool for Claude, Codex, and Gemini Antigravity.

Problem Statement

Builders using AI coding tools lose momentum when skills are fragmented across IDE ecosystems and token limits force tool switching mid-flow. Manually recreating or copying skills across platforms is repetitive, inconsistent, and slows shipping.

The Story (Why This Exists)

AI-assisted coding is moving fast. We now have Claude Code, Google Gemini Antigravity, and OpenAI Codex. They are all powerful, and they are all bounded by tokens.

Many of us play the token game while trying to stay IDE-agnostic and keep momentum. I hit this directly: I was coding in Codex, ran out of tokens, and did not want to stop shipping. I had access to other tools, so I started chaining IDEs to keep moving.

That challenge created agent-skill-sync: one simple way to create, copy, inspect, and remove skills across platforms, globally or per project, so your workflow keeps going even when one tool slows you down.

If this resonates, join in. More platforms are coming, and collaborative maintenance will help keep this practical and future-ready.

Short Example

You build a deployment skill in one assistant and want it available everywhere. Instead of manually recreating it in three places, run one command and install it to Claude, Codex, and Gemini skill folders in a project.

Result: less setup thrash, better coding momentum.

Requirements

  • Python 3.10+
  • macOS/Linux shell environment
  • Write access to your home directory or target project directory

Installation

Clone the repository and make the script executable:

git clone https://github.com/<your-username>/agent-skill-sync.git
cd agent-skill-sync
chmod +x skill-create.py

Optional shell alias:

alias skill-create="$PWD/skill-create.py"

Usage

./skill-create.py [source] [options]

Use This Tool Two Ways

1) Direct CLI Use

Use CLI when you want explicit control from terminal scripts or manual workflows.

Commands

./skill-create.py create [source] [options]
./skill-create.py copy <skill-folder> [options]
./skill-create.py remove --name <skill-name> [options]
./skill-create.py inspect --name <skill-name> [options]
./skill-create.py list [options]

Legacy no-subcommand usage still works for create/copy flows.

Create Input Modes

From Markdown file:

./skill-create.py create /path/to/instructions.md

From inline text:

./skill-create.py create \
  --text "Your skill instructions..." \
  --name my-skill

From stdin/pipe:

agent "write me a deploy skill" | \
./skill-create.py create --stdin --name deploy-skill

Copy an existing skill folder to selected IDEs:

./skill-create.py copy ~/.claude/skills/newskill

Copy and rename while installing:

./skill-create.py copy ~/.claude/skills/newskill \
  --name shared-newskill

Install only to one IDE:

./skill-create.py create ./my-skill.md --only codex

Inspect where a skill exists:

./skill-create.py inspect --name my-skill --scope both --project-dir /path/to/project

Remove a skill from one IDE in one project:

./skill-create.py remove --name my-skill \
  --only codex \
  --scope project \
  --project-dir /path/to/project

Preview changes without writing or deleting:

./skill-create.py remove --name my-skill \
  --scope both \
  --project-dir /path/to/project \
  --dry-run

Install Scopes

Global install (default):

./skill-create.py create ./my-skill.md

Project install only:

./skill-create.py create ./my-skill.md \
  --project-dir /path/to/project \
  --scope project

Global + project install:

./skill-create.py create ./my-skill.md \
  --project-dir /path/to/project \
  --scope both

Project install + guarded gitignore sync:

./skill-create.py create ./my-skill.md \
  --project-dir /path/to/project \
  --scope project \
  --sync-gitignore

Project installs write to:

  • /path/to/project/.claude/skills/<skill-name>
  • /path/to/project/.codex/skills/<skill-name>
  • /path/to/project/.agent/skills/<skill-name> (Antigravity)

Useful Options

  • --name <skill-name>: required for --text and --stdin
  • --description "...": frontmatter description if metadata is missing
  • --scripts <dir>: copy scripts into each installed skill
  • --only claude codex gemini: restrict install targets
  • --home <dir>: override home directory for global installs
  • --dry-run: preview target paths and actions without writing or deleting files
  • --sync-gitignore: add IDE folders to .gitignore only under guarded conditions

Full Option Reference

usage: skill-create.py [-h] {create,copy,remove,inspect,list} ...

2) Use Through an AI Agent

Use this when you want an assistant (Codex/Claude/Gemini agent) to handle skill setup for you.

Flow:

  1. Give the agent access to this repository folder.
  2. Ask it to run skill-create.py with your chosen command and target params.
  3. Provide either a skill file path, inline prompt text, or stdin content.

Prompt examples:

Use /path/to/agent-skill-sync and create a new skill from ./my-skill.md.
Install it to claude codex gemini for project /path/to/repo only.
Use /path/to/agent-skill-sync and create a skill named api-release from this prompt text.
Install globally to codex only.
Use /path/to/agent-skill-sync and remove the skill named api-release
from codex only in project /path/to/repo, but dry-run first.

Contributing

Contributions are welcome, especially for support of new AI coding platforms and cross-IDE skill conventions. See CONTRIBUTING.md for contribution workflow, bug reports, and feature requests.

Validation

Run the lightweight smoke test before pushing CLI changes:

./scripts/smoke-test.sh

License

MIT. See LICENSE.

Roadmap

  • Add Windows support (PowerShell examples + path handling).
  • Add support for additional AI IDE/platform skill directory conventions as they emerge.
  • Add automated tests for input modes, scope behavior, and .gitignore sync guards.
  • Add CI to run tests/lint on macOS, Linux, and Windows.
  • Add optional interactive confirmation for destructive removal outside --dry-run.

About

AI Agent + Python CLI to create and sync AI agent skills across Claude, Codex, and Gemini globally or per project.

Topics

Resources

License

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors