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
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.
- Pointer: when deciding what a missing Dometrain tool can tell this skill, fetch
How Claude learns that a server failed
live.
Task
- 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.
- 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.
- When no Dometrain tool resolves and
ToolSearchreturned 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.
- When a user-scope server is registered but no tool resolves, report failed or unverified:
- If
ToolSearchreturned a connection error for thedometrainserver, quote it verbatim. - Otherwise do not assert why. Whether a failed connection reaches this turn depends on
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.
- Do not send the user to
/plugin configure: point them toclaude mcp listfor a
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>
- Pointer: when choosing between the two forms, fetch
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.
- Pointer: when a command's scope default or flag spelling matters, fetch
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