Setup

From melodic-software/claude-code-plugins · View interactive version

Setup is an AI agent skill from the GitHub repository melodic-software/claude-code-plugins. Verify that the Dometrain MCP tools are available to the Dometrain grounding skills, without reading or exposing any API key. Use when: 'set up Dometrain', 'configure Dometrain', 'Dometrain setup', the Dometrain MCP server is unavailable, or a Dometrain tool reports an authentication error. Actions:

How to use this skill

Skill file

Purpose

Report whether a Dometrain MCP server is reachable from this session, without reading, printing,

or writing any API key. This plugin ships skills only. The tools come from a user-scope

dometrain MCP server the user registered, per the README's

Getting the MCP server.

That server exposes its tools under a dometrain server segment. This skill matches on the

server segment and tool name in the runtime inventory and never on a fixed prefix, because Claude

Code owns the prefix format and can change it.

Check-only per the uniform setup contract's carve-out for a plugin with no options: check

(default and only action) verifies and reports. The server keeps its credential outside this

skill, so it never manages it.

Mechanism note (why this skill does not read /mcp): /mcp is the user's command, and this

skill reports only from what reaches its own turn: the tool inventory, and a connection error

Claude Code reports for a failed remote server, read when it is present and never assumed when it

is absent. It never reads or claims /mcp connection status, so a report never rests on output

the skill did not see.

How Claude learns that a server failed

live.

Task

  1. Check whether a Dometrain tool (e.g. list_courses, search_dometrain) is present in the

current tool inventory, matched by the dometrain server segment and the tool name. Do not inspect

settings files, environment variables, process arguments, debug logs, credential stores, or

any key.

  1. When a Dometrain tool resolves (via direct tool-list presence or a successful ToolSearch

match), report connected. Do not claim the credential has valid API access beyond that:

resolution is the strongest signal this skill can observe. For which rejections Dometrain's

server returns and what each means, fetch

Troubleshooting live.

  1. When no Dometrain tool resolves and ToolSearch returned no connection

error for a dometrain server, report disabled: no server is present. Point to the

README's Getting the MCP server for registering a

user-scope server. Do not run the command for the user. For a non-interactive install (CI, a

fleet bootstrap, a scripted machine setup), point to the headless path below.

  1. When a user-scope server is registered but no tool resolves, report failed or unverified:

configuration this skill cannot inspect (see the mechanism note's pointer in

Purpose).

Direct the user to run /mcp themselves rather than claim knowledge it does not have.

missing-variable warning on the dometrain entry and to the README's

Getting the MCP server, and tell them to start a

new session after setting the variable. For how Claude Code expands it, fetch

Environment variable expansion in CODE0

live.

Headless installation

For a non-interactive install such as CI, a fleet bootstrap, or a scripted machine setup, install

and enable the skills, then register the user-scope server per the README's

Getting the MCP server. Every step is required. At

user scope, on a CLI that supports --marketplace on install, add the marketplace and install

in one step:

claude plugin install dometrain --marketplace <source> -s user
claude plugin enable dometrain -s user

At project or local scope, or on an older CLI, keep the two-step form, so the marketplace is

registered in the same scope as the install:

claude plugin marketplace add <source> --scope <scope>
claude plugin install dometrain@<marketplace> -s <scope>
claude plugin enable dometrain -s <scope>

Plugin commands reference: plugin install

(the --marketplace row and its minimum version) and

Add a marketplace and install in one command

(which scope the added marketplace lands in) live.

<marketplace> is the name the catalog registers under when it is added, and <scope> is the

scope the bootstrap chooses: user, project, or local. Pass the scope explicitly on every

command and carry the same <scope> through all of them.

plugin marketplace add,

plugin install and

plugin enable live.

Registering at user while installing at project

leaves the marketplace declaration out of the project's checked-in settings, so a fresh clone or CI

agent carries the enabled plugin with no registered marketplace to resolve it from.

The enable step is not optional. This plugin's marketplace entry sets defaultEnabled: false,

so a bootstrap never ends at install. Pass -s to

CODE0

explicitly, so the sequence stays deterministic in CI.

CODE0

live.

Output

Report exactly one state: disabled, connected, or failed or unverified. Include the exact

next action when the state is not connected.

Namespace-collision note

Dometrain ships its own Claude Code plugin (github.com/Dometrain/mcp). If the user has that

plugin enabled too, do not attempt to detect a collision by comparing MCP tool-name prefixes: the

prefix cannot tell one enabled plugin from two that collide. Point the user to this plugin's README

collision warning instead.

Dometrain's repository live.

Boundaries

setup contract (docs/plugin-philosophy.md "Setup is explicit and repeatable" in the

marketplace repository).

sufficient and spends no quota.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.