Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By carloluisitov0.1.0MITIn 1 marketplace
Cross-repo system model for agents: blocks breaking or misplaced edits, plans multi-repo changes, and gates PRs on consumer approval.
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
ontology, multi-repo, contracts, api, hooks, mcp, pull-requests
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
A shared model of your multi-repo system, so a coding agent that sits in one repo still knows who consumes what and where a change belongs.
It stops two failures:
Each repo describes itself in .ontology/manifest.json. CI in a central map repo aggregates every manifest into snapshot.json. This plugin caches that snapshot locally and uses it to:
PreToolUse hook),Everything is files in git. There is no hosted service and no telemetry.
Node 20 or newer and git on PATH. No npm dependencies.
/plugin marketplace add carloluisito/system-ontology-plugin
/plugin install system-ontology@system-ontology
The hook, the MCP server and the skills start working in any repo that has .ontology/config.json. Repos without one are ignored entirely.
Scaffold it, push it yourself, and fill it in:
node "<plugin>/bin/ontology.mjs" init-map ./system-map
or run /system-ontology:init and let it offer to do this. The scaffold contains:
| File | Purpose |
|---|---|
repos.json | Repos to aggregate: id, url, host (github, gitlab or git), optional project, defaultBranch. |
teams.json | Teams: id, handle, optional members. |
glossary.json | Concepts, aliases and an optional canonical home. account resolves to customer if you list it as an alias. |
rules/*.json | Org-wide rules: canonicalHomes, policies (per-contract change policy overrides), duplication (paths, file names or symbols a shared library owns). |
snapshot.json | Generated by CI. Never edit by hand. A run that changes nothing keeps the previous generatedAt (and mapCommit) for up to 24 hours, so the hourly job does not commit a new snapshot every hour; the age is therefore accurate to within a day. |
.github/workflows/aggregate.yml, .gitlab-ci.yml | The aggregation job. Keep the one for your host. |
A repo that fails to fetch keeps its previous entry and is listed under fetchErrors in the snapshot, so staleness is visible. A fetched manifest whose repo.id differs from the repos.json entry, or that publishes a contract id not starting with <repo id>/, counts as a failed fetch, so one repo cannot shadow another repo's contracts. A local .ontology/manifest.json with the same problem is ignored with a warning, and the snapshot entry is used.
Run /system-ontology:init in the repo. It drafts .ontology/manifest.json (contracts published, consumed, shared libraries, owners) and .ontology/config.json:
{ "mapUrl": "https://github.com/acme/system-map.git", "repoId": "orders-svc", "staleDays": 7 }
You confirm the draft and commit it. Consumption the extractors cannot see (for example an HTTP client that calls another service by URL) is declared by hand in the manifest with "source": "manual"; extraction never overwrites those entries.
Supported sources: OpenAPI 3.x and Swagger 2 (JSON or YAML), .proto, AsyncAPI and standalone JSON Schema, library api.json, and dependencies from package.json, go.mod, pom.xml, build.gradle(.kts), requirements.txt, pyproject.toml, *.csproj and Cargo.toml. Owners come from CODEOWNERS.
Contract change policies. A contract's manifest entry can set publishes[].policy; a policies rule in the map's rules/*.json overrides it. With neither, the default applies.
| Policy | A breaking change passes CI when |
|---|---|
breaking-needs-consumer-ack (default) | a member of every consuming team approved the PR |
ack-by-anyone | the PR has the ontology-ack label or a body line ontology-ack: <contract id> |
breaking-forbidden | never, even with no listed consumers |
free | always |
Copy the template for your host into each service repo. Each template's header lists the secrets and variables it needs.
templates/ci/github-ontology.yml to .github/workflows/ontology.ymltemplates/ci/gitlab-ontology.yml, pasted into .gitlab-ci.yml (add an ontology stage)The templates clone this plugin at the git tag system-ontology-v0.1.0. That tag must exist on carloluisito/system-ontology-plugin before any template works. The map repo's aggregate workflow clones the same tag.
npx claudepluginhub carloluisito/system-ontology-plugin --plugin system-ontologyPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.