Skip to content
Agentmart
Submit a tool

sync-command

Sync a command from this repo into local agent surfaces.

Skill by kyzooghost

IndexedMIT
Write a review

Chalk Labs

Need help deploying sync-command?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/kyzooghost-sync-command

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Sync a command from this repo into local agent surfaces. Use when the user asks to make a repo command available locally, sync a local command for Claude, Agents, or Codex, update command symlinks, or expose a command to Codex as a skill.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/sync-command

What's inside

Skill name
sync-command
Description
Sync a command from this repo into local agent surfaces. Use when the user asks to make a repo command available locally, sync a local command for Claude, Agents, or Codex, update command symlinks, or expose a command to Codex as a skill.
License
MIT
Instructions
64 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • openai.yaml · agents/
  • sync_command.py · scripts/

SKILL.md (first lines)

# Sync Command

## Overview

Sync a command from this repository by making `~/.claude/commands/<command>.md` a symlink to the repo command file, then making `~/.agents/commands/<command>.md` point at the Claude command path.

Codex does not discover slash commands from `~/.codex/commands` in this setup. For Codex, the syncer ensures there is a repo-backed skill at `skills/<command>/` and makes `~/.codex/skills/<command>` point at that skill. If `skills/<command>/SKILL.md` already exists, preserve it and only refresh the command reference/link.

Use the bundled script for the filesystem changes so repeated syncs update links consistently.

## Workflow

1. Identify the repo command name or path. Prefer a command name when the source is `commands/<name>.md`.
2. Inspect the source command and confirm the file exists.
3. Run the syncer:

```bash
python3 <this-skill-dir>/scripts/sync_command.py <command-name>
```

Example from this repo:

```bash
python3 skills/sync-command/scripts/sync_command.py doc-update
```

4. Verify the output shows all three managed links:
   - `~/.claude/commands/<command>.md` -> repo command file
   - `~/.agents/commands/<command>.md` -> `~/.claude/commands/<command>.md`
   - `~/.codex/skills/<command>` -> repo skill directory
5. Verify the repo skill state:
   - If `skills/<command>/SKILL.md` was missing, it was created as a command-backed wrapper.
   - `skills/<command>/references/command.md` points at the source command file.
6. Tell the user the command is available as `/<command>` for command-aware agents and as `$<command>` in Codex after restarting the relevant agent app.

## Existing Commands

The syncer replaces whatever is already at the destination:

- Missing links are created.
- Existing symlinks are replaced when they point somewhere else.
- Existing real files are removed and replaced with the symlink.

For Codex skill wrappers:

- Missing `skills/<command>/SKILL.md` files are created.
- Existing `skills/<command>/SKILL.md` files are preserved.
- `skills/<command>/references/command.md` is refreshed to point at the source command file.

## Options

Use `--dry-run` to preview changes without writing symlinks:

```bash
python3 skills/sync-command/scripts/sync_command.py doc-update --dry-run
```

Use `--repo-root <path>` when running from outside this repository and passing a command name.

Use `--codex-skills-dir <path>` only when explicitly asked to install Codex skills outside `~/.codex/skills`.

Only override the destination directories when the user explicitly asks for non-default install roots.

From kyzooghost/skills, MIT.

More from kyzooghost/skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 2, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from kyzooghost

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get sync-command running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying sync-command?

CallGet help
Cite this page

sync-command skill. Agent Mart. https://agentmart.dev/skills/kyzooghost-sync-command (last updated 2026-10-24)