Token导航 LogoToken导航

Agent Skill · 研究检索

atmos-workflows(atmos 工作流程)

atmos-workflows 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

atmos-workflows 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 65,745。

总安装 275周安装 11GitHub Stars 1,315下载 89核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:atmos-workflows(atmos 工作流程)
来源仓库:https://github.com/cloudposse/atmos
仓库路径:skills/atmos-workflows
安装命令:
npx skills add https://github.com/cloudposse/atmos --skill atmos-workflows
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/cloudposse/atmos --skill atmos-workflows

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

atmos-workflows 将多个 Atmos 命令或 shell 脚本组合为可执行工作流,协调跨组件操作。适用于需要顺序执行 Terraform 操作、部署前后钩子或多步骤协调的任务。每个步骤可定义为 Atmos 命令或 shell 脚本,支持错误处理与日志输出。

使用前应测试工作流在非生产环境的表现,确保步骤间依赖正确。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/atmos-workflows

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/cloudposse/atmos --skill atmos-workflows;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

atmos-workflows 怎么安装?

在终端执行 npx skills add https://github.com/cloudposse/atmos --skill atmos-workflows。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

atmos-workflows 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

atmos-workflows 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/cloudposse/atmos --skill atmos-workflows 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

atmos-workflows 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

atmos-workflows 用的人多吗?

公开数据是累计安装 275 次,近一周安装 11 次,下载 89 次,GitHub 1,315 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

atmos-workflows 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 1,315 星,维护活跃度相对可查。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
atmos-workflows

atmos 工作流程 · 本页

2751,315执行命令未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Atmos Workflows

Atmos workflows combine multiple commands into executable units of work. They allow you to define multi-step sequences of Atmos commands and shell scripts, run them in order, and coordinate operations across multiple components and stacks.

What Workflows Are

A workflow is a named sequence of steps defined in a YAML file. Each step is either:

  • An Atmos command (type atmos, the default) -- any Atmos CLI command without the atmos prefix
  • A Shell command (type shell) -- any shell script or command

Workflows solve the problem of needing to run multiple Terraform operations in a specific order, such as provisioning a VPC before an EKS cluster, or deploying the same component across multiple environments sequentially.

You can use Atmos Custom Commands in workflows, and workflows in Custom Commands -- they are fully interoperable.

Workflow File Location and Discovery

Configuration

Workflow files are stored in the directory specified by workflows.base_path in atmos.yaml:

# atmos.yaml
workflows:
  # Can also be set using ATMOS_WORKFLOWS_BASE_PATH env var or --workflows-dir flag
  base_path: "stacks/workflows"

If base_path is set at the root level of atmos.yaml, the workflows.base_path is resolved relative to it.

Directory Structure

Organize workflow files by purpose, environment, or team:

stacks/workflows/
  deploy.yaml
  destroy.yaml
  validate.yaml
  networking.yaml
  eks.yaml
  maintenance/
    backup.yaml
    rotate-credentials.yaml

File names can be anything with a .yaml extension. Recommended naming conventions include grouping by environment (workflows-dev.yaml, workflows-prod.yaml), by service (workflows-eks.yaml), or by function (deploy.yaml, validate.yaml).

Auto-Discovery

Atmos can automatically discover workflow files. When you run atmos workflow <name> without the --file flag:

  1. Atmos scans all YAML files in workflows.base_path
  2. Finds workflows matching the given name
  3. If exactly one file contains that workflow, runs it automatically
  4. If multiple files contain a workflow with the same name, prompts for interactive selection (or errors in non-interactive mode with hints)
# Auto-discovery: Atmos finds the file automatically
atmos workflow eks-up --stack tenant1-ue2-dev

# Explicit file: always works, required when names conflict
atmos workflow eks-up -f networking --stack tenant1-ue2-dev

The --file value is relative to workflows.base_path. The .yaml extension is optional -- Atmos adds it automatically if not provided.

Workflow YAML Syntax

Every workflow file must have a top-level workflows: key containing a map of named workflows.

Basic Structure

workflows:
  workflow-name:
    description: "What this workflow does"
    stack: tenant1-ue2-dev        # Optional: default stack for all steps
    steps:
      - command: terraform plan vpc
        name: plan-vpc            # Optional: step identifier
        type: atmos               # Optional: default is atmos
        stack: tenant1-ue2-dev    # Optional: per-step stack override
        identity: superadmin      # Optional: per-step authentication

Step Types

Atmos steps (default type, type: atmos is implicit):

steps:
  - command: terraform plan vpc
  - command: terraform apply vpc -auto-approve
  - command: terraform deploy eks/cluster

The atmos prefix is automatically prepended. Write commands as you would after atmos on the command line.

Shell steps (require type: shell):

steps:
  - command: echo "Starting deployment..."
    type: shell
  - command: |
      echo "Running multi-line script"
      aws sts get-caller-identity
      kubectl get nodes
    type: shell

Shell commands can be any simple or complex script. Use YAML multiline strings for complex scripts.

Retry Configuration

Steps can be retried on failure:

steps:
  - command: terraform apply vpc -auto-approve
    retry:
      max_attempts: 3               # Maximum attempts (default: 1, meaning no retry)
      delay: 5s                     # Delay between retries (default: 5s)
      backoff_strategy: exponential  # constant, exponential, or linear
      initial_delay: 3s             # Initial delay for backoff
      random_jitter: 0.0            # Random jitter added to delay
      multiplier: 2                 # Multiplier for exponential backoff
      max_elapsed_time: 4m          # Total timeout for all retries (default: 30m)

Working Directory

Control where steps execute:

workflows:
  build-all:
    description: Build from repository root
    working_directory: !repo-root    # Workflow-level default
    steps:
      - command: make build
        type: shell
      - command: wget https://example.com/archive.tar.gz
        working_directory: /tmp      # Step-level override
        type: shell

Path resolution:

  • Absolute paths are used as-is
  • Relative paths resolve against base_path
  • !repo-root resolves to the git repository root

Workflow Dependencies

Declare tool dependencies that are auto-installed before execution:

workflows:
  validate:
    description: Validate infrastructure
    dependencies:
      tools:
        tflint: "^0.54.0"
        checkov: "latest"
    steps:
      - command: terraform validate vpc
      - command: tflint --recursive
        type: shell

Dependencies support SemVer constraints: exact (1.10.3), pessimistic (~> 1.10.0), compatible (^1.10.0), or latest.

Working with Stacks in Workflows

The stack for Atmos-type steps can be specified in four ways (lowest to highest priority):

1. Inline in the Command

steps:
  - command: terraform plan vpc -s tenant1-ue2-dev

2. Workflow-Level Stack

workflows:
  deploy-vpc:
    stack: tenant1-ue2-dev
    steps:
      - command: terraform plan vpc
      - command: terraform apply vpc -auto-approve

3. Step-Level Stack

steps:
  - command: terraform plan vpc
    stack: tenant1-ue2-dev
  - command: terraform plan vpc
    stack: tenant1-ue2-staging

4. Command-Line Stack (Highest Priority)

atmos workflow deploy-vpc -f networking -s tenant1-ue2-dev

The command-line --stack flag overrides all other stack definitions.

Best practice: Create generic workflows without hardcoded stacks and provide the stack on the command line. This makes workflows reusable across environments.

Executing Workflows

Basic Execution

# With auto-discovery
atmos workflow eks-up --stack tenant1-ue2-dev

# With explicit file
atmos workflow eks-up -f networking --stack tenant1-ue2-dev

# Dry run (preview steps without executing)
atmos workflow eks-up -f networking --dry-run

Interactive Mode

Run atmos workflow without arguments to start an interactive TUI:

atmos workflow

Use arrow keys to navigate, / to search, and Enter to execute.

Starting from a Specific Step

Use --from-step to resume a workflow from a named step:

# Start from step3 (skip step1 and step2)
atmos workflow eks-up -f networking --from-step step3

This is useful for resuming after a failure. If a step does not have an explicit name, Atmos auto-generates names as step1, step2, step3, etc.

Failure Handling

When a step fails, Atmos displays:

  • Which step failed
  • The exact command that failed
  • A ready-to-use command to resume from the failed step
Step 'step2' failed!

Command failed:
terraform plan vpc -s plat-ue2-staging

To resume the workflow from this step, run:
atmos workflow provision-vpcs -f networking --from-step step2

Using Authentication with Workflows

Per-Step Identity

Different steps can use different authentication identities:

workflows:
  deploy-with-auth:
    description: Deploy with different identities
    steps:
      - command: terraform apply vpc -s plat-ue2-prod
        identity: superadmin
        name: deploy-vpc
      - command: terraform apply app -s plat-ue2-prod
        identity: developer
        name: deploy-app
      - command: |
          aws sts get-caller-identity
        type: shell
        identity: superadmin
        name: verify-identity

Default Identity via Flag

Apply a default identity to all steps without their own:

atmos workflow deploy-all -f workflows --identity superadmin

Precedence: Step-level identity > --identity flag > no authentication.

Mixed Authentication

Steps without an identity field use ambient credentials. Steps with identity authenticate before execution. The --identity flag provides a default for steps without explicit identity.

workflows:
  mixed:
    steps:
      - command: terraform plan vpc -s dev    # Uses ambient or --identity flag
      - command: terraform apply vpc -s prod
        identity: superadmin                  # Always uses superadmin

Common Workflow Patterns

Deploy All Components in Order

workflows:
  deploy-all:
    description: Deploy all infrastructure in order
    steps:
      - command: terraform deploy vpc
      - command: terraform deploy eks/cluster
      - command: terraform deploy rds
      - command: terraform deploy app
atmos workflow deploy-all -f deploy -s plat-ue2-dev

Mixed Atmos and Shell Commands

workflows:
  deploy-and-verify:
    description: Deploy and verify infrastructure
    steps:
      - command: terraform deploy vpc
        name: deploy-vpc
      - command: kubectl get nodes
        type: shell
        name: verify

Nesting Workflows

Workflows can call other workflows via command: workflow <name>.

For additional patterns (multi-env deploy, teardown, validation pipelines), see references/workflow-syntax.md.

atmos workflow Command Reference

Syntax

atmos workflow [workflow_name] [flags]

Arguments

ArgumentDescription
workflow_nameName of the workflow to execute (optional; launches interactive UI if omitted)

Flags

FlagShortDescription
--file-fWorkflow file name (relative to workflows.base_path, .yaml extension optional)
--stack-sOverride stack for all Atmos-type steps
--from-stepStart execution from the named step
--dry-runPreview steps without executing
--identityDefault identity for steps without explicit identity

Listing Workflows

# List all available workflows
atmos list workflows

# Describe all workflows with details
atmos describe workflows

Best Practices

  1. Create generic, stack-agnostic workflows. Do not hardcode stacks in workflow definitions. Instead, pass the stack on the command line with -s. This makes workflows reusable across all environments.
  2. Name your steps. Use the name attribute so workflows can be resumed from a specific step with --from-step after a failure.
  3. Organize files by purpose. Use separate files for deployment, teardown, validation, and maintenance workflows. Name files descriptively (e.g., networking.yaml, eks.yaml).
  4. Use dry-run before executing. Always preview workflows with --dry-run before running them, especially in production environments.
  5. Order steps by dependency. List steps in dependency order (VPC before EKS, database before application) since steps execute sequentially.
  6. Use shell steps for verification. Insert shell steps between Atmos commands to verify infrastructure state before proceeding.
  7. Use retry for flaky operations. Configure retry for steps that may fail transiently, such as cloud API calls that hit rate limits.
  8. Leverage authentication per step. Use the identity field to switch credentials between steps that operate in different accounts or require different permission levels.
  9. Use unique workflow names. Keep workflow names unique across all files to enable auto-discovery without ambiguity. If names must overlap, always use --file in scripts and CI/CD.
  10. Use --from-step for recovery. When a workflow fails, fix the issue and resume from the failed step rather than re-running the entire workflow.

Additional Resources

平台分布

Codex

35.24%
按下载量换算31

Claude

28.57%
按下载量换算25

Cursor

18.38%
按下载量换算16

Gemini CLI

9.43%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/cloudposse/atmos --skill atmos-workflows 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills