inference-sh/skills

ai-automation-workflows

把一次成功的任务,改成可重跑且能记录失败的流程

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

ai-automation-workflows 是什么?

ai-automation-workflows 整理belt调用的批量、串行、并行、条件分支与重试模式,并展示cron定时、日志与失败通知。它是编排示例集,安装后不会自行创建计划任务,也不会自动把生成内容发布。

中文说明由本站依据来源整理;英文原文保留在页面下方。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 ai-automation-workflows,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 ai-automation-workflows

请在 Codex 的当前工作环境中安装并检查 ai-automation-workflows 这个 Skill。

项目身份:inference-sh/skills / ai-automation-workflows
来源:https://github.com/inference-sh/skills/blob/0cbf91c26ada28702c79962406286f0c14292150/guides/content/ai-automation-workflows/SKILL.md
已定位的源文件:guides/content/ai-automation-workflows/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 先有可单次运行的App、账号和输入;Bash示例需要相应shell,cron示例适用于有cron的环境,Windows需另配置实际调度器。

会得到什么

  • 可检查的流程脚本、中间文件、逐项执行状态;已配置调度时另给实际计划信息。

实际使用顺序

  1. 先确定一个最小批次和输出目录,每条记录保存原输入、任务返回与成功/失败状态。
  2. 跨步骤传递真实输出字段;不要把带引号、换行的整段CLI JSON直接拼进下一段JSON。Python示例可用json.dumps序列化输入。
  3. 为暂时失败设置次数上限与等待,并区分失败退出码和正常输出;重跑跳过已完成结果,避免重复计费或发帖。
  4. 单次任务链核对后才配置明确时区、日志路径和运行账户的调度;通知另外配置真实目标。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:请用ai-automation-workflows为三个给定主题设计“搜索→草稿”的本地脚本,先只做一个主题。保存搜索原文与模型返回,正确转义JSON并记录失败退出码;本次不创建cron、不发帖、不发送通知。
预期结果

预期单项结果可追溯,失败不会被写成成功;本站未运行调用或配置计划。

使用前先看这些限制

使用条件与边界

  • 来源中的sleep不等于完整限流策略;平台配额需按当前服务处理。
  • 生成完成和定时任务成功都不能证明内容经过事实审读或可以发布。
针对这个 Skill 的疑问

常见问题

装上这个Skill后每天会自动执行吗?

不会。还需要实际脚本、认证、运行机器和调度配置,并核对计划任务确实启用且有执行记录。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

guides/content/ai-automation-workflows/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Build automated AI workflows combining multiple models and services. Patterns: batch processing, scheduled tasks, event-driven pipelines, agent loops. Tools: inference.sh CLI, bash scripting, Python SDK, webhook integration. Use for: content automation, data processing, monitoring, scheduled generation. Triggers: ai automation, workflow automation, batch processing, ai pipeline, automated content, scheduled ai, ai cron, ai batch job, automated generation, ai workflow, content at scale, automation script, ai orchestration

查看源文件章节 / Source sections
  • 原文:AI Automation Workflows
  • 快速开始 / Quick Start
  • 原文:Automation Patterns
  • 原文:Pattern 1: Batch Processing
  • 原文:Pattern 2: Sequential Pipeline
  • 原文:Pattern 3: Parallel Processing
  • 原文:Pattern 4: Conditional Workflow
  • 原文:Pattern 5: Retry with Fallback
  • 原文:Scheduled Automation
  • 原文:Cron Job Setup
  • 原文:Daily Content Script
  • 原文:Monitoring and Logging
  • 原文:Logging Wrapper
  • 原文:Error Alerting
  • 原文:Python SDK Automation
  • 原文:Workflow Templates
  • 原文:Content Calendar Automation
  • 原文:Data Processing Pipeline
  • 原文:Best Practices
  • 原文:Related Skills
原文:正文开头

> **Install the belt CLI skill:** `npx skills add belt-sh/cli`

原文:AI Automation Workflows

Build automated AI workflows via [inference.sh](https://inference.sh) CLI. ![AI Automation Workflows](https://cloud.inference.sh/app/files/u/4mg21r6ta37mpaz6ktzwtt8krr/01kg0v0nz7wv0qwqjtq1cam52z.jpeg)

快速开始 / Quick Start

> Requires inference.sh CLI (`belt`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md) ```bash belt login # Simple automation: Generate daily image belt app run falai/flux-dev --input '{ "prompt": "Inspirational quote background, minimalist design, date: '"$(date +%Y-%m-%d)"'" }' ```

原文:Pattern 1: Batch Processing

Process multiple items with the same workflow. ```bash #!/bin/bash # batch_images.sh - Generate images for multiple prompts PROMPTS=( "Mountain landscape at sunrise" "Ocean waves at sunset" "Forest path in autumn" "Desert dunes at night" ) for prompt in "${PROMPTS[@]}"; do echo "Generating: $prompt" belt app run falai/flux-dev --input "{ \"prompt\": \"$prompt, professional photography, 4K\" }" > "output_${prompt// /_}.json" sleep 2 # Rate limiting done ```

原文:Pattern 2: Sequential Pipeline

Chain multiple AI operations. ```bash #!/bin/bash # content_pipeline.sh - Full content creation pipeline TOPIC="AI in healthcare" # Step 1: Research echo "Researching..." RESEARCH=$(belt app run tavily/search-assistant --input "{ \"query\": \"$TOPIC latest developments\" }") # Step 2: Write article echo "Writing article..." ARTICLE=$(belt app run openrouter/claude-sonnet-45 --input "{ \"prompt\": \"Write a 500-word blog post about $TOPIC based on: $RESEARCH\" }") # Step 3: Generate image echo "Generating image..." IMAGE=$(belt app run falai/flux-dev --input "{ \"prompt\": \"Blog header image for article about $TOPIC, modern, professional\" }") # Step 4: Generate social post echo "Creating social post..." SOCIAL=$(belt app run openrouter/claude-haiku-45 --input "{ \"prompt\": \"Write a Twitter thread (5 tweets) summarizing: $ARTICLE\" }") echo "Pipeline complete!" ```

原文:Pattern 3: Parallel Processing

Run multiple operations simultaneously. ```bash #!/bin/bash # parallel_generation.sh - Generate multiple assets in parallel # Start all jobs in background belt app run falai/flux-dev --input '{"prompt": "Hero image..."}' > hero.json & PID1=$! belt app run falai/flux-dev --input '{"prompt": "Feature image 1..."}' > feature1.json & PID2=$! belt app run falai/flux-dev --input '{"prompt": "Feature image 2..."}' > feature2.json & PID3=$! # Wait for all to complete wait $PID1 $PID2 $PID3 echo "All images generated!" ```

文件 SHA256:e3dcbadfee7ff379d242f3b24bcbd234c834112e567190acb1b7c4e7a68a9d7b

仓库许可证记录:未提供;not-established,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

Build automated AI workflows combining multiple models and services. Patterns: batch processing, scheduled tasks, event-driven pipelines, agent loops. Tools: inference.sh CLI, bash scripting, Python SDK, webhook integration. Use for: content automation, data processing, monitoring, scheduled generation. Triggers: ai automation, workflow automation, batch processing, ai pipeline, automated content, scheduled ai, ai cron, ai batch job, automated generation, ai workflow, content at scale, automation script, ai orchestration

查看历史简介来源

历史收录数据

来源仓库inference-sh/skills
Skill源路径guides/content/ai-automation-workflows/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源