/ideaspaces:is-spacefrom ideaspaces
Reference for working in an ideaspace: its `_agent/` contract, Two Roles, and Claude plugin tools. Use when the agent needs contract or tool details mid-work, or needs to list, open, create, edit or copy a hosted Space (a named Map). For explaining IdeaSpaces to a person, prefer is-guide; for access sharing, prefer is-share; for ordinary Note capture, use is-capture.
Ships in ideaspaces. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Canonical protocols: read ${CLAUDE_PLUGIN_ROOT}/reference/guide.md, ${CLAUDE_PLUGIN_ROOT}/reference/capture.md, ${CLAUDE_PLUGIN_ROOT}/reference/writing.md, or ${CLAUDE_PLUGIN_ROOT}/reference/awareness.md when the task needs the full shared standard. This entrypoint adds Claude-specific navigation and tool guidance.
An ideaspace is inhabited through a simple loop:
arrive → orient → inspect → act → capture → push/pull → reflect
The plugin handles arrive automatically with SessionStart awareness. For active work, pick the intent skill by tier:
is-orient, is-capture, is-push / is-pull, is-reflect.is-share for visibility, is-threads for explicit local Thread reading and posting.is-setup, is-publish, is-shape.is-space, is-writing.You have two working surfaces:
is_navigate, is_look, is_threads, is_status, is_write, is_commit, is_push, is_pull, is_auth). Skills choose the mechanism; don't make backend choice the user's problem.Native Read, Glob, Grep, Edit, Write, and Bash remain the default for navigation, search, source-code work, and ordinary doc edits.
For listing, opening, creating, editing or copying a hosted Space, read
Hosted Spaces through the CLI. It also covers placing a hosted
Thread with --home map:<id>. Define this helper in each shell call that uses that workflow:
is_cli() { node "${CLAUDE_PLUGIN_ROOT}/cli/bundle/ideaspaces.js" "$@"; }
This uses the installed consumer's CLI. No native Spaces tool is added. Legacy
is_spaces/clone operations are not a way to read a named Map or synchronize it.
Local and hosted Spaces remain independent; the shared workflow names the owner,
reviewed-head, retry and copy boundaries. For Repo publication or access, keep
using is-publish/is-share instead.
No _agent/ yet? Suggest /is-setup — it walks the user through the contract scaffold and conversational seeding.
Returning? The SessionStart hook surfaces what's present inline along with each file's summary and any operating skills. If you need to refresh at the current position or a branch, use is-orient or is_navigate.
Read _agent/agreement.md first when acting beyond the injected awareness — it is the contract a scaffolded space carries, and it loads in full. A space on the older shape has _agent/foundation.md and _agent/guide.md instead; read those. Then _agent/purpose.md, now.md, next.md when present; on the older shape a named-but-absent file is a drift signal — surface it and propose capturing before other work.
_agent/ contractThe contract's shape is deliberately not restated here. An Agreement says what the place is, how work goes, what the agent does alone and brings back, the local words, what is open, and when to revisit; its frontmatter may reference the kind of place it is (agreement: agent:repo:… or knowledge:repo:…), and SessionStart names the kind it recognises. The shared operating standard lives in ${CLAUDE_PLUGIN_ROOT}/reference/guide.md. Read the space's own Agreement; restating shape in entrypoints is how drift happens. Not in a space yet? /is-setup forms one in conversation. Still on foundation.md? ${CLAUDE_PLUGIN_ROOT}/reference/migrate-to-agreement.md.
Branches (deeper directories) refine via their own _agent/ without re-declaring the root contract; most branches need only a README.md. Operating skills in _agent/skills/ are listed at session start by name + summary — read a skill's body at the moment of use, don't preload.
Knowledge (regular .md files) and agent context (_agent/, README.md) — the protocol's split: the first is content that accumulates, the second is instruction read by position.
Within user content, voices can coexist at different branches. Don't mix them in one folder — use a subfolder to mark the shift:
slow-thoughts/, journal/).conversations/, captured/). Who made it is recorded in the commit, not in frontmatter.concepts/.When capturing from a conversation, check the target folder's voice before writing. If the folder is someone's raw personal thinking, don't write co-produced notes there — create a subfolder. See is-writing for voice guidance and is-capture for when to propose capture.
Use is-capture for the outer intent. It decides whether the mechanism is is_write, native edits, or a commit of explicit paths.
is_write — create/update with Layer 1 frontmatterUse inside capture when the target is a Note. It carries the writing standard and stages the result.
is_write path="analysis.md" content="..." name="Analysis" summary="Dense orientation" — create or update the Note, stage it, and return a content shatags, attached_to, map, if_match, force, cwdPreserve-semantics: supplied fields are updated and existing frontmatter fields not supplied remain in place. A structured map is validated and canonicalized before write; omitting it preserves an existing Map. For file moves, deletions, and metadata-only edits, use native Bash (git mv, rm) and Edit.
Layer 1 (required): name, summary.
Layer 2 (optional): tags, attached_to.
Map (optional): protocol roots + ordered members; addresses only, never embedded territory.
Safe update flow:
is_status({ path }), then pass its sha as is_write.if_match.is_write response's sha.force: true only after re-reading and reconciling divergent content.is_status — capture state and file shapath: returns single-file state, including the sha for is_write.if_match.is_commit — explicit capture commitUse inside capture after user confirmation:
is_commit message="Capture decision" all=true — commit only paths captured by this MCP session's is_write callsis_commit message="Capture decision" paths=["notes/decision.md"] — commit explicit pathsIt never sweeps unrelated staged user work into the capture commit.
is_push / is_pull — the two directionsUse is-push and is-pull for the outer intent. is_pull integrates remote changes into the local space and never pushes; is_push sends committed captures and never pulls. Push refuses when behind — pull first. Both refuse while staged knowledge is uncommitted. Use dry_run: true to preview.
cwd matters after cd in Bash. The MCP server is a separate process from the agent's Bash tool, so subprocess directory changes do not propagate to MCP tools. Pass cwd whenever the intended working directory differs from session start:
is_write path="_agent/purpose.md" content="..." name="Purpose" summary="..."
cwd="/abs/path/to/the/space"
The default is the MCP server's launch directory.
is_auth — sync stateis_auth action="login" — sign in this CLI install through the browser (client=cli, loopback callback); stores short-lived access and rotating refresh locally. Manage it in the web's Desktop sign-ins list.is_auth action="logout" — signs the session out on the server before clearing local credentials. Offline/failure keeps credentials for retry; never claim sign-out succeeded or manually delete them.status account --json — check session state without reading secrets. A successful logged_in: false means offer login; a nonzero/offline check is not signed out. Existing authorized API-key mode remains supported (status does not online-validate every legacy key).Sync is opt-in. The plugin works locally without auth. Sign out before switching accounts/services. Never read or print credentials into chat. Headless/CI can use an existing authorized key; SSH browser sign-in requires explicit loopback forwarding.
A shared Space created by the current CLI already carries portable root_node_id before login; private gitignored code-repo context remains unstamped. A public, copy-enabled Space can come home without an account through ideaspaces fork <space-url> [dir]: the CLI creates one independent unpublished commit with fresh identity, no source history, and no remote. To host either kind of local Space, use /is-publish or run ideaspaces publish from its root. First publish asks Keeper to adopt the committed declaration exactly, sets repo-local Git attribution, and pushes. Later publication reuses the same verified binding; drift refuses, and --force never forks or rekeys.
Glob — find by pattern. **/*.md, _agent/*.md, etc.Grep — search by content or regex. Replaces semantic search until a local index returns.Read — read a file, optionally windowed.Edit, Write — modify files. Use is_write when the result is a Note (frontmatter, capture); use native Write for source code, config, plain README.md.Bash — git operations and ad-hoc shell.Glob and Read the target area first.Grep to check if something similar exists.attached_to when writing a Note: hostname:acme.com, person:alice.ideaspaces create for a new or existing space_agent/ primitives and perspectivesWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
14 skills in this plugin
/is-captureWrite something down so it is not lost — a decision, a finding, a piece of context worth keeping. Use when someone says write this down, note this, save this, keep this somewhere, don't let me forget, remember this, put this in my notes, or add this to the knowledge base; or when a decision has just been made that would be expensive to relitigate. Not for saving an ordinary source or config file — that is a plain file write.
/is-forkMaterialize an independent local Space from a canonical Space URL. Use when the user says fork this Space, take this public Space home, make a local independent copy, update or refresh a maintained fork, or wants to work from a copy without an account. Fork is history-free and unpublished; use is-publish later to host it.
/is-guideExplain IdeaSpaces to the person, at the right depth. Use when someone asks what is this, what does it do, how does it work, what can I do here, how can you help me, what do I need to run it — or has just installed it and wants to know what now. Answers come from the shipped guidance ladder, one rung at a time, offering a step deeper. Not for creating or opening a space; that is is-setup.
/is-orientOrient inside an ideaspace. Use at session start when orientation is missing, when the user asks "where are we?", "what are we doing?", "what changed?", or when context feels unclear. Reads the position's agreement and current state; does not modify files.
/is-publishPut this space online — host the current folder as a remote ideaspace, so it outlives this machine and the team or another device can reach it. Use when someone says put it online, publish this, host it, back this up, get this on my other computer, or make it available to the team; or after `/is-setup` finishes. Hosting starts private — who gets in is is-share. Plan-first: the bundled CLI shows exactly what would happen and mutates nothing until the user agrees and it runs again with --yes.
/is-pullPull an ideaspace when the user says pull, get the latest, or update from remote. Pull brings others' committed captures into the local space; it never pushes. Integrating requires a committed, clean tree — capture first if needed.
npx claudepluginhub ideaspaces-xyz/claude-code-plugin --plugin ideaspaces