TLDR: Claude Code, Cursor, and Codex work best when they understand your project. The fastest way to give them context is to paste a structured block at the start of a session covering tech stack, recent work, current focus, key files, and any warnings. The AskScout web app has an AI Resume Prompt button that generates this block from your latest digest; the CLI does the same thing with askscout --resume. Below is what good context looks like and how to assemble it whether you use AskScout or not.
The catch-up problem
Every Claude Code or Codex session starts cold. Cursor remembers a little more across files but still loses thread between long breaks. The first ten minutes of any session tend to look like this: you explain what the project is, what you were doing yesterday, and where the current work fits.
That is wasted typing. The information already exists. It is in your git history, your file structure, and your last few sessions of work. The only reason you are re-explaining is that the AI does not know how to read it without your help.
What good context actually looks like
From running thousands of digest sessions, the context block that consistently produces useful first responses has five parts.
Tech stack. A one-line summary of the languages, frameworks, and major libraries. The AI uses this to know which idioms to reach for.
Recent work. Two or three sentences describing what shipped in the last few days, with file paths. This anchors the model to the current state of the code, not an outdated mental model.
Current focus. What you're actively working on this session. One sentence. Tells the AI what is in scope and what is not.
Key files. A list of file paths that matter for the current work. Helps the AI prioritize which files to read first.
Warnings. Anything brittle, in flight, or recently broken. Saves the AI from suggesting changes to code that is already mid-refactor.
The manual way
You can write this block by hand. The format that works:
Tech Stack
Next.js 15 App Router, TypeScript, Tailwind, Supabase auth.
Recent Work
Shipped the new billing flow at apps/web/src/app/billing. Added Stripe webhook handling at apps/api/src/webhooks/stripe.ts. Migrated user table indexes for the new search query.
Current Focus
Wiring the team-invitations email template. The render works; the org-name lookup is returning null on a few test cases.
Key Files
- apps/web/src/app/billing/page.tsx
- apps/api/src/webhooks/stripe.ts
- apps/web/src/lib/email/team-invite.tsx
Heads Up
useAuth was just refactored. Don't suggest changes to its session-state code without checking the new BroadcastChannel implementation.Paste this at the start of a Claude Code, Cursor, or Codex session and the next response will be sharper than starting cold. The downside is that writing it takes a few minutes, and it goes stale fast.
The automated way
On the AskScout web app, generate this block by clicking the AI Resume Prompt button on the Left Off section of any digest. It opens a modal with the same five-section context, ready to copy. The CLI does the same thing in one command:
askscout --resumeAskScout reads your recent git history (commits, diffs, file paths), runs it through the same LLM you configured for digests, and produces a context block in exactly the format above. Tech stack inferred from your files. Recent work pulled from your real commits. Current focus inferred from the most recent activity. Key files surfaced from the most-touched paths. Warnings extracted from churn data.
Pipe it straight into your clipboard:
askscout --resume | pbcopy # macOSaskscout --resume | xclip # LinuxThen paste at the start of any AI coding session.
When to refresh
The block goes stale as you ship. The fix is to regenerate it whenever you start a new session. askscout --resume is fast enough to run on demand (the same 10-second budget as a regular digest).
For most solo developers the rhythm that works is: regenerate at the top of every new Claude Code, Cursor, or Codex session. If you stay in the same session all day, the initial paste is fine. The point is that the context the AI sees should reflect what your codebase actually looks like right now, not what you remember it being.
Why this matters
The quality of any AI coding session is set by the first message. A cold session with no context produces generic suggestions. A session that opens with real project context produces suggestions grounded in your actual code.
The difference is bigger than most developers expect. Once you start every session with a real context block, going back to cold sessions feels noticeably worse. (If you want the broader picture of where AI coding tools fit, here's an honest read on Claude Code, Cursor, Codex, and the other AI coding tools.)
Frequently asked questions
How do you give Claude Code project context?
Paste a structured block at the start of a session covering tech stack, recent work, current focus, key files, and any warnings. Claude Code uses that to ground its first responses, then reads the actual files as it works. You can write this block by hand or generate it from your git history with AskScout's --resume command.
What is the best prompt to start a Cursor session?
Cursor benefits most from project-level context that names recent work and the current focus. A good starter prompt is a one-paragraph summary of the project plus what you're trying to do this session. AskScout's --resume generates this from real commits, so the context reflects what your codebase actually looks like, not an outdated description.
Does Claude Code remember my project between sessions?
Not by default. Each Claude Code session starts fresh, so anything you explained yesterday has to be re-established today. The fix is a context block you paste at the start of each session. AskScout's --resume keeps that block up to date by regenerating it from your latest git history.
How often should I refresh my AI's project context?
At the start of any new session, or after a meaningful chunk of work has landed. The point is that the context reflects the current state of the codebase. Daily is plenty for most solo developers. AskScout regenerates the --resume block on demand, so refreshing is one command.