dotfiles-agentsRepository
On this page

carbon-builder

Codex uses the available Carbon MCP tool names and client connection controls; an approved Carbon account remains a prerequisite.

IBM Carbon Design System expertise: component code, variants, and props for Carbon React and Web Components (Core + IBM Products), Carbon Charts, icons and pictograms, design tokens and IBM Plex, accessibility guidance, AI Chat integration, and code-compliance audits — grounded in the hosted Carbon MCP server rather than model memory.

How it fits together

flowchart TD
  task[A Carbon UI task arrives: build, review, or audit]

  task --> skill[carbon-builder skill loads its query protocol]
  skill -->|Plans queries before writing any code| mcp[carbon-design MCP server, registered on install]

  mcp -->|Approved account, authenticated via /mcp| tools[code_search · docs_search · get_charts · labs_search · code_audit]
  mcp -.->|No account or unreachable| fallback[Bundled llms.txt docs index, fetched from public docs]

  tools --> out[Carbon-faithful code or a categorized audit, grounded in live results]
  fallback --> degraded[Docs-grounded answer, flagged as unverified by code_search]

  base[Vendored base pinned at an upstream ref] -.->|Hand-editing fails the drift gate| skill

When it triggers

Building, reviewing, or auditing Carbon UI code; asking how a Carbon component, token, grid, or pattern is meant to be used; generating Carbon-faithful code with the carbon-design MCP server this plugin registers.

Access

The hosted server requires an IBM-approved account — authenticate through the current client's connection controls after install; request approval at https://mcp.carbondesignsystem.com. Unapproved sessions still get the skill's protocol knowledge and the public-docs fallback. The server URL is a literal in the spec (not ${ENV}) deliberately: it is IBM's single public deployment, the same for every consumer, and carries no credential.

Attribution

The base/ directory is the carbon-builder skill from IBM's Carbon MCP project, vendored verbatim:

The public-docs references have a separate licensed source:

Do not edit base/ — update the pin instead (a new ref, re-vendored verbatim). A hand-edit there registers as diverged against the pinned ref and fails the vendored-drift gate.

Install

claude plugin install carbon@dotfiles-agents

Since the decision-020 sweep the carbon plugin is this skill's only home — it used to ship from solo-skills as well, which registered no Carbon MCP server for it.

Codex

Discover MCP tools through the current client. Codex uses plugin connection controls or its MCP login command for a CLI registration; public-doc fallback uses the available page-fetch tool. No Claude runtime is required.