CommunityRédaction et éditiongithub.com

RachidChabane/agentsync

One declarative config rendered into every AI coding assistant (Claude Code, Copilot CLI, OpenCode, VS Code) + a determinism-over-AI enforcement protocol. LLM- and harness-agnostic.

Qu'est-ce que agentsync ?

agentsync is a Claude Code agent skill that one declarative config rendered into every AI coding assistant (Claude Code, Copilot CLI, OpenCode, VS Code) + a determinism-over-AI enforcement protocol. LLM- and harness-agnostic.

Compatible avecClaude Code~Codex CLICursorOpenCodeWindsurf
npx skills add RachidChabane/agentsync

Installed? Explore more Rédaction et édition skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Add a harness to agentsync

Adding a harness is judgment work (mapping the harness's config concepts) wrapped around a deterministic scaffold. Do the steps in order; don't skip the doc-reading.

1. Check it isn't already handled

Look in core/adapters/__init__.py (ADAPTERS) and config/profile.json. If the harness is there, stop — there's nothing to add.

2. Scaffold the adapter (deterministic)

python3 skills/add-harness/scaffold-adapter.py <name>

This writes core/adapters/<name>.py (stubbed) and registers it. It does NOT know the harness — you fill that in next.

3. Read the harness's docs (the judgment — do not guess)

Find and confirm, from the harness's own documentation:

  • Instructions — does it read a user-scope instructions/rules file? Where? (If only inline in settings, mirror VS Code's approach.)
  • MCP — its MCP config format and file location (or that it has none).
  • Skills/permissions — any skill-availability control (or none).
  • Enforcement (hooks)the tricky part: can it run a command before a tool call? What JSON does the hook get on stdin (the command field name)? How does it signal "block"? If it has no hook surface but has a plugin system, mirror OpenCode's plugin. If it can't enforce at all, leave enforcement out of capabilities().

4. Fill the adapter

Implement capabilities() (honestly — only what the harness actually supports) and targets() using the existing target types (Link, Json, Merge, HookSpec). Reuse the shared core/enforcement/guard-commit.sh and session-nudge.sh — point the harness's hook at them per its contract; don't re-implement the gate. Keep extra_owned/extra_hooks from self._passthrough(ctx) so settings passthrough works.

5. Detection + test + verify

  • Add a detection line for it in init.sh.
  • Add assertions to tests/test_apply.py (its files render correctly in the sandbox).
  • Run make verify. It must pass before you're done.

Reference

core/adapters/claude.py (full-featured) and vscode.py (instructions-only, reuses another harness's hooks) are the two ends of the spectrum to copy from.

Skills associés

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community