# Claude Code plugin

> The Moso plugin for Claude Code reminds Claude to read your memory whenever something new comes up and to save what it learns, and lets Moso pick the next step when Claude is about to stop.

Source: https://www.moso.so/docs/claude-code
Last updated: 2026-11-03

The **Moso plugin for Claude Code** keeps Claude informed and working. It brings its own Moso connector and adds two hooks: one reminds Claude to read your Moso memory whenever something new comes up and to save what it learned, the other lets Moso decide, the way you would, whether Claude keeps going when it's about to stop.

## Install

The plugin connects Claude Code to Moso, the goals, tasks and memory app for Claude. Run these in Claude Code:

```text
/plugin marketplace add OskarKnudsen/moso
/plugin install moso@moso
```

Then run `/mcp`, pick **plugin:moso:moso** and sign in to Moso. Until you sign in, Claude just stops as normal.

If you already added Moso with `claude mcp add`, you'll see Moso's tools twice. Remove the old one with `claude mcp remove moso`.

Also paste Moso's setup text into `~/.claude/CLAUDE.md`, as described in [Connect Claude](https://www.moso.so/docs/connect-claude#paste-the-setup-text).

## What the plugin does

### Whenever something new comes up

Each message you send gets a short reminder: if it brings up anything Claude hasn't looked up yet (a task, project, client, person, tool, past decision or preference), Claude loads the relevant Moso memory, searches each name, reads the notes themselves and checks for messages before answering. Before it answers, it saves anything new you told it. For a plain yes or thanks, Claude just answers, so replies stay quick. The hook only prints a reminder; it needs no API key and no network.

### When Claude is about to stop

When Claude finishes a turn, the plugin sends Claude's last message to Moso. If you or Moso left Claude a message, Claude gets it right away. Otherwise Moso's AI reads your goals and tasks and either picks the next step toward your goals or says it's fine to stop. Every decision shows up in your Claude chat in Moso, so you can read along.

### It stays safe

Moso never tells Claude to do anything only you decide: logins, payments, deploying, deleting, or sending things to people. Claude stops and asks you. If Moso can't be reached, is slow (4 minutes) or unsure, Claude stops as normal.

### It never loops forever

Moso keeps one conversation going at most 6 times in a row, and Claude Code caps it at 8.

## Claude Code and scheduled runs

Claude Code is also how Moso starts Claude on its own. A Claude Code scheduled task (routine) pointed at Moso picks up your messages and the tasks Claude can do alone, most urgent first. Set it up from Moso's Claude page: see [Scheduled runs](https://www.moso.so/docs/scheduled-runs).

## Does the plugin work in Cowork?

Not yet: Cowork doesn't run plugin hooks. In Cowork, add Moso as a connector and use Moso's standby instead, so Claude waits for Moso after it answers. See [Claude settings](https://www.moso.so/docs/claude-settings).
