mateusz-pietras

AI Sync — AI skill for Claude Code

AI community

o CLI that keeps a canonical .ai source of rules, skills, agents, prompts, and MCP config, then generates synchronized hard-copy setups for Cursor, GitHub Copilot, and Claude Code (including dynamic i.

How to install AI Sync

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mateusz-pietras/ai-sync and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Sync does

o CLI that keeps a canonical .ai source of rules, skills, agents, prompts, and MCP config, then generates synchronized hard-copy setups for Cursor, GitHub Copilot, and Claude Code (including dynamic instructions/docs and template-driven automation) across repositories.

Alternatives in AI

  • Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★
  • Vibe Coding Toolkit — A curated, battle-tested AI-coding toolkit: Claude Code plugins, subagent orchestration, quality gates, and re 297 ★
  • SwiftUI Design Skill — SwiftUI Front-End Design Skills — Six Ironclad Rules Against AI Sloppiness, Design Direction Consulting, Brand 176 ★

README

ai-sync

Minimal Go CLI to sync a canonical `.ai` source into IDE-specific outputs for Cursor, GitHub Copilot, and Claude Code.

Purpose

  • Keep one source of truth (.ai/).
  • Generate hard-copy IDE config directories (no symlinks).
  • Auto-build a generated rules dictionary section in copilot-instructions.md.

Canonical source schema

.ai/
  rules/
  skills/
  agents/
  commands/
  prompts/
  mcp/mcp.json
  templates/
    copilot/copilot-instructions.md
    claude/CLAUDE.md
    gitignore/.gitignore

Package structure

ai-sync/
  cmd/ai/main.go
  go.mod
  .gitignore
  .ai/
    README.md
    rules/
    skills/
    agents/
    commands/
    prompts/
    mcp/mcp.json
    templates/
      copilot/copilot-instructions.md
      claude/CLAUDE.md
      gitignore/.gitignore

Output mapping

Cursor

  • .ai/rules -> .cursor/rules
  • .ai/skills -> .cursor/skills
  • .ai/agents -> .cursor/agents
  • .ai/commands -> .cursor/commands
  • .ai/mcp/mcp.json -> .cursor/mcp.json
  • tool launchers generated from .ai/templates/mcp-tools/*.sh when command is ai-sync:launcher:

Copilot

  • .ai/agents -> .github/agents
  • .ai/skills -> .agents/skills
  • .ai/rules -> .github/ai/rules
  • .ai/commands -> .github/ai/commands
  • .ai/prompts -> .github/ai/prompts
  • .ai/mcp/mcp.json -> .vscode/mcp.json (normalized to servers)
  • tool launchers generated from .ai/templates/mcp-tools/*.sh when command is ai-sync:launcher:
  • generated output -> .github/copilot-instructions.md

Claude Code

  • .ai/agents -> .claude/agents
  • .ai/skills -> .claude/ai/skills
  • .ai/rules -> .claude/ai/rules
  • .ai/commands -> .claude/commands
  • .ai/prompts -> .claude/ai/prompts
  • .ai/mcp/mcp.json -> .mcp.json (project root, mcpServers)
  • tool launchers generated from .ai/templates/mcp-tools/*.sh when command is ai-sync:launcher:
  • generated output -> CLAUDE.md

Shared

  • `.ai/tem