> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent activity capture

> Let your coding agents save a short summary of the work they did, so you and your team can find it later.

Agent activity capture saves what your coding agents did as a short written summary in your Hyperspell brain. You can search it, continue the work in a new session, and share it with your team.

It works through plugins for Claude, Codex and Cursor:

| Client | Plugin and install steps |
| - | - |
| Claude Code, Claude Cowork and Claude Desktop | [Claude](https://docs.hyperspell.com/agents/claude.md#add-the-hyperspell-plugins) |
| Codex | [Codex](https://docs.hyperspell.com/agents/codex.md#install-the-activity-plugin) |
| Cursor | [Cursor](https://docs.hyperspell.com/agents/cursor.md#install-the-activity-plugin) |

Connecting an agent to Hyperspell does not turn this on. You must turn capture on yourself. Automatic capture needs the plugin; without it, a connected agent saves an entry only when you ask it to call `log_activity`.

## One entry for each piece of work

Hyperspell keeps one entry for each piece of work, which means one repository and one branch. Several sessions on that branch update the same entry. A different machine, or a different client, can start a separate entry for the same work.

Each entry holds:

* A title.
* A summary of two to five sentences.
* The decisions made, with their reasons.
* The next steps.
* Links.

The agent's model writes the summary. Each save revises the entry and keeps earlier outcomes unless newer work replaces them. A summary can leave details out, so an entry is not a record of the whole session.

## What is sent

Each save sends the entry itself: its title, summary, decisions, next steps and links, plus the work's name, the agent's name, the share setting and the entry ID. The plugin does not send:

* The conversation transcript.
* Tool output.
* File contents.

The one exception is opt-in. If you turn on [activity context for Claude Code prompts](https://docs.hyperspell.com/agent-activity/history-and-continuing.md#activity-context-in-claude-code-prompts), the plugin also sends up to 1,000 characters of each prompt, with secrets blanked, to search your saved activity. It is off by default.

Before it saves, the plugin blanks anything that looks like a secret, such as API keys, tokens, passwords and private keys. It keeps only web links and project-relative paths, not paths on your own disk. Read an entry before you share it, because a summary can still hold sensitive details from the work.

The plugin also keeps a local note on your machine after each working turn. The note holds a short excerpt of the agent's reply and the names of files it changed. It stays on your machine and feeds the session handoff (see [History and continuing work](https://docs.hyperspell.com/agent-activity/history-and-continuing.md)).

## You turn it on yourself

Nothing is saved to Hyperspell until you turn capture on in the dashboard. The local note above is kept either way. Codex and Cursor also need capture turned on in the plugin, because their plugins start with capture off. The Claude plugin starts with it on.

**1. Open the dashboard**

Go to [Settings, Connect Agents](https://app.hyperspell.com/settings?pane=connect-agents).

**2. Turn on Activity capture**

Use the **Activity capture** switch. It is off for every person until that person turns it on.

The switch is yours alone and applies to one workspace at a time:

* An API key, a device login or an agent cannot turn it on for you. It has to come from your own signed-in dashboard session. Admins cannot turn it on for you either. The one exception: if you ask Hyperspell support in writing, an operator can record your consent for you.
* Turning it on saves nothing by itself. Agents save only when you ask or when a plugin you installed directs them.
* You can turn it off at any time. Saves stop right away. Entries already saved stay until you delete them.
* The credential that saves must belong to a person. A company key cannot save activity, because no person agreed to it.

When capture is off, the plugin pauses and tells you why. Turn capture on, then run `resume` in the session. Hyperspell can also pause capture for a whole workspace. The plugin shows a pause message in that case too.

## When it saves

The plugin writes to your brain when the work settles, not after every turn.

| | Claude | Codex | Cursor |
| - | - | - | - |
| After 15 minutes without work | Yes | Yes, at the end of the next turn | Yes, at the end of the next turn |
| At 60% and 85% of the context window | Yes | No | No |
| Before `/clear`, `/exit` or `/quit` | Yes | No | No |
| After compaction | Resets the thresholds | Yes | Yes |
| On request | `/hyperspell-activity now` | `$hyperspell-activity now` | `/hyperspell-activity now` |

Closing a terminal does not save pending work, except where the table says so. Run `now` first when the brain must be current.

These commands work in a session, with the prefix from the last table row:

* `status` shows whether capture is on, what was saved, the last problem and the entry ID.
* `pause` stops saves for the conversation. Local notes continue.
* `resume` starts them again.

To stop capture entirely, remove the plugin. In Claude, `hyperspell activity off` removes the plugin that the Hyperspell command line tool installed. Removing the plugin does not delete saved entries.

## Who can see an entry

Entries are private to you by default. Sharing is a separate choice. See [Sharing and review](https://docs.hyperspell.com/agent-activity/sharing.md).

## Where to go next

> [card] [Sharing and review](https://docs.hyperspell.com/agent-activity/sharing.md)
>
> Control who sees an entry, and review what is waiting.

> [card] [History and continuing work](https://docs.hyperspell.com/agent-activity/history-and-continuing.md)
>
> Read earlier captures, continue recent work and use activity in prompts and pages.

> [card] [Admin settings](https://docs.hyperspell.com/agent-activity/admin.md)
>
> Set the sharing policy and learn what admins can and cannot read.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.