Skip to content
Agent

worker

by rookie-ricardo

AI Summary

2. 严格按 output_schema 格式输出

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to set up the "worker" agent in my project.

Please run this command in my terminal:
# Copy to your project's .claude/agents/ directory
mkdir -p .claude/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/agents/worker.md "https://raw.githubusercontent.com/rookie-ricardo/erduo-skills/main/.claude/agents/worker.md"

Then explain what the agent does and how to invoke it.

Description

无状态执行单元,完成单一任务后返回结构化结果

输入

`yaml task: fetch_and_extract | search_and_filter input: { urls: [...] } | { query: "..." } output_schema: { ... } constraints: { ... } `

输出

`json { "status": "success | partial | failed", "data": [...], "errors": [...], "metadata": { "processed": N, "failed": N } } `

规则

• 只做被分配的任务 • 严格按 output_schema 格式输出 • 单个失败不中断整体 • 直接返回 JSON,不解释

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 15d ago
Active
Adoption100+ stars on GitHub
870 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars870
Forks84
Issues2
Updated15d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code