No slash command · from infrahub
Shared references and cross-cutting rules for Infrahub skills: GraphQL syntax, .infrahub.yml format, marketplace, NetBox migration, metadata, profiles, and branch-first CRUD patterns. Not user-invocable.
Ships in infrahub. 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.
Read when SKILL.md points to them.
This skill contains shared resources referenced by all other Infrahub skills. It is not meant to be invoked directly.
graphql-queries.md — Infrahub GraphQL query syntax,
filters, nested queries, and pagination patternsinfrahub-yml-reference.md — .infrahub.yml
configuration file format and field referencemarketplace-reference.md — Infrahub Marketplace:
reusing published schemas and collections via
infrahubctl marketplace get, discovery with
infrahubctl marketplace list / search / show, and
airgap fallback. Reuse before modelling from scratch.netbox-vs-infrahub.md — Field-by-field
migration appendix for engineers porting NetBox
queries, templates, or overlay datametadata-lineage.md — Value metadata (source,
owner, is_protected): what each field means, how
to set it in object files, and why source does not
control edit accessprofiles-and-templates.md — The Profiles vs
Object Templates distinction and mechanicsrules/ — Cross-cutting rules shared across skills:
.gql query against the live
schema before merge, and which infrahubctl command
does it for a transform, check or generatorschema.graphql as infrahubctl graphql export-schema output — re-exported, never
hand-editeddocs.infrahub.app on a genuine gap)graphql-queries.md (opens in a new tab)infrahub-yml-reference.md (opens in a new tab)marketplace-reference.md (opens in a new tab)metadata-lineage.md (opens in a new tab)netbox-vs-infrahub.md (opens in a new tab)profiles-and-templates.md (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/caching-display-label.md (opens in a new tab)rules/connectivity-python-environment.md (opens in a new tab)rules/connectivity-server-check.md (opens in a new tab)rules/deployment-git-integration.md (opens in a new tab)rules/deployment-gql-dry-run.md (opens in a new tab)rules/deployment-partial-sync-recovery.md (opens in a new tab)rules/protocols-adopt-typed-kinds.md (opens in a new tab)rules/protocols-generated.md (opens in a new tab)rules/testing-resource-framework.md (opens in a new tab)rules/workflow-branch-for-crud.md (opens in a new tab)rules/workflow-information-priority.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
infrahub, shared-references, graphql, netbox-migration, metadata
18 skills in this plugin
/infrahub-analyzing-dataAnalyzes and correlates live Infrahub data via the MCP server — answers operational questions, detects drift, and investigates impact. TRIGGER when: querying infrastructure data, checking compliance, investigating change impact, producing ad-hoc reports. DO NOT TRIGGER when: writing automated checks, building transforms, designing schemas, populating data files, planning an Infrahub version upgrade (use infrahub-planning-upgrades). ALWAYS pass the user's question verbatim as args — this skill runs in a forked context and cannot see the parent conversation. Invoking without args will fail./infrahub-analyzing-diagnosticsAnalyze an already-collected infrahub-collect diagnostic bundle — traceback and failure triage across service logs, incident correlation, and known-issue matching against opsmill/infrahub GitHub issues. TRIGGER when: the user says they collected a diagnostic bundle, gives you a bundle path, or pastes bundle contents — and asks what's wrong, wants the logs or tracebacks analyzed, asks "what does this bundle say", wants errors triaged/correlated, or asks whether a crash is a known issue. DO NOT TRIGGER when: no bundle exists yet — collect one first (use infrahub-collecting-diagnostics), filing the issue itself (use infrahub-reporting-issues), or querying live data (use infrahub-analyzing-data)./infrahub-auditing-repoAudits an Infrahub repository against best practices and rules, producing a structured compliance report. TRIGGER when: reviewing repo for compliance, onboarding to existing project, pre-deployment validation, catching issues. DO NOT TRIGGER when: creating schemas, writing checks/generators, querying live data, populating objects, planning an Infrahub version upgrade (use infrahub-planning-upgrades). ALWAYS pass the user's request verbatim as args, with any scope, path, or focus they named. This skill runs in a forked context and cannot see the parent conversation./infrahub-collecting-diagnosticsCollect a redacted local diagnostic bundle (logs, config, version, state) for an OpsMill expert hand-off. TRIGGER when: Infrahub is broken/failing/erroring, the user asks for help debugging, wants to collect logs/diagnostics, prepares a hand-off for OpsMill support, or reports a crash/timeout/connection issue (upgrade failure, stuck branch, container CrashLoopBackOff, 500s, OOM). DO NOT TRIGGER when: debugging a check, transform, generator, menu, or schema in the repository (use the infrahub-managing-* skills), a bundle has already been collected and the user wants it analyzed (use infrahub-analyzing-diagnostics), filing a public GitHub issue (use infrahub-reporting-issues), running operational queries (use infrahub-analyzing-data), or planning an upgrade that has not run yet (use infrahub-planning-upgrades)./infrahub-converting-netbox-device-typesConverts NetBox device-type and module-type definitions (the netbox-community devicetype-library format, also published via the NetBox Data Exchange / NDX) into Infrahub object templates as Infrahub object YAML, using a bundled Python converter driven by a schema mapping profile. TRIGGER when: importing NetBox device types or module types, exporting device types from a running NetBox instance, building object templates from vendor device models, converting line cards / PSUs / transceivers from NetBox module types into Template* objects, re-running a conversion after changing the mapping profile, debugging a wrong or failed conversion. DO NOT TRIGGER when: importing CSV/TSV data (use infrahub-importing-data), authoring schemas from scratch (use infrahub-managing-schemas), writing ordinary object data files (use infrahub-managing-objects), or setting up continuous two-way replication with a live NetBox (that is infrahub-sync, a separate product; a one-off export of device types is in scope here)./infrahub-designing-modelsDesigns an Infrahub data model before any schema YAML exists. TRIGGER when: someone has an idea or a problem but no agreed model, asks "what should I model" or "help me design my data model", wants diagrams, spreadsheets or exports turned into a design, has a scope too big for one feature and needs it split, or is updating, extending or fixing an existing design brief. DO NOT TRIGGER when: a design or model sketch already exists and the user wants schema YAML (use infrahub-managing-schemas), wants to load data (use infrahub-managing-objects or infrahub-importing-data), or wants to learn concepts (use infrahub-teaching-concepts).infrahub@opsmill is listed by opsmill/claude-marketplace — review the source before installing
npx claudepluginhub opsmill/claude-marketplace --plugin infrahubOther plugins' skills for the same job