Builds business workflow automation agents with intelligent RPA, chained triggers/actions, step orchestration, error handling, and monitoring. Activates on "workflow agent", "RPA", "business process agent".
Ships in claude-skills-collection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
(temps_manuel_h × taux_horaire × volume_annuel) − coût_implémentation.| Besoin | Pattern recommandé |
|---|---|
| Étapes séquentielles simples | Pipeline linéaire (fonctions chaînées) |
| Branchements complexes + état persistant | State machine (XState, Temporal) |
| Processus long-running (jours/semaines) | Temporal Workflow ou Azure Durable Functions |
| Événements multi-sources | Chorégraphie via message broker (RabbitMQ, Kafka) |
| Pas d'API disponible | RPA UI avec Playwright ou UiPath |
Exemple minimal Temporal (Python) :
@workflow.defn
class OnboardingWorkflow:
@workflow.run
async def run(self, user_id: str) -> str:
await workflow.execute_activity(create_account, user_id, start_to_close_timeout=timedelta(minutes=5))
await workflow.execute_activity(send_welcome_email, user_id, start_to_close_timeout=timedelta(minutes=2))
return "done"
execute(), compensate(), health_check().from tenacity import retry, stop_after_attempt, wait_exponential
from circuitbreaker import circuit
@circuit(failure_threshold=5, recovery_timeout=30)
@retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=2, max=10))
def call_external_api(payload: dict) -> dict:
response = requests.post(API_URL, json=payload, timeout=10)
response.raise_for_status()
return response.json()
data-testid, aria-label) aux sélecteurs CSS fragiles.# Playwright — sélecteur robuste
await page.get_by_role("button", name="Valider").click()
# ❌ fragile
await page.click(".btn-primary:nth-child(2)")
| Type | Outil / Exemple |
|---|---|
| Timer/Cron | 0 8 * * 1-5 — chaque matin ouvré à 8h |
| Webhook entrant | FastAPI POST /webhook/{event_type} |
| Email reçu | IMAP IDLE ou SendGrid Inbound Parse |
| Changement DB | PostgreSQL LISTEN/NOTIFY ou CDC Debezium |
| Upload fichier | S3 Event Notification → Lambda → queue |
Implémenter le debouncing pour éviter les doubles déclenchements :
LAST_TRIGGER: dict[str, float] = {}
MIN_INTERVAL = 5.0 # secondes
def debounce(key: str) -> bool:
now = time.time()
if now - LAST_TRIGGER.get(key, 0) < MIN_INTERVAL:
return False # ignorer
LAST_TRIGGER[key] = now
return True
@dataclass
class WorkflowState:
workflow_id: str
step: str # "create_account" | "send_email" | "done"
payload: dict
created_at: datetime
retries: int = 0
executed_steps = []
try:
create_order(order); executed_steps.append("create_order")
charge_payment(order); executed_steps.append("charge_payment")
send_confirmation(order)
except Exception:
for step in reversed(executed_steps):
compensators[step](order) # rollback dans l'ordre inverse
raise
KYCWorkflow, NotificationWorkflow).result = llm_classify(document_text)
if result.confidence < 0.85:
escalate_to_human(document_id, reason="confiance insuffisante")
else:
route_automatically(result.category)
idempotency_key (UUID de la commande, hash de l'événement).def process_payment(order_id: str, idempotency_key: str):
if db.exists(f"payment:{idempotency_key}"):
return db.get(f"payment:{idempotency_key}") # résultat déjà calculé
result = payment_gateway.charge(order_id)
db.set(f"payment:{idempotency_key}", result, ex=86400)
return result
KPIs à collecter :
succeeded / total par workflow et par étape.Stack recommandée 2026 : OpenTelemetry (traces) + Prometheus (métriques) + Grafana (dashboards).
from opentelemetry import trace
tracer = trace.get_tracer("workflow-agent")
with tracer.start_as_current_span("step.create_order") as span:
span.set_attribute("order.id", order_id)
create_order(order_id)
| Anti-pattern | Conséquence | Correction |
|---|---|---|
| Pas de compensation | Données incohérentes après crash partiel | Implémenter compensate() pour chaque étape modifiante |
| État en mémoire uniquement | Perte d'état au redémarrage | Persister dans Redis/DB après chaque transition |
| Sélecteurs CSS fragiles en RPA | Breakage à chaque déploiement UI | Utiliser data-testid ou aria-* |
| LLM sans validation de sortie | Crash imprévisible en production | Valider avec Pydantic avant injection |
| Automatiser sans fallback manuel | Blocage total si l'agent échoue | Toujours exposer une interface de reprise manuelle |
| Déclencheurs sans debounce | Exécutions dupliquées | Idempotency key + debounce |
| Timeout absent | Workflow bloqué indéfiniment | Timeout par étape ET timeout global |
OnboardingWorkflow_v2) pour coexistence avec les instances en cours.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/claude-skills-collection:agent-workflow-automation-agentfrom claude-skills-collection
npx claudepluginhub vantaflow/claude-skills-collection --plugin claude-skills-collection348 skills in this plugin
/agent-a2a-protocol-guideGuide du protocole Agent-to-Agent (A2A) de Google pour l'interopérabilité entre agents IA — découverte, communication et collaboration inter-agents, avec exemples de code, critères de décision et pièges à éviter. Se déclenche avec "A2A", "agent-to-agent", "protocole A2A", "Google A2A", "interopérabilité agents". Also triggers on "agent-to-agent protocol", "agent interoperability", "connect two agents"./agent-agent-observabilityInstrumentation technique d'un agent IA — tracing distribué des appels LLM et outils, spans, métriques custom, corrélation de logs et dashboards de supervision. Pour les alertes et garde-fous de production, voir agent-monitoring-setup. Se déclenche avec "observabilité agent", "tracing agent", "LangSmith", "Langfuse", "OpenTelemetry agent", "spans LLM", "corréler les logs agent". Also triggers on "trace my agent", "LLM tracing", "agent spans"./agent-api-caller-subagentSous-agent spécialisé dans les appels API REST/GraphQL avec retry, auth et transformation de données. Se déclenche avec "sous-agent API", "API caller agent", "agent qui appelle une API", "REST agent", "HTTP agent", "API integration subagent", "external API agent". Also triggers on "subagent that calls an API", "API calling agent", "agent HTTP requests".Other plugins' skills for the same job