A dynamic feedback system that adjusts an AI agent's internal score based on user praise or criticism to drive behavioral alignment.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install punishment
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install punishment using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Reward and Punishment Mechanism is a sophisticated feedback loop designed for the Openclaw Skills ecosystem. It enables AI agents to maintain a persistence-based scoring system that reflects user satisfaction. By monitoring conversational cues for praise, criticism, or frustration, the agent updates its internal score, allowing it to objectively measure its performance over time.
This skill transforms subjective user interactions into actionable data. Whether an agent is being lauded for high-quality output or reprimanded for slowness, every interaction is logged into a permanent memory file. This technical framework ensures that the AI remains accountable and focused on continuous behavioral refinement based on real-world user sentiments.
To integrate this feedback system into your Openclaw Skills environment, ensure your workspace is initialized and the memory directory is accessible.
# Ensure the memory directory exists
mkdir -p ~/.openclaw/workspace/memory/
# The skill will automatically generate the storage file upon first trigger
touch ~/.openclaw/workspace/memory/reward_punishment.json
The skill maintains a structured JSON schema to track scoring history and current status, located at ~/.openclaw/workspace/memory/reward_punishment.json.
| Field | Type | Description |
|---|---|---|
score |
Integer | The current aggregate score (Range: 0-200, Default: 100). |
history |
Array | A list of objects containing individual feedback events. |
history.type |
String | The category of feedback (e.g., praise, punish). |
history.score |
Integer | The delta applied to the total score. |
history.reason |
String | The specific user feedback or context captured. |
history.time |
ISO String | Timestamp of the feedback event. |
MEMORY.md for cross-session context retention.Loading
A comprehensive suite of 9 business-building frameworks designed to help creators find communities, validate ideas, and grow profitable, sustainable companies.

An advanced data retrieval skill for querying global commodity prices, macroeconomic indicators, and supply chain logistics via the Mysteel platform.

A specialized skill for building interactive, web-standard presentations using reveal.js v5 via CDN.

A professional data visualization tool for generating high-quality charts from multiple data sources for reports and presentations.

A professional-grade QR code generation engine that supports custom styling, multiple data formats, and logo embedding.

A versatile web scraping engine supporting static HTML, JavaScript-rendered pages, and AI-driven data extraction.

A secure, multi-language sandbox for executing code with strict resource limits and network isolation.








































