/system-ontology:ask <question>from system-ontology
Answer a question about the system model, such as who consumes a contract or event, what a service depends on, who owns a repo or path, or what a glossary term means.
Ships in system-ontology. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arguments: $ARGUMENTS
node "${CLAUDE_PLUGIN_ROOT}/bin/ontology.mjs" ask "$ARGUMENTS" --json
Keep the question inside the double quotes so the shell does not expand characters such as ?. Escape any double quote, $ and backtick inside the quotes.
Supported question forms:
consumers of <contract id or event name> or who consumes <...>what does <repo or service> depend onwho owns <repo, service or path>what is <term>The result has answer, or answer: null with a hint when the question is not supported or nothing matches, and snapshot (commit, ageDays, stale, fetchErrors).
Present the answer plainly, then the snapshot age. If the snapshot is stale or fetchErrors is above 0, say so, because the answer may be incomplete. If the command exits non-zero, show its stderr message and stop.
If answer is null because the question form is unsupported, fall back to the map data itself. Call the MCP tool snapshot_info (commit, age, staleness, aggregation errors), or run node "${CLAUDE_PLUGIN_ROOT}/bin/ontology.mjs" sync --json for the same facts, then read the cached snapshot.json and answer from it. The cache is under the plugin data directory, maps/<hash>/snapshot.json, one directory per map URL; $CLAUDE_PLUGIN_DATA points at the data directory when set. Say that the answer came from reading the snapshot directly.
What SKILL.md sets; muted values are Claude Code's defaults
Use when asked who consumes an API, event or library, what a service depends on, who owns something, or what a domain term or alias means across repos.
5 skills in this plugin
/impactReport which consumers a change to a published contract (OpenAPI, proto, event schema, shared library API) would break, with the diff classified as breaking, additive or neutral./initSet up system-ontology in the current repo. Drafts .ontology/manifest.json and .ontology/config.json from the repo's contracts, dependencies and CODEOWNERS, walks through what needs confirming, and can scaffold the central map repo./planBuild an ordered cross-repo plan for the working-tree change (shared or canonical repo first, then publisher, then consumers), with the compatible path for breaking changes, and start steps in other repos only with per-repo approval.Other plugins' skills for the same job
npx claudepluginhub carloluisito/system-ontology-plugin --plugin system-ontology