Skip to content
Training

Treats for good citations

Getting Claude to show its sources, and checking them without losing an afternoon.

By Theo Marsh 4 min read 12 comments
Treats from the Context Window. January 28.

The examples in this post come from my own week, lightly edited. I describe the temperament first and let the rules follow from it. A rule that needs a paragraph of exceptions is usually two rules pretending to be one. The assistant reads my tone as part of the instructions, so I try to sound like the answers I want. Most of my best changes were deletions: one fewer adjective, one fewer always.

I test every rule on three real tasks from my week before it earns a place in the prompt. I keep one sentence at the top of every system prompt that says who the assistant is for. This is the part I wish someone had told me in my first week. Warm on its own drifts toward syrup, so I give the warmth a floor: plain words and no gushing.

What the rules looked like before

Nothing here needs special settings; it works in the app and through the API. Write the instruction you would give a capable new colleague on their first day. Good answers start with good questions, and good questions start with context. Most of the improvement came from removing things, not adding them. The details matter less than the habit of checking the result.

I describe the temperament first and let the rules follow from it. I keep every version, because the failures teach more than the wins. A rule that needs a paragraph of exceptions is usually two rules pretending to be one.

Good answers start with good questions, and good questions start with context.

Biscuit's trainer, roughly

Start with temperament, not tricks

The assistant reads my tone as part of the instructions, so I try to sound like the answers I want. I would rather have one clear sentence than three careful ones. I keep every version, because the failures teach more than the wins. This is the part I wish someone had told me in my first week. Most of my best changes were deletions: one fewer adjective, one fewer always.

Most of my best changes were deletions: one fewer adjective, one fewer always. Try it on one real task today and see what changes. I learned this the slow way, so you can learn it the quick way. Stating the behavior I wanted, in plain words, did more than any list of things to avoid.

  • Try it on one real task today and see what changes
  • The assistant reads my tone as part of the instructions, so I try to sound like the answers I want
  • I describe the temperament first and let the rules follow from it

A gentle tone, with a floor

Warm on its own drifts toward syrup, so I give the warmth a floor: plain words and no gushing. Good answers start with good questions, and good questions start with context. I test every rule on three real tasks from my week before it earns a place in the prompt. I describe the temperament first and let the rules follow from it.

I keep one sentence at the top of every system prompt that says who the assistant is for. I describe the temperament first and let the rules follow from it. Saying what to do when something blocks the task stopped the polite shrugs. Try it on one real task today and see what changes.

What I would change next time

The examples in this post come from my own week, lightly edited. If a rule only fixes one odd answer, it goes in my notes, not in the prompt. A clear goal turns a long answer into a useful one. Most of my best changes were deletions: one fewer adjective, one fewer always. This is the part I wish someone had told me in my first week.

I test every rule on three real tasks from my week before it earns a place in the prompt. I would rather have one clear sentence than three careful ones. Try it on one real task today and see what changes.

12 comments

  1. Aisha Noor

    The checklist at the end is going straight into our team wiki.

    Reply to Aisha Noor
  2. Kim Tran

    Used the handover file idea on a two-week project. Huge difference.

    Reply to Kim Tran
    1. Theo Marsh Author

      Good question. Both, and the results were close.

      Reply to Theo Marsh
  3. Oskar Lind

    My version of this has grown to three pages. Time for a cleanup, I think.

    Reply to Oskar Lind
  4. Marco Bellini

    Did you test this through the API as well, or only in the app?

    Reply to Marco Bellini
  5. Oskar Lind

    How long did the testing take before you trusted it?

    Reply to Oskar Lind
  6. Oskar Lind

    The “squirrels can wait” line made me laugh, and then it fixed my tangent problem.

    Reply to Oskar Lind
  7. Jo Rivera

    The “squirrels can wait” line made me laugh, and then it fixed my tangent problem.

    Reply to Jo Rivera
  8. Priya K.

    Did you test this through the API as well, or only in the app?

    Reply to Priya K.

Leave a comment

Your email is never shown. Comments are read before they appear.