/agnostic-ai:syncfrom agnostic-ai
Regenerates AI tool configs from agnostic-ai specs or checks for drift without writing. Use after editing specs or when CI reports drift.
Ships in agnostic-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Emits one set of specs to every configured target in its native format.
agnostic-ai sync. It writes only the files whose content changed, so git status after a no-op run is empty.git diff --stat (or git status --short when generated files are gitignored).agnostic-ai sync --check compares planned output against what is on disk and writes nothing. Exit 0 means no drift; non-zero lists the stale files with counts. Add --diff to print the change per file. That is the CI gate:
- run: agnostic-ai sync --check --diff
The CLI must be installed on the runner first. The CI page (https://agnostic-ai.org/docs/ci/) shows the npm dev dependency and the pinned scripts/install.sh setups.
When --check fails, decide by what changed:
agnostic-ai sync and commit both.sync, review the diff, and commit it as a regeneration with no semantic change..agnostic-ai/, then sync.agnostic-ai sync --watch re-emits on every save, touching only affected targets. Useful while authoring several specs.agnostic-ai sync --backup keeps a .bak beside each overwritten file; agnostic-ai revert restores them. Without --backup, revert deletes generated files.agnostic-ai status reports spec counts, configured targets, the last sync time, and whether output is stale. agnostic-ai doctor is the stricter pre-merge check.on-unsupported: silent.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chemaclass/agnostic-ai --plugin agnostic-ai4 skills in this plugin
/importAdopt a project's existing AI config (CLAUDE.md, AGENTS.md, .cursor/rules, and friends) into agnostic-ai specs, then fan it out to every other tool. Use when the project already has config for one AI CLI and should feed the rest./initSet up agnostic-ai in a project by scaffolding the spec directories, picking target AI CLIs, and producing the first generated config. Use when a project has no .agnostic-ai/ directory yet./installInstall or upgrade the agnostic-ai CLI on this machine, picking the route that fits the OS and what is already installed. Use when agnostic-ai is missing, when `agnostic-ai --version` fails, or before any other agnostic-ai skill runs.Other plugins' skills for the same job