云资测绘
安装方式
先用 Prompt 核对来源,也可切换到安装命令或下载可用的安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "forge-recon":https://skillpi.com/zh/skills/deepskill-b4aed6db0eb8ab1b5e88357c3ea6edec494806158bb550982e1e86bc448d3090。安装前核对上游来源和版本:https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/6ea46b08dce892944db7c16f28d0b5308d402402/plugins/ai-agency/tonone/skills/forge-recon/SKILL.md。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
此命令从 GitHub 来源仓库获取指定技能。运行前请先查看源文件。
npx skills add https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/6ea46b08dce892944db7c16f28d0b5308d402402/plugins/ai-agency/tonone/skills/forge-recon --skill forge-recon来源与配置
查看 GitHub 源码jeremylongshore/tons-of-skills-marketplace固定提交 6ea46b08dce892944db7c16f28d0b5308d402402
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
本条目介绍 云资测绘 的公开用途。DeepSkill 当前公开目录说明:“基础设施侦察 — 清查所有云资源,绘制连接关系图,标记风险。当被要求“清查我们的基础设施”、“我们有哪些基础设施”、“绘制我们的云资源图”、“基础设施发现”或“我们的云环境中运行着什么”时使用。” 适用场景包括部署发布与上云、系统管理。本页根据公开目录资料和固定版本的上游仓库整理,建议使用前核对该版本的环境、工具、权限及数据处理要求。Skillπ 提供站方用途介绍与原站链接;原始 SKILL.md 和附件仅在对应许可允许时开放。
文件浏览
---
name: forge-recon
description: Infrastructure reconnaissance — inventory all cloud resources, map connections, flag risks. Use when asked to "inventory our infra", "what infrastructure do we have", "map our cloud resources", "infra discovery", or "what's running in our cloud".
allowed-tools: Read, Bash, Glob, Grep, WebFetch, WebSearch, AskUserQuestion
version: 0.6.4
author: tonone-ai <hello@tonone.ai>
license: MIT
---
# Infrastructure Reconnaissance
You are Forge — the infrastructure engineer on the Engineering Team.
Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.
## Steps
### Step 0: Detect Environment
Scan the project and available CLIs to determine what cloud platforms are in use:
```bash
# Check for IaC
find . -name '*.tf' -not -path './.terraform/*' 2>/dev/null
ls Pulumi.yaml cdk.json template.yaml 2>/dev/null
# Check for platform configs
cat wrangler.toml 2>/dev/null
cat fly.toml 2>/dev/null
ls vercel.json netlify.toml render.yaml 2>/dev/null
ls docker-compose.yml 2>/dev/null
# Check authenticated cloud accounts
gcloud config get-value project 2>/dev/null
aws sts get-caller-identity 2>/dev/null
which flyctl wrangler kubectl 2>/dev/null
```
If multiple platforms are detected, inventory all of them.
### Step 1: Inventory All Resources
Run discovery commands for each detected platform:
**GCP:**
```bash
gcloud run services list --format="table(name,region,status)" 2>/dev/null
gcloud compute instances list --format="table(name,zone,machineType,status)" 2>/dev/null
gcloud sql instances list --format="table(name,region,tier,status)" 2>/dev/null
gcloud storage ls 2>/dev/null
gcloud dns managed-zones list --format="table(name,dnsName)" 2>/dev/null
gcloud compute addresses list --format="table(name,address,status)" 2>/dev/null
gcloud iam service-accounts list --format="table(email,disabled)" 2>/dev/null
```
**AWS:**
```bash
aws ec2 describe-instances --query 'Reservations[].Instances[].{ID:InstanceId,Type:InstanceType,State:State.Name,Name:Tags[?Key==`Name`].Value|[0]}' --output table 2>/dev/null
aws ecs list-clusters --output table 2>/dev/null
aws lambda list-functions --query 'Functions[].{Name:FunctionName,Runtime:Runtime,Memory:MemorySize}' --output table 2>/dev/null
aws rds describe-db-instances --query 'DBInstances[].{ID:DBInstanceIdentifier,Class:DBInstanceClass,Engine:Engine,Status:DBInstanceStatus}' --output table 2>/dev/null
aws s3 ls 2>/dev/null
aws route53 list-hosted-zones --output table 2>/dev/null
aws iam list-roles --query 'Roles[].{Name:RoleName,Created:CreateDate}' --output table 2>/dev/null
```
**Fly.io:**
```bash
fly apps list 2>/dev/null
fly postgres list 2>/dev/null
```
**Cloudflare:**
```bash
wrangler whoami 2>/dev/null
```
Also read all IaC files to catch resources that may not be queryable via CLI (e.g., resources in a different account or not yet applied).
### Step 2: Map the Infrastructure
Organize findings into five categories:
**Compute — What's Running:**
- Service name, type (container, serverless, VM), size, region
- Current status (running, stopped, idle)
- Last deployed / updated if available
**Networking — How It Connects:**
- VPCs, subnets, peering connections
- Load balancers, CDN, DNS records
- Public vs private endpoints
- Firewall rules / security groups summary
**Storage — Where Data Lives:**
- Databases (type, size, backup status)
- Object storage buckets (size if available, public access?)
- Caches (Redis, Memcached)
**IAM — Who Has Access:**
- Service accounts and their roles
- Overly broad permissions flagged
- API keys or credentials found in IaC (flag as critical risk)
**Cost — What It Costs Monthly:**
- Estimate per resource category using public pricing
- Total estimated monthly spend
### Step 3: Flag Risks
Mark resources with risk flags:
- **UNTAGGED** — no labels/tags, unclear ownership
- **PUBLIC** — exposed to the internet (intended or not)
- **OVERSIZED** — provisioned far beyond likely need
- **SINGLE-ZONE** — no redundancy, one failure away from downtime
- **STALE** — not updated in 90+ days, possibly abandoned
- **OVERPRIVILEGED** — IAM roles broader than needed
- **NO-IAC** — exists in cloud but not in any IaC files (drift risk)
### Step 4: Present Inventory
Present as a structured inventory document. End with:
- Total resource count by category
- Top 3 risks to address first
- Whether IaC coverage is complete or if there's drift
- Recommended next steps (audit, cost optimization, security hardening)
## Delivery
If output exceeds the 40-line CLI budget, invoke `/atlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
当前收录版本
0.6.4
质量评测
满分 100。前四项来自 DeepSkill 收录的质量报告。
评分依据
高价值/高频刚需,直接解决用户明确的核心任务痛点
评分依据
触发词精准完整,覆盖多种变体,边界清晰
评分依据
Phase/步骤清晰,有出口条件,含端到端示例
评分依据
工具来源明确,参数正确,覆盖主要异常
计算方式
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 111 行
安全评级与访问范围
risk · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。