Skip to main content

Install the Garnet Plugin in Claude Code and Cowork

Last updated 2026-11-26 · 6 min

Overview

Starts empty. You pick the items, tags and types. An agent that can run commands or read files can read your whole Space folder, and Claude Code can do both, so read step 5 before you start.

The Garnet plugin for Claude Code and Cowork lets Claude search and read the notes you grant to one Garnet connection. It starts Garnet's own tools on your computer, which ask the Garnet app for what you granted. Garnet runs no AI and sends nothing to Anthropic itself.

For Claude's chat in the Claude desktop app, use Install Garnet in Claude Desktop instead.

What the plugin limits, and what it does not

  • A grant limits only what Garnet gives. The connection's grant decides what Garnet's tools return.
  • An agent that can run commands or read files can read your whole Space folder. Your Space is plain files on disk, so a grant cannot stop a program that opens them directly.
  • What your AI reads goes to its provider, under its terms. Anything Claude reads through Garnet goes to Anthropic under your Claude plan's terms.

Each part, named for what it is:

  • Garnet enforces the grant. The Garnet app answers each call, and Settings › AI connections shows what it gave.
  • The skill's rules are instructions to your AI, not enforcement. The plugin tells Claude to use only Garnet's tools and never to read your Space folder. Claude can still break those rules.
  • Only a sandbox without access to your Space folder, or a separate Space, is a boundary. Step 5 sets one up.
  • It starts read-only. A connection used with the plugin cannot write to its notebook until you turn on Allow notebook writes on its card.

Where it works

Claude appWorksWhy
Claude Code on Mac or LinuxYesStarts the plugin's local tools.
Cowork, when the session runs on your computerYesStarts local tools for sessions on your computer.
Claude's chat in the Claude desktop appUse the extensionInstall Garnet in Claude Desktop (Mac).
Claude on the web or on a phoneNoThey cannot start programs on your computer.
Anything on WindowsNot yetThe plugin has no Windows launcher yet. Use the MCP setup in Connect your own AI instead.

Steps

1. Prepare Garnet

  1. Install Garnet 1.17 or later on your Mac or Linux computer from garnet.md/download, and open it.
  2. In Settings › AI connections › Command line tool, select Install. The plugin finds Garnet through this tool.
  3. Create a connection, for example "Claude Code", and choose when it ends.
  4. Under What this AI can read, add the notes, tasks, Journal entries or tags Claude may read, then select Save. A new connection grants nothing.

2. Link the connection to the plugin

On the connection's card, set Use with to Claude Code and Cowork. Each plugin uses one connection at a time: choosing it on another connection moves the link there.

If the connection has access tokens, it answers only calls that carry one. Set GARNET_TOKEN in the environment Claude Code starts from, or use a connection without tokens. Cowork cannot pass a token: use a connection without tokens there.

3. Install the plugin

The plugin is published in Turbosoft's own marketplace. In a terminal:

claude plugin marketplace add turbosoft-aps/garnet-agent-plugins
claude plugin install garnet@garnet-agent-plugins

Or, inside Claude Code, type /plugin marketplace add turbosoft-aps/garnet-agent-plugins, then /plugin install garnet@garnet-agent-plugins. Restart Claude Code afterwards. In Cowork, add the same marketplace from its plugin settings, and run the session on your computer.

Once Garnet is listed in Claude's plugin directory, you can install it from there instead. It is the same plugin.

4. Check the setup

In Claude Code, run /garnet:garnet-setup. It checks that Garnet is running and unlocked, that a connection is linked to the plugin, and that it grants something, and it says what to fix. It never shows note titles while checking.

Then ask Claude something about your notes, such as "Search my Garnet notes for the garden plan."

5. Keep Claude Code out of your Space folder

The plugin's rules are only instructions. To make Claude Code unable to read your Space folder, add a sandbox and permission rules for it. /garnet:garnet-setup offers to do this and writes nothing until you say yes. To do it yourself, add this to ~/.claude/settings.json, with your Space folder's path in place of /Users/ana/Notes:

{
  "permissions": {
    "deny": ["Read(//Users/ana/Notes/**)", "Edit(//Users/ana/Notes/**)"]
  },
  "sandbox": {
    "enabled": true,
    "filesystem": { "denyRead": ["/Users/ana/Notes"] }
  }
}
  • The Read and Edit rules stop Claude Code's own file tools. A permission rule for a full path starts with two slashes.
  • The sandbox stops shell commands from reading the folder. Its path starts with one slash.
  • Neither applies to programs started outside Claude Code. The simplest choice is still a separate Space that holds only what you want Claude near.

Sources: Claude Code permissions and Claude Code sandboxing, checked on 26 November 2026.

See what Claude did

On the connection's card in Settings › AI connections:

  • What Garnet gave this connection lists every call for up to 30 days: the time, the tool and how many items. Never your queries or text.
  • Reports itself as names the client as it named itself when it connected, for example claude-code 2.1.310. Garnet cannot check that name.

Troubleshooting

  • Claude has no Garnet tools. You are in Claude on the web or a phone, which cannot start programs on your computer, or in the Claude desktop app's chat, which needs the extension. Use Claude Code, or Cowork running on your computer.
  • "No active connection is linked to the Garnet plugin for Claude Code and Cowork." No active connection has Use with set to Claude Code and Cowork. Set it on a connection, or create a new one if the old one ended.
  • "Garnet was not found on this computer." Install Garnet, then select Install under Command line tool in Settings › AI connections. If Garnet lives somewhere unusual, set GARNET_APP to the full path of its executable.
  • "Open or unlock Garnet, then open the Space this connection belongs to." Garnet is closed or locked. Open and unlock it. Closing its window is fine while a connection is active.
  • "This connection needs one of its access tokens." The linked connection has had a token. Set GARNET_TOKEN where Claude Code starts, or link a connection without tokens.
  • Claude says Garnet refused a write. The connection is read-only. Turn on Allow notebook writes on its card if you want Claude to add to its notebook.
  • Claude Code's sandbox blocks Garnet. A sandboxed shell command may not reach Garnet's local socket, so garnet commands in the shell can fail there. The plugin's tools still work: Claude Code starts them outside its sandbox. /garnet:garnet-setup then checks through the tools instead.
  • An older Garnet opens a window instead. Garnet before 1.17 has no plugin support. Update Garnet.

Remove the plugin

claude plugin uninstall garnet@garnet-agent-plugins

Then set Use with back to No plugin, or disconnect the connection, in Settings › AI connections.

Still need help?

Contact support@garnet.md or visit r/GarnetMD.

Still need help?

Email support for private account or Space questions. Use Reddit only for public community discussion.

Contact support