working-with-lacquer

working-with-lacquer is a skill for Claude Code, Codex from patrickserrano/lacquer. It costs 109 tokens per session (2,426 once invoked), scanned A, original, MIT.

A guide for maintaining projects managed by Lacquer, a system that distributes shared instructions, skills, code-quality settings, hooks, and CI workflows across projects.

In plain words
What is it for?
Use it to investigate Lacquer audits, synchronization problems, managed-file drift, hooks, workflows, and baseline requirements.
Why use it?
It helps explain why local edits may be overwritten and how to detect differences between a project's files and the shared source.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is path = "../some-app".

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/patrickserrano/lacquer
agentmods
npx agentmods add skills/patrickserrano/lacquer/working-with-lacquer

Made for: Claude Code, Codex.

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 working-with-lacquer

README.md
[![agentmods](https://agentmods.dev/badge/skills/patrickserrano/lacquer/working-with-lacquer.svg)](https://agentmods.dev/skills/patrickserrano/lacquer/working-with-lacquer)
Your own site
<a href="https://agentmods.dev/skills/patrickserrano/lacquer/working-with-lacquer"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/working-with-lacquer.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,426 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00109 $0.02426
Opus 5 $0.00055 $0.01213
Sonnet 5 $0.00022 $0.00485
Haiku 4.5 $0.00011 $0.00243

Measured 2d ago against content hash f86955bb3ffa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

working-with-lacquer 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 2d 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.

core/skills/working-with-lacquer/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Working With Lacquer

Lacquer renders shared content — CLAUDE.md regions, skills, commands, lint configs, git hooks, CI workflows — from one repo into every project. A project declares its shape in .lacquer.toml; lacquer sync writes the content; lacquer audit checks the project against it and is wired into CI.

The rule that explains every mechanism below: a lacquer-managed file is identical to the lacquer's copy, or it is excluded. There is no third state. A quietly-edited copy is how one project's pre-commit hook ends up weaker than its CI while looking healthy.

Is this file mine?

lacquer audit    # classifies every managed unit, lists the ones that aren't clean
lacquer status   # each CLAUDE region's stamped version vs the lacquer's latest

If audit lists it, the lacquer owns it. Typically: .swiftlint.yml, .swiftformat, biome.json, deno.jsonc, .pre-commit-config.yaml, lefthook.yml, .github/workflows/<profile>-*.yml, .claude/skills/**, .claude/commands/**, and the <!-- lacquer:… --> regions inside CLAUDE.md / AGENTS.md. Text outside those markers in a CLAUDE.md is the project's and is preserved.

Exit codes

Code Means Fix
0 clean
1 the command failed (bad manifest, I/O, missing profile) read the message
2 usage error
3 a managed file was edited locally; sync would clobber it see below
4 a project baseline is not met meet it, or time-box a relaxation
5 lacquer doctor: a check proved it cannot fail fix the check
6 a stack on disk is not declared in .lacquer.toml lacquer adopt

Recipes

Exit 3 — "a lacquer-managed file was edited in this project." Decide which is true, then do that one:

  • The change should apply everywhere → make it in the lacquer repo, open a PR there, then re-sync this project. This is the default and usually the right answer.
  • This project genuinely owns the file → add it to [project].exclude with a reason (and an until if it is temporary — see "Exclusions" below). The lacquer then neither distributes nor tracks it.
  • The edit was accidentallacquer sync (or sync --force to take the lacquer's version over yours).

Read the full file on GitHub · 211 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. 2d ago First seen · 211 lines · 109 tokens per session scan A f86955bb3ffa

Subscribe to this mod's changes

working-with-lacquer is a skill published in the GitHub repository patrickserrano/lacquer (3 stars, last pushed 2d ago), licensed MIT. It adds 109 tokens to every session and 2,426 once invoked, about $0.0005 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-09-03.