reference-lock

reference-lock is a skill for Claude Code from avelikiy/great_cto. It costs 102 tokens per session (1,742 once invoked), scanned A, original, MIT.

A planning record for turning visual references into a written design direction before building a user interface. It records which sources shaped each decision and checks the finished result against that record.

In plain words
What is it for?
Use it to select and document reference websites, screenshots, or design files, define what to keep or reject, and review the implementation against those decisions.
Why use it?
It prevents several references from being blended into an unclear style and makes design choices traceable. It also helps catch visual drift between the intended direction and the built page.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the great-cto plugin — 38 skills, 21 commands, 73 agents shipped together

Good fit Use it to select and document reference websites, screenshots, or design files, define what to keep or reject, and review the implementation against those decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avelikiy/great_cto/reference-lock
Install

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.

Any agent
npx skills add avelikiy/great_cto --skill reference-lock
Clone the repo
git clone --depth 1 https://github.com/avelikiy/great_cto

Made for: Claude Code.

Or install great-cto, the plugin that ships this one along with the rest of its 38 skills, 21 commands, 73 agents.

Wrote 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.

agentmods badge for reference-lock

README.md
[![agentmods](https://agentmods.dev/badge/skills/avelikiy/great_cto/reference-lock/github.svg)](https://agentmods.dev/skills/avelikiy/great_cto/reference-lock)
Your own site
<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.

agentmods 80×15 button for reference-lock

Your own site · 80×15
<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>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,742 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 15d ago against content hash ac13c65a513a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/reference-lock/SKILL.md · 127 lines

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:

  1. 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.
  2. 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.
  3. 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.

Read the full file on GitHub · 127 lines

Changes

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.

  1. 15d ago First seen · 127 lines · 102 tokens per session scan A ac13c65a513a

Subscribe to this mod's changes

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.

Related

reference-lock compared with skills from other repositories

reference-lock next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reference-lockavelikiy/great_ctoSkill11713d agoMITA102Claude Code
quality-reviewParetofilm/superpowers-gstackSkill56d agononeB54Claude Code
approve-designme2resh/apexyardSkill5556d agoMITA26Claude Code
review-allncoevoet/claude-review-allSkill453d agoMITA74Claude Code
fec-implement-from-designbovinphang/frontend-craftSkill2413d agoMITA61Claude Code
fec-accessibility-checkbovinphang/frontend-craftSkill2413d agoMITA83Claude Code
fec-storybook-component-docbovinphang/frontend-craftSkill2413d agoMITA93Claude Code