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 agentmods add skills/sabbour/agentweaver/git-concurrency-preflightnpx skills add sabbour/agentweaver --skill git-concurrency-preflightgit clone --depth 1 https://github.com/sabbour/agentweaverWrote 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/sabbour/agentweaver/git-concurrency-preflight)<a href="https://agentmods.dev/skills/sabbour/agentweaver/git-concurrency-preflight"><img src="https://agentmods.dev/badge/skills/sabbour/agentweaver/git-concurrency-preflight.svg" alt="Measured on agentmods" 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 | $0.00046 | $0.01096 |
| Opus 5 | $0.00023 | $0.00548 |
| Sonnet 5 | $0.00009 | $0.00219 |
| Haiku 4.5 | $0.00005 | $0.00110 |
Grade A, and why
git-concurrency-preflight 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 5d 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git concurrency pre-flight
Use this skill when git state may be shared across multiple active sessions or agents. Typical triggers:
- before starting large or multi-file uncommitted work in a shared checkout
- when told another session/agent is doing significant concurrent work
- before destructive git operations such as
checkout,reset,rebase, orpull --rebasein a repo known to use concurrent sessions or many worktrees
This is repo-agnostic guidance. Agentweaver is the motivating example because it often
has many .worktrees/ plus parallel Squad/Copilot sessions, but the same risk pattern
applies anywhere multiple processes may touch the same clone.
Goal
Confirm whether the current working directory is isolated and whether local branch state still matches expectations before you add more uncommitted changes or run a destructive git command.
Run this exact pre-flight
git status --short --branch
git worktree list
git log <branch> -N --oneline
git log origin/<branch> -N --oneline
git stash list
Replace:
<branch>with the current branch fromgit status --short --branchNwith a small comparison window such as5or10
How to interpret each result
1) git status --short --branch
Use this to confirm:
- which branch you are actually on
- whether the branch tracks a remote
- whether git reports ahead/behind/diverged state
- whether uncommitted changes are already present
Safe-ish result:
- expected branch
- no surprising ahead/behind/diverged marker
- the uncommitted diff is understood and intentionally yours
Escalate/pause if:
- the branch is not the one you expected
- git reports unexpected divergence from the tracking branch
- there is a large uncommitted diff you did not create or cannot confidently attribute
2) git worktree list
Use this to understand whether concurrent work is likely isolated in separate worktrees or happening in the exact same checkout.
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.
- 5d ago First seen · 151 lines · 46 tokens per session scan A 8ad01510f19b
git-concurrency-preflight is a skill published in the GitHub repository sabbour/agentweaver (5 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 1,096 once invoked, about $0.0002 per session on Opus 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
auditing-kubernetes-cluster-rbac
Auditing Kubernetes cluster RBAC configurations to identify overly permissive roles, wildcard permissions, dangerous ClusterRoleBindings, service account abuse, and privilege escalation paths using kubectl, rbac-tool, KubiScan, and Kubeaudit.
agent-workflow-playbook
AI Agent Workflow & Skill Architecture Guide — turn expert work into measurable, reusable agent systems. Covers workflow discovery, skill decomposition, harness design, evaluation, human escalation, observability, cost control, and multi-agent orchestration. Includes a measured marketing-delivery case: 15 people × 3–4…
aks-mcp
Azure Kubernetes Service (AKS) official MCP server.
dotnet-microsoft-agent-framework
Build .NET AI agents and multi-agent workflows with Microsoft Agent Framework using the right agent type, threads, tools, workflows, hosting protocols, and enterprise guardrails.
dotnet-microsoft-extensions-ai
Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation.
dotnet-orleans
Build or review distributed .NET applications with Orleans grains, silos, persistence, streaming, reminders, placement, testing, and cloud-native hosting.