pod-sales
它能做什么
这项技能运行一次销售小组(pod,即一个由多个 AI 智能体组成的小团队)的试运行周期。它检查设置并显示状态行,但不执行真实的销售工作。适合测试或安排销售自动化的人。
适用场景
- ✓当你想在正式运行销售智能体团队之前进行测试时。
- ✓当你需要在计划运行之间快速检查销售小组的状态时。
- ✓当 /loop 任务请求销售小组的下一次运行时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-business-pods/skills/pod-sales/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的销售小组试运行一次,并告诉我当前状态。”
每周 5 个新技能,1 分钟读完。
工作原理
它加载销售模板,检查模板是否有效,在本地文件中记录一小笔预留预算,并写出摘要。在试运行模式下不会调用任何实时 AI 模型。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Surfaces pod-tick.mjs as a single-shot skill for the sales pod. Use when
Claude Code needs to demonstrate, smoke-test, or schedule one iteration of
the sales autopilot without spawning real LLM workers.
Algorithm
Implementation: scripts/pod-tick.mjs.
- Parse args (
--pod-template,--base-path,--dry-run/--live,--budget-cap-usd,--tick-id).--liveis refused with exit code 3 in Phase 2. - Load the pod template JSON (default:
templates/sales.json). - Validate via
validatePodTemplate(json)— schema inv3/@claude-flow/cli/src/business-pods/pod-schema.tsand inlined inpod-tick.mjsso the script runs without a built CLI. Throws with a JSON-pointer path on the first violation. - Resolve every
agent.agentTypeagainstKNOWN_AGENT_TYPES. Unknown types abort with exit code 2 and an actionable error. - Reserve
min(budgetUsdPerRun, --budget-cap-usd)USD against the file-based ledger at<base-path>/budget/<roomId>.json. HonorsreservationExpiryMs(default 60_000 ms, bounded to [5000, 300000] per ADR-164.1 §3.2).TODO(adr-164.1): swap the file ledger for the atomic SQLite tracker in Phase 3. - Build per-agent prompts (kickoff scoped to the bench description +
pod's PII policy). In
--dry-runthey are logged to stderr and the model is never invoked. - Commit the reservation. Dry-run actual = $0; live actual = the
reserved amount (Phase 3 wires real
claude -p--max-budget-usdreporting). - Append a
pod-statusenvelope to the Phase-1 backing store at<base-path>/.agentbbs/room-<derivedRoomId>.jsonlso subsequentfederation_bbs_watchcalls see the tick. - Emit a single JSON line on stdout:
{podName, tickId, agentsRan, totalUsd, envelopeId, status}.
Exit codes
0— tick succeeded (status === 'success')2— invalid template / unknown agent type / budget exhausted / arg error3—--liverequested (refused in Phase 2)
Phase 3 surfaces (not in this build)
--livemode: dispatch each prompt throughclaude -pheadless or a Managed Agent and capture the actual--max-budget-usdreported spend.- Atomic SQLite budget tracker (ADR-164.1 §3.2).
- Multi-pod variants (
pod-marketing,pod-finance, ...) — each gets its own skill once Phase 3 ships.
常见问题
这项技能会花真钱吗?
不会。它以试运行模式运行,因此从不调用 AI 模型,只在本地文件中记录一笔预留金额。
销售模板检查什么?
它检查模板是否有效,以及模板中指定的每种智能体类型是否为脚本所认识的类型。问题会以清晰的错误信息报告。
我现在能正式运行销售小组吗?
还不行。在此版本中拒绝实时模式,计划在后续阶段推出。
详情
作者的原始描述
Run one dry-run tick of the sales business-pod (ADR-164): validate templates/sales.json, reserve budget, post a summary envelope to the \"sales\" room and print a status line for /loop. Use when a person or a /loop asks for the next sales-pod tick.
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1584
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。