Your coding agent forgets the browser the moment its session ends. Project context is what it remembers: while you browse, you clip the things it should know into one of your Xtractly projects. That might be the docs page for the library version you're on, the exact error you hit, an API response, a component or a screenshot. Every later session reads them.
note
Project context comes with every plan and the free trial. Clips stay on the project until you delete them.
Clipping from the browser
Open the toolbar and press Clip (the paperclip), pick the project, then pick what to clip:
- Page
- The page's main content as Markdown: headings, code blocks with their language, lists, tables and links. Nav, sidebars, footers and copy buttons are left out.
- Text
- The text you selected: an error message, a JSON response, a paragraph of a spec. A selected table stays a table and selected code stays fenced.
- Element
- An element you extracted (Alt+C), with its code.
- Screen
- A screenshot of the visible area, shrunk to 1600px.
- Note
- Anything else your agent should know: a decision, a gotcha, a link with context.
Why it matters is optional. A line like "this is the endpoint we call" lands at the top of the clip, where your agent reads it first.
For one-click clipping, right-click a page and choose Clip this page for your
agent, or select text and choose Clip selection for your agent. That saves
into the project you last clipped into. If you haven't picked one yet, the panel
opens so you can. You can also bind Clip this page to a key at
chrome://extensions/shortcuts.
Linking a repo
Clips live on a project, so your agent needs to know which project belongs to the repo it's working in. Do this once per repo:
In the Clip panel, press Copy agent prompt.
Paste it to your agent (Agent Bridge connected). It calls
link_repo and writes two things: an .xtractly.json at the repo root, and a
short note in CLAUDE.md or AGENTS.md that says to read the project's
context before starting a task.
Commit both. They hold the project id, not a secret. Teammates on the project's team get the same context.
From then on, a new session in that repo finds .xtractly.json and calls
get_project_context before it starts.
What your agent sees
| Tool | What it does |
|---|---|
get_project_context | Every clip on the project, newest first. Notes and selected text come inline; pages arrive as excerpts. |
get_clip | One clip in full: a page as Markdown, a component re-shaped for your framework, a screenshot as an image. |
link_repo | The .xtractly.json file and the agent-instructions note for the repo. |
save_clip | Your agent saves a note of its own ("remember that we use httpOnly cookies"). |
delete_clip | Removes a clip, when you ask. |
How it differs from Send captures to my agent
Send captures to my agent (Settings) is a short buffer. It holds your last 12 element captures for 24 hours, for "build the thing I just captured". Clips are deliberate and they last: you press Clip, choose a project, and the clip stays until you delete it. Delete a clip from the list at the bottom of the Clip panel. Deleting a project deletes its clips.
Each project holds up to 300 clips. A clipped page is cut at about 190,000 characters, and the clip says when that happened.