Borrowing it
Nothing to install: this file belongs to stroland02/Sync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/stroland02/Sync/main/AGENTS.mdgit clone --depth 1 https://github.com/stroland02/SyncWrote 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/instructions/stroland02/sync/agents-md)<a href="https://agentmods.dev/instructions/stroland02/sync/agents-md"><img src="https://agentmods.dev/badge/instructions/stroland02/sync/agents-md/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/instructions/stroland02/sync/agents-md"><img src="https://agentmods.dev/badge/instructions/stroland02/sync/agents-md.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.06449 | $0.06449 |
| Opus 5.5 | $0.02580 | $0.02580 |
| Sonnet 5.5 | $0.01290 | $0.01290 |
| Haiku 4.5 | $0.00645 | $0.00645 |
Grade A, and why
Sync AGENTS.md scanned grade A with 1 finding 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 1mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
**Always pass `encoding="utf-8"` explicitly** to `read_text`, `write_text`, `open`, **and `subprocess.run(..., text=True)`**. On Windows all of these default to the locale codepage — cp1252 here — so any non-ASCII byte c How it starts
The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sync — working conventions
Read this before writing code. It is the shared context every agent working in this repository gets; briefs and plans layer on top of it, never against it.
What this project is
Sync watches the third-party APIs a codebase calls and opens verified pull requests when one of them breaks, drifts, or wastes money. Design: docs/superpowers/specs/2026-07-25-sync-self-maintaining-apis-design.md.
The load-bearing idea is the API Dependency Graph: static call sites joined against vendor changes and runtime telemetry. Detectors query it, and all of them emit one Finding type into one remediation pipeline. If you are adding something that does not read from or write to that graph, question whether it belongs.
Latency is a design constraint, not a later optimisation
docs/superpowers/specs/2026-07-25-sync-latency-architecture.md is binding on pipeline design. Read it before changing the shape of any pipeline, adding an agent, or introducing a stage.
The rule it exists to enforce: every agent must shorten the critical path or improve a result. An agent that does neither is latency and cost with extra steps.
One consequence binds everywhere, because breaking it fails silently: any state key written by parallel branches must declare a reducer. Without one, concurrent writes are dropped — no error, no warning, missing results.
Two more, both scoped to the remediation pipeline and both in .claude/rules/remediate-stage.md: the critical path is dominated by the customer's CI run, and locate → patch → verify is a data dependency rather than an ordering accident.
This is a data pipeline, and it obeys data-pipeline rules
docs/superpowers/specs/2026-07-27-sync-pipeline-discipline.md carries the argument and names what deliberately does not apply. Two of the six rules are purely about vendor adapters — keep VendorChange.raw, and a signature proves origin rather than correctness — and live in .claude/rules/signal-stage.md. The four that bind every session:
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.
- 1mo ago First seen · 299 lines · 6,449 tokens per session scan A a36006af14a2
Sync AGENTS.md is an instructions file published in the GitHub repository stroland02/Sync (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 6,449 tokens to every session, about $0.0258 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
arm_1a2b_9i0j_cleanCode_singleResponsibility
Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.
arm_1a2b_3c4d_cleanCode_meaningfulNames
Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.
arm_1a2b_5e6f_cleanCode_smallFunctions
Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.
arm_1a2b_7g8h_cleanCode_avoidComments
Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.
arm_1a2b_k1l2_cleanCode_avoidDuplication
Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.
ai-resource-manager arm_index.instructions.md
Instructions for colchuck-ai/ai-resource-manager, covering arm rulesets, priority rules, installed rulesets and sample-registry/[email protected].