用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aiFabricoCom/fabrico-collections-codex --skill fabrico-audit-infrastructure命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | fabrico-audit-infrastructure |
| description | Audit infrastructure for security gaps, waste, and best-practice violations. |
Invocation portability:
$fabrico-*below means the discovered entry workflow. Use the unqualified name for repository or filesystem installs and$fabrico-collections:fabrico-*for plugin installs.
Use the user’s current request as the workflow input. Expected context: [scope: AWS/Azure/GCP/Kubernetes/CI-CD] [focus: security/cost/best-practices/all].
Keep orchestration in the calling Codex thread. After discovering the scope, split independent provider, focus-area, or resource-domain slices and spawn
fabrico-devops-engineerspecialists in parallel. The calling thread owns architecture escalations, merged prioritization, report synthesis, and the final response. If the agent profile is unavailable, as in a skills-only plugin installation, perform those slices in the current thread with the required skills and the same audit contract.
This workflow performs a comprehensive infrastructure audit to identify security vulnerabilities, cost optimization opportunities, and best practices violations across your cloud environment. It systematically examines IaC configurations, CI/CD pipelines, and cloud resources to produce an actionable audit report with prioritized findings.
The audit covers three key dimensions: security (IAM, encryption, network exposure, secrets), cost (unused resources, rightsizing, reservations), and operational excellence (tagging, IaC coverage, documentation). Findings are classified by severity and linked to remediation commands for immediate action.
Before starting, load and follow these skills:
fabrico-optimizing-cloud-cost - for cost analysis patterns, rightsizing, and reservation recommendationsfabrico-managing-secrets - for secrets management audit criteria and exposure risk assessmentfabrico-codebase-analysing - to review IaC files, CI/CD configurations, and documentation coverageDetermine audit scope (if not provided):
Additionally, always:
AGENTS.md guidance → project-specific conventionsPartition the audit into independent work units. Prefer one unit per provider and focus area; for a single-provider,
single-focus audit, split a sufficiently broad scope by non-overlapping resource domains. From the calling Codex
thread, run at most five fabrico-devops-engineer specialists concurrently; if this caller itself has a parent,
reserve that thread and cap the batch at four. Batch any remaining work units after a worker returns. A truly
indivisible narrow audit may use one specialist.
Give every specialist its exact scope, relevant paths/accounts, read-only constraints, required evidence, and the summary-table fields it must return. Each specialist must follow the relevant skills for its focus area and return its findings to the calling orchestrator without spawning sibling, parent, or architect agents:
fabrico-optimizing-cloud-cost skill for unused resources, rightsizing, reservationsfabrico-managing-secrets skill for exposure risksAfter all specialists return, the calling thread deduplicates cross-scope findings and assigns the final severity.
Classify findings by severity:
When a DevOps specialist returns an architecture escalation, the calling Codex thread — not that specialist —
spawns a fabrico-architect specialist. Run independent consultations in parallel when findings require architectural
changes in separate scopes, with at most five active from a user-facing caller or four when the caller itself has a
parent; batch additional consultations after one returns:
Give the architect the finding evidence, current state, constraints, and the decision required. The architect returns its recommendation to the calling thread and must not spawn a sibling or parent agent. Return the decision to the relevant DevOps specialist only if more bounded analysis is required. Skip architect consultation for adding tags, updating configurations, and other simple fixes.
## Infrastructure Audit Summary
### Executive Summary
- Overall health: Critical / Warning / Good
- Findings: X Critical, Y High, Z Medium, W Low
- Top 3 priorities
### Security Findings
| Severity | Finding | Resource | Recommendation |
|----------|---------|----------|----------------|
### Cost Findings
| Severity | Finding | Monthly Impact | Recommendation |
|----------|---------|----------------|----------------|
### Best Practices Findings
| Severity | Finding | Area | Recommendation |
|----------|---------|------|----------------|
### Quick Wins
- [list immediate actions with high impact and low effort]
### Remediation Roadmap
1. [Critical] Description → `$fabrico-implement-terraform`
2. [High] Description → `$fabrico-deploy-kubernetes`
3. [Medium] Description → `$fabrico-implement-observability`
Does NOT handle (redirect to):
$fabrico-implement-terraform, $fabrico-deploy-kubernetes, $fabrico-implement-pipeline, $fabrico-implement-observability