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 conn-castle/agent-layer --skill instruction-syncgit clone --depth 1 https://github.com/conn-castle/agent-layerWrote 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/conn-castle/agent-layer/instruction-sync)<a href="https://agentmods.dev/skills/conn-castle/agent-layer/instruction-sync"><img src="https://agentmods.dev/badge/skills/conn-castle/agent-layer/instruction-sync/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/conn-castle/agent-layer/instruction-sync"><img src="https://agentmods.dev/badge/skills/conn-castle/agent-layer/instruction-sync.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.00036 | $0.00486 |
| Opus 5.5 | $0.00014 | $0.00194 |
| Sonnet 5.5 | $0.00007 | $0.00097 |
| Haiku 4.5 | $0.00004 | $0.00049 |
Grade C, and why
instruction-sync scanned grade C 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 13d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- agent-layer-catalog-skill: instruction-sync --> What it actually says
Instruction sync
Read al instructions --help and the relevant subcommand help before operating.
Start with al instructions status --all, which is offline. al sync projects
current local content without fetching. Use pull to update imports.
al instructions add <repository> <exact/path.md> --order <integer> --yes
imports one regular Markdown file. Order is required, nonnegative, globally
unique across imported and local blocks; zero and gaps are valid. Source ref,
tracking, write policy, push repository and push branch use the skills defaults
and flags. Order is configuration-owned and never published upstream.
diff <filename.md> accepts --from and --to base, local, upstream, or
destination. pull preserves edits through a three-way merge. For a conflict,
resolve the reported Git workspace index, then run resolve <filename.md>.
reset <filename.md> --yes discards local imported edits. remove <repository> <selector> --yes removes one import block; modified files block retirement.
push --yes respects configured write policies and excludes project-local files.
Use destructive commands and upstream writes only when the user authorizes them. Import only known repositories/files; do not search or recommend sources.
Project-owned files stay in .agent-layer/instructions/, each declared once in
[[instructions.local]] with selectors = ["filename.md"] and order = N.
Imports live in .agent-layer/instructions-imported/ with shared lifecycle state
in instructions.lock.json. Edit imported files there, then sync.
al upgrade plan previews conversion of eligible unmodified standard rules and
memory files to Git imports. Apply it with al upgrade when a project upgrade is
in scope. Accepted wizard changes can establish local instruction ordering and
add missing imports. Selecting None preserves existing instructions. Use the
CLI to maintain the lockfile.
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.
- 13d ago Changed 64a67ec8daa7
- 1mo ago First seen · 42 lines · 36 tokens per session scan C 1bcc56f1450b
instruction-sync is a skill published in the GitHub repository conn-castle/agent-layer (10 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 486 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-12.
instruction-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| instruction-syncconn-castle/agent-layer | Skill | 10 | today | MIT | C | 36 | Claude Code |
| kirocrew-prepare-prkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| moai-ref-git-workflowmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 58 | Claude Code |
| release-noteskirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 21 | Claude Code, Codex |
| commitopenonion/connectonion | Skill | 1.6k | yesterday | Apache-2.0 | A | 26 | Claude Code, Codex |
| cloud-handoffChemaclass/agnostic-ai | Skill | 32 | today | MIT | A | 49 | Claude Code, Codex |
| eg-precommit-reviewvshvedov/elephant-goldfish | Skill | 107 | 1mo ago | MIT | A | 24 | Codex |