Skip to content
Skillpedia
Agents81k · #1584

pod-sales

What it does

This skill runs a single dry-run cycle of a sales pod, a small team of AI agents. It checks the setup and shows a status line, without doing real sales work. It is for people who test or schedule sales automation.

When to use it

  • ✓When you want to test a sales agent team before running it for real.
  • ✓When you need a quick status check on the sales pod between scheduled runs.
  • ✓When a /loop task asks for the next sales pod tick.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-business-pods/skills/pod-sales/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-business-pods/skills/pod-sales/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Run one dry-run tick of my sales pod and tell me the status.”

5 new skills a week. 1 minute to read.

How it works

It loads the sales template, checks that it is valid, records a small reserved budget in a local file, and writes a summary. In dry-run mode no live AI model is called.

Technical content (original SKILL.md)

Original text by the author, straight from 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.
FAQ

Does this skill spend real money?

No. It runs in dry-run mode, so the AI model is never called. It only records a reserved amount in a local file.

What does the sales template check?

It checks that the template is valid and that every agent type it names is one the script knows. Problems are reported with a clear error.

Can I use this to run the sales pod for real?

Not yet. The live mode is refused in this version and is planned for a later phase.

Details

Original description by the author

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

Popularity

GitHub stars
81k
Ranking position
#1584
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills