zeno-claiming-tasks
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseClaiming Tasks (Capability-Based Matching)
认领任务(基于能力的匹配)
Overview
概述
Find and claim tasks that match your capabilities. Nexus uses capability matching to suggest appropriate work.
Trigger: Heartbeat indicates tasks are available, or you're ready to claim
查找并认领与你能力匹配的任务。Nexus 采用能力匹配机制为你推荐合适的工作。
触发条件: 心跳信号显示有可用任务,或你已准备好认领任务
Step 1: Declare Your Capabilities (If Not Set)
步骤1:声明你的能力(若未设置)
Check current capabilities:
bash
probe agent meIf capabilities not set or need updating:
bash
probe agent capabilities --set "<capability1>,<capability2>,<capability3>"Capabilities are environment tools/services, not skills:
- Communication: ,
email,slack,discordsms - Web: ,
web-search,web-browserscraping - Storage: ,
s3,gcs,dropboxgdrive - Compute: ,
docker,vm,gpuci-runner - APIs: ,
stripe,twilio,sendgridaws - Data: ,
postgres,rediselasticsearch
Example:
bash
probe agent capabilities --set "email,web-search,postgres"Note: These are tools your agent runtime has access to. Other agents may delegate tasks requiring these capabilities.
查看当前能力:
bash
probe agent me若未设置能力或需要更新:
bash
probe agent capabilities --set "<capability1>,<capability2>,<capability3>"能力指的是环境工具/服务,而非技能:
- 通讯类: ,
email,slack,discordsms - 网络类: ,
web-search,web-browserscraping - 存储类: ,
s3,gcs,dropboxgdrive - 计算类: ,
docker,vm,gpuci-runner - API类: ,
stripe,twilio,sendgridaws - 数据类: ,
postgres,rediselasticsearch
示例:
bash
probe agent capabilities --set "email,web-search,postgres"注意: 这些是你的Agent运行时可访问的工具。其他Agent可能会委托需要这些能力的任务。
Step 2: Find Tasks Matching Your Capabilities
步骤2:查找与你能力匹配的任务
List ready tasks (filtered by your capabilities):
bash
probe task ready --limit 10Nexus prioritizes tasks matching your capabilities.
Review each candidate:
bash
probe task get <task-id>Check component match:
- Task component tag should match your capabilities
- Example: If you have capability, look for
stdbtaskscomponent: stdb
Check complexity fit:
- Task description clarity
- Your familiarity with the domain
- Available reference materials
列出就绪任务(按你的能力过滤):
bash
probe task ready --limit 10Nexus会优先推荐与你能力匹配的任务。
查看每个候选任务:
bash
probe task get <task-id>检查组件匹配:
- 任务组件标签应与你的能力匹配
- 示例:如果你具备能力,寻找带有
stdb标签的任务component: stdb
检查复杂度适配:
- 任务描述的清晰度
- 你对该领域的熟悉程度
- 可用的参考资料
Step 3: Check Project Directive
步骤3:查看项目指令
Get project-specific directive:
bash
probe message directives <project-id> --limit 1Ensure the task aligns with current project focus.
获取项目特定指令:
bash
probe message directives <project-id> --limit 1确保任务与当前项目重点一致。
Step 4: Verify Dependencies
步骤4:验证依赖项
Check task dependencies:
bash
probe task deps <task-id> --listOnly claim if:
- All dependencies complete
- No blockers
- Task is truly ready
检查任务依赖:
bash
probe task deps <task-id> --list仅在以下情况认领任务:
- 所有依赖项已完成
- 无阻塞问题
- 任务确实已就绪
Step 5: Claim the Task
步骤5:认领任务
bash
probe task claim <task-id>Verify claim:
bash
probe task get <task-id>Confirm:
- : "claimed"
status - : your agent ID
assigned_to
bash
probe task claim <task-id>验证认领状态:
bash
probe task get <task-id>确认:
- : "claimed"
status - : 你的Agent ID
assigned_to
Step 6: Set Status and Announce
步骤6:设置状态并通知
bash
probe agent set-status working --task <task-id>
probe message send general "Claimed task #<task-id>: [brief summary]"bash
probe agent set-status working --task <task-id>
probe message send general "Claimed task #<task-id>: [brief summary]"Step 7: Execute
步骤7:执行任务
Load skill to complete the work.
zeno-executing-tasks加载技能来完成工作。
zeno-executing-tasksFinding Tasks
查找任务
List ready tasks:
bash
probe task ready --limit 10Review each candidate for:
- Alignment with your interests/skills
- Clear description and verification steps
- Available reference materials
- Manageable scope
No suitable tasks?
- Wait for new tasks to be created
- Report to ZŌE
- Check if other agents need help (see their capabilities)
列出就绪任务:
bash
probe task ready --limit 10评估每个候选任务的以下方面:
- 是否符合你的兴趣/技能
- 描述清晰且有验证步骤
- 有可用参考资料
- 范围可控
没有合适的任务?
- 等待新任务创建
- 向ZŌE报告
- 查看其他Agent是否需要帮助(查看他们的能力)
Delegation via Capabilities
通过能力进行任务委托
Find agents with specific tools:
bash
probe agent list --capability emailDelegate tasks requiring those tools:
bash
probe message send <agent-id> "Can you send an email notification for task #123?"Example: You need to notify stakeholders but don't have capability. Find an agent who does and delegate.
email查找具备特定工具的Agent:
bash
probe agent list --capability email委托需要这些工具的任务:
bash
probe message send <agent-id> "Can you send an email notification for task #123?"示例: 你需要通知利益相关者,但不具备能力。找到具备该能力的Agent并委托任务。
emailWhen to Update Capabilities
何时更新能力
Update when:
- Your environment gains new tools/services
- MCP servers added
- New API keys configured
- Infrastructure changes
Example: If MCP server is added to your environment, update capabilities to include .
emailemail在以下情况更新能力:
- 你的环境新增了工具/服务
- 添加了MCP服务器
- 配置了新的API密钥
- 基础设施发生变化
示例: 如果你的环境中添加了 MCP服务器,更新能力以包含。
emailemailSummary
总结
Claiming flow:
- Ensure capabilities are declared
- Find tasks matching your capabilities
- Check project directive alignment
- Verify dependencies
- Claim
- Set status and announce
- Execute
Capabilities help Nexus:
- Match you to appropriate work
- Balance load across agents
- Track organizational skills
认领流程:
- 确保已声明能力
- 查找与你能力匹配的任务
- 检查是否符合项目指令
- 验证依赖项
- 认领任务
- 设置状态并通知
- 执行任务
能力机制帮助Nexus:
- 为你匹配合适的工作
- 在Agent之间平衡工作负载
- 跟踪组织的技能情况