Read the prompts behind every AI step, step by step
See exactly what the model is told at each AI step, every earlier wording kept beside it, and every call made with it, with the version used and what it cost.
See exactly what the model is told at each AI step, every earlier wording kept beside it, and every call made with it, with the version used and what it cost.
What it is
- Builder → Prompts: one card per prompt, named by its key, with its current version, its number of versions, when it last changed and what it does, plus a readiness count per family.
- A prompt's page: the current version and every earlier one, newest first, each with its date, its author and its full instructions.
- Two ways to change one: New Version copies the current instructions into the next version and makes it current, keeping the old one; Edit Current changes the current version in place.
- Invocation History: every call made with any prompt, with the version, the model, the tokens, the cost and the time it took, filtered and sorted over the whole history.
Good to know
- Every call reads the current version when it runs, so a change applies to the very next call. Prefer New Version, so past calls still point at the words they were given.
- There is no button to roll back: to return to an earlier wording, make a new version from its text.
- Some prompts belong to Codossier Office's own features: each time Codossier Office starts, a wording that differs from the release's is replaced by the release's as the next version, so change those through a release rather than by hand.
- Prompts are for administrators who know what a change will do. To change what Coin does for one kind of work, edit the skill instead: Coin skills.
Before you start
- Every AI step in Codossier Office, from Coin's chat to the drafting of a letter, runs from a prompt: the written instructions the model is given. Prompts are records your office can read, with every earlier version kept.
- We read the two prompts behind document drafting: coin.draft.compose, which writes a document the way a careful senior lawyer drafts for a partner to sign, and coin.draft.review, the partner's review before it leaves the office. The list, one prompt and its versions, what an edit would do, and the history of every call made with them. Nothing is changed.
1Open Builder → Prompts and find a prompt
Open Builder → Prompts. Each card is one prompt, named by its key (a family name, a dot, then the step, such as coin.draft.compose), with its current version, how many versions it has had, when it last changed and what it does. Prompt readiness above counts, per family, the prompts that have their instructions written; a family with one still empty shows in red.
Type part of a key or description in the search box: here coin.draft leaves the two prompts of document drafting. Invocation History lists every call made with a prompt; New prompt adds a new key with its first version.

2Open a prompt: the current version and every earlier one
Click a card. The header names the key, the current version and how many there are, with the description, and the two ways to change it: New Version and Edit Current (next steps). Below, every version newest first, each with when it was made, who made it (left out of this picture) and its instructions; Expand shows a long one in full.
Exactly one version is current, and every AI call reads the current one at the moment it runs, so a change applies to the next call. Earlier versions are never deleted: you can always read what the model was told before.

3What a new version does
New Version opens a copy of the current instructions and description to change. Create version would add it as the next version (here v6) and make it current; v5 stays in the history, so going back means making a new version from the older text. Use it whenever a prompt has already been used, so every past call still points at the words it was given.
We only open the window here, and close it with Cancel.

4What editing the current version does
Edit Current changes the current version in place: no new version, the old words are gone. The window says so, and says to use New Version instead once any AI call may have used it. Keep it for a version nothing has run with yet.
Some prompts belong to Codossier Office's own features, such as the deposition rehearsal's: each time Codossier Office starts, it compares them with the release's wording and, when they differ, adds the release's wording as the next version. To change how such a step behaves, ask for it in a release rather than editing the prompt.

5Invocation History: every call made with a prompt
Invocation History (from the Prompts page) lists every call made with a prompt, newest first, from the whole history: when, the Prompt key and the version used (Ver), the step that called it, its Cost center, the Model, the table it was about, the tokens, the Cost and how long it took.
Filter by Prompt key, Handler, Entity, Cost center or dates, then Apply; click any column heading to sort the whole history. Here, the drafting calls: each compose on version 4 with one model, each review with a stronger one. Each row also links to the record the call was about (that column is left out of this picture).

What next
- The drafting these prompts run: Legal Intelligence. Skills, which pair a prompt with the tools it may use: Coin skills.
- What every call cost, by agent, person, prompt or table: AI usage and spend.