tune-house-style
Skill1 starsChanged 5 months agoApache-2.0View on GitHub
Calibrate the description field to an institution's own cataloguing voice using few-shot examples of finished records, then prove the change on a re-run with a before-and-after.
In this repository10 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-application-profileSkill
- classify-and-routeSkill
- compute-pass-rateSkill
- describe-collectionSkill
- export-for-repositorySkill
- preprocess-derivativesSkill
- refine-promptsSkill
- resolve-authoritiesSkill
- review-triageSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
When onboarding a new collection whose descriptive conventions differ from the rest of the institution's holdings.
- Very specific: line 79
Read the exemplars and the current style: Read the five or so finished records and the profile's current description_style.guidance.
- Very specific: line 85
Draft the revised style guidance: Write description_style.guidance as a short, operational instruction a generator can follow, grounded in …
- Very specific: line 89
Update the application profile: Write the revised block back into application-profile.json.
- Very specific: line 109
Re-run the sample item: Run stage 4 for the one sample item against the updated profile and the new prompt version.
- Very specific: line 120
Hand off: If the cataloguer approves, the new overrides prompt version becomes the one the next run composes and uses, recorded in the run …
- Distinctive: line 142
Run against this, the skill: reads the five exemplars and characterizes the shorter, neutral, present-tense voice.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
tune-house-style
Generated descriptions read in a generic voice until they are calibrated to how the institution's
cataloguers actually write. This skill closes that gap. It collects a handful of the institution's
finished, approved records, derives the house style from them, writes that style into the application
profile's description_style (the canonical home that fills the prompt's {{DESCRIPTION_STYLE}} and
{{HOUSE_STYLE_EXAMPLES}} placeholders), saves a new owned prompt version in the institution's
overrides/ with a changelog note, re-runs one sample item, and shows the cataloguer the old and new
descriptions side by side.
It tunes the description field, which is free-text and where house voice lives. It does not retune
controlled-vocabulary fields; those are governed by controlled_vocabularies in the profile and
resolved deterministically in stage 5.
Where it sits in the pipeline
This is a stage 4 (generation) tuning operation, run inside the improvement loop's refine step
(step 5 in ../../docs/the-improvement-loop.md). It changes how
the generation prompt produces the description field and then exercises stage 4 on one item to show
the effect. It does not touch intake, authority resolution, review, or export.
A house-style change is usually a domain customization: it encodes one institution's voice, so by
the generalizable-versus-domain test it stays in the institution's owned instance. The profile's
description_style lives in the adjacent workspace already, and the tuned prompt version this skill
produces lands in the workspace's overrides/ rather than the shared prompts/system/. A run composes
shared assets plus local overrides with local winning, so the overrides version is the one that
executes. The exception is a change that improves the prompt's default style guidance for any
collection (for example, a clearer instruction to describe what is visibly present without
interpreting intent); that generalizable mechanism is extracted and contributed upstream as a separate
PR against prompts/system/, while the institution-specific wording stays local. Decide this
explicitly and record it; see ../../CONTRIBUTING.md.
When to run it
- Early in the loop, once a first sample exists and the cataloguer can see that generated descriptions read longer, more interpretive, or in a different register than the institution's own records.
- Whenever review feedback clusters on the
descriptionfield for register or length rather than for factual error (a calibration miss, not a content miss). - When onboarding a new collection whose descriptive conventions differ from the rest of the institution's holdings.
Inputs
- Exemplar finished records. Five or so of the institution's own approved descriptions, the more
representative the better. They live in the adjacent workspace (the path the profile's
description_style.examples_pathpoints at, by conventioncontext/exemplar-records/). These are finished catalog records, not first-pass draft output. - The application profile (
application-profile.jsonin the adjacent workspace), conforming to ../../schemas/application-profile.schema.json. Itsdescription_styleblock is the canonical home of the house style; see ../../docs/application-profiles.md. - The current generation prompt
(../../prompts/system/metadata-generation.v1.md),
whose
{{DESCRIPTION_STYLE}}and{{HOUSE_STYLE_EXAMPLES}}placeholders are filled from that block. - One sample item already generated in a prior run, so a clean before-and-after is possible. Its existing record conforms to ../../schemas/metadata-record.schema.json.
Outputs
- An updated
description_styleblock inapplication-profile.json:guidancerewritten to match the exemplars,examples_pathpointed at the exemplar set, andmax_length_wordsset if the records imply a cap. - A new owned prompt version file in the adjacent workspace's
overrides/(for exampleoverrides/prompts/system/metadata-generation.v2.md), with the internalversionincremented and a changelog entry recording what changed and why. The prior version stays in place; records that cite it remain reproducible. - A re-generated record for the sample item, conforming to the metadata-record schema, with
provenance.prompt_versionstamped to the version that actually ran. - A before-and-after view of the
descriptionfield for the cataloguer to judge.
Steps
- Read the exemplars and the current style. Read the five or so finished records and the profile's
current
description_style.guidance. Characterize the house voice concretely: sentence count, length, tense, person, whether it states only what is visibly present or interprets intent or mood, how it handles uncertainty, and any recurring phrasing conventions. Name the specific gaps between the exemplars and the current generated output. - Draft the revised style guidance. Write
description_style.guidanceas a short, operational instruction a generator can follow, grounded in the exemplars. Setmax_length_wordsif the records imply a cap. Keep it about thedescriptionfield only. - Update the application profile. Write the revised block back into
application-profile.json. Setdescription_style.examples_pathto the exemplar set so the generator gets the records for few-shot calibration through{{HOUSE_STYLE_EXAMPLES}}. Validate the file against ../../schemas/application-profile.schema.json. This block is the canonical source; the prompt receives it through its placeholders. - Save a new prompt version, owned and local. Copy the current effective prompt to the next
version file in the adjacent workspace's
overrides/(for exampleoverrides/prompts/system/metadata-generation.v2.md), increment the internalversion, and add a changelog entry naming the house-style change, the institution, and the reason. The institution's specific voice rides in through{{DESCRIPTION_STYLE}}and{{HOUSE_STYLE_EXAMPLES}}from the profile, so the override usually carries the version bump and changelog rather than institution-named wording in the body. Keep the tuned version inoverrides/, not in the sharedprompts/system/, because it encodes one institution's voice; a run composes shared plus local with local winning, so this is the version that executes. If, and only if, the change sharpens the prompt's default style guidance in a way that holds for any collection, extract that generalizable wording and open a separate PR against the sharedprompts/system/; that is the only path by which the commons gets a new version. A new version is warranted whenever the change alters what the prompt produces, so records stay attributable to the exact prompt that made them. - Re-run the sample item. Run stage 4 for the one sample item against the updated profile and the
new prompt version. The generation model is the profile's
model.generation. The re-generated record carriesprovenance.prompt_versionset to the effective composed prompt, which is the overrides version when one exists, plus a freshgenerated_date. Re-running a single item is cheap and isolates the style change; it is not a measured loop round. - Show before and after. Present the
descriptionfield old and new, side by side, for the same item, plus the one-line changelog note. Let the cataloguer judge whether the new voice matches house practice. Confidence, basis, and the controlled fields are unaffected by a description-style tune; say so rather than implying the whole record changed. - Hand off. If the cataloguer approves, the new overrides prompt version becomes the one the next
run composes and uses, recorded in the run manifest's
prompt_versions(../../schemas/run-manifest.schema.json) as the effective prompt id. To confirm the style change actually moves thedescriptionpass rate rather than just one item, run a measured loop round on a sample (compute-pass-rate) before scaling. Classify the change generalizable or domain per the section above and route it accordingly: the institution's voice stays inoverrides/, and any generalizable default-style sharpening goes upstream as a separate PR.
Usage example
This is sample-user-prompt #2 from the initiative's operator curriculum, the few-shot calibration exercise:
Here are five of our existing finished records (paste or point to context/exemplar-records/).
Our cataloguers write shorter, more neutral descriptions than the current output,
one or two sentences, present tense, no interpretation of mood or intent. Update the
description style to match these examples, save the prompt as a new version with a note
in the changelog, re-run item tel_0001, and show me the old and new descriptions side by side.Run against this, the skill: reads the five exemplars and characterizes the shorter, neutral,
present-tense voice; rewrites description_style.guidance and sets max_length_words in
application-profile.json and points examples_path at context/exemplar-records/; copies the
generation prompt to the next version with a changelog entry recording the house-style calibration;
re-runs stage 4 for tel_0001 against the new version; and shows the description field before and
after for that item with the changelog note.
Notes
- The house style is one institution's voice, kept in that institution's profile and exemplars. It is not a Notch8 setting and not hidden anywhere; it is visible, version-controlled text the institution owns and edits.
- The exemplars carry the calibration. Pointing
examples_pathat the institution's own approved records is the most direct lever on register and length; prefer adding or sharpening exemplars over writing longer prose inguidance. - This tunes free-text description only. To change which controlled vocabularies apply or how authority
candidates are proposed, edit
controlled_vocabulariesin the profile and useresolve-authorities; do not encode vocabulary rules in the description style.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

