infrahub-common
Shared 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.
How do I install this agent skill?
npx skills add https://github.com/opsmill/infrahub-skills --skill infrahub-commonIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a collection of reference documentation and best practices for interacting with the Infrahub platform. It provides clear guidance on secure environment management, credential safety, and data integrity.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Infrahub Common References
This skill contains shared resources referenced by all other Infrahub skills. It is not meant to be invoked directly.
Contents
graphql-queries.md— Infrahub GraphQL query syntax, filters, nested queries, and pagination patternsinfrahub-yml-reference.md—.infrahub.ymlconfiguration file format and field referencemarketplace-reference.md— Infrahub Marketplace: reusing published schemas and collections viainfrahubctl marketplace get, discovery withinfrahubctl 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 whysourcedoes not control edit accessprofiles-and-templates.md— The Profiles vs Object Templates distinction and mechanicsrules/— Cross-cutting rules shared across skills:- Branch-first data CRUD (default to a branch, not the default branch)
- Caching display labels in queries
- Python environment and connectivity checks
- Git integration and deployment patterns
- Dry-running a changed
.gqlquery against the live schema before merge, and whichinfrahubctlcommand does it for a transform, check or generator - Recovery from partial repository syncs
- Generated file protocol conventions
schema.graphqlasinfrahubctl graphql export-schemaoutput — re-exported, never hand-edited- Adopting generated protocols for typed SDK calls
- Information-source priority (skill content first,
with a concrete last-resort procedure for consulting
docs.infrahub.appon a genuine gap)
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/opsmill/infrahub-skills/infrahub-common">View infrahub-common on skillZs</a>