Repository navigation
Description
Rescoped 2026-05-29. NodeSpace is moving off MCP toward published skills + scripts (architectural audit #1228). The MCP-server-registration half of this issue is dropped — there is no MCP server to register. What survives is installing the NodeSpace skill on first launch, which already has a working implementation in
@nodespaceai/skill.
Overview
On first launch, NodeSpace should install the NodeSpace skill into the user's installed AI agents (Claude Code and others) so NodeSpace capabilities are available in every session without manual setup. No MCP server registration.
Problem Statement
Users currently must manually run the skill installer. First launch should do it automatically (idempotently), with a manual re-trigger via Settings → Integrations (#1181).
What already exists
@nodespaceai/skill ships:
SKILL.md— teaches the agent what NodeSpace is + how to use thenodespaceCLIsrc/installer.ts— detects installed agents (Claude Code, Codex, Gemini, OpenCode) and copies the skill into each agent's directory; supports uninstall- Invoked via
npx @nodespaceai/skill install
This issue is about calling that installer automatically on first launch from the desktop app, not building it from scratch.
Proposed Solution
On first launch, run a one-time setup that:
- Installs the NodeSpace skill — invokes the
@nodespaceai/skillinstall path for each detected agent - Verifies the
nodespaceCLI is on$PATH— warn if not (see Skill preflight: agent must detect whether the nodespace CLI is installed and the daemon is healthy #1229 preflight); the skill is useless if the agent can't invoke the CLI - Marks setup complete — flag in
~/.nodespace/setup.jsonso it runs once
Acceptance Criteria
- On first launch, the NodeSpace skill is installed into detected agents (Claude Code at minimum)
- First-launch setup verifies the
nodespaceCLI resolves on$PATHand warns if not (Skill preflight: agent must detect whether the nodespace CLI is installed and the daemon is healthy #1229) - Setup is idempotent — safe to re-run, no duplicate installs
- Completion persisted to
~/.nodespace/setup.json - Success/▲warning notification shown after setup
- Manual re-trigger available via Settings → Integrations (Settings: Integrations panel for PATH and skill configuration #1181)
-
bun run test:allpasses - No
mcpServersentry is written to~/.claude/settings.json(MCP is being removed)
Technical Specifications
packages/skill/src/installer.ts— the installer to invokepackages/desktop-app/src-tauri/src/daemon_setup.rs— existing first-launch setup pattern to followpackages/desktop-app/src/lib/components/settings/— integrations panel for manual re-trigger- Setup flag
~/.nodespace/setup.json:{ "skill_installed": true }
Dependencies
Publish @nodespaceai/mcp to npm: MCP server exposing nodespace CLI as AI tools #1185 (NodeSpace MCP server)— removed; no MCP server in the skills+scripts model- Skill preflight: agent must detect whether the nodespace CLI is installed and the daemon is healthy #1229 (skill preflight — CLI/daemon availability detection)
Related
- Architectural audit (post-daemon + post-SQLite): structural findings & improvement plan #1228 (architectural audit — skills+scripts replace MCP)
- Settings: Integrations panel for PATH and skill configuration #1181 (Settings integrations panel — manual re-trigger; also being trimmed of MCP)
- CLI coverage gap: surface remaining knowledge-graph operations so skills+scripts can replace MCP #1227 (CLI coverage gap)
- Use persistent session directories for agent workspaces #1198 (persistent session directories)
Activity
[-]Install NodeSpace MCP server and skills into ~/.claude on first launch[/-][+]Install the NodeSpace skill into AI agents on first launch[/+]malibio commentedon May 29, 2026
Add Pi agent coverage + fix SKILL.md frontmatter
Two related gaps found while reviewing agent coverage:
1. Pi agent is missing from the skill installer
packages/agent/src/pty/detection.rsknowsAgentType::Pi(Pi is a launchable PTY agent), butpackages/skill/src/agents.tsonly lists claude-code/codex/gemini/opencode — not Pi.Pi (pi.dev, earendil-works) is a strong fit for the skills direction: it has no built-in MCP by design ("primitives, not features"), so skills are the only way to extend it. It implements the Agent Skills standard — the same
SKILL.mdformat Claude Code uses. Skills install to~/.pi/agent/skills/<name>/.Add to
agents.ts:2. SKILL.md has no frontmatter — won't load in Pi or Codex
Current
packages/skill/SKILL.mdstarts with# NodeSpace Skilland has no YAML frontmatter. The Agent Skills standard (Pi, Codex, Claude Code) requires a---block withname+description. Without it, the skill won't register in Pi/Codex (and may be ignored by Claude Code's skill loader too).Add frontmatter (
name: lowercase[a-z0-9-], ≤64 chars):Acceptance criteria (add to this issue)
piadded to the skill installer's agent list (packages/skill/src/agents.ts), installing to~/.pi/agent/skills/nodespace/~/.piexistsname,description) so it loads in Pi, Codex, and Claude Code~/.pi/agent/skills/) and Codex, not just Claude CodeRefs: Pi skills format — https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/skills.md ; ties to #1228 (skills-over-MCP), #1229 (preflight), #1227 (CLI coverage).
malibio commentedon May 30, 2026
Frontend baseline: 133 test files, 3858 tests passed
Install the NodeSpace skill into AI agents on first launch (#1279)
Install the NodeSpace skill into AI agents on first launch (#1279)