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---2id: skill-trigger-linter3name: forge-skill-linter4autonomy_tier: T15version: 1.0.06description: Check every skill’s trigger clauses for collisions, missing negatives, and vague verbs7owner: AAA8risk_tier: low9knowledge_basis:10 language: true11 math: false12 physics: false13host_compatibility:14- claude-code15- codex16- opencode17- kimi18- kimi-code19dependencies:20 skills:21 - arifos-recursive-audit22 servers: []23 tools: []24examples:25- Lint a new skill for vague verbs like 'help' or 'improve'26- Validate that a skill has at least 3 'Do not use when' rules27tests:28- Skill missing exclusion block flagged L229- Skill with irreversible writes and no governance path flagged L330version_lock:31 schema_version: '1'32 artifact_hash: pending33orthogonal_tags:34 trinitarian:35 - ΦΙ36 functional:37 - Governance38 layer: HEXAGON39 autonomy_tier: T140floor_scope:41- F242- F443- F744- F945- F1046- F1147capability_tier: fed-agent-subagent48ecology_state: WARM49---5051# skill-trigger-linter (O_Ψ Verification Layer)5253## arifOS-ACT Embedding5455Before using this skill on any mutating, irreversible, or high-blast-radius task:561. **ART** — Attune (what is the real task?), Recognize (what class of power?), Test (fit · authority · evidence · blast · reversible).572. **Kernel** — Route to arifOS for F1–F13 judgment if action class is Maker/Messenger/Mutator/Destroyer/Sovereign.583. **ACT** — Apply narrow, Constrain scope, Trace witness, STOP before corruption.594. **Receipt** — Leave evidence of what changed, why, and under whose authority.606162## Purpose63Check every skill’s “use when” and “do not use when” clauses for collisions, missing negatives, and vague verbs like “help,” “assist,” or “improve.”6465## Use When661. Validating the frontmatter descriptions and target boundaries of any skill.672. Trigger drift is observed (e.g. `wrangler` is activated for generic coding, or `cloudflare` conflicts with `durable-objects`).683. Preparing to optimize a skill's description using the `run_loop.py` evaluator.694. Integrating or linting a newly forged skill prior to production staging.7071## Do Not Use When721. Performing programmatic runtime execution benchmark testing (use `arifos-evals` instead).732. Auditing broad system dependency health or links status (use `arifos-recursive-audit` instead).743. The task requires structural design changes to a skill's workflow.7576## Inputs77* **SKILL.md Text:** The raw contents of the skill markdown contract.78* **Active Trigger Registry:** A mapping of all currently registered skill frontmatter descriptions.7980## Lint Level Classification81The trigger linter categorizes violations into three distinct urgency thresholds:8283* **`L1: Stylistic` (Wording Clarity):**84 * Occurs when descriptions are slightly wordy or triggers are phrased passively.85 * *Result:* Warning issued; suggestion provided. Simple correction path.86* **`L2: Behavioral Risk` (Missing Negatives):**87 * Occurs when a skill lacks a robust, distinct `"Do not use when"` block containing at least 3 exclusion boundaries.88 * *Result:* Block validation; requires prompt adjustments before merging.89* **`L3: Safety Risk` (Constitutional Breaches):**90 * 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.91 * *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.9293## Procedure941. **Strict Trigger Parsing:** Extract the `Use When` and `Do Not Use When` blocks from the target skill's body.952. **Vague Verb Scanning:** Scan files for banned words including *"help"*, *"assist"*, *"improve"*, *"manage"*, *"optimize"*, and *"support"*. Require explicit action verbs.963. **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.974. **Lint Level Classification tagging:** Assess the parsed contract for L1, L2, or L3 violations.985. **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.996. **Lint Status Output:** Output lint failures, warnings, and recommended prompt revisions with exact line references.100101## Postconditions1021. All target skill descriptions are checked for L1-L3 compliance.1032. Trigger and exclusion boundaries meet the numeric target requirements.1043. No L3 violation is allowed to pass to packaging without a verified governance key bypass.105106## Failure Modes & Escalation107* **Missing Exclusion Block:** The skill completely lacks a "Do Not Use When" section. *Action:* Flag L2 violation, suggest 3 templates, and block merging.108* **Verbal Overload:** Triggers are written in vague prose instead of list items. *Action:* Automatically format the triggers into short, bulleted imperative clauses.109110## Telemetry per Run111```json112{113 "skill_name": "skill-trigger-linter",114 "version": "1.1.0",115 "trigger_phrase": "{{trigger_phrase}}",116 "selected_reason": "{{selected_reason}}",117 "latency_ms": 0,118 "token_in": 0,119 "token_out": 0,120 "commands_run": 0,121 "artifacts_written": 0,122 "postcondition_pass": false,123 "human_approval_required": false,124 "hold_code": "{{hold_code}}"125}126```127128## Recursive Scorecard129* **Activation Precision:** [0.0 - 1.0] (Target: >0.98)130* **Task Completion Rate:** [0.0 - 1.0] (Target: >0.95)131* **Rollback Safety:** [0.0 - 1.0] (Target: 1.00)132* **Context Efficiency:** [0.0 - 1.0] (Target: >0.98)133* **Doc Freshness:** [0.0 - 1.0] (Target: 1.00)134* **Cross-Skill Collision Rate:** [0.0 - 1.0] (Target: 0.00)135* **Human Trust Score:** [0.0 - 1.0] (Target: >0.98)