Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Oortonaut/task-graph-mcp --skill task-graph-commit-lockgit clone --depth 1 https://github.com/Oortonaut/task-graph-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/oortonaut/task-graph-mcp/task-graph-commit-lock)<a href="https://agentmods.dev/skills/oortonaut/task-graph-mcp/task-graph-commit-lock"><img src="https://agentmods.dev/badge/skills/oortonaut/task-graph-mcp/task-graph-commit-lock/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/oortonaut/task-graph-mcp/task-graph-commit-lock"><img src="https://agentmods.dev/badge/skills/oortonaut/task-graph-mcp/task-graph-commit-lock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01926 |
| Opus 5.5 | $0.00012 | $0.00770 |
| Sonnet 5.5 | $0.00006 | $0.00385 |
| Haiku 4.5 | $0.00003 | $0.00193 |
Grade A, and why
task-graph-commit-lock scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Commit Lock Pattern
Serialize git operations across multiple concurrent agents using a well-known sentinel task as a mutex. This pattern uses existing task-graph primitives (claim/release) -- no code changes or new tools are needed.
Prerequisite: Understand task-graph-basics for tool reference.
The Problem
When multiple agents work in the same repository concurrently, their git operations can collide:
- Two agents run
git add+git commitsimultaneously - One agent's
git pull --rebaseconflicts with another's in-flight commit - Merge conflicts arise from interleaved staging and committing
Git's index is a shared mutable resource. Without serialization, concurrent agents produce merge conflicts, lost commits, or corrupted state.
The Solution: Sentinel Task as Mutex
Create a well-known task with a reserved ID (e.g., _lock:git-commit) that serves as a mutex. Agents must claim this task before performing git operations and release it immediately after.
How It Works
The task-graph claiming system already provides the semantics we need:
claim()transitions a task toworking(a timed state), which sets exclusive ownership. If another agent already owns it, the claim fails.update(status="pending")releases ownership by transitioning to a non-timed state, making the task claimable again.
This is exactly a mutex lock/unlock pattern.
Setup: Create the Sentinel Task
The coordinator (or any agent during project setup) creates the sentinel task once:
create(
id="_lock:git-commit",
title="[LOCK] Git Commit Serialization",
description="Sentinel task for serializing git operations. Claim before git add/commit/push, release after. Do NOT complete or delete this task.",
tags=["lock", "infrastructure"],
priority=0
)
Important properties of the sentinel task:
- Fixed well-known ID:
_lock:git-commit-- all agents reference this exact ID - Never completed: It stays in
pending/workingcycle forever - Priority 0: Should not appear in normal task listings as actionable work
- Tag
lock: Clearly identifies it as infrastructure, not real work
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 270 lines · 30 tokens per session scan A aa89bf742199
task-graph-commit-lock is a skill published in the GitHub repository Oortonaut/task-graph-mcp (2 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 1,926 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
create-pr
Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.
git-commit
Generate well-formatted git commit messages following conventional commit standards.
repo-sync
Manage automatic Git syncing on macOS with repo-sync. Use only when the user explicitly invokes /repo-sync.
mcore-split-pr
Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.
engineer-bot-ops
A workflow for carrying an engineering task from scope through implementation and reviewable delivery. It works with a repository's branch, existing changes, rules, checks, and permissions while separating completed, unverified, and next-step work.
contributing
How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…