/infrahub:infrahub-teaching-concepts [concept-or-question]from infrahub
Teaches Infrahub concepts (schema, objects, branches, proposed changes, checks, transforms, generators, menus) using the learner's own repo files and live instance as lesson material. Useful for onboarding, understanding Infrahub equivalents of NetBox/Nautobot concepts, or resuming a learning session.
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.
A tutor protocol, not a textbook. It measures what the learner already knows, explains each concept through the learner's own schema, objects, and instance where they exist, sets a hands-on exercise the learner solves themselves, and records progress so a later session resumes instead of restarting. Exercises are verified solvable before they are shown.
rules/grounding-competitor-mapping.md)..infrahub-learning/progress.md.Detect once per session, in this order, and prefer the richest source:
.infrahub.yml):
teach through the learner's own artifacts.infrahubctl): read-only
queries illustrate concepts with real data.references/concept-map.md.Before writing the first Explain section, read rules/grounding-own-artifacts.md — a generic example when the learner has their own file is a violation, not a fallback.
Instance safety has three tiers; the full ladder is in
rules/safety-instance-writes.md.
Read it before any command that could write, which includes the steps
you tell the learner to run. The short form: read-only by default,
author in local files, and write to the instance only after explicit
consent, only in a learning-* branch, never merged, always deleted.
references/lesson-protocol.md for the exact file layout and lesson
shape. On resume, read .infrahub-learning/progress.md first.references/concept-map.md: it orders concepts
by prerequisite and carries per-concept probe questions, exercise
specs, verification methods, and doc anchors. A topic with no row is
taught off-map through the shared docs fallback
(rules/grounding-off-map-lookup.md).references/exercise-verification.md and
rules/exercise-verify-solution.md
— an exercise you have not solved yourself cannot ship. Assign the
work; do not do it:
rules/exercise-learner-authors.md..infrahub-learning/hints/<concept>.md as you give it.| Priority | Category | Prefix | Description |
|---|---|---|---|
| CRITICAL | Protocol | protocol- | Probe before teaching, the fixed lesson shape, progress recording |
| CRITICAL | Safety | safety- | Instance writes: opt-in, learning-* branch only, cleanup, never the default branch |
| HIGH | Exercise | exercise- | Verified reference solutions, learner-authored artifacts, the hint ladder |
| HIGH | Grounding | grounding- | Teach through the learner's own artifacts, cite docs for behavior claims, off-map lookup, sourced comparisons |
| MEDIUM | Handoff | handoff- | Graduation pointers to the sibling skills |
Full scope per prefix is in rules/_sections.md. Read the rules for the
lesson phase you are in; they are short and binding.
references/lesson-protocol.md: the workspace contract and lesson
shape. This file is the single home for those values.references/concept-map.md: the curriculum.references/exercise-verification.md: how to prove an exercise is
solvable before showing it.../infrahub-common/: shared GraphQL syntax and .infrahub.yml format.references/concept-map.md (opens in a new tab)references/exercise-verification.md (opens in a new tab)references/lesson-protocol.md (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/exercise-hint-ladder.md (opens in a new tab)rules/exercise-learner-authors.md (opens in a new tab)rules/exercise-verify-solution.md (opens in a new tab)rules/grounding-cite-docs.md (opens in a new tab)rules/grounding-competitor-mapping.md (opens in a new tab)rules/grounding-off-map-lookup.md (opens in a new tab)rules/grounding-own-artifacts.md (opens in a new tab)rules/handoff-graduation.md (opens in a new tab)rules/protocol-probe-first.md (opens in a new tab)rules/protocol-record-progress.md (opens in a new tab)rules/protocol-structured-lessons.md (opens in a new tab)rules/safety-instance-writes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
infrahub, concept-tutor, onboarding, guided-tour, learning-session
infrahub@opsmill is listed by opsmill/claude-marketplace — review the source before installing
npx claudepluginhub opsmill/claude-marketplace --plugin infrahub18 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-commonShared references and cross-cutting rules for all Infrahub skills — GraphQL syntax, .infrahub.yml format, and common patterns. DO NOT TRIGGER directly — loaded automatically by other Infrahub skills when they need shared references./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).Other plugins' skills for the same job