首页龙虾技能列表 › Infrastructure — 技能工具

🏗️ Infrastructure — 技能工具

v1.0.1

[自动翻译] Design, provision, and connect cloud resources across servers, networks, and services.

2· 998·3 当前·3 累计
by @ivangdavila (Iván)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's files and runtime instructions are consistent with an advisory/instruction-only 'infrastructure' helper: it generates cloud CLI commands and backup scripts for the user to run and does not itself request credentials or install code.
评估建议
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 ...
详细分析 ▾
用途与能力
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.
指令范围
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.
安装机制
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.
凭证需求
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.
持久化与权限
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.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

🖥️ OSLinux · macOS · Windows

版本

latestv1.0.12026/2/13

User-driven credential model, explicit tool requirements

● 无害

安装命令 点击复制

官方npx clawhub@latest install infrastructure
镜像加速npx clawhub@latest install infrastructure --registry https://cn.clawhub-mirror.com

技能文档

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

TopicFile
Architecture patternspatterns.md
Provider commandsproviders.md
Backup strategiesbackups.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)

ProviderToolInstall
Hetznerhcloudbrew install hcloud
AWSawsbrew install awscli
DigitalOceandoctlbrew install doctl
DockerdockerDocker 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

StageRecommended
MVPSingle VPS + Docker Compose
GrowthDedicated DB + load balancer
ScaleMulti-region + CDN

5. Decision Framework

QuestionAnswer
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

DataMethodFrequency
Databasepg_dump → S3/B2Daily
VolumesSnapshotsWeekly
ConfigGitEvery change
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务