Install
openclaw skills install @tryboy869/agentgitValidates and merges multi-agent git work through a deterministic gate — a real command must exit 0 before anything merges. Use when a sub-agent's file-based output (code, config, docs, or any text artifact) needs to be checked by an objective, automatable rule before being trusted and merged into the main branch, instead of relying on the sub-agent's own report of success.
openclaw skills install @tryboy869/agentgitUse this skill whenever a sub-agent produces a file-based artifact (code, config, a document, structured data — anything that lands in a git repo) and its result needs to be checked by an objective rule before being merged or acted on. Never trust a sub-agent's own claim that its output is correct — that is exactly the failure mode this skill exists to prevent.
main.The agentgit CLI must be reachable. It is not yet published to npm — check
first:
node /path/to/AgentGit/bin/agentgit.js status
If that fails, clone it once:
git clone https://github.com/Tryboy869/AgentGit.git
Then either run commands with the full path to bin/agentgit.js, or run
npm link inside the cloned folder to get a plain agentgit command (see
the repo's README for both options).
agentgit init
agentgit create-task "<short description of the sub-agent's job>"
.agentgit/config.yaml, e.g. npm test, a lint command,
or any project-specific check) and reads its real exit code:
agentgit validate <task-id>
0 → task marked approved.rejected. Do not merge. Report the failure
back to the sub-agent for another attempt, or escalate to the user.agentgit merge <task-id>
approved because a sub-agent said its work
was done. Only a real exit code does that.Say so plainly rather than skipping validation. AgentGit's protocol accepts any command as the validation check (a test suite, a linter, a schema check, a word-count/compliance script for non-code artifacts) — if none exists for this task yet, that's worth surfacing to the user, not working around.
Full protocol and file format: https://github.com/Tryboy869/AgentGit/blob/main/docs/en/protocol.md