Configure Vast.ai across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific Vast.ai configurations. Trigger with phrases like "vastai environments", "vastai staging", "vastai dev prod", "vastai environment setup", "vastai config by env".
Vast.ai does not turn naming conventions into isolation automatically. Build the boundary from team/account context, scoped keys, immutable template hashes, labels, data prefixes, budgets, and promotion evidence.
Assign each environment an explicit team/account context, key IDs, labels, data prefix, budget, and owner. Reject implicit current context.
Create environment-specific scoped keys and dedicated SSH access. Production credentials must never be available to development jobs or forked CI.
Use immutable image digests and template hashes. Promote the same bytes by recorded identity rather than rebuilding for each environment.
Use distinct checkpoint/storage prefixes, resource labels, Serverless IDs, and notifications. Validate that a dev key cannot read or mutate production.
Require dev tests, staging canary, recovery, cost, and security receipts before a production role references the candidate identity.
Regularly compare members, roles, keys, templates, active resources, labels, budgets, and stale environment variables across contexts.
Environment isolation depends on distinct scoped credentials and explicit team/account context. Never infer environment only from a filename, branch, or mutable image tag.
Use Read and Grep to inspect manifests, configuration, provider output, and existing tests before proposing a mutation. Use Write or Edit only for the approved plan, implementation, test, or redacted receipt; do not create, update, destroy, or fund Vast.ai resources without explicit operator approval.
Return environment contexts, role/key IDs, immutable release identity, data prefixes, access tests, budget owners, and promotion state.
Staging and production use different team contexts and keys but promote the identical template hash; a staging key's attempted production instance read is retained as an expected denial.
| Failure | Response | | --- | --- | | Current context is unknown | Stop before search or mutation and resolve the account/team explicitly. | | One key spans unrelated environments | Replace it with scoped environment-specific identities. | | Promotion rebuilds mutable bytes | Reject the release and promote an immutable digest/hash. | | Cross-environment denial fails | Contain access, review audit logs, and repair roles before proceeding. |
npx skills add jeremylongshore/vastai-multi-env-setup下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer