codex/skills/xit/SKILL.md
Use when a repo has `.xit/` or the user asks for xit: translate git-like intents to non-interactive `xit` CLI commands (`status/diff/log --cli`, add/commit/branch/merge/cherry-pick), avoid the TUI, and do not use git unless explicitly requested.
npx skillsauth add tkersey/dotfiles xitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use xit instead of git when either is true:
.xit/ directory exists in this repo (including in a parent directory).If the repo is not a xit repo and the user didn’t ask for xit, do not force this skill.
xit (it launches the TUI).--cli for status, diff, diff-added, and log (their default is TUI).xit config); use xit config list|add|rm ... instead.--cli whenever it’s available; check xit <cmd> --help if unsure.xit is available: command -v xit.
xit.git; ask how they want to proceed.xit status --cli (it should discover .xit/ from subdirectories).| Intent | xit | Notes |
| --- | --- | --- |
| status | xit status --cli | Text output for agents. |
| diff (working tree) | xit diff --cli | Changes not added to index. |
| diff --cached | xit diff-added --cli | Index vs last commit. |
| add / stage | xit add <path> | Stage file contents. |
| unstage | xit unadd <path> | Like git reset HEAD <path>. |
| restore (work dir) | xit restore <path> | Discard local changes for a path. |
| rm --cached | xit untrack <path> | Stop tracking but keep the file. |
| rm | xit rm <path> | Stop tracking and delete the file. |
| commit | xit commit -m "msg" | Use a quoted message. |
| log | xit log --cli | Text output for agents. |
| branch list / create / delete | xit branch list / xit branch add <name> / xit branch rm <name> | |
| switch / checkout | xit switch <name-or-oid> | Updates index + working dir. |
| merge | xit merge <branch-or-oid> | Patch-based merge by default. |
| cherry-pick | xit cherry-pick <oid> | Apply an existing commit. |
For a more complete mapping and workflows, see references/cli.md.
xit status --clixit diff --clixit diff-added --clixit status --clixit diff --clixit add <paths...>xit diff-added --clixit commit -m "<message>"xit merge <branch-or-oid> or xit cherry-pick <oid>.xit status --cli and xit diff --cli.xit add <resolved-paths...> then xit diff-added --cli.xit merge --continue or xit cherry-pick --continue.xit merge --abort or xit cherry-pick --abort.xit reset <ref-or-oid> (like git reset --mixed).xit reset-dir <ref-or-oid> (like git reset --hard).xit reset-add <ref-or-oid> (like git reset --soft).xit remote add|rm|list ...xit fetch <remote>xit merge refs/remotes/<remote>/<branch> (choose <branch> by inspecting refs or xit log --cli after fetch)xit push <remote> <branch>xit rm <path> (deletes file), xit restore <path> / xit reset-dir <ref-or-oid> (discard local changes), or xit push ... -f / xit push <remote> :<branch> (force push / delete remote branch).xit untrack <path> when the user wants to stop tracking but keep the file.git inside a .xit repo unless the user explicitly requests git.xit --help and xit <cmd> --help.xit patch on|off|all.tools
Invokes Apple's macOS 27 fm command-line tool from a local Mac to use the on-device system model or Private Cloud Compute, including instructions, image prompts, schema-constrained JSON, and noninteractive automation. Use when the user asks to run Apple Foundation Models through fm, compare system versus pcc, generate structured output, or automate fm without Swift or an app.
development
Compile historical Codex sessions into governed counterfactual evidence, evaluate an existing owner-applied candidate through blinded paired HCTP trials, and fold observable evidence into RUN, OBSERVE, or STOP. Use for `$hylo`, CRF extraction, counterfactual replay, source-governed direct or historical trials, sealed evidence, paired baseline/candidate evaluation, causal frontiers, or evidence-governed improvement.
testing
Ensure a `ledger` command is available on PATH; materialize, validate, record, replay, and project requested Actuating artifacts without taking semantic or execution authority; coordinate the shared Learnings/Synesthesia/Negative Ledger lifecycle checkpoint and repo-local source-memory reconciliation; address Universalist plans and receipts; and perform pure artifact validation.
testing
Classify and quotient review findings, failing tests, incidents, bug reports, migration failures, and other witnessed falsifiers against accepted intent and the current Construction. Author counterexample-set/v1 without selecting repairs, counting review credit, or granting mutation.