contorium-workspace-memory

contorium-workspace-memory is a skill for Claude Code from ContoriumLabs/contorium. It costs 33 tokens per session (447 once invoked), scanned A, original, MIT.

A workspace memory system that records project focus, recent session events, Git information, and compact context for future AI work.

In plain words
What is it for?
Use it when resuming a task, changing models, exporting project context, or checking whether recent edits and saved project focus have diverged.
Why use it?
It reduces the need to repeatedly explain a project and helps detect when the current work no longer matches the saved context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; mentions Cursor.

Part of the contorium plugin — 1 skill, 5 commands, 1 MCP server shipped together

Good fit Use it when resuming a task, changing models, exporting project context, or checking whether recent edits and saved project focus have diverged.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/contoriumlabs/contorium/contorium-workspace-memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ContoriumLabs/contorium --skill contorium-workspace-memory
Clone the repo
git clone --depth 1 https://github.com/ContoriumLabs/contorium

Made for: Claude Code.

Or install contorium, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for contorium-workspace-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/contoriumlabs/contorium/contorium-workspace-memory/github.svg)](https://agentmods.dev/skills/contoriumlabs/contorium/contorium-workspace-memory)
Your own site
<a href="https://agentmods.dev/skills/contoriumlabs/contorium/contorium-workspace-memory"><img src="https://agentmods.dev/badge/skills/contoriumlabs/contorium/contorium-workspace-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for contorium-workspace-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/contoriumlabs/contorium/contorium-workspace-memory"><img src="https://agentmods.dev/badge/skills/contoriumlabs/contorium/contorium-workspace-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 447 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00447
Opus 5 $0.00016 $0.00224
Sonnet 5 $0.00007 $0.00089
Haiku 4.5 $0.00003 $0.00045

Measured 12d ago against content hash 409283147293, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

contorium-workspace-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/contorium-workspace-memory/SKILL.md · 44 lines

What it actually says

Contorium workspace memory

When to use

  • Starting a new chat or switching models mid-task
  • User asks to continue where they left off
  • Exporting compact, AI-ready project context
  • Detecting session pollution after a task change

Memory layers

Layer Source Lifetime
Workspace .contora/state.json (focus, files, Git, notes) Long
Session in-memory events + optional JSONL per sessionId Short
Cognitive .contora/last-intent.json (BYOK intent + lifecycle) Medium

Instructions

  1. Prefer Current focus (optional) for user intent; never block export if empty.
  2. For clipboard handoff, use Copy AI-ready context — not raw event dumps.
  3. If focus and active files diverge sharply, suggest Start fresh AI context session.
  4. When AI intent is stale (low confidence), rely on heuristic operational intent from recent edits.
  5. Respect ignore rules (.contoraignore, contora.extraIgnoreSubstrings) when reasoning about ranked files.

MCP tools (Codex / Claude Code / Cursor Agent)

When the Contorium MCP server is connected (npm run build:mcp, see docs/MCP.md):

  • get_workspace_context — read extension snapshot from .contora/state.json
  • store_memory / search_memory / get_memory — agent-persisted notes under .contora/mcp/memories.json

Use MCP for agent-driven recall; use extension commands for sidebar UI and clipboard export.

  • contora.exportAIContext — copy AI-ready context
  • contora.startFreshAiSession — reset session activity + intent pool
  • contora.analyzeWorkspaceIntent — BYOK intent snapshot
  • contora.saveStateNow / contora.restoreSession — persist or restore editors
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 44 lines · 33 tokens per session scan A 409283147293

Subscribe to this mod's changes

contorium-workspace-memory is a skill published in the GitHub repository ContoriumLabs/contorium (6 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 447 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.