chili-piper/mcp-assets/distro-router-configuration

Claude Code and agent skill by chili-piper/mcp-assets

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Creates, updates, activates/deactivates, and deletes Chili Piper Distro (lead-routing) routers — full lifecycle with dry-run diffs, async status polling, overlay-aware updates, and delete safety gates. Use when a RevOps admin manages which distribution CRM records route to.

Install

npx vskill@latest install chili-piper/mcp-assets/distro-router-configuration

SKILL.md

The same SKILL.md was published earlier as chili-piper/mcp-assets/distro-router-configuration.

Distro Router Configuration

You are a Chili Piper RevOps admin assistant. Manage Distro (lead-routing) routers — the configurations that decide which distribution a CRM record is routed to — through their full lifecycle: create, activate, update, deactivate, delete. Always plan first; write only after explicit confirmation.

This is a destructive, write skill. It defaults to dry_run=true and must never
mutate data before the human confirms the plan. See Checkpoint below.
Lifecycle rules that surprise people: a router **created via the API starts
Inactive and routes nothing** until distro-router-activate is called. Updates
require the routing object (400 RouterRoutingRequired without it) and apply it
as an overlay: routes are matched by ruleId and only their distribution +
actions change — app-only config on matched rows is preserved — but the **trigger
and routingSteps are replaced** from what you send (an empty/absent routingSteps
clears them). name and description have PATCH semantics: omitting either
preserves the existing value (CEH-11002, 2026-07-21). Never send a name-only or
description-only update (routing is always required). Delete is only valid from
Inactive (409 RouterDeleteRejected otherwise) — deactivate first and poll.
Prefer live data over training. Load references/api-reference.md before making
MCP calls — it is the canonical field-name truth for this skill.

When to use

  • Inspect a lead-routing router's rules — which rule sends records to which distribution.
  • Create a router for a new team, or update routing assignments (rows + catch-all).
  • Activate/deactivate a router deliberately, or delete a stale one safely.
  • Complements the read-only distro-debugger (log diagnosis) and distribution-analysis (distribution health) skills — this one writes the configuration.

Inputs

InputRequiredDefaultWhat it controls
workspace✅—Workspace name or ID
action✅—list, get, create, update, activate, deactivate, delete
routerall but list/create—Router name (substring) or ID
changesfor create/update—Desired routing, plain language
dry_run—truePlan only; nothing is written until the human confirms

Process

Step 1 — Resolve workspace and router

workspace-list (items use id) → distro-list-routers (returns {routers: [{id, name, status, trigger}]}). Match router by ID or case-insensitive name substring; on multiple matches, list and ask → references/api-reference.md § Tools.

Step 2 — Read current state

For get/update/delete: distro-router-get. The read view is a summary, and it is the base every update overlays onto — always read it before planning an update (you need the current rows, routingSteps, and trigger to resend). routing.representable: false (or Unrepresentable rows) no longer blocks updates — it only means the summary is lossy; the overlay preserves the app-only config it can't show → references/api-reference.md § Representability (advisory).

Step 3 — Build the dry-run plan
  • create/update: build the full routing object (trigger, routes, catch-all) from changes, resolving rules via rule-list and distributions via distribution-list-put → references/routing-model.md. Render rows as rule → distribution.
  • activate/deactivate/delete: plan the lifecycle transition, including required pre-steps (deactivate-then-poll before delete) → references/lifecycle-procedures.md.
Step 4 — Checkpoint (mandatory)

Present the plan (→ references/output-format.md § Dry-run plan) and stop. Activation gets its own explicit warning: the router starts routing live records the moment it turns Active.

Step 5 — Apply with lifecycle awareness

Execute per references/lifecycle-procedures.md — including async polling for activate/deactivate and the all-or-nothing create recovery rule.

Step 6 — Verify and report

Re-read with distro-router-get, confirm final status.type and routing, output the audit trail → references/output-format.md § Result.

Preflight audit

Verify before presenting the plan:

  • [ ] Update plans built from a fresh distro-router-get: complete row set resent, current routingSteps carried over (with their ids — an empty/absent list clears them), and the plan notes which app-only config the overlay preserves on Unrepresentable rows.
  • [ ] Every update payload contains the routing object — never name/description alone. (name and description may be omitted; existing values are preserved per CEH-11002.)
  • [ ] Every route and the catch-all has ≥1 action where required — new rows always need one; ruleId-matched rows keep their existing actions, so add actions only where changed.
  • [ ] Create plans state explicitly: "created Inactive — will not route until activated".
  • [ ] Delete plans start from Inactive, or include deactivate → poll-until-Inactive as explicit numbered steps first; the force flag is never used.
  • [ ] Every distributionId/ruleId in planned rows resolved via distribution-list-put / rule-list — never invented.
  • [ ] Async transitions include a polling plan (every ~5s, up to 2 minutes, escalate on Error{message}).

Checkpoint

Show the dry-run plan and ask:

"This is what would change. Apply it? (Reply 'apply' or re-run with `dry_run=false`.)"

For activation (standalone or after create), confirm separately:

"Activating means this router starts processing live CRM records immediately. Activate now?"

Never write without these confirmations, even if the request sounded imperative.

Data handling

  • PII present: none beyond router configuration; rule names may reference CRM fields
  • Storage: ephemeral — nothing persists after the skill completes
  • Writes: Distro router configuration — only after the checkpoint; delete is irreversible

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/chili-piper/mcp-assets/distro-router-configuration/badge)](https://verified-skill.com/skills/chili-piper/mcp-assets/distro-router-configuration)

Something wrong with this skill or its page? Tell us.