Skip to content

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

15.3 KB
Raw Blame
---
title: "My Work: the local live viewer"
description: "Follow recorded work, review completed results, and pick up the next human handoff on your own computer."
---

Open the worker URL printed by claude-mem, usually `http://localhost:37777`.
**My Work** is the default local viewer. It brings recorded human requests,
progress, next steps, and finished results into one readable place.

The panel runs locally and reads your saved memory database. It does not require
a cloud account, a new model call, or an internet connection to show your work.
The memory timeline, sessions, settings and logs are under **Memory**, at
`/viewer` on the same worker. Memory, setup and My Work share one top bar, one
set of colours and one theme choice.

Opening the panel and switching between its pages are the only things it
reports: two anonymous [telemetry](/telemetry) counts (`work_view_opened`,
`work_view_switched`) that carry the page name and nothing else. They never
include your requests, prompts, observations or file paths, and
`npx claude-mem telemetry disable` turns the counts off.

## Finding your way

Every page has the same top bar: **My Work**, **Focus areas**, **Requests**,
**Review Stack** and **My Rules**, then **Find work**, **Memory** and **…**. On a
phone the places sit in a bottom bar. The bar still works while the worker is
slow. If your work cannot be read, the page says **Local work couldn't load**,
names what did not answer, and offers **Try again** and **Open Memory**.

- **My Work** answers one question first: how many requests are waiting on you.
  It reads "3 requests are waiting on you." or "No request is marked as waiting
  on you." The first waiting request leads, with the thing you have to do. The
  rest are under **Also waiting on you**, then **Also working**, then your first
  three focus areas with **See all**. When nothing waits on you, the working
  request with the newest review leads.
- **Find work** (Cmd K or Ctrl K) searches the focus areas, requests and rules in
  use that the page has already loaded, so typing sends nothing. Results are
  grouped by what they open. The last row, **Search loaded memories**, opens the
  same words in Memory.
- **…** opens **Workspace**: theme, language and focus area artwork; Machine and
  sync, the Memory viewer and Memory settings; Team view, help and feedback, and
  developer options.
- **Machine and sync** shows this computer's memory source and live feed, cloud
  sync, the last focus review, the worker version and the last learning run.
  When the last review failed, a page shows one line under its title, "Review
  failed at …", and **Review details** opens Machine and sync. No status chip
  sits in the bar.

Each page and each tab has its own address, so Back returns to the same tab,
filter and scroll position.

## Focus areas and sub focuses

**Focus areas** has three tabs. **Current** lists your areas in your priority
order, with a find box and a sort. **Suggested** shows one suggested area at a
time with its goal and the evidence for it: **Keep area**, **Dismiss**, rename or
merge, with **Undo** after a choice. **Past focus** lists the saved months,
newest first, then the areas you marked done, and links to the **Build story**.

A focus area's page opens into **sub focus** cards when the area has at least two
sub focuses: one card per subject, each with one of its requests by name and how
many it holds. Requests that fit no sub focus are under **More in**, followed by
the area's name, and **All requests** lists the whole area with status tabs. An area with fewer
sub focuses opens straight to its list. An empty area shows one line and **Find
a request to move here**. **Other** lists the requests that fit no focus area.
Asks that have not started are listed on their own with **Copy prompt**, which
copies your own words. **About this area** and **Area options** (rename, edit the
goal, reorder, merge, share, mark done) sit at the foot.

The app makes the sub focuses itself. During a refresh, an area with at least
four requests gets one question to the light model: which of its requests
belong together. The answer is checked before it is saved: a group needs two or
more requests, and a request sits in at most one group. The question is asked
again only when the set of requests in that area changes. On a sub focus page,
**…** offers **Rename** and **Merge into**, and each row offers **Move to another
sub focus**. A later pass never overrides your edit.

## Requests

**Requests** lists every request, one line each: its name, its focus area (or
"Not sorted yet") and its state. Tabs with counts filter by state: **All**,
**Needs you**, **Working**, **Idle** and **Shipped**. **Find a request** filters
by title and summary, **Filter and sort** chooses an area, closed requests and
the order, and **By agent** groups requests by the agent that worked on them,
with **Agent not recorded** for the rest. Long lists show 50 rows at a time.

## Browser setup and your prompts

The browser setup reads your local agent histories (last 30 days) on this
computer only. Nothing is uploaded until the scan finishes and you choose
**Discover My Work, Rules & Focus**. That upload sends the full text of the prompts
you typed, with session IDs, project names, folder paths and timestamps, to
cmem.ai, which processes them with a third-party AI model provider. You can
untick any tool before uploading, or choose **Skip the scan** to send nothing.
The separate **Share anonymous usage statistics to help improve your Claude-mem
experience** box is checked by default. You can uncheck it before continuing;
it does not start transcript analysis.

The scan checks whether an earlier agent message or tool input already contains
the opening of a long prompt. This check preserves letters and numbers across
scripts, so copied instructions in languages such as Chinese, Japanese, Arabic
and Russian can be recognized without discarding the words that distinguish
your own request. The Python owner-goals export uses the same normalization.

## Working, waiting and checked

- **Working** means the latest saved work state says work is underway. It is
  not a live-presence signal or a promise that an agent is currently running.
- **Your move** appears when recorded work explicitly asks for human input.
  It also appears when the latest progress review found the request waiting on
  you to confirm, reply, review, decide or merge, and nothing new has been
  recorded since that review. The review records the one thing you have to do,
  and the request page shows that sentence first. Open the conversation, read
  the original request and evidence, then continue in the agent conversation
  where the work is happening.
- **Done, not checked** means the parent request was explicitly reported
  complete. A finished subtask or a closed agent session does not finish its
  parent. **Needs you** counts these together with **Your move**.
- **Checked** means you pressed **Mark checked** for that version of the result.
  It records your review of the request. **Undo** is available after a check.
- **Idle** means no newer activity has been recorded for six hours, and
  **Shipped** means the work was reviewed or recorded as shipped.

Only reviews written from now on record when a request waits on you. A request
reviewed before that shows as waiting on you after its next review, which
happens when it has new activity; older requests are not re-reviewed on their
own.

A new substantive source update invalidates an older check. If the request is
still reported complete, it returns to **Done, not checked**. If it has reopened,
the recorded work status is shown instead. For local-only My Work, Checked
markers live in the private `work-view-reviews.db` sidecar in the claude-mem
data directory. With shared Work View enabled, the versioned check can sync
through your account's work state.

## Review Stack

Choose **Review Stack** in My Work on your local worker, or **Review** in the
mobile navigation. Cloud Sync users can open the same view in their signed-in
account. [Open remote Review Stack](https://cmem.ai/work?view=review-stack).

Use **Browse** to flip through every card. Switch to **Work** to mark a card
**Seen**, **Save** it, leave a **Follow up**, or skip it for later. Hold **Seen**
for three seconds to mark a whole focus area. **History** lets you revisit cards
and undo a review.

Choose **Import** to bring in an existing `cards.json` and any images it names
with a relative `imageFile`. An agent can send the same card list to
`import_review_cards` in batches of 1–12. Give each original or variant a stable
`key`, a `focus`, a 3–5 word `title` and 10–15 words each for `what` and
`context`. Include an original HTTPS `source`, an HTTPS image `preview`, an exact
`excerpt` or a base64 data URL in `imageData` for a PNG, JPEG or WebP thumbnail
of up to 160 KiB. This example imports one text card.

```json
{
  "cards": [{
    "key": "mac-download-checklist",
    "focus": "Release",
    "title": "Mac download checklist",
    "what": "This checklist records the steps for verifying a published Mac download.",
    "context": "A release owner uses these checks before sharing the app with testers.",
    "excerpt": "Open the release ZIP. Verify its version and checksum."
  }]
}
```

Ask your agent to call `get_review_stack` for the link and current card count.
With a paired Cloud Sync device and shared Work View enabled, cards, Seen
decisions, bookmarks and follow-ups sync to your account. To keep new local
decisions on that computer, use local-only setup or set
`CLAUDE_MEM_WORK_VIEW_SHARED_STATE=false`. Changes you make in the hosted viewer
save to the account you signed in with. [Cloud Sync settings](/cloud-sync).

## Live updates

The panel shows new local data as soon as it arrives. Applied cards preserve
their existing order. Timestamps refresh without rebuilding the card you are
reading.

**Live feed** on **Machine and sync** describes the local data connection,
separately from cloud sync. If the connection or source fails, the panel keeps
its last received work visible and shows the interruption. It never animates a
saved work status as proof of agent activity.

## A request's page

Opening a request opens its own page. The breadcrumb names its focus area and sub
focus, whichever page you came from. Under the name and summary, the first box
says whose move it is: **Your move** with the recorded sentence, **Agent's move**
with the recorded next step, or **Shipped** with what is ready. **Request
details** beside it lists progress, the last review, the agent and the dates.

Below, three doors open the rest, each with its count:

- **Conversation** lists the linked sessions. With several, you choose one before
  anything can be sent; with one, the door opens it. A session shows your
  original words in full, then the reply box, **Open in** the agent's app and
  **Copy resume command**. The reply box appears only there.
- **Records** holds work-state updates, observations, sources and workstreams,
  then the repository's branches and commits.
- **Deliverables** lists the files, documents, pages, pull requests and links the
  work produced. A pull request reads "#number · title" and a release link names
  its release. For a shipped request this door comes first.

A captured conversation normally forms one request; explicit
`request_id` fields can distinguish independent goals. The panel does not guess
that two unrelated conversations describe the same request.

Records without a proven human request are counted on **Machine and sync**
("work records aren't linked to a request yet"). The live view loads a bounded
recent slice; use **Memory** for the full saved history.

For iMessage group conversations, Claude-Mem Messages can save new notes in a
project for each chat using Messages on your Mac or an authorized Photon line.
[Download and set up the Mac observer](https://github.com/thedotmack/claude-mem/blob/main/docs/imessage-mac-app.md).

## Deliverables

Ask for a deck, a report, an HTML page, an image or any other file, and it is
listed behind the **Deliverables** door on the request's page.

When an agent stops, claude-mem's Stop hook copies what the turn made for you
into the project's **deliverables bucket**, `~/.claude-mem/deliverables/<project>/`,
and records each copy. The bucket keeps the file after the place it was made
(a worktree, a scratch folder, a temporary directory) is deleted, so the link
keeps working. Each copy is named by its content (`report-3f9a1c2b.md`), so the
same file lands once and a revised file lands beside its earlier version.
If the agent later attaches a copy that was already collected in the same
session, its chosen title and attachment details update the existing record;
the file keeps the same link.

Two things count as a deliverable:

- **Attached by the agent.** A `work_state_write` whose `work_product` (or
  `deliverable`) field names a local file, with any extension, or any other
  field whose value is a path to a file a person opens
  (`output_pdf=/path/slides.pdf`). claude-mem's MCP server instructions ask agents to
  write the thing you asked for as a file and attach it before they finish.
- **Written outside the source tree.** A deck, document, page, image, video or
  spreadsheet the agent wrote with its file tools into a git-ignored folder
  such as `.scratch/` or outside any repository. Source files are never copied
  by inference, so a `.html` component in `src/` stays where it is; an agent
  attaches it if it is a deliverable.

Markdown and text deliverables open inline; pages and images open sandboxed, the
same way recorded files do. While a copy is in the bucket and the file it came
from has not been written since, the copy stands in for the record of where the
file was made; a file revised after the copy shows beside it as a newer version.

A file is copied only from the checkout or the system temp folders, where the
host's scratchpad lives; a path elsewhere, or a symlink that leads elsewhere, is
left out and logged, because a work-state field can name any path without a
permission prompt. A turn whose prompt is entirely `<private>` leaves no copy
and no record, the same rule observations and summaries follow. The bucket is local to this
computer and is not uploaded by cloud sync; when the worker runs on another
machine (`CLAUDE_MEM_WORKER_HOST` is not this computer), nothing is copied,
because that worker could not open the copy. `CLAUDE_MEM_DELIVERABLES_ENABLED=false`
turns the copy off; files already in the bucket stay.

## Optional Claude.ai and ChatGPT connections

The **Connect Claude.ai** and **Connect ChatGPT** actions open the existing CMEM
Cloud setup. Clicking does not connect an account or upload memory. Sign in and
review the setup and sharing scope before enabling anything.

[Cloud sync](/cloud-sync) can upload saved prompt text and observation narratives.
Your local viewer continues to work without it.

## Work with your team

Turn on **Team view** in **Workspace** to show **Requests** as a board with one
column per person who asked, with overlapping work called out. Personal requests
and local review notes remain in My Work. When you are the only person on the
board, it says so and offers **Start team plan**, which opens the team setup and
plan page.

To join with an invitation, run `npx claude-mem teambrain join <invite-link>`,
approve the device, and choose which projects to share. Turning on Team view
does not enable sharing. [TeamBrain](/usage/teambrain) covers teams in full.