skill-trigger-linter (O_Ψ Verification Layer)
arifOS-ACT Embedding
Before using this skill on any mutating, irreversible, or high-blast-radius task:
- ART — Attune (what is the real task?), Recognize (what class of power?), Test (fit · authority · evidence · blast · reversible).
- Kernel — Route to arifOS for F1–F13 judgment if action class is Maker/Messenger/Mutator/Destroyer/Sovereign.
- ACT — Apply narrow, Constrain scope, Trace witness, STOP before corruption.
- Receipt — Leave evidence of what changed, why, and under whose authority.
Purpose
Check every skill’s “use when” and “do not use when” clauses for collisions, missing negatives, and vague verbs like “help,” “assist,” or “improve.”
Use When
- Validating the frontmatter descriptions and target boundaries of any skill.
- Trigger drift is observed (e.g.
wrangler is activated for generic coding, or cloudflare conflicts with durable-objects).
- Preparing to optimize a skill's description using the
run_loop.py evaluator.
- Integrating or linting a newly forged skill prior to production staging.
Do Not Use When
- Performing programmatic runtime execution benchmark testing (use
arifos-evals instead).
- Auditing broad system dependency health or links status (use
arifos-recursive-audit instead).
- The task requires structural design changes to a skill's workflow.
Inputs
- SKILL.md Text: The raw contents of the skill markdown contract.
- Active Trigger Registry: A mapping of all currently registered skill frontmatter descriptions.
Lint Level Classification
The trigger linter categorizes violations into three distinct urgency thresholds:
L1: Stylistic (Wording Clarity):
- Occurs when descriptions are slightly wordy or triggers are phrased passively.
- Result: Warning issued; suggestion provided. Simple correction path.
L2: Behavioral Risk (Missing Negatives):
- Occurs when a skill lacks a robust, distinct
"Do not use when" block containing at least 3 exclusion boundaries.
- Result: Block validation; requires prompt adjustments before merging.
L3: Safety Risk (Constitutional Breaches):
- Occurs when a skill performs irreversible state writes, manages sensitive secrets/credentials, or coordinates destructive VPS operations without explicitly declaring an integration path to
arifos-governance and 888_HOLD gates.
- Result: HARD BLOCK. The skill cannot be packaged or committed to the active repository. Requires arifos-governance human release (888 HOLD) to override and authorize deployment.
Procedure
- Strict Trigger Parsing: Extract the
Use When and Do Not Use When blocks from the target skill's body.
- Vague Verb Scanning: Scan files for banned words including "help", "assist", "improve", "manage", "optimize", and "support". Require explicit action verbs.
- Trigger Count Validation: Check that
Use when contains between 3 to 7 concrete triggers, and Do not use when contains at least 3 distinct exclusion rules.
- Lint Level Classification tagging: Assess the parsed contract for L1, L2, or L3 violations.
- 888 HOLD Enforcement: If an unresolved L3 violation is found, automatically lock the build pipeline, generate an
ERR_LINT_L3_VIOLATION ticket, and escalate to the operator console.
- Lint Status Output: Output lint failures, warnings, and recommended prompt revisions with exact line references.
Postconditions
- All target skill descriptions are checked for L1-L3 compliance.
- Trigger and exclusion boundaries meet the numeric target requirements.
- No L3 violation is allowed to pass to packaging without a verified governance key bypass.
Failure Modes & Escalation
- Missing Exclusion Block: The skill completely lacks a "Do Not Use When" section. Action: Flag L2 violation, suggest 3 templates, and block merging.
- Verbal Overload: Triggers are written in vague prose instead of list items. Action: Automatically format the triggers into short, bulleted imperative clauses.
Telemetry per Run
{
"skill_name": "skill-trigger-linter",
"version": "1.1.0",
"trigger_phrase": "{{trigger_phrase}}",
"selected_reason": "{{selected_reason}}",
"latency_ms": 0,
"token_in": 0,
"token_out": 0,
"commands_run": 0,
"artifacts_written": 0,
"postcondition_pass": false,
"human_approval_required": false,
"hold_code": "{{hold_code}}"
}
Recursive Scorecard
- Activation Precision: [0.0 - 1.0] (Target: >0.98)
- Task Completion Rate: [0.0 - 1.0] (Target: >0.95)
- Rollback Safety: [0.0 - 1.0] (Target: 1.00)
- Context Efficiency: [0.0 - 1.0] (Target: >0.98)
- Doc Freshness: [0.0 - 1.0] (Target: 1.00)
- Cross-Skill Collision Rate: [0.0 - 1.0] (Target: 0.00)
- Human Trust Score: [0.0 - 1.0] (Target: >0.98)
1---2name: forge-skill-linter3description: Check every skill’s trigger clauses for collisions, missing negatives, and vague verbs4---56# skill-trigger-linter (O_Ψ Verification Layer)78## arifOS-ACT Embedding910Before using this skill on any mutating, irreversible, or high-blast-radius task:111. **ART** — Attune (what is the real task?), Recognize (what class of power?), Test (fit · authority · evidence · blast · reversible).122. **Kernel** — Route to arifOS for F1–F13 judgment if action class is Maker/Messenger/Mutator/Destroyer/Sovereign.133. **ACT** — Apply narrow, Constrain scope, Trace witness, STOP before corruption.144. **Receipt** — Leave evidence of what changed, why, and under whose authority.151617## Purpose18Check every skill’s “use when” and “do not use when” clauses for collisions, missing negatives, and vague verbs like “help,” “assist,” or “improve.”1920## Use When211. Validating the frontmatter descriptions and target boundaries of any skill.222. Trigger drift is observed (e.g. `wrangler` is activated for generic coding, or `cloudflare` conflicts with `durable-objects`).233. Preparing to optimize a skill's description using the `run_loop.py` evaluator.244. Integrating or linting a newly forged skill prior to production staging.2526## Do Not Use When271. Performing programmatic runtime execution benchmark testing (use `arifos-evals` instead).282. Auditing broad system dependency health or links status (use `arifos-recursive-audit` instead).293. The task requires structural design changes to a skill's workflow.3031## Inputs32* **SKILL.md Text:** The raw contents of the skill markdown contract.33* **Active Trigger Registry:** A mapping of all currently registered skill frontmatter descriptions.3435## Lint Level Classification36The trigger linter categorizes violations into three distinct urgency thresholds:3738* **`L1: Stylistic` (Wording Clarity):**39 * Occurs when descriptions are slightly wordy or triggers are phrased passively.40 * *Result:* Warning issued; suggestion provided. Simple correction path.41* **`L2: Behavioral Risk` (Missing Negatives):**42 * Occurs when a skill lacks a robust, distinct `"Do not use when"` block containing at least 3 exclusion boundaries.43 * *Result:* Block validation; requires prompt adjustments before merging.44* **`L3: Safety Risk` (Constitutional Breaches):**45 * Occurs when a skill performs irreversible state writes, manages sensitive secrets/credentials, or coordinates destructive VPS operations *without* explicitly declaring an integration path to `arifos-governance` and `888_HOLD` gates.46 * *Result:* **HARD BLOCK**. The skill cannot be packaged or committed to the active repository. **Requires arifos-governance human release (888 HOLD)** to override and authorize deployment.4748## Procedure491. **Strict Trigger Parsing:** Extract the `Use When` and `Do Not Use When` blocks from the target skill's body.502. **Vague Verb Scanning:** Scan files for banned words including *"help"*, *"assist"*, *"improve"*, *"manage"*, *"optimize"*, and *"support"*. Require explicit action verbs.513. **Trigger Count Validation:** Check that `Use when` contains between 3 to 7 concrete triggers, and `Do not use when` contains at least 3 distinct exclusion rules.524. **Lint Level Classification tagging:** Assess the parsed contract for L1, L2, or L3 violations.535. **888 HOLD Enforcement:** If an unresolved L3 violation is found, automatically lock the build pipeline, generate an `ERR_LINT_L3_VIOLATION` ticket, and escalate to the operator console.546. **Lint Status Output:** Output lint failures, warnings, and recommended prompt revisions with exact line references.5556## Postconditions571. All target skill descriptions are checked for L1-L3 compliance.582. Trigger and exclusion boundaries meet the numeric target requirements.593. No L3 violation is allowed to pass to packaging without a verified governance key bypass.6061## Failure Modes & Escalation62* **Missing Exclusion Block:** The skill completely lacks a "Do Not Use When" section. *Action:* Flag L2 violation, suggest 3 templates, and block merging.63* **Verbal Overload:** Triggers are written in vague prose instead of list items. *Action:* Automatically format the triggers into short, bulleted imperative clauses.6465## Telemetry per Run66```json67{68 "skill_name": "skill-trigger-linter",69 "version": "1.1.0",70 "trigger_phrase": "{{trigger_phrase}}",71 "selected_reason": "{{selected_reason}}",72 "latency_ms": 0,73 "token_in": 0,74 "token_out": 0,75 "commands_run": 0,76 "artifacts_written": 0,77 "postcondition_pass": false,78 "human_approval_required": false,79 "hold_code": "{{hold_code}}"80}81```8283## Recursive Scorecard84* **Activation Precision:** [0.0 - 1.0] (Target: >0.98)85* **Task Completion Rate:** [0.0 - 1.0] (Target: >0.95)86* **Rollback Safety:** [0.0 - 1.0] (Target: 1.00)87* **Context Efficiency:** [0.0 - 1.0] (Target: >0.98)88* **Doc Freshness:** [0.0 - 1.0] (Target: 1.00)89* **Cross-Skill Collision Rate:** [0.0 - 1.0] (Target: 0.00)90* **Human Trust Score:** [0.0 - 1.0] (Target: >0.98)