跳到正文
Skillpedia
智能体81k · #1584

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-business-pods/skills/pod-sales/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

  1. Parse args (--pod-template, --base-path, --dry-run / --live, --budget-cap-usd, --tick-id). --live is refused with exit code 3 in Phase 2.
  2. Load the pod template JSON (default: templates/sales.json).
  3. Validate via validatePodTemplate(json) — schema in v3/@claude-flow/cli/src/business-pods/pod-schema.ts and inlined in pod-tick.mjs so the script runs without a built CLI. Throws with a JSON-pointer path on the first violation.
  4. Resolve every agent.agentType against KNOWN_AGENT_TYPES. Unknown types abort with exit code 2 and an actionable error.
  5. Reserve min(budgetUsdPerRun, --budget-cap-usd) USD against the file-based ledger at <base-path>/budget/<roomId>.json. Honors reservationExpiryMs (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.
  6. Build per-agent prompts (kickoff scoped to the bench description + pod's PII policy). In --dry-run they are logged to stderr and the model is never invoked.
  7. Commit the reservation. Dry-run actual = $0; live actual = the reserved amount (Phase 3 wires real claude -p --max-budget-usd reporting).
  8. Append a pod-status envelope to the Phase-1 backing store at <base-path>/.agentbbs/room-<derivedRoomId>.jsonl so subsequent federation_bbs_watch calls see the tick.
  9. 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 error
  • 3 — --live requested (refused in Phase 2)

Phase 3 surfaces (not in this build)

  • --live mode: dispatch each prompt through claude -p headless or a Managed Agent and capture the actual --max-budget-usd reported 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能