/system-ontology:where <path or description>from system-ontology
Find which repo and path should own a change, from the map's canonical-home rules, duplication guards and glossary (aliases resolve, so "account" finds the "customer" concept).
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" where "$ARGUMENTS" --json
Keep the argument inside the double quotes. Escape any double quote, $ and backtick inside the quotes so the shell does not expand them.
The result is the home (repo, path) with the reason, or null when the map names no home. Running it for a file path also records that the location was reviewed, which lifts the guard's block on that file for 12 hours.
The command also prints one JSON line on stderr, {"snapshot":{"commit","ageDays","stale","fetchErrors"}}.
Present the home, the reason, and the snapshot age. If the snapshot is stale or fetchErrors is above 0, say so, because the rules may be out of date. If the command exits non-zero, show its stderr message and stop.
/system-ontology:plan for a coordinated change) instead of editing the local copy. Do not patch a local duplicate.null: the change can stay here. If the guard flagged it, say in your reply why it stays local.What SKILL.md sets; muted values are Claude Code's defaults
Use before adding shared logic, a shared type or a concept that may already live in another repo, when the guard flags a file as duplicating shared code or a concept, or when asked where something belongs or who owns a definition.
Other plugins' skills for the same job
npx claudepluginhub carloluisito/system-ontology-plugin --plugin system-ontology5 skills in this plugin
/askAnswer 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./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.