vsync CLAUDE.md

Project instructions for vsync, a configuration synchronizer for AI coding tools. It treats one configuration as the source, converts it into each toolโ€™s format, compares changes, and writes updates for tools such as Claude Code, Cursor, OpenCode, and Codex.

In plain words
What is it for?
Use them when adding or changing support for skills, MCP servers, agents, commands, configuration conversion, diff planning, or atomic file updates.
Why use it?
Different coding tools use different configuration names and syntax. These instructions document those differences and require tests before changes, reducing broken or incorrectly converted settings.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/nicepkg/vsync/claude-md
Clone the repo
git clone --depth 1 https://github.com/nicepkg/vsync
Per session 1,829 This file is loaded in full into every session.
When invoked 1,829 The same file โ€” it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01829 $0.01829
Opus 5 $0.00915 $0.00915
Sonnet 5 $0.00366 $0.00366
Haiku 4.5 $0.00183 $0.00183

Measured 2d ago against content hash d46023287e9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

vsync CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories โ€” prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency โ€” measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md ยท 276 lines

How it starts

The opening of the file, as written. The whole thing โ€” 276 lines โ€” stays where its author put it; the contents beside it link to each section on GitHub.

vsync - AI Coding Tool Config Synchronizer

Single source of truth โ†’ Compile to multiple formats โ†’ Diff-based sync

Syncs Skills, MCP, Agents & Commands across Claude Code, Cursor, OpenCode, Codex.


๐ŸŽฏ Core Concept

NOT: File copy tool IS: Config compiler + diff executor

Source (Claude Code) โ†’ Normalize โ†’ Diff โ†’ Plan โ†’ Compile โ†’ Atomic Write โ†’ Update Manifest

๐Ÿšจ Critical Rules (Read FIRST)

1. Follow Documentation Order

Before ANY work:
1. Read TASKS.md โ†’ Find current phase & task
2. Read docs/prd.md Section 2 โ†’ Config formats (MOST IMPORTANT!)
3. Follow TDD โ†’ Write tests FIRST

2. Config Format Precision (See PRD Section 2.2)

// โš ๏ธ CRITICAL: Each tool has DIFFERENT formats

// OpenCode
{ "mcp": { "type": "stdio", "environment": { "X": "{env:VAR}" } } }
//  ^^^      ^^^^^^                          ^^^^^^^^^^^
//  NOT mcpServers!  Required!               Curly braces!

// Claude Code
{ "mcpServers": { "env": { "X": "${VAR}" } } }
//              No type field    ^^^^^^^
//                              Dollar sign, no env: prefix

// Cursor
{ "mcpServers": { "env": { "X": "${env:VAR}" } } }
//              No type field    ^^^^^^^^^^^^
//                              Dollar sign WITH env: prefix

3. Environment Variables

// โŒ WRONG - Expands variables
const config = { env: { TOKEN: process.env.GITHUB_TOKEN } };

// โœ… CORRECT - Preserves syntax
const config = { env: { TOKEN: "${env:GITHUB_TOKEN}" } };

4. File Operations

// โŒ WRONG - Not crash-safe
await fs.writeFile(path, content);

// โœ… CORRECT - Atomic write
import { atomicWrite } from "./utils/atomic-write";
await atomicWrite(path, content);

5. Development Workflow

1. TASKS.md โ†’ Pick task
2. Write TEST first (TDD)
3. Implement code
4. pnpm test && pnpm typecheck && pnpm lint
5. Mark [x] in TASKS.md
6. Commit (Angular convention)

๐Ÿ“š Documentation Map

Document When to Read Contains
TASKS.md Before every task Current phase, task breakdown, progress
docs/prd.md When implementing Complete spec, config formats
docs/config.md When needed Project configuration values
.claude/commands/do-task.md Shortcut TDD workflow, patterns, validation
.claude/commands/create-task.md Shortcut Task creation templates

Read the full file on GitHub ยท 276 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen ยท 276 lines ยท 1,829 tokens per session scan A d46023287e9d

Subscribe to this mod's changes

vsync CLAUDE.md is an instructions file published in the GitHub repository nicepkg/vsync (57 stars, last pushed 7mo ago), licensed MIT. It adds 1,829 tokens to every session, about $0.0091 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

Cyber-AI-Forge AGENTS.md

Instructions for tanghaojie/Cyber-AI-Forge, covering ai ๅไฝœ่ง„ๅˆ™, ไบบ็ฑปไฟฎๆ”นไผ˜ๅ…ˆไธŽๅ†ฒ็ชๅค„็†, git ๅฎ‰ๅ…จ้—จ็ฆไธŽ ai ๆไบคๆ ‡่ฎฐ, ๅผ€ๅง‹ไฟฎๆ”นๅ‰็š„ๆš‚ๅญ˜ๅŒบ็กฌ้—จ็ฆ and ai ่‡ชๅŠจๆไบค็š„ๅผบๅˆถๆ ‡่ฎฐ.

tanghaojie/Cyber-AI-Forge ยท 3,625 tokens

claudekit AGENTS.md

Instructions for duthaho/claudekit, covering agents.md, what this is, build, test, run, architecture and conventions & gotchas.

duthaho/claudekit ยท 916 tokens

herdr-cache-alert CLAUDE.md

Instructions for AltanS/herdr-cache-alert, covering claude.md โ€” working agreement for this repo, the claim contract โ€” mandatory, versioning โ€” mandatory, build / run and architecture โ€” the four layers.

AltanS/herdr-cache-alert ยท 6,354 tokens

claude-bridge AGENTS.md

Instructions for kadaba/claude-bridge, covering agents.md โ€” using claude-bridge from any ai coding cli, two independent channels, 1. coordination (the conversation), 2. file transfer (the bytes) โ€” same for every tool and workflows.

kadaba/claude-bridge ยท 1,505 tokens

coograph brutal-honesty.instructions.md

Global communication style โ€” applies to all workspaces and conversations.

paullukic/coograph ยท 414 tokens

coograph styling.instructions.md

Conventions for CSS/styling files โ€” loaded only when editing styles.

paullukic/coograph ยท 320 tokens