ckb/.agents/modules/voice/skills/ckb-voice/references/calibration.md
Michał Kopeć c57ddceffd Template 2.2.0: voice and convert modules
- 2.1.0 new opt-in `voice` module (D-0020): skill ckb-voice rewrites every
  prose file written under apply_to (outputs/answers, documents, reports,
  PROJECT-OVERVIEW) in a voice whose profile is a wiki page,
  wiki/voice/<name>.md (type voice-profile); settings in ckb.yaml (mode,
  profile, writer, apply_to, skip, chat); frozen spans never change, vague
  claims flagged not cut; `writer:` delegates to an external rewriting
  skill such as a personal ghost-writer. ckb-module writes a manifest's
  default_config into the entry's config:. Eval ckb-module/install-voice.
- 2.2.0 new opt-in `convert` module (D-0021): skill ckb-convert and
  convert.py turn Markdown into Word/ODT/PDF/HTML through pandoc with a
  house style in templates/styles/; unit tests and eval
  ckb-module/install-convert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 20:57:39 +01:00

86 lines
3.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Calibrating a voice profile
Run this for "calibrate our writing style", "create a voice profile for X",
"learn how we write", "rebuild the house voice". For a single preference
mentioned in passing, use "Update one thing" in SKILL.md instead and don't
run these questions.
Adapted from a personal ghost-writer skill's calibration flow. The result
is a wiki page, `wiki/voice/<name>.md`, not a file in a skill folder.
---
## Which profile
Take the name from the request (`house` when they say "our style", "the
team voice", "house style"; the person's author slug for "my style"). If
`wiki/voice/<name>.md` exists, ask once: "There's already a `<name>` voice.
Update it, or replace it from scratch?" Updating keeps every field the new
answers don't touch, and keeps `## Notes` byte-for-byte.
Set `voice_of`: `team` for a shared voice, `person` for one person's own,
`third-party` for a writer or public figure.
## Question 1 — samples (the most useful input)
Ask: "Do you have documents written in this voice? Give me paths in the KB,
files elsewhere, or paste text."
- **In the KB** (`raw/archive/`, `outputs/`, a `templates/` example): read
them and cite them in `## Sources` with fingerprints.
- **Elsewhere**: offer to copy them into `raw/inbox/` first, so they can be
fingerprinted and re-read later. Read them either way. Without the copy,
say "Calibrated from files outside the KB" in the page's opening
paragraph, and leave them out of `## Sources`.
- **Pasted text**: use it, and say a single paragraph is a weak signal.
- **`.docx`**: `python3 -c "from docx import Document; d=Document('PATH'); print('\n'.join(p.text for p in d.paragraphs if p.text.strip()))"`.
Without python-docx, ask for a PDF or pasted text. Never install it
without asking.
- For a file over 1,000 lines, read the first 200 and the last 100.
Extract, with examples quoted from the samples:
1. average sentence length and how often short ones land;
2. contractions or not;
3. deliberate fragments;
4. how sentences usually open;
5. recurring phrases (these go to **Keep**);
6. vocabulary register and domain terms;
7. paragraph length;
8. how directly opinions are stated;
9. overall tone in two or three words;
10. habits that appear inconsistently and look like slips (candidates for
**Avoid**).
With several documents, separate what holds across all of them from what
one document does. If the samples come from different eras or authors,
ask which ones are the target voice and use the rest for facts only.
## Questions 2–4 — only what the samples didn't settle
Ask one at a time, and skip any the samples already answer:
2. "What do you mostly write in this voice: notes, blog posts, business
documents, client deliverables, or formal writing?" (maps to 1–5)
3. "Short and punchy, long and flowing, or mixed?"
4. "Any words or habits you want stripped, even if they aren't AI tells?
And when there's a point of view, state it or stay neutral?"
## Confirm, then write
Summarise in two sentences: "This voice is [formality], [sentence style],
[opinions]. I'll keep [phrases] and strip [avoid list]." Ask: "Does that
sound right?" Apply corrections.
Then write the page from `profile-template.md` with `review: draft` and
today's `last_updated`. Paste the best one or two sample paragraphs into
`## Sample`; for a third-party voice, a few lines at most.
Create `wiki/voice/index.md` if it's missing (a table: name, `voice_of`,
`tldr`), add the row, and add a `wiki/voice/` row to `wiki/index.md`. Log
every create and change in `wiki/log.md` (Rule B) as you go.
Finish with one line: "Saved the `<name>` voice to `wiki/voice/<name>.md`.
It applies to new outputs from now on. Edit the page or say 'update the
<name> voice' to change it." If it isn't the default and the user may want
it to be, offer that once.