pwf-enforcer

Installation
SKILL.md

pwf-enforcer

What this skill does

Two-layer enforcement of the planning-with-files (PWF) workflow on OpenCode:

Layer Mechanism Strength Auto-loaded?
Hard OpenCode plugin at ~/.config/opencode/plugins/pwf-enforcer.ts Fires on real OpenCode events; injects plan head via experimental.chat.system.transform and experimental.session.compacting Yes — opencode scans ~/.config/opencode/plugins/ at startup
Soft User-level AGENTS.md reminder block Read by agent on every turn; reminder is opt-in Yes — opencode reads ~/.config/opencode/AGENTS.md per session

This is not routing. Routing = "which skill/agent handles a request" (controlled by omo category/agent system). PWF enforcement = "force planning files to be visible to the model at the right moments" (event-driven prompt injection).

Different mechanisms, different layers. If the user wants routing tweaks, that's the omo-integration skill. This skill is only about PWF discipline.

When to Use

Installs
6
First Seen
Jul 12, 2026
pwf-enforcer — meisijiya/skills