← 返回 Skills 市场
1095
总下载
2
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install infrastructure
功能描述
Design, provision, and connect cloud resources across servers, networks, and services.
使用说明 (SKILL.md)
Scope
This skill:
- ✅ Guides architecture decisions
- ✅ Provides provisioning commands for user to run
- ✅ Documents infrastructure patterns
User-driven model:
- User provides cloud credentials when needed
- User runs provisioning commands
- Skill guides decisions and generates commands
This skill does NOT:
- ❌ Store or access cloud credentials directly
- ❌ Run provisioning commands automatically
- ❌ Modify infrastructure without user confirmation
For implementation: User runs commands skill provides, or uses server skill for execution.
Quick Reference
| Topic | File |
|---|---|
| Architecture patterns | patterns.md |
| Provider commands | providers.md |
| Backup strategies | backups.md |
Core Rules
1. User Runs Commands
Skill generates commands, user executes:
Agent: "To create the server, run:
hcloud server create --name web1 --type cx21 --image ubuntu-24.04
This requires HCLOUD_TOKEN in your environment."
User: [runs command]
2. Required Tools (User Installs)
| Provider | Tool | Install |
|---|---|---|
| Hetzner | hcloud |
brew install hcloud |
| AWS | aws |
brew install awscli |
| DigitalOcean | doctl |
brew install doctl |
| Docker | docker |
Docker Desktop |
3. Credential Handling
- User sets credentials in their environment
- Skill never stores or logs credential values
- Commands reference env vars:
$HCLOUD_TOKEN,$AWS_ACCESS_KEY_ID
4. Architecture Guidance
| Stage | Recommended |
|---|---|
| MVP | Single VPS + Docker Compose |
| Growth | Dedicated DB + load balancer |
| Scale | Multi-region + CDN |
5. Decision Framework
| Question | Answer |
|---|---|
| How to structure infra? | ✅ This skill |
| Should I add another server? | ✅ This skill |
| How to configure nginx? | Use server skill |
| How to write Dockerfile? | Use docker skill |
6. Backup Strategy
| Data | Method | Frequency |
|---|---|---|
| Database | pg_dump → S3/B2 | Daily |
| Volumes | Snapshots | Weekly |
| Config | Git | Every change |
安全使用建议
This skill is essentially documentation and examples — not executable code pushed by the skill — so review and adapt everything before running. Specific suggestions: 1) Inspect backup scripts (pg_dump, aws s3 cp and cleanup logic) and replace placeholder bucket names; validate the aws s3 ls parsing/cleanup logic before enabling retention deletion. 2) Use least-privileged IAM credentials and short-lived tokens where possible; never paste long-lived root credentials into chats. 3) Test backup and restore procedures in a safe environment before relying on them. 4) When installing cron jobs or scripts into /opt or /etc, check file permissions and ownership. 5) Verify CLI tool installation and versions from official sources. If you want stronger metadata safety, ask the skill author to declare required env vars and binaries in the registry so automated checks can surface mismatches.
功能分析
Type: OpenClaw Skill
Name: infrastructure
Version: 1.0.1
The skill bundle is benign. The `SKILL.md` clearly outlines a user-driven model, stating the agent does not store credentials, run commands automatically, or modify infrastructure without user confirmation. The `backups.md` and `providers.md` files contain shell script examples for legitimate infrastructure tasks like creating servers, managing firewalls, and performing database backups (including cleanup with `aws s3 rm` for retention), all intended for user execution. There is no evidence of prompt injection, data exfiltration to unauthorized endpoints, or other malicious intent; the commands are standard for cloud management and align with the skill's stated purpose.
能力评估
Purpose & Capability
The name/description match the provided content: architecture patterns, provider CLI commands, and backup scripts. The skill is instruction-only and intends the user to run commands. It recommends common provider CLIs (hcloud, aws, doctl, docker) which are reasonable for the stated purpose. Minor documentation/metadata mismatch: registry metadata lists no required binaries/env vars while SKILL.md documents required tools and references environment variables the user must set.
Instruction Scope
SKILL.md and the companion files show only guidance, example CLI invocations, and example scripts (cron entry, backup script) that assume the user provides credentials/environment variables and executes commands locally. There are no hidden endpoints, obfuscated code, or instructions to exfiltrate data. The scripts do reference env vars (e.g., $DATABASE_URL, $HCLOUD_TOKEN, AWS creds) and write outputs to /tmp and suggested cron paths — these are expected for backup/infra tooling but should be reviewed before execution.
Install Mechanism
No install spec or remote downloads are present; all files are documentation and sample scripts. The skill only recommends commonly used community CLIs (brew install hcloud/awscli/doctl) and Docker Desktop — nothing fetched or installed automatically by the skill itself.
Credentials
The skill does not declare required env vars in registry metadata, but its content repeatedly references credentials and connection strings (HCLOUD_TOKEN, AWS_ACCESS_KEY_ID, $DATABASE_URL, etc.). This is consistent with its 'user-driven credentials' model, but users should be aware they must supply appropriate credentials locally. Use least-privilege keys and avoid pasting sensitive tokens into shared/public contexts.
Persistence & Privilege
The skill is not always-enabled and is user-invocable. It does not request persistent installation or modify other skills or system-wide settings. It does provide example scripts that a user might install (cron job, /opt/scripts), but these are user actions rather than automatic behavior by the skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install infrastructure - 安装完成后,直接呼叫该 Skill 的名称或使用
/infrastructure触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
User-driven credential model, explicit tool requirements
v1.0.0
Initial release
元数据
常见问题
Infrastructure 是什么?
Design, provision, and connect cloud resources across servers, networks, and services. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1095 次。
如何安装 Infrastructure?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install infrastructure」即可一键安装,无需额外配置。
Infrastructure 是免费的吗?
是的,Infrastructure 完全免费(开源免费),可自由下载、安装和使用。
Infrastructure 支持哪些平台?
Infrastructure 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。
谁开发了 Infrastructure?
由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.1。
推荐 Skills