Install
Install with PiG
pig install npm:@srobroek/pi-toolchainInstall with Pi
pi install npm:@srobroek/pi-toolchainPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"skills": [
"./skills"
]
}README
Written by the package's publisher, shown as published in version 0.11.1 (README.md). PiG does not review it.
toolchain
Toolchain, backend, infrastructure and operations defaults, as skills the model loads when the description matches.
In OpenCode the toolchain-*, ops-* and ci-* skills set opencode/autoinvoke: false and are
listed as one router, toolchain-guide, whose body maps each situation to the skill to load
by id; the other skills stay listed. Claude Code ignore that metadata, so there
every skill is listed and triggers directly.
| Skill | When |
|---|---|
toolchain-stack-defaults | Stack, package manager, task runner, adding a dependency (bun, uv, mise, just; deps through the package manager CLI) |
toolchain-frontend | Frontend framework, UI kit, client and server state |
toolchain-infrastructure | Terraform/OpenTofu vs CDK vs Kubernetes and Helm |
toolchain-languages | How to choose a library or tool, defaults that hold in every language, and where the per-language standards live (lang-<language>-libraries) |
toolchain-api | API style (REST/OpenAPI, gRPC, Connect, GraphQL, events, webhooks, MCP), spec versions, contract ownership, design rules, security baseline, API test tools |
toolchain-quality-observability | OpenTelemetry by default, and one scanner per gate: secrets, dependency audit, static analysis, dead code, duplication, containers and IaC, CI workflows, SBOM |
toolchain-asset-ownership | Where OpenCode config, plugins, skills and agents live: chezmoi, this repository |
coexistence-worktree | Other agents or humans editing the same checkout; moving to a linked worktree |
shell-language | Shell portability, quoting, command safety, shellcheck |
terraform-language | Terraform, OpenTofu and HCL conventions |
infrastructure-tfstate-guard | Any Terraform or OpenTofu state operation or *.tfstate edit |
backend-background-jobs | Workers, queues, retries, idempotency, dead letters |
ci-github-actions | GitHub Actions workflows: one required gate, matrices, concurrency, SHA-pinned actions, attestation, caches |
ops-toolchain-cache-policy | Shared, bounded download and compiler caches; worktree build output |
ops-no-global-cargo-target | Setting CARGO_TARGET_DIR or [build].target-dir to a global directory |
Changes from omp
On omp these were rules. Three were tool-triggered (TTSR) rules that fired on a matching shell command or file edit; here every rule is a skill, and the regex triggers are gone.
infrastructure-tfstate-guardinterruptedterraform state rm/mv/push,rmof a*.tfstatefile, and redirects overterraform.tfstate. To keep a hard gate, add permission rules (test each pattern before relying on it):{ "permissions": [ { "action": "edit", "resource": "**/*.tfstate", "effect": "deny" }, { "action": "edit", "resource": "**/*.tfstate.*", "effect": "deny" }, { "action": "shell", "resource": "terraform state rm *", "effect": "ask" }, { "action": "shell", "resource": "terraform state mv *", "effect": "ask" }, { "action": "shell", "resource": "terraform state push *", "effect": "ask" }, { "action": "shell", "resource": "tofu state rm *", "effect": "ask" }, { "action": "shell", "resource": "tofu state mv *", "effect": "ask" }, { "action": "shell", "resource": "tofu state push *", "effect": "ask" } ] }ops-no-global-cargo-targetadvised on edits that set a global Cargo target directory in.cargo/config.toml, shell profiles, mise config or CI workflows.toolchain-asset-ownershipdescribed omp config under~/.omp/agent/and the omp marketplace; it now describes~/.config/opencode/and this repository.toolchain-stack-defaultsno longer mentions the ompprefer-tools-advisoryanddep-manifest-advisoryextensions, which are not ported.References to other rules and skills name the skill (
quality-code-designis in the quality plugin;chezmoi-editoris not in this repository).
Install
Install the Pi package from npm:
pi install npm:@srobroek/pi-toolchain
opencode plugin add 'github:srobroek/harness-plugins::path:plugins/toolchain/opencode'
Claude Code install the same skills from this repository's marketplace:
claude plugin marketplace add srobroek/harness-plugins
claude plugin install toolchain@harness-plugins