Context Handoff
Goal
Create one concise but complete /tmp/*.md handoff that lets another capable agent continue the overall objective without rediscovering the project.
Build an operating context rather than a generic recap: objective, current state, source files, systems, access requirements, risks, and next actions.
Workflow
- Identify the overall objective and write it as the first section.
- Inventory the relevant source systems:
- local repositories and important paths
- docs, spreadsheets, and briefs
- live dashboards or accounts
- deployed URLs and deployment paths
- analytics, ad platforms, CRM/forms, and conversion plumbing
- current artifacts already created
- Read source files before summarizing when they are available locally.
- Verify drift-prone status live when cheap and non-mutating. If not verified now, label it as inherited or unverified.
- Write a single Markdown file under
/tmp named like /tmp/<project>-context-YYYY-MM-DD.md.
- Include exact file paths, URLs, IDs, account names, campaign names, and dates whenever known.
- Separate confirmed facts from assumptions, guesses, stale context, and open questions.
- Keep raw detail dense but readable. Prefer tables for inventories and short bullets for decisions.
Secret Handling
Never write raw secrets, passwords, API keys, cookies, private keys, recovery phrases, OAuth tokens, or payment details into /tmp.
For credentials and access, document:
- system name
- account or identity used
- whether access appears available
- where the credential is expected to live
- who can provide it
- what permission is needed
Use REDACTED for any sensitive value accidentally encountered. /tmp is an insecure location for credentials.
Required Sections
Use these sections unless the task clearly needs a tighter structure:
Objective
Current Status
Key Entities
Repositories And Local Paths
Docs, Spreadsheets, And Source Artifacts
Live Systems And Accounts
Deployment And Runtime
Analytics, Attribution, And Conversions
Campaigns, Experiments, Or Workstreams
Assets, Copy, And Creative
Access And Credentials
Known Decisions
Risks And Constraints
Open Questions
Next Actions
Source Notes
Quality Bar
- Make the file useful to a fresh agent with no prior chat history.
- Include "what matters" and "where to look next"; avoid pasting long source content unless it is the canonical artifact.
- Preserve user preferences that affect execution, such as "do not launch", "read-only", budget caps, or exact scope.
- Include live-state caveats for ads, analytics, deployments, billing, search volume, or account verification because these change quickly.
- If external systems are involved, state whether the handoff is read-only or whether mutations have already happened.
- End with a short "Fast Start" checklist of the next 3 to 7 steps.
Writing Discipline
- Cut every word that fails to do work.
- Apply the "so what?" test: after every sentence, ask "so what?" and make the answer obvious.
- Read awkward passages back and rewrite them.
- Match the tone to the receiving agent: dense, factual, and free of marketing language.
After Writing
Report the exact /tmp path and any major gaps in the handoff. Do not claim live verification unless it was performed in the current turn.
1---2name: context-sharing3description: Create a secret-safe project context handoff file in /tmp for another model, agent, thread, or teammate. Use when the agent needs to summarize everything relevant to an overall objective across repositories, docs, dashboards, deployment systems, access paths, credentials, live services, open decisions, blockers, and next actions, especially before handing off complex work or preserving project state.4---56# Context Handoff78## Goal910Create one concise but complete `/tmp/*.md` handoff that lets another capable agent continue the overall objective without rediscovering the project.1112Build an operating context rather than a generic recap: objective, current state, source files, systems, access requirements, risks, and next actions.1314## Workflow15161. Identify the overall objective and write it as the first section.172. Inventory the relevant source systems:18 - local repositories and important paths19 - docs, spreadsheets, and briefs20 - live dashboards or accounts21 - deployed URLs and deployment paths22 - analytics, ad platforms, CRM/forms, and conversion plumbing23 - current artifacts already created243. Read source files before summarizing when they are available locally.254. Verify drift-prone status live when cheap and non-mutating. If not verified now, label it as inherited or unverified.265. Write a single Markdown file under `/tmp` named like `/tmp/<project>-context-YYYY-MM-DD.md`.276. Include exact file paths, URLs, IDs, account names, campaign names, and dates whenever known.287. Separate confirmed facts from assumptions, guesses, stale context, and open questions.298. Keep raw detail dense but readable. Prefer tables for inventories and short bullets for decisions.3031## Secret Handling3233Never write raw secrets, passwords, API keys, cookies, private keys, recovery phrases, OAuth tokens, or payment details into `/tmp`.3435For credentials and access, document:3637- system name38- account or identity used39- whether access appears available40- where the credential is expected to live41- who can provide it42- what permission is needed4344Use `REDACTED` for any sensitive value accidentally encountered. `/tmp` is an insecure location for credentials.4546## Required Sections4748Use these sections unless the task clearly needs a tighter structure:49501. `Objective`512. `Current Status`523. `Key Entities`534. `Repositories And Local Paths`545. `Docs, Spreadsheets, And Source Artifacts`556. `Live Systems And Accounts`567. `Deployment And Runtime`578. `Analytics, Attribution, And Conversions`589. `Campaigns, Experiments, Or Workstreams`5910. `Assets, Copy, And Creative`6011. `Access And Credentials`6112. `Known Decisions`6213. `Risks And Constraints`6314. `Open Questions`6415. `Next Actions`6516. `Source Notes`6667## Quality Bar6869- Make the file useful to a fresh agent with no prior chat history.70- Include "what matters" and "where to look next"; avoid pasting long source content unless it is the canonical artifact.71- Preserve user preferences that affect execution, such as "do not launch", "read-only", budget caps, or exact scope.72- Include live-state caveats for ads, analytics, deployments, billing, search volume, or account verification because these change quickly.73- If external systems are involved, state whether the handoff is read-only or whether mutations have already happened.74- End with a short "Fast Start" checklist of the next 3 to 7 steps.7576## Writing Discipline7778- Cut every word that fails to do work.79- Apply the "so what?" test: after every sentence, ask "so what?" and make the answer obvious.80- Read awkward passages back and rewrite them.81- Match the tone to the receiving agent: dense, factual, and free of marketing language.8283## After Writing8485Report the exact `/tmp` path and any major gaps in the handoff. Do not claim live verification unless it was performed in the current turn.