Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

infrahub-analyst基础设施中心分析师

Agent Skill

infrahub-analyst 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

353

周安装

15

GitHub Stars

19

下载量

124
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:infrahub-analyst(基础设施中心分析师)
来源仓库:https://github.com/opsmill/infrahub-skills
仓库路径:skills/infrahub-analyst
安装命令:
npx skills add https://github.com/opsmill/infrahub-skills --skill infrahub-analyst
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/opsmill/infrahub-skills --skill infrahub-analyst

简介

用于查找、检索和筛选相关信息,适合在 Infrahub 平台相关任务中快速定位配置与策略文档。

  • 可基于关键词匹配数据模型、API 说明或变更记录,辅助分析与决策。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限与网络访问能力。
  • 建议结合原始 README 核验检索范围,避免将局部信息当作全局事实使用。
  • infrahub-analyst 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Overview

Expert guidance for interactive data analysis against a live Infrahub instance. This skill uses the Infrahub MCP server to query, correlate, and reason over infrastructure data on demand — answering operational questions that span multiple node types and relationships.

Use this skill for any question of the form *"what does Infrahub currently know about X, and how does it relate to Y?"*

Typical question patterns:

  • Compliance — "Are all devices following the naming convention?"
  • Service impact — "Which services are hosted on devices in this rack?"
  • Maintenance windows — "Which devices are currently in a maintenance window, and what depends on them?"
  • Drift detection — "Which realized devices differ from their topology design?"
  • Capacity — "Which racks are over 80% full?"
  • Change impact — "What BGP sessions, services, and IPs depend on this prefix?"
  • Inventory gaps — "Which devices have no platform or OS version recorded?"

For automated, pipeline-enforced checks that block proposed changes, see ../infrahub-check-creator/SKILL.md. For repeatable scheduled reports exported as artifacts, see ../infrahub-transform-creator/SKILL.md.

When to Use

  • Answering operational questions interactively via natural language
  • Cross-referencing two or more node types to find relationships or gaps
  • Investigating the blast radius of a change before executing it
  • Auditing data quality across the inventory
  • Producing one-time or on-demand reports for stakeholders
  • Exploring schema structure and data before writing a generator or check

How It Works

The Infrahub MCP server exposes tools that let Claude query Infrahub data directly. The typical workflow:

  1. Query — use MCP tools to fetch current state from Infrahub
  2. Correlate — join, diff, or filter the data against a policy or second dataset
  3. Reason — identify gaps, anomalies, or relationships
  4. Report — surface findings with context and remediation hints

Rule Categories

PriorityCategoryPrefixDescription
CRITICALMCP Toolsmcp-Available Infrahub MCP tools, invocation patterns, response structure
CRITICALQuery Patternsquery-GraphQL structures for fetching, filtering, and traversing relationships
HIGHCorrelationcorrelation-Joining, diffing, and reasoning over data from multiple queries
HIGHReporting Outputreporting-Presenting findings: summaries, tables, per-object detail, remediation hints
MEDIUMApproach Selectionapproach-When to use MCP analysis vs InfrahubCheck vs Transform

MCP Server Basics

When the Infrahub MCP server is connected, Claude can call tools such as:

  • mcp__infrahub__infrahub_query — Execute a GraphQL query (primary tool)
  • mcp__infrahub__infrahub_list_schema — List available node kinds
  • mcp__infrahub__infrahub_get — Retrieve a specific object by ID or filters
  • mcp__infrahub__infrahub_create — Create an object (remediation, on a branch)
  • mcp__infrahub__infrahub_update — Update an object (remediation, on a branch)
# Example: find all devices in an active
# maintenance window
query MaintenanceDevices {
  MaintenanceWindow(status__value: "active") {
    edges {
      node {
        name { value }
        start_time { value }
        end_time { value }
        devices {
          edges {
            node {
              name { value }
              role { value }
              site {
                node { name { value } }
              }
            }
          }
        }
      }
    }
  }
}

Typical Analysis Workflow

1. Understand the question
   → "Which services depend on devices currently
      in a maintenance window?"

2. Identify the node types involved
   → MaintenanceWindow, DcimDevice, Service
     (or equivalent in your schema)

3. Query current state
   → mcp__infrahub__infrahub_query — one query
     per node type, or combined

4. Correlate the data
   → Join across node types, filter, count, diff

5. Report findings
   → Summarize with counts, list affected objects,
     suggest next steps

Supporting References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.11%
按下载量换算45

Claude

30.27%
按下载量换算38

Cursor

18.09%
按下载量换算22

Gemini CLI

9.81%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills