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 avelikiy/great_cto --skill reference-lockgit clone --depth 1 https://github.com/avelikiy/great_ctoWrote 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/avelikiy/great_cto/reference-lock)<a href="https://agentmods.dev/skills/avelikiy/great_cto/reference-lock"><img src="https://agentmods.dev/badge/skills/avelikiy/great_cto/reference-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/avelikiy/great_cto/reference-lock"><img src="https://agentmods.dev/badge/skills/avelikiy/great_cto/reference-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.00102 | $0.01742 |
| Opus 5.5 | $0.00041 | $0.00697 |
| Sonnet 5.5 | $0.00020 | $0.00348 |
| Haiku 4.5 | $0.00010 | $0.00174 |
Grade A, and why
reference-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 15d 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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reference lock
The failure this prevents
References get collected and then lost in one of three ways:
- Averaged. One reference is dark, one is loud, one is serif; the design comes out cream, muted and polite, which is none of them and is the model's default anyway.
- Untraceable. The DESIGN doc says "inspired by A and B", but no choice in it can be pointed back to either. A reviewer cannot tell research from memory.
- Drifted. The direction was sharp on paper; the build softened it — safer accent, rounder corners, a generic section order — and nobody compared the two.
The lock fixes the first, the ledger the second, the close-out check the third.
1. Get references, free sources first
Take the first source on this list that answers the question, and record which one did:
| # | Source | Cost | Gives |
|---|---|---|---|
| 1 | What the operator handed over: URLs, screenshots, a Figma file | free | the strongest signal; it overrides the rest |
| 2 | 3–5 named live products, captured with skills/anydesign/scripts/capture_site.py (desktop + mobile viewports) and extract_css_vars.py |
free, local | real screens and exact token values |
| 3 | A DESIGN.md study file of a real site (e.g. the MIT awesome-design-md collection, cloned outside this repo) |
free, offline | a described style system: type, colour roles, spacing, components |
| 4 | A reference MCP the operator installed (screen search, style search, flows) | free or paid | breadth: sites you did not already know |
| 5 | Nothing reachable | — | say so; take direction from a committed-aesthetic skill, never from memory presented as research |
Record the result as one of the three states design-advisor already uses —
consulted (name each reference), unreachable (name the source that refused and
why), not attempted (and why). A paid source that answers "no subscription" is
unreachable, not consulted.
References are studied, never shipped. Captures and screenshots of other products stay
outside the repository (scratch dir or ~/.great_cto/refs/). The DESIGN doc names the
reference and describes the pattern in our own words; it never embeds the image, the logo
or the copy. Follow the source's own attribution terms when it states them.
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.
- 15d ago First seen · 127 lines · 102 tokens per session scan A ac13c65a513a
reference-lock is a skill published in the GitHub repository avelikiy/great_cto (117 stars, last pushed 13d ago), licensed MIT. It adds 102 tokens to every session and 1,742 once invoked, about $0.0004 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-11-15.
reference-lock compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| reference-lockavelikiy/great_cto | Skill | 117 | 13d ago | MIT | A | 102 | Claude Code |
| quality-reviewParetofilm/superpowers-gstack | Skill | 5 | 6d ago | none | B | 54 | Claude Code |
| approve-designme2resh/apexyard | Skill | 555 | 6d ago | MIT | A | 26 | Claude Code |
| review-allncoevoet/claude-review-all | Skill | 45 | 3d ago | MIT | A | 74 | Claude Code |
| fec-implement-from-designbovinphang/frontend-craft | Skill | 24 | 13d ago | MIT | A | 61 | Claude Code |
| fec-accessibility-checkbovinphang/frontend-craft | Skill | 24 | 13d ago | MIT | A | 83 | Claude Code |
| fec-storybook-component-docbovinphang/frontend-craft | Skill | 24 | 13d ago | MIT | A | 93 | Claude Code |