/ideaspaces:is-setupfrom ideaspaces
Set up the place someone is describing — a space for their knowledge, an agent with a role, or an existing remote space opened here. Use when someone names a thing they want to keep, track, or organize — a knowledge base, a vault for transcripts, a repository for the team's KPIs, notes on a topic, a small CRM — or a helper they want to work with: an assistant, a sales agent, a critique partner. Also on the direct asks: "set up a space", "add ideaspaces here", "create an agent", "get me into my space", "clone my notes", or a returning user with nothing local yet. Create talks first — what this place is, how work goes, what the agent does alone — then runs `ideaspaces create` (`--agent` for an agent) and writes what was agreed into the Agreement; Open lists your remote spaces (`is_spaces`) and clones the chosen one (`is_clone`). Not for building software — someone coding an app wants code, not a space.
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.
Goal: look → talk → reflect back → ideaspaces create → write what was agreed into _agent/agreement.md → commit → offer publish.
A space is one folder with one contract file, _agent/agreement.md, that says what the place is and how work goes here. The conversation is the work; the CLI is the scaffold writer. It lands the Agreement with every section as a prompt, and this skill's job is that no prompt is left standing.
The CLI ships inside this plugin at ${CLAUDE_PLUGIN_ROOT}/cli/bundle/ideaspaces.js. Invoke via Bash. No separate install required.
Don't offer unprompted. Wait for a signal — "set up a space", "I want somewhere for my X", "make me an assistant" — or a directory the user wants structured.
Read the signal before proceeding:
create-a-space.md.create-an-agent.md.Ambiguous (logged in, has spaces, empty cwd)? Ask which they want — don't assume. Someone who says "assistant", "persona", or "personality" wants an agent; take the word they used, don't correct it.
Both procedures run the same shape. The details — what to listen for, the questions, the reflect-back — are in the two files above; this is the skeleton.
Look before speaking. Read the folder with Glob and Read; git rev-parse --is-inside-work-tree for the repo. Say what you found in a line. Change nothing.
| Found | It means |
|---|---|
_agent/agreement.md | Already an ideaspace. The CLI refuses; offer to edit the Agreement instead. |
_agent/foundation.md | The older shape. It still loads; offer ${CLAUDE_PLUGIN_ROOT}/reference/migrate-to-agreement.md rather than scaffolding beside it. |
_agent/always.md / rules.md / soul.md | Legacy. The CLI errors; the content moves into an Agreement by hand. |
Markdown files, no _agent/ | Content already here. Read a few before asking — the story is partly in them. |
.github/, package.json, Cargo.toml, … | A code repo. A space can sit beside code; the CLI keeps _agent/ private (gitignored) unless --shared. An agent's folder is not a code repo — propose a sibling folder. |
CLAUDE.md, .gitignore | The CLI won't overwrite either; it appends .gitignore defaults under a header. |
Draw out. Open with a story or a task, not a form. Listen for what the Agreement needs; ask only for what is missing and needed before the first move. Cases, in their words.
Reflect back in the shape the file will take. Revise until they recognise it.
Scaffold. Dry-run, show the plan, then apply on a yes:
node ${CLAUDE_PLUGIN_ROOT}/cli/bundle/ideaspaces.js create [<name>] [--agent] [--shared]
node ${CLAUDE_PLUGIN_ROOT}/cli/bundle/ideaspaces.js create [<name>] [--agent] [--shared] --yes
The CLI writes _agent/agreement.md — referencing the knowledge kind, or the agent kind with --agent — plus a short CLAUDE.md (or CLAUDE.local.md in a private code repo), .gitattributes, and .gitignore defaults, then git init -b main and an exact-path initial commit as a best-effort finalize. If Git is unavailable the space still exists, unversioned, and the CLI prints the recovery commands. Relay the CLI's own stdout; don't assume a commit happened.
Replace the prompts. Use native Edit on _agent/agreement.md — section by section, with what was agreed. Keep the frontmatter the CLI wrote; change only name and summary (two dense sentences). Show the file once more.
Check it loads. node ${CLAUDE_PLUGIN_ROOT}/cli/bundle/ideaspaces.js navigate --json — manifest.contractSource must be agreement; if contract_invalid appears, a frontmatter line is wrong.
Commit on a yes, by explicit path, with is_commit — only _agent/agreement.md (and CLAUDE.md if you touched it). Never a bare git commit in a folder someone else may have staged work in.
Offer what comes next — don't do it. Publish (/is-publish), the first Note if the story contained one, a skill (is-shape) if a repeatable procedure surfaced, purpose.md when they can say in a paragraph why the place exists and it is not the same paragraph as "what this place is".
Do not write purpose.md, now.md, or an empty skills/. They come when there is something real to put in them.
For a hosted named Map, do not clone it: use Hosted Spaces via the host helper in is-space. The clone flow below is the existing Repo/content workflow, not Map sync.
is_auth (login) first — is_spaces / is_clone need it.is_spaces — show the user's remote spaces (slug, role, members). Present plainly; let them pick.is_clone with the chosen space. It returns the local path.cwd per call and don't persist a working dir, so after cloning, pass the returned path as cwd to what follows — orient with is_navigate (cwd = the clone path) or the is-orient skill, and confirm the user is now working inside the cloned space.Cowork: its sandbox may block the network that is_spaces / is_clone need. If they fail to reach the remote, tell the user to switch to Claude Code view for remote operations — local capture still works in Cowork.
CLAUDE.md. The CLI doesn't; if the user has one, append a short pointer to _agent/agreement.md only if they want it.git init outside the CLI. If you git init first the CLI sees an existing repo and adapts./is-publish only when the user explicitly says so.Summarize what landed:
_agent/agreement.md — written from the conversation, no prompts left standingCLAUDE.md (or CLAUDE.local.md) pointing at it.gitattributes + .gitignore defaultsgit init … follow-up) instead of claiming a commit."You're set. Next session will start oriented to your space. Run
/is-publishwhen you're ready to host this remotely."
/is-publish — host this space remotely (login + provision + push)If anything goes sideways during scaffold:
--yes to preview againgit status + git restore (or git clean -n to preview untracked files). If the space is unversioned (no git), there's no git recovery surface — edit or remove the scaffolded files directlyCLAUDE.md, won't double-append .gitignore block) — re-running with --yes is safeWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ideaspaces-xyz/claude-code-plugin --plugin ideaspaces14 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.