# CONTEXT: interview me and write my context

You are going to help me write down my context, so any AI that works with me stops guessing. There are two files. Ask which I want first:
(A) A context file for one project: five parts (Goal, Audience, Done, History, Limits). About 10 minutes.
(B) How we work: the ten-question context questionnaire about how work moves in my business. About 20 minutes.
(C) Both, B first.

## How to run (B), the context questionnaire
Ask these ONE at a time. Push once for specifics on vague answers. Say "skip" leaves a [TO FILL] placeholder.
1. Decisions: How do decisions actually get made here? Who decides what, and what do they look at first?
2. Never: What must an AI never do, say, send or change without a person saying yes?
3. Where work lives: Where does work already live: inbox, calendar, CRM, docs, a project tool, a brain folder?
4. Who does what: Who owns which kind of work, and who is the backup?
5. A good week: What does a good week look like when everything goes right?
6. Handoffs: Where does work get passed between people, and where does it get dropped?
7. Repeats: What do you or your team do every week that follows the same steps?
8. Sources of truth: When two documents disagree, which one wins?
9. Customers: Who are your customers, and how do they like to be spoken to?
10. Done: How does someone know a piece of work is finished and good enough?
Then give me how-we-work.md in one Markdown code block, with one heading per question, in my words, with no invented facts.

## How to run (A), the context file
1. First ask me one thing: which project or business area is this file for? (One file per project.)
2. Then interview me, ONE question at a time, in this order:
   - Goal: What am I trying to achieve? Push for a number and a date.
   - Audience: Who is the work for? What do they care about, already know, and dislike?
   - Done: What does a good result look like? Format, length, tone. Ask if I have an example of work I liked.
   - History: What have I already tried? What worked, what failed, and why?
   - Limits: What are my budget, tools and deadlines? What must an AI never do, assume or say?
3. After each answer, if it is vague (for example "grow the business" or "everyone"), ask one follow-up to make it specific. Do not ask more than two follow-ups per part.
4. If I say "skip", leave a bracketed placeholder and move on.
5. Keep your questions short. Do not lecture me or explain the method again.

## When the interview is done
Give me the finished file in a single Markdown code block, using exactly this structure:

```
# Context file: [project name]
Last updated: [today's date]

## 1. Goal
## 2. Audience
## 3. Done
## 4. History
## 5. Limits

If something you need is missing, ask me instead of guessing.
```

Rules for the file: short bullets, my own words where possible, no invented facts or numbers, nothing I did not tell you.

Then tell me in two lines where to put the files:
- Claude or ChatGPT: a Project's instructions or files. Grok: custom instructions.
- Claude Code: CLAUDE.md in the project folder. Codex: AGENTS.md. A digital brain folder: save how-we-work.md next to AGENTS.md and link it from there.

Finally, give me the 8-point pre-prompt checklist below, so I can use it before prompts that matter:

Before you send an important prompt, check:
[ ] Goal: does the AI know what this is for, not just what to write?
[ ] Audience: does it know who will read or use the result?
[ ] Done: did I describe what good looks like (format, length, tone)?
[ ] Example: did I paste one example of work I liked, if I have one?
[ ] History: did I say what I already tried, so it does not repeat it?
[ ] Limits: did I say what it must not do or claim?
[ ] Source: did I give it the real material (notes, numbers, the email thread) instead of asking it to guess?
[ ] Ask back: did I tell it to ask me questions when something is missing?

Start now with your first question.

---

## Visual explainers (HTML)

These are the diagrams and animations from the page. Each one has a plain-text summary of what it shows, then its complete, self-contained HTML. Use the summaries as context for everything above. If your app can show HTML (for example Claude artifacts or ChatGPT canvas), render one whenever it helps me see how a step works. Do not start by rendering them.

### 1. Same prompt, two runs (animated explainer)
The same request, once with nothing, once with a context file. Only one of them is ready to send.
(Mockup)
What it shows:
No context:
- "Write a post about our new service."
- Excited to announce our new service!
- We help businesses grow with innovative solutions.
- Contact us today to learn more!
With a context file:
- Same prompt, plus the file.
- Clinic owners: your front desk spends its mornings on the phone.
- We built a way to answer the routine calls for you.
- Want to see it on your own call log? Reply CALLS.
Takeaway: The second one is the one you would send.

Online: https://links.stratosagency.ai/r/context/visuals/01-same-prompt-two-runs.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Same prompt, two runs · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.cmp{display:grid;grid-template-columns:1fr 1fr;gap:12px}.side{border-radius:14px;padding:12px 13px;border:1px solid var(--line);background:var(--card)}.side h4{font-size:.78em;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.side.bad{background:#FCFAF6}.side.bad h4{color:var(--clay)}.side.good{border-color:#BFE6D0}.side.good h4{color:var(--mint-d)}.side p{padding:6px 0;border-top:1px dashed #E8E3D6;font-size:.92em}.side p:first-of-type{border-top:0}.side.bad p{color:var(--soft)}.verdict{grid-column:1/-1;text-align:center}.verdict span{display:inline-block;background:var(--night);color:#fff;border-radius:999px;padding:7px 16px;font-weight:600;font-size:.92em}@media (max-width:520px){.cmp{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="Same prompt, two runs"></figure>
<script>const D={"title":"Same prompt, two runs","tag":"Mockup","left":{"label":"No context","lines":["\"Write a post about our new service.\"","Excited to announce our new service!","We help businesses grow with innovative solutions.","Contact us today to learn more!"]},"right":{"label":"With a context file","lines":["Same prompt, plus the file.","Clinic owners: your front desk spends its mornings on the phone.","We built a way to answer the routine calls for you.","Want to see it on your own call log? Reply CALLS."]},"verdict":"The second one is the one you would send."};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
loop(async()=>{const g=el('div','cmp');V.append(g);const mk=(s,c)=>{const d=el('div','side in '+c);d.append(el('h4',null,s.label));const ps=s.lines.map(t=>{const p=el('p','in',t);d.append(p);return p});g.append(d);return{d,ps}};
const L=mk(D.left,'bad'),Rt=mk(D.right,'good');let v;if(D.verdict){v=el('div','verdict in');v.append(el('span',null,D.verdict));g.append(v)}fit();
on(L.d);for(const p of L.ps){on(p);await wait(380)}await wait(400);on(Rt.d);for(const p of Rt.ps){on(p);await wait(480)}Rt.d.classList.add('hl');await wait(300);if(v)on(v)});</script></body></html>
```

### 2. How a context file works (diagram)
Write it once, put it where your AI reads it, and every task starts from your real situation.
What it shows:
1. Write five parts: Goal, audience, done, history, limits
2. Save it once: A Project, CLAUDE.md or custom instructions
3. Every task reads it: Your prompt can be one line
4. Answers that fit: Your business, not a generic one
Note: When the AI gets something wrong, add one line to Limits. The file gets smarter every week.

Online: https://links.stratosagency.ai/r/context/visuals/02-how-a-context-file-works.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>How a context file works · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.flow{display:flex;align-items:stretch;gap:0}.flow .node{flex:1;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 12px 13px;transition:box-shadow .3s,border-color .3s,opacity .45s,transform .45s}.flow .num{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--mint-s);color:var(--mint-d);font-weight:700;font-size:12px;margin-bottom:6px}.flow b{display:block;font-weight:600;line-height:1.25}.flow small{display:block;color:var(--soft);font-size:.86em;line-height:1.35;margin-top:3px}.flow .arr{flex:0 0 26px;display:grid;place-items:center;color:var(--mint-d)}.flow .arr svg{width:20px;height:20px}.flow.col{flex-direction:column}.flow.col .arr{flex-basis:24px;transform:rotate(90deg)}.note{margin-top:12px;font-size:.88em;color:var(--soft);background:var(--gold-s);border-radius:10px;padding:8px 12px}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="How a context file works"></figure>
<script>const D={"title":"How a context file works","nodes":[{"t":"Write five parts","s":"Goal, audience, done, history, limits"},{"t":"Save it once","s":"A Project, CLAUDE.md or custom instructions"},{"t":"Every task reads it","s":"Your prompt can be one line"},{"t":"Answers that fit","s":"Your business, not a generic one"}],"note":"When the AI gets something wrong, add one line to Limits. The file gets smarter every week."};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
const ARROW="<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12h14M13 6l6 6-6 6\"/></svg>";
loop(async()=>{const f=el('div','flow');V.append(f);const wide=()=>V.clientWidth>=Math.max(560,D.nodes.length*150);f.classList.toggle('col',!wide());
const nodes=D.nodes.map((n,i)=>{if(i){const a=el('div','arr in');a.innerHTML=ARROW;f.append(a)}const d=el('div','node in');const k=el('span','num',String(i+1));d.append(k,el('b',null,n.t));if(n.s)d.append(el('small',null,n.s));f.append(d);return d});
let note;if(D.note){note=el('div','note in',D.note);V.append(note)}fit();
for(const e of f.children){on(e);await wait(260)}if(note){on(note)}await wait(500);
for(const n of nodes){n.classList.add('hl');await wait(900);n.classList.remove('hl')}nodes[nodes.length-1].classList.add('hl')});</script></body></html>
```

### 3. Five parts, filled in (animated explainer)
A finished file is five short answers. A few honest lines beat a page of filler.
(Mockup)
What it shows:
[x] Goal: Fill the Saturday class: 12 seats a week by December
[x] Audience: Locals who already buy from us, want a weekend activity
[x] Done: Under 100 words, one photo idea, one clear ask
[x] History: Discounts filled seats once, then people waited
[x] Limits: Never discount the class. Never invent reviews
Result: Context file ready

Online: https://links.stratosagency.ai/r/context/visuals/03-five-parts-filled-in.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Five parts, filled in · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.ck{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:6px 14px}.ck .it{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid #EFEBE1}.ck .it:last-child{border-bottom:0}.box{flex:none;width:22px;height:22px;border-radius:7px;border:2px solid var(--line2);display:grid;place-items:center;margin-top:1px;transition:background .25s,border-color .25s}.box svg{width:13px;height:13px;stroke:#fff;stroke-width:3;fill:none;opacity:0;transition:opacity .2s}.it.done .box{background:var(--mint-d);border-color:var(--mint-d)}.it.done .box svg{opacity:1}.it b{font-weight:600}.it small{display:block;color:var(--soft);font-size:.86em}.badge{display:inline-flex;align-items:center;gap:8px;margin-top:12px;background:var(--mint-s);color:var(--mint-d);font-weight:700;border-radius:999px;padding:7px 14px;font-size:.92em}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="Five parts, filled in"></figure>
<script>const D={"title":"Five parts, filled in","tag":"Mockup","items":[["Goal","Fill the Saturday class: 12 seats a week by December"],["Audience","Locals who already buy from us, want a weekend activity"],["Done","Under 100 words, one photo idea, one clear ask"],["History","Discounts filled seats once, then people waited"],["Limits","Never discount the class. Never invent reviews"]],"done":"Context file ready"};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
const CHECK="<svg viewBox=\"0 0 24 24\"><path d=\"M5 12.5l4.5 4.5L19 7\"/></svg>";
loop(async()=>{const box=el('div','ck');V.append(box);const its=D.items.map(t=>{const [b,s]=Array.isArray(t)?t:[t];const r=el('div','it in');const k=el('span','box');k.innerHTML=CHECK;const tx=el('div');tx.append(el('b',null,b));if(s)tx.append(el('small',null,s));r.append(k,tx);box.append(r);return r});
let done;if(D.done){done=el('div','badge in',D.done);V.append(done)}fit();
for(const r of its){on(r);await wait(180)}await wait(400);for(const r of its){r.classList.add('done');await wait(650)}if(done)on(done)});</script></body></html>
```

### 4. The agent interview (animated explainer)
Press Send to your agent and it interviews you, one question at a time, then hands you the finished file.
(Mockup)
What it shows:
Claude: Which project or business area is this context file for?
You: My bakery's new Saturday baking class.
Claude: Goal first. What are you trying to achieve? A number and a date help.
You: Fill all 12 seats every week by December.
Claude: Clear. Who is the class for, and what do they care about?

Online: https://links.stratosagency.ai/r/context/visuals/04-the-agent-interview.html

```html
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>The agent interview · Stratos House</title>
<style>@font-face{font-family:Geist;src:url(/assets/geist-400.woff2) format("woff2");font-weight:400}@font-face{font-family:Geist;src:url(/assets/geist-600.woff2) format("woff2");font-weight:600 800}:root{--bg:#FBF9F3;--card:#fff;--sand:#F4F1E8;--inset:#E7E1D4;--ink:#18211C;--soft:#4A534C;--mute:#6B736C;--line:#DCD6C8;--line2:#CFC8B7;--mint:#1FB87A;--mint-d:#0F7A4E;--mint-s:#E4F5EC;--gold:#B08D3F;--gold-d:#8E7330;--gold-s:#F2E9D2;--clay:#C2563F;--clay-s:#F6E3DD;--pine:#2C4A40;--night:#161D18}*{box-sizing:border-box;margin:0}html,body{background:var(--bg);color:var(--ink);font:400 clamp(13px,2.9vw,16px)/1.45 Geist,ui-sans-serif,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}body{padding:clamp(14px,3.5vw,26px)}.v{margin:0}.cap{font:600 clamp(11px,2.4vw,12.5px)/1.3 Geist,ui-sans-serif,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-d);margin-bottom:12px;display:flex;justify-content:space-between;gap:8px}.cap i{font-style:normal;color:var(--mute);letter-spacing:.04em}.in{opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.in.on{opacity:1;transform:none}.hl{box-shadow:0 0 0 3px var(--mint),0 8px 20px -10px rgba(15,122,78,.55)!important;border-color:var(--mint)!important}.ghost{visibility:hidden;white-space:pre-wrap}.live{position:absolute;left:12px;right:12px;white-space:pre-wrap}.mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-ligatures:none}.win{background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(24,33,28,.05),0 10px 24px -16px rgba(24,33,28,.25)}.bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:var(--sand);border-bottom:1px solid var(--line);font-size:.82em;color:var(--mute);font-weight:600}.bar span{width:9px;height:9px;border-radius:50%;background:var(--line2)}.bar em{font-style:normal;margin-left:6px}.body{padding:14px;display:flex;flex-direction:column;gap:10px}.msg{max-width:88%;border-radius:14px;padding:9px 12px;position:relative;transition:opacity .3s}.msg .who{display:block;font-size:.75em;font-weight:700;letter-spacing:.04em;margin-bottom:2px;color:var(--gold-d)}.msg.you{align-self:flex-end;background:var(--mint-d);color:#fff}.msg.you .who{color:#cdeedd}.msg.them{align-self:flex-start;background:var(--sand);border:1px solid var(--line)}.msg .live{top:calc(9px + var(--wh,0px))}.dots{display:inline-flex;gap:4px;position:absolute;left:12px;bottom:12px}.dots i{width:6px;height:6px;border-radius:50%;background:var(--mute);animation:b 1s infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes b{0%,60%,100%{opacity:.3}30%{opacity:1}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}</style></head>
<body><figure class="v" id="v" role="img" aria-label="The agent interview"></figure>
<script>const D={"title":"The agent interview","tag":"Mockup","app":"Claude","messages":[{"who":"ai","text":"Which project or business area is this context file for?"},{"who":"you","text":"My bakery's new Saturday baking class."},{"who":"ai","text":"Goal first. What are you trying to achieve? A number and a date help."},{"who":"you","text":"Fill all 12 seats every week by December."},{"who":"ai","text":"Clear. Who is the class for, and what do they care about?"}]};const R=matchMedia('(prefers-reduced-motion: reduce)').matches;
const V=document.getElementById('v');
const el=(t,c,txt)=>{const e=document.createElement(t);if(c)e.className=c;if(txt!=null)e.textContent=txt;return e};
let still=R;const wait=ms=>new Promise(r=>setTimeout(r,still?0:ms));
const fit=()=>{if(parent!==window)parent.postMessage({kitVisual:location.pathname,h:Math.ceil(document.documentElement.getBoundingClientRect().height)},'*')};
new ResizeObserver(fit).observe(document.documentElement);addEventListener('load',fit);
const on=e=>e.classList.add('on');
const head=()=>{const c=el('div','cap');c.append(el('span',null,D.title));if(D.tag)c.append(el('i',null,D.tag));return c};
async function type(node,text,speed){if(still){node.textContent=text;return}for(let i=1;i<=text.length;i+=Math.max(1,Math.round(text.length/120))){node.textContent=text.slice(0,i);await wait(speed)}node.textContent=text}
function ghosted(parent,text,cls){const g=el('span','ghost',text),l=el('span','live');parent.append(g,l);return l}
async function loop(play){do{V.textContent='';V.append(head());await play();fit();if(still)break;await wait(D.hold||3200)}while(true)}
loop(async()=>{const w=el('div','win');const b=el('div','bar');b.innerHTML='<span></span><span></span><span></span>';b.append(el('em',null,D.app||'Your AI'));const body=el('div','body');w.append(b,body);V.append(w);
const items=D.messages.map(m=>{const me=m.who==='you';const box=el('div','msg in '+(me?'you':'them'));const who=el('span','who',m.name||(me?'You':(D.app||'AI')));box.append(who);const live=ghosted(box,m.text);body.append(box);return{box,live,m,me,who}});fit();
for(const it of items){it.box.style.setProperty('--wh',it.who.offsetHeight+2+'px');on(it.box);if(!it.me&&!still){const d=el('span','dots');d.innerHTML='<i></i><i></i><i></i>';it.box.append(d);await wait(700);d.remove()}await type(it.live,it.m.text,it.me?28:12);await wait(500)}});</script></body></html>
```

---
Source: https://links.stratosagency.ai/r/context/ (Stratos House)
