petri-multi-provider-generation
CommunityGenerate multi-LLM Petri nets safely in parallel.
Software Engineering#error handling#model routing#parallel review#petri net#multi-provider llm#payload schema
Authortransreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill standardizes how to build Petri nets that generate and coordinate code using multiple LLM providers in parallel, so the workflow stays consistent and reliably routes requests to the intended provider/model.
Core Features & Use Cases
- Multi-provider handler I/O contract: Defines the exact payload/key conventions that workers must read and write, including per-provider review keys.
- Provider/model selection rules: Enforces routing via ClaudeCode`ClaudeQueryBg with a pinned Model option, including distinctions between claude/anthropic/openai/lmstudio usage.
- Correct parallel composition semantics: Requires AND-merge for peer review so all reviewer outputs are present before continuing, preventing hidden failures.
- Failure-safe LLM error handling: Mandates treating any "Error:" response as handler failure ($Failed) to avoid false successes.
Quick Start
Ask your system to generate a Petri net that runs parallel reviews across Claude (via Claude Code CLI) and ChatGPT (via paid API when enabled), then merge the results only after both outputs arrive.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: petri-multi-provider-generation Download link: https://github.com/transreal/claudecode/archive/main.zip#petri-multi-provider-generation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.