Harness Guards

Generate context-aware safety and governance harness comments for phased plans and workflow steps.

48|18|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/pageel/para-workspace --skill harness-guards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Harness Guards
Source: https://github.com/pageel/para-workspace/tree/main/templates/common/agents/skills/harness
Command: npx skills add https://github.com/pageel/para-workspace --skill harness-guards

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Harness Guards standardizes how safety and governance constraints are injected into plans, phases, and workflow steps so an AI agent follows the right rules at the right moment without relying on generic warnings.

Core Features & Use Cases

  • Centralized guard catalog: Defines the exact guard types, syntax, placement, and escalation patterns used across PARA artifacts.
  • Auto-scan guard protocol: Scans project “DNA” from rule/skill indices and the Risks & Mitigations table to produce plan-specific, constraint-specific harness guards.
  • Sidecar data-only design: Provides references for just-in-time guard generation while keeping guard logic out of the skill itself.
  • Use case: When generating a phased plan, the agent loads the guard catalog and scan protocol to insert mandatory and risk-specific harness comments that gate side-effects, enforce checkpoint actions, and protect critical files.

Quick Start

Ask the agent to create a phased plan for your project; it will load Harness Guards and generate context-aware harness comments before writing or modifying plan artifacts.

Frequently Asked Questions about Harness Guards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add safety guards to prevent an AI agent from skipping critical steps in a phased plan?

Harness guards are context-aware safety constraints that gate phased plan execution and protect knowledge artifacts. They work by scanning project DNA and risk profiles to inject mandatory governance rules into specific workflow steps and file headers.

What is the best way to enforce policy compliance during automated agent workflows?

The best way to enforce policy compliance is using a centralized guard catalog that defines exact syntax and escalation patterns. This ensures an AI agent follows the right governance rules at the correct moment without relying on generic warnings.

How do I generate context-aware harness guards for my project artifacts?

You generate harness guards by loading a guard catalog and scan protocol, which scans your project rules and risk mitigations. The system then emits correctly formatted HTML comment guards tied to specific phases, tasks, and file headers.

Can I use automated safety gates to protect critical knowledge artifacts from being modified unsafely?

Yes, you can use automated safety gates to protect critical knowledge artifacts during creation and editing. The system applies progression phase rules that gate side-effects and enforce checkpoint actions before modifying files.

Do I need to pre-load any dependencies to generate risk mitigation guards for my plans?

No external dependencies are required, but the system needs to load guard-catalog and scan-protocol references. These sidecar references provide the data necessary for just-in-time guard generation while keeping logic out of the skill itself.

Why do generic AI agent warnings fail to prevent unsafe actions in complex workflows?

Generic warnings fail because they lack context-specific gating tied to your project's unique risks. Context-aware harness guards solve this by scanning rule indices and risk tables to produce plan-specific, constraint-specific safety barriers.