Ctx Syncr — AI skill for Claude Code
Single source of truth (.ai/) for AI coding assistants.
How to install Ctx Syncr
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open coding-clyde/ctx-syncr and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ctx Syncr does
Single source of truth (.ai/) for AI coding assistants. Compiles and syncs CLAUDE.md, .cursor/rules, Copilot & Windsurf while auditing tokens and secrets.
Alternatives in AI
- Krusch Context MCP — Persistent working memory and invariant steering MCP server for AI coding agents (Claude Code, Cursor, Windsur 82 ★
- AI Coding Agents — Single source of truth for AI coding agent configuration — skills, commands and rules shared across OpenCode a 48 ★
- Orquestrador Maestro — AI agent orchestration kit for Windows, Linux/MacOS with Codex skills, hooks, routing rules and profiles for C 41 ★
README
ctx-syncr
**One `.ai/` folder to keep `CLAUDE.md`, `.cursor/rules`, GitHub Copilot and Windsurf in sync — without wasting tokens.**
[](https://www.npmjs.com/package/ctx-syncr) [](LICENSE) [](package.json) [](https://github.com/coding-clyde/ctx-sync/actions/workflows/ci.yml) [](package.json)
Write your AI rules once in `.ai/`. ctx-syncr compiles them into the native file each assistant reads, shows what every assistant costs you in tokens, and blocks leaked secrets before they reach a commit, a pull request or a prompt.
npx ctx-syncr init # scaffold .ai/ with ready-to-edit rules
npx ctx-syncr sync # audit, then write CLAUDE.md, .cursor/rules, Copilot and Windsurf files
npx ctx-syncr check # CI gate: fail on drift or leaked secrets
Why ctx-syncr
Every AI editor invented its own context file. Teams copy the same rules into four places, the copies drift, nobody knows which one is current, every always-on line is paid for in tokens on every request, and sooner or later an API key ends up in one of them. ctx-syncr treats editor context like code.
- One source of truth. Rules live in
.ai/**/*.md. Output is deterministic: same source, same bytes. - Token-aware. Every run prints the estimated tokens each assistant loads,
against a budget (default 4,000). Scope a rule to specific assistants with
targets, or to file patterns withglobs, so each tool loads only what it needs. - Secret-proof.
syncaudits before it writes. If it finds a credential it writes nothing, so a leaked key is never copied into four files. Findings are redacted: the raw secret is never printed.
Related Skills
Ctx Sync
Single source of truth (.ai/) for AI coding assistants. Compiles and syncs CLAUDE.md, .cursor/rules, Copilot &
Skillr
Write AI instructions once, sync to every tool. One canonical format (.skillr/) compiles to CLAUDE.md, .cursor
Easyskillz
Single source of truth for AI agent skills. One folder, all your tools, zero repetition. Write a skill once —
Devbrain
Single Source of Truth (SSOT) for Multi-Agent Coding & Obsidian. devbrain connects your AI coding assistants (
AI Rules Sync
Keep one source of truth for your AI coding-agent rules. Convert and sync between AGENTS.md, CLAUDE.md, .curso
Phantom Secrets
Stop AI coding agents from leaking your API keys. Local proxy + MCP that swaps real secrets for phm_ tokens —
Related Agents
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
AI Code Security Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit
Security AI Generated Code Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit