经 AI Skill Hub 精选评估,SkillOpt Agent工作流 获评「强烈推荐」。已获得 3.0k 颗 GitHub Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
SkillOpt Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
SkillOpt Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install skillopt
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install skillopt
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/microsoft/SkillOpt
cd SkillOpt
pip install -e .
# 验证安装
python -c "import skillopt; print('安装成功')"
# 命令行使用
skillopt --help
# 基本用法
skillopt input_file -o output_file
# Python 代码中调用
import skillopt
# 示例
result = skillopt.process("input")
print(result)
# skillopt 配置文件示例(config.yml) app: name: "skillopt" debug: false log_level: "INFO" # 运行时指定配置文件 skillopt --config config.yml # 或通过环境变量配置 export SKILLOPT_API_KEY="your-key" export SKILLOPT_OUTPUT_DIR="./output"
Train agent skills like you train neural networks — with epochs, (mini-)batchsize, learning rates, and validation gates — but without touching model weights.
Requirements: Python 3.10+
```bash git clone https://github.com/microsoft/SkillOpt.git cd SkillOpt pip install -e .
https://github.com/user-attachments/assets/eb12d3bc-371c-467f-904d-91b61f339ed7
<p align="center"> <a href="https://youtu.be/JUBMDTCiM0M"><b>▶ Watch the full demo on YouTube</b></a> </p>
---
pip install -e ".[alfworld]" alfworld-download ```
```bash cp .env.example .env
source .env
**Azure OpenAI** (recommended):bash export AZURE_OPENAI_ENDPOINT="https://your-resource.openai.azure.com/"
export AZURE_OPENAI_API_KEY="your-key"
export AZURE_OPENAI_AUTH_MODE="azure_cli"
> **Note:** `AZURE_OPENAI_ENDPOINT` is required for all three modes (`api_key`, `azure_cli`,
> `openai_compatible`). Without it, all LLM calls will fail.
**OpenAI-compatible endpoints**:bash export AZURE_OPENAI_ENDPOINT="https://api.openai.com/v1" export AZURE_OPENAI_API_KEY="sk-..." export AZURE_OPENAI_AUTH_MODE="openai_compatible"
This routes all calls through the plain OpenAI Python client (no Azure auth, no `api-version`
header).
> **Note:** SkillOpt reuses the `AZURE_OPENAI_*` env var names even in this mode — there is no
> separate `OPENAI_API_KEY` knob.
**Anthropic Claude**:bash export ANTHROPIC_API_KEY="sk-ant-..."
**Qwen (local vLLM)**:bash export QWEN_CHAT_BASE_URL="http://localhost:8000/v1" export QWEN_CHAT_MODEL="Qwen/Qwen3.5-4B" ```
---
These are not default SkillOpt settings — they are reference configs contributed by users for specific scenarios. The paper-reported numbers were obtained with the default settings, not these.
- configs/examples/soft_gate.yaml (PR #25, contributed by @lvbaocheng) — switches the validation gate from exact-match (hard) to soft / partial-credit (soft or mixed). Useful when the held-out selection split is small (e.g. ≤ ~10 items) and the reward is continuous, where the discrete hard gate often rejects every candidate and training stalls. See the comment at the top of the file for details and when not to use it.
---
python scripts/train.py \ --config configs/searchqa/default.yaml \ --split_dir /path/to/your/searchqa_split \ --azure_openai_endpoint https://your-resource.openai.azure.com/ \ --optimizer_model gpt-5.5 \ --target_model gpt-5.5
高质量的AI工作流项目,具有广泛的应用前景
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:SkillOpt Agent工作流 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | SkillOpt |
| 原始描述 | 开源AI工作流:SkillOpt is a text-space optimizer that trains reusable natural-language skills 。⭐3.0k · Python |
| Topics | AI自然语言处理工作流 |
| GitHub | https://github.com/microsoft/SkillOpt |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-30 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端