Xpersona
C

Constraint Engine

CLAWHUB · Unverified

Learn from consequences, not instructions — generate and enforce constraints from experience Skill: Constraint Engine Owner: leegitw Summary: Learn from consequences, not instructions — generate and enforce constraints from experience Tags: agentic:1.3.1, circuit-breaker:1.3.1, constraint:1.2.0, enforcement:1.3.1, guardrails:1.3.1, latest:1.3.1, lifecycle:1.2.0, prevention:1.3.1, rules:1.3.1, self-improving:1.3.1, validation:1.3.1 Version history: v1.3.1 | 2026-03-25T20:55:05.352Z | auto - Author email updat

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179srg0a58h1v79wy2w7g9ymh83jxhd:constraint-engine
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-leegitw-constraint-engine/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

63,804 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: constraint-engine
version: 1.3.0
description: Learn from consequences, not instructions — generate and enforce constraints from experience
author: Live Neon <hello@liveneon.ai>
homepage: https://github.com/live-neon/skills/tree/main/agentic/constraint-engine
repository: leegitw/constraint-engine
license: MIT
tags: [agentic, guardrails, enforcement, rules, circuit-breaker, self-improving, prevention, validation]
layer: core
status: active
alias: ce
metadata:
  openclaw:
    requires:
      config:
        - .openclaw/constraint-engine.yaml
        - .claude/constraint-engine.yaml
      workspace:
        - output/constraints/
        - output/hooks/
---

# constraint-engine (制約)

Unified skill for constraint generation, pre-action checking, circuit breaker management,
and constraint lifecycle. Consolidates 7 granular skills into a single enforcement system.

**Trigger**: 行動前∨閾値到達 (pre-action or threshold reached)

**Source skills**: constraint-generator, circuit-breaker, emergency-override, constraint-lifecycle, constraint-versioning, positive-framer (partial), contextual-injection (partial)

## Installation

```bash
openclaw install leegitw/constraint-engine
```

**Dependencies**: `leegitw/failure-memory` (for eligibility data)

```bash
# Install with dependencies
openclaw install leegitw/context-verifier
openclaw install leegitw/failure-memory
openclaw install leegitw/constraint-engine
```

**Standalone usage**: Requires failure-memory for constraint generation from observations.
For full lifecycle management, install the complete suite (see [Neon Agentic Suite](../README.md)).

**Data handling**: This skill operates within your agent's trust boundary. When triggered,
it uses your agent's configured model for constraint checking and generation. No external APIs
or third-party services are called. Results are written to `output/constraints/` in your workspace.

## What This Solves

Instructions get ignored. Rules get forgotten. Documentation goes unread. This skill takes a different approach — constraints generated from actual failures:

1. **Generate constraints** from observations that meet the eligibility threshold (`R≥3 ∧ C≥2`)
2. **Enforce constraints** at runtime with a circuit breaker (CLOSED → OPEN → HALF-OPEN)
3. **Manage lifecycle** from proposal through adoption to retirement

**The insight**: A constraint born from "this actually broke" carries more weight than "this might break." Consequences teach better than instructions.

## Usage

```
/ce <sub-command> [arguments]
```

## Sub-Commands

| Command | CJK | Logic | Trigger |
|---------|-----|-------|---------|
| `/ce check` | 検査 | action→constraints[]→pass∨block | Next Steps (auto) |
| `/ce generate` | 生成 | eligible(obs)→constraint | Next Steps (auto) |
| `/ce status` | 状態 | active[], circuit∈{CLOSED,OPEN,HALF} | Explicit |
| `/ce override` | 上書 | constraint→bypass(temp), audit.log++ | Explicit |
| `/ce lifecycle` | 周期 | state∈{draft→active→retiring→retired} | Explicit |
| 

_meta.json

{
  "ownerId": "kn709ajvpej12sahm1ay1262qs80ehps",
  "slug": "constraint-engine",
  "version": "1.3.1",
  "publishedAt": 1774472105352
}

skill-card.md

## Description:

Learn from consequences, not instructions -- generate and enforce constraints from experience.

This skill is ready for commercial/non-commercial use.

## Publisher:

[leegitw](https://clawhub.ai/user/leegitw)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill to generate, check, override, and manage workspace constraints derived from repeated failure observations. It supports local guardrails, circuit breaker status, and constraint lifecycle workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can automatically check or block agent actions and create local constraints that affect future workflow behavior.

Mitigation: Review generated constraints before activating them, use overrides deliberately, and confirm the thresholds match the workspace's risk tolerance.

Risk: The skill writes local constraint files and audit logs under output/constraints/ and output/hooks/.

Mitigation: Keep those workspace paths under normal access controls and review generated files before sharing the workspace.

Risk: Constraint generation depends on observation data from the failure-memory skill.

Mitigation: Install the declared dependency when generation is needed and pin dependencies where stronger supply-chain controls are required.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/leegitw/skills/constraint-engine)
- [Publisher Profile](https://clawhub.ai/user/leegitw)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown-like text with command examples, status output, and local file paths]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May generate or update local constraint files under output/constraints/ and audit logs under output/hooks/ when used by an agent.]

## Skill Version(s):

1.3.1 (source: server release evidence; artifact frontmatter lists 1.3.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Constraint Engine and adjacent AI workflows.