Skip to main content

Command Center AI Agent Scaffold

This directory is the versioned agent skill bundle shipped with @dev-mainsequence/command-center-ai. Its skills teach an agent to add AI capabilities to an application that uses the Command Center SDK, the same way the SDK's own skills teach the rest of the application: a router skill, an architecture skill that routes to focused skills, and focused skills in lanes. They use only the package's published entrypoints and the platform's public routes, and they name the platform and the Agent runtime, not their implementations.

LaneSkillWhat it teachesHuman guide
generaluse-command-center-aiInstall next to the SDK, refresh skills, upgrade, choose the focused skillGetting started
generalbuild-command-center-ai-applicationWhere AI lives in the application, and which pieces it needsBuild an AI application
enginemount-agent-conversationThe stylesheets, the engine's inputs, the default session, the stand-inBuild an AI application
uicompose-command-center-ai-railThe right rail, the expanded rail, and their designThe right rail and the expanded rail
sessionsmanage-agent-sessionsRequested sessions, the session explorer, archive, delete, newAgentSession resolution
backendconnect-command-center-ai-to-the-platformThe connection, the forwarder, tokens, errors, failure statesConnect to the platform
model-providersmanage-model-providersProvider sign-in, custom providers, the test conversationModel providers
contractsdesign-agent-conversation-capabilitiesWhat the thread draws, keeps after a reload, and ignoresThe conversation contract

The Route In​

An agent working in an application that has only the SDK finds this package through the SDK's own skills: use-command-center-sdk and build-command-center-application say that a chat or AI capabilities come from @dev-mainsequence/command-center-ai, to install it next to the SDK, to refresh its skills, and to continue with use-command-center-ai. That skill's name is the one the SDK depends on; keep it stable.

Installation​

The package's postinstall and command-center-ai skills install --path . install every skill into <repository-root>/.agents/skills/command-center-ai/, keeping its lane, with the SDK installer's algorithm, checks, dry run, provenance, and rollback. The namespace is authoritative: an install prunes every entry the package does not ship and writes PINNED_FROM.txt with the package version, the command, and the installed skill paths. No other namespace under .agents/skills/ is touched, the SDK's command-center/ included. See the CLI README.

Rules​

  • Every skill is a leaf under a lane: SKILL.md with a name equal to its folder and a triggering description, and agents/openai.yaml whose default_prompt names the skill. Names are unique across lanes.
  • A skill routes to another with $skill-name, as the SDK's skills do, and may route to the SDK's skills, which every application with this package has installed under .agents/skills/command-center/. tests/cli/agent-skills.node.mjs fails on a route to a skill that does not exist.
  • A skill names only published entrypoints (@dev-mainsequence/command-center-ai, @dev-mainsequence/command-center-ai/styles.css, and the SDK's), never src/, dist/, or a repository path. Screen-building skills route the application's controls to the SDK's /controls, and no example renders a raw control or a literal colour.
  • Every skill has a human guide in docs/, listed in the documentation map. tests/cli/docs-skills.node.mjs fails when a skill has none; tests/cli/agent-skills.node.mjs validates every skill and the installer. Change a skill and its guide in the same change, and name renamed or removed skills in the changelog: the installed skills are a compatibility axis.
  • Link nothing private. The platform's and the Agent runtime's own documentation are named, not linked into from here.