By sebmartin
Thread-based workspace management with specialized agents for long-running AI conversations
Stewards and develops a proposal to find its strongest form. Use in structured debate to build the best case for an idea, openly acknowledging weaknesses and refining in response to challenges.
Stress-tests proposals to expose blind spots and strengthen ideas. Use in structured debate to counter assumptions, surface risks, and find edge cases — always in good faith with the goal of a stronger outcome.
Pressure-test a proposal through structured dialogue between a proponent and skeptic. Extracts the current proposal from context, runs rounds of challenge and refinement, and saves a synthesized plan as a thread artifact.
Initialize the ai-workspace plugin in the current directory. Creates threads/, AGENTS.md, CLAUDE.md, and .claude/settings.json. Safe to re-run, skips files that already exist.
Thread management for organizing long-running discussions. Use when creating threads, listing threads, resuming work, saving context, or logging decisions.
Admin access level
Server config contains admin-level keywords
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude is great at long-running work: designing systems, researching decisions, planning projects. The problem is that sessions end. Context gets compacted. Next time you start fresh, you're re-explaining things you already figured out. Frontier models have memory features for this but they are opaque and stored on their infrastructure.
Threads aim to address that. A thread is a folder on disk: a README that stays current, session logs, decisions, and anything Claude generates. When you pick it back up, Claude reads what it needs and continues where you left off. Nothing lives only in a conversation window. And because threads are just Markdown files, any model can read them. No vendor lock-in, no proprietary format.
The plugin ships for both Claude Code and OpenAI Codex CLI from a single source. Threads, MCP server, and templates are shared; each CLI installs through its native plugin system.
/plugin marketplace add sebmartin/ai-marketplace
/plugin install ai-workspace@sebmartin
Restart Claude Code after installing.
[!WARNING] Codex support is in beta. Core skills (init, threads, debate) work, but skill instruction-following varies by model — some commands may require natural language instead of slash commands. Please report issues.
codex plugin marketplace add sebmartin/ai-workspace-plugin
codex
/plugins
Select ai-workspace and install.
cd ~/my-workspace
# Claude Code
/ai-workspace:init
# Codex CLI
> initialize the ai-workspace
init creates threads/, AGENTS.md (read by both), CLAUDE.md (a one-line @AGENTS.md import for Claude), and .claude/settings.json (Claude-only permission allowlist; Codex ignores). All files are vendor-safe.
Threads work for anything you'd want to revisit across sessions, not just code.
my-workspace/
├── AGENTS.md # Workspace instructions (read by Claude and Codex)
├── CLAUDE.md # One-line "@AGENTS.md" import (Claude only)
├── threads/
│ └── {thread-name}/
│ ├── README.md # Current focus, next steps, links to everything else
│ ├── sessions/ # One file per conversation
│ ├── decisions/ # Decisions with context and rationale
│ ├── attachments/ # Files you bring in (specs, docs, data)
│ └── artifacts/ # Files the CLI generates (snapshots, reports, emails)
└── .claude/
└── settings.json # Claude-only permission allowlist
You can run Claude from your workspace or from any repo. The plugin finds your threads either way.
cd ~/my-project
claude
> resume the api-redesign thread
# → (Using threads from /Users/you/my-workspace)
Thread files are organized as a hierarchy of linked Markdown documents. When resuming a thread, Claude only reads the main thread summary and then follows links as needed, loading more context on demand rather than all at once. A thread can grow large over time and still start light. This also reduces hallucinations: instead of working from a vague summary, Claude can follow a link to the actual source when precision matters.
A good habit is to save the thread at a natural stopping point, then start a fresh Claude session. Resume the thread and ask "where were we?" Claude reads the thread summary and the last session log, giving you a clean starting point without the cruft that accumulates in long conversations: failed attempts, tangents, superseded ideas. The important things are saved. Everything else is gone. This keeps token usage down and the context window clean.
When you have a proposal worth stress-testing, run a debate. A proponent makes the strongest honest case for the idea and refines it under pressure. A skeptic challenges specific assumptions, surfaces blind spots, and backs off when concerns are addressed. The result is saved as a thread artifact. See it used in the architectural change example.
/ai-workspace:debate # 2 rounds (default)
/ai-workspace:debate 3 # more rounds
Both agents can call in specialist agents to validate claims, and will ask you directly when they're uncertain.
Install the tech-expert-agents plugin for a ready-made set:
npx claudepluginhub sebmartin/ai-marketplace --plugin ai-workspaceNo description provided.
Multi-agent deliberation for AI coding assistants
Browse, search, and carry context across Claude Code sessions. Exposes /threadhop:handoff, /threadhop:observe, /threadhop:tag.
Thoughtbox observability, protocol enforcement, and CLI for Claude Code
Collect and synthesize opinions from multiple AI Agents for Claude Code
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.