Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Core ReFolDec transformation skill. Use when the task is explicitly about transforming an artifact from one representation type to another — folding an idea or process into a compact form, unfolding an artifact into its primitives, or refolding across representation types (diagram to documentation, documentation to SKILL.md, SKILL.md to procedure). Also use when semantic loss across a transformation needs to be tracked or compared. This is not a general writing or diagramming skill — it is a rep
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 53% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 121% | 0% |
OverKill Hill P³ · overkillhill.com · github.com/OKHP3
Transformation-aware execution for fold, unfold, and refold operations across representation types.
Before executing, name the operation clearly:
Fold — the source is a complex artifact; the target is a more abstract or compact form. Examples: process narrative → SKILL.md, set of observations → taxonomy, long document → diagram.
Unfold — the source is a compact or abstract artifact; the target exposes its constituent parts. Examples: SKILL.md → step-by-step procedure, diagram → process narrative, taxonomy → flat item list.
Refold — the source and target are in different representation types; semantic content is preserved across the change. Examples: diagram → documentation, documentation → SKILL.md, SKILL.md → structured prompt, process → diagram.
State the transformation type explicitly before proceeding. "I am refolding source type] into target type]."
Before transforming, inventory what the source artifact contains:
This inventory is the fidelity baseline. Semantic loss is measured against it.
Every transformation loses something. Name the losses before committing.
For each inventory item, assess: does the target representation support this? If not, it is a loss.
Low-loss transformations: The target representation can hold all inventory items with no change in meaning.
Medium-loss transformations: The target omits some inventory items by design (e.g., a 6-node Executive diagram cannot hold 15-step exception logic). State what was dropped and why.
High-loss transformations: The target representation fundamentally cannot hold key semantic content (e.g., refolding a richly conditioned BPMN diagram into a plain paragraph). Flag before proceeding — the user may prefer a different target form.
Do not proceed through a high-loss transformation without flagging it.
Apply the appropriate domain skill for the target form:
okhp3-mermaid-core, route to the appropriate domain skill (bpmn, architecture, data)okhp3-process-capture skeleton production stepsThe transformation produces a complete artifact in the target form. It is not a bridge document, a "here's what I'd do," or a hybrid.
If the transformation was medium- or high-loss, produce a brief loss note after the artifact:
> Semantic loss note: What was present in the source that is not present in the target. Why. What to do if the dropped content is needed.]
This is not an apology or a caveat. It is a handoff artifact. The user knows what was preserved and what was not.
When the user needs to evaluate two representations of the same content — e.g., "does this diagram fully represent this process?" or "how much was lost when we converted this to a skill?" — execute a structured compare:
okhp3-mermaid-coreokhp3-process-captureokhp3-mermaid-updateokhp3-mermaid-repairBuilt by Jamie Hill · OverKill Hill P³ Published at github.com/OKHP3 Part of the OKHP3/skillz Agent Skill library. MIT License -- free to use, fork, and adapt. A nod to the source is appreciated.
Other measured skills in the registry, with their headline benchmark lift.