본문으로 건너뛰기
cccskills
무료GitHub에 공개

sync-clis

Synchronize the explicitly cataloged portable skills and runtime-native task-agent and command adapters across Grok, Claude, Codex, OpenCode, ABI, shared agents, Cursor, Factory, CoreAI, and Gemini. Use for /sync-clis, cross-CLI skill drift, agent adapter drift, or OpenCode command repair.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi스타 19(GitHub 19 + cccskills 0)
연동 도구Gemini

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md7.4 KB
  • launch.sh3.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/sync-clis

Two complementary mechanisms exist. Run them in this order.

A. Central cross-CLI synchronization

Entry points:

  • ~/.grok/skills/sync-clis/launch.sh
  • ~/.grok/scripts/run-sync-clis.sh
  • python3 ~/.grok/scripts/sync-clis.py --verbose

Authoritative configuration:

  • Manifest and artifact catalog: ~/.grok/sync-targets.json
  • Portable skill source: ~/.grok/skills
  • Task persona source: ~/.grok/bundled/personas
  • Role source: ~/.grok/bundled/roles
  • ABI Mega seed source: ~/dev/active/plugins/abi-mega/skills

The catalog distinguishes four classes:

  1. portableSkills: user-maintained canonical skills synchronized to declared targets.
  2. taskAgents: central personas and roles rendered through runtime-native adapters.
  3. externalLinkedSkills: vendor/plugin-owned symlinks recorded for inventory but not mirrored as canonical content.
  4. repositorySkillRoots: repository-specific skills that remain under repository authority.

Unmatched target files are preserved. The driver updates only names explicitly listed in the catalog. Supporting references/, scripts/, examples/, and assets/ trees are synchronized as a source projection; destination-only entries are not deleted.

Runtime adapters

  • Codex task agents: ~/.codex/agents/*.toml
  • Claude Code subagents: ~/.claude/agents/*.md
  • OpenCode subagents: ~/.config/opencode/agents/*.md
  • OpenCode skills: ~/.config/opencode/skills/<name>/SKILL.md
  • OpenCode commands: both the documented commands/*.md surface and the installed version's command/*.md compatibility surface

The OpenCode command renderer writes one frontmatter block: the canonical SKILL.md content followed by one source marker. Existing managed wrappers are compared and repaired, not merely seeded when absent.

Dry-run contract

--dry-run performs the same byte and projected-tree comparisons as an apply run without writing managed targets. It reports missing and divergent skills, agents, commands, supporting files, and markers.

A successful apply must be followed by a second full run. Acceptance is:

Done. 0 actions/changes.

A zero-change run is meaningful only after the driver and manifest validate and all requested targets were included.

B. ABI in-repository mirror synchronization

Run after the central pass:

/Users/donald/sources/repos/abi/.agents/skills/sync-clis/launch.sh [--dry-run]

This mechanism mirrors ABI's repository-authoritative skills into its .claude/skills/ and .grok/ surfaces. The central driver does not replace this in-repository mirror step.

Before applying it:

  1. Inspect git -C /Users/donald/sources/repos/abi status --short --branch.
  2. Preserve unrelated dirty work.
  3. Run the launcher's dry-run and review every named write.
  4. Apply.
  5. Confirm the resulting ABI diff is limited to intended mirror changes.
  6. Run it again and require no further writes.

Safety invariants

  • Never edit a synchronized target copy when the canonical central source is the intended authority.
  • Never treat ~/.codex/memories as a task-agent destination.
  • Never copy external/vendor symlinks into the portable catalog without first choosing and preserving their real upstream authority.
  • Never delete unmatched runtime-native skills, agents, commands, or plugins.
  • Never delete or archive ~/dev/active/plugins/abi-mega; it is a live source.
  • ABI's repo-adapted ABI Mega skills are seed-only and are not overwritten.
  • The ABI repository is a stable Rust 1.99.1 workspace; do not reintroduce removed Zig-era paths or commands.
  • Central synchronization may intentionally dirty tracked ABI skill files when canonical portable content changed. Inspect the diff and run repository gates before committing.
  • Preserve recovery evidence before catalog repair or any destructive retirement.

Verification checklist

python3 -c 'from pathlib import Path; compile(Path.home().joinpath(".grok/scripts/sync-clis.py").read_text(), "sync-clis.py", "exec")'
python3 -m json.tool ~/.grok/sync-targets.json >/dev/null
python3 ~/.grok/scripts/sync-clis.py --dry-run --verbose
~/.grok/skills/sync-clis/launch.sh
/Users/donald/sources/repos/abi/.agents/skills/sync-clis/launch.sh
~/.grok/skills/sync-clis/launch.sh

Then verify:

  • the final central run reports 0 actions/changes;

  • every managed direct skill copy matches its source SKILL.md;

  • OpenCode's resolved agent list includes the managed task agents;

  • Codex agent TOML parses;

  • Claude and OpenCode Markdown agents have exactly one frontmatter block;

  • ABI's final diff is reviewed and its matching gate is run before closeout.

  • Task-agent tool/model control lives in the central TOML, not in ~/.claude/agents/*.md (added 2026-09-05). The claude-markdown adapter in sync-clis.py reads two optional keys from ~/.grok/bundled/{roles,personas}/<agent>.toml: claude_tools = ["Read", "Grep", ...] renders a tools: frontmatter line, and claude_model = "haiku" overrides the default model: inherit. Editing the synced Markdown directly is reverted on the next SessionEnd sync. Codex/OpenCode adapters ignore both keys. Insert new top-level keys in a persona file BEFORE its first [[inputs]] table, or tomllib fails and the sync aborts mid-target (agents already rendered stay written; the rest do not).

Tool maintenance and update evidence

For a requested full tooling update, inventory executable paths and installation managers first. Use each installed CLI's documented updater and marketplace commands; preserve enabled/disabled state and update installed plugins only. Codex plugin add can re-enable an already installed plugin. Record disabled plugin IDs before refreshing installed caches, restore their prior state, and compare the final inventory. Refresh external skills through their recorded upstream installer. Never replace local canonical skills with an upstream copy or hand-edit vendor cache files.

Complete Homebrew dependency upgrades before invoking Node-based updates: during an upgrade, the old Node binary can temporarily reference a removed dependency dylib. Retry after the Node upgrade completes; do not create compatibility dylib symlinks. Preserve pinned toolchains and existing version/channel choices.

Before editing shared task-agent guidance, back up the current source bytes. Change central TOML instructions, then render native Markdown/TOML with this driver. Verify parseability, source parity, the sync regression suite, and a second complete run reporting zero changes. Native unmanaged agents require separate inspection; generated mirrors are not independent sources.

Report update exit codes, final CLI versions, remaining outdated packages, and restart requirements separately. Package updates and better instructions do not prove a model speed or quality improvement; that claim needs a measured benchmark.

Temporarily retired targets

Hermes and OpenClaw were removed at the user's request on 2026-10-08. Their entries are absent from the live sync manifest; do not seed their home directories or reinstall them unless the user asks. Their prior target configuration is preserved with the recoverable retirement artifacts.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Maintain the Abbey / Aviva / Abi Discord system prompts in the Rust abbey-bot (`src/ask.rs`) and keep the hosted Grok bots (Grok Bot Abbey, Aviva Grok) in step with them. Use when the user says "improve grok bots", "abbey prompt", "persona prompt", "ask.rs", "system prompt", "tip floor", asks to change how Abbey/Aviva/Abi speak on Discord, or after an abbey-bot PR merges and the hosted bot's tip floor needs bumping. Runs as /abbey-system-prompt.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi192026년 10월 27일 업데이트

Validate ABI docs and external collateral against repo evidence and docs/contracts/external-claims-audit.mdx. Use when auditing claims, scanning docs for unsupported QPS/sharding/FHE/AES language, checking one claim before publish, or re-confirming the external-claims audit. Agent procedure only — not a CLI or slash command. Pair with abi-doc-claims-sync when editing docs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi192026년 10월 27일 업데이트

Synchronize ABI Markdown and docs claims with executable behavior. Use before editing README, AGENTS.md, CLAUDE.md, GEMINI.md, docs/**/*.mdx, walkthroughs, changelogs, or any old ABI Markdown that mentions WDBX, MCP, GPU, clustering, compression, FHE, agents, or benchmarks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi192026년 10월 27일 업데이트

Plan and execute ABI repo work from the TODO board, roadmap/spec docs, stable Rust 1.99.1 constraints, and validation gates. Use when the user asks to find ABI todos/roadmaps, organize a large implementation from tasks/todo.md, or decide the next safe work slice. Distinct from the goals skill — that skill owns the persistent ledger tasks/goals.md; this skill plans from the active board and north-star specs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi192026년 10월 27일 업데이트

Validate ABI MCP JSON-RPC stdio and its custom loopback HTTP compatibility endpoint, including auth, limits, notifications, and shutdown.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi192026년 10월 27일 업데이트

Review ABI's 16 compiled-in plugin fixtures, manifest validation, manual bundled registry, and real CLI/MCP run dispatch without claiming dynamic loading.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

donaldfilimon/abi192026년 10월 27일 업데이트

donaldfilimon의 스킬 모두 보기

이 스킬의 문제 신고