Xpersona
S

self-improving-robotics

CLAWHUB · Unverified

Captures robotics autonomy failures, operational incidents, and engineering learnings to enable continuous improvement across perception, localization, planning, control, simulation, safety, and hardware integration. Use when: (1) Robot fails to localize in dynamic environment, (2) Planner fails in narrow passage or obstacle-rich scene, (3) Oscillatory control behavior or unstable PID tuning appears, (4) Sensor desync occurs (camera-lidar-imu timestamp mismatch), (5) Hardware driver drops packets or CAN timeout occurs, (6) Safety stop or emergency brake triggers unexpectedly, (7) Simulation succeeds but real robot fails, (8) Thermal throttling, battery sag, or power brownout appears. Skill: self-improving-robotics Owner: jose-compu Summary: Captures robotics autonomy failures, operational incidents, and engineering learnings to enable continuous improvement across perception, localization, planning, control, simulation, safety, and hardware integration. Use when: (1) Robot fails to localize in dynamic environment, (2) Planner fails in narrow passage or obstacle-rich scene, (3) Oscillatory control

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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 s17bzpdy0evfmqz6nx069npr3n84p7f2:self-improving-robotics
  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-jose-compu-self-improving-robotics/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

145,224 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: self-improving-robotics
description: "Captures robotics autonomy failures, operational incidents, and engineering learnings to enable continuous improvement across perception, localization, planning, control, simulation, safety, and hardware integration. Use when: (1) Robot fails to localize in dynamic environment, (2) Planner fails in narrow passage or obstacle-rich scene, (3) Oscillatory control behavior or unstable PID tuning appears, (4) Sensor desync occurs (camera-lidar-imu timestamp mismatch), (5) Hardware driver drops packets or CAN timeout occurs, (6) Safety stop or emergency brake triggers unexpectedly, (7) Simulation succeeds but real robot fails, (8) Thermal throttling, battery sag, or power brownout appears."
---

# Self-Improving Robotics Skill

Log robotics-specific learnings, incidents, and feature requests to markdown files for continuous improvement. This skill captures localization drift, planning failures, control instability, sensor fusion issues, hardware interface faults, safety boundary violations, sim-to-real gaps, and power/thermal constraints.

Important learnings get promoted to durable operational artifacts:
- Safety checklists
- Calibration playbooks
- Tuning runbooks
- Robotics sections in `SOUL.md`, `AGENTS.md`, and `TOOLS.md`

## First-Use Initialisation

Before logging anything, ensure the `.learnings/` directory and files exist in the project or workspace root. If any are missing, create them:

```bash
mkdir -p .learnings
[ -f .learnings/LEARNINGS.md ] || printf "# Robotics Learnings\n\nLocalization drift events, planning failures, control instabilities, sensor fusion errors, hardware interface issues, safety boundary violations, sim-to-real gaps, and power/thermal constraints captured during robotics engineering work.\n\n**Categories**: localization_drift | planning_failure | control_instability | sensor_fusion_error | hardware_interface_issue | safety_boundary_violation | sim_to_real_gap | power_thermal_constraint\n**Areas**: perception | localization | mapping | planning | control | manipulation | navigation | safety | simulation | hardware_integration\n\n---\n" > .learnings/LEARNINGS.md
[ -f .learnings/ROBOTICS_ISSUES.md ] || printf "# Robotics Issues Log\n\nRecurring robotics failures, autonomy incidents, and subsystem-level defects.\n\n---\n" > .learnings/ROBOTICS_ISSUES.md
[ -f .learnings/FEATURE_REQUESTS.md ] || printf "# Feature Requests\n\nRobotics tooling, automation, and autonomy capability requests.\n\n---\n" > .learnings/FEATURE_REQUESTS.md
```

Never overwrite existing files. This is a no-op if `.learnings/` is already initialised.

Do not log secrets, private keys, or sensitive infrastructure endpoints. Prefer redacted excerpts for logs, telemetry, and stack traces.

If you want automatic reminders, use the opt-in hook workflow described in [Hook Integration](#hook-integration).

## Quick Reference

| Situation | Action |
|-----------|--------|
| Robot fails to localize in dynamic envir

_meta.json

{
  "ownerId": "kn78jat5kd20evgyxzp9dmryax84qap0",
  "slug": "self-improving-robotics",
  "version": "1.1.2",
  "publishedAt": 1790688928625
}

references/examples.md

# Entry Examples

Concrete examples of well-formatted robotics entries with full metadata.

## Learning: Localization Drift in Dynamic Environment

```markdown
## [LRN-20250415-001] localization_drift

**Logged**: 2025-04-15T10:30:00Z
**Priority**: high
**Status**: pending
**Area**: localization

### Summary
Robot loses localization confidence in crowded aisle transitions where moving humans dominate lidar returns

### Details
In warehouse aisle transitions, AMCL particle spread grows quickly when dynamic obstacles obscure static map features.
Localization covariance spikes from 0.03 m to 0.42 m within 6 seconds and planner oscillates between paths.
Failure reproduces in shift-change windows with high pedestrian traffic.

### Suggested Action
Enable dynamic object filtering for localization input, increase recovery behavior threshold, and gate global replans when covariance exceeds safety bound.

### Metadata
- Source: field_test
- Platform: differential_drive_base_v3
- Related Files: config/localization/amcl.yaml, launch/nav_stack.launch.py
- Tags: localization, amcl, dynamic-environment, covariance
- Pattern-Key: localization_drift.dynamic_aisle

---
```

## Robotics Issue: Planner Failure in Narrow Passage

```markdown
## [ROB-20250415-001] narrow_passage_planner_failure

**Logged**: 2025-04-15T11:10:00Z
**Priority**: high
**Status**: pending
**Area**: planning

### Summary
Planner repeatedly fails to produce feasible trajectory through narrow service corridor

### Error Output
```
[planner_server]: planner failed: no valid path found
[behavior_tree]: recovery count exceeded; aborting mission segment
```

### Root Cause
Inflation radius and footprint padding consume corridor width; effective free space < minimum turning envelope.
Costmap update lag during obstacle-rich scene causes stale obstacle cells.

### Fix
Reduce inflation radius for corridor profile, switch to narrow-passage profile, and trigger constrained-path planner fallback.

### Prevention
- Add corridor benchmark in simulation CI
- Validate footprint/inflation consistency during map updates
- Add runtime monitor for repeated planner recovery loops

### Context
- Trigger: field_test
- Environment: hospital basement corridor
- Mission Segment: station_B_to_station_C

### Metadata
- Reproducible: yes
- Related Files: config/planning/local_costmap.yaml, config/planning/planner_profiles.yaml
- See Also: LRN-20250418-002

---
```

## Robotics Issue: Oscillatory Control Behavior

```markdown
## [ROB-20250415-002] heading_control_oscillation

**Logged**: 2025-04-15T14:00:00Z
**Priority**: critical
**Status**: in_progress
**Area**: control

### Summary
Heading controller exhibits 2.8 Hz oscillation during low-speed docking approach

### Error Output
```
controller: heading_error alternates +/-0.19 rad
cmd_vel.angular.z saturating at +/-0.75 rad/s
watchdog warning: repeated velocity saturation
```

### Root Cause
PID derivative term amplifies quantization noise from low-rate yaw estimate a

references/hooks-setup.md

# Hook Setup Guide

Configure automatic robotics self-improvement triggers for AI coding agents.

## Overview

Hooks enable proactive robotics-pattern capture by injecting reminders at key moments:
- **UserPromptSubmit**: Reminder after matching prompts to evaluate robotics learnings
- **PostToolUse (Bash)**: Error detection when autonomy, telemetry, or hardware diagnostics surface failures

## Claude Code Setup

### Option 1: Project-Level Configuration

Create `.claude/settings.json` in your project root:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "robot|localization|planner|control|safety|sensor|lidar|imu|thermal",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-robotics/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

### Option 2: User-Level Configuration (discouraged)

Do **not** install this hook globally. User-level hooks persist across all repositories and sessions. Keep hooks project-scoped. The example below is shown only so you can recognize and remove it:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "robot|localization|planner|control|safety|sensor|lidar|imu|thermal",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/skills/self-improving-robotics/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

### Minimal Setup (Activator Only)

For lower overhead, use only the UserPromptSubmit hook:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "robot|localization|planner|control|safety|sensor|lidar|imu|thermal",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-robotics/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

## Codex CLI Setup

Codex uses the same hook system. Create `.codex/settings.json`:

```json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "robot|localization|planner|control|safety|sensor|lidar|imu|thermal",
        "hooks": [
          {
            "type": "command",
            "command": "./skills/self-improving-robotics/scripts/activator.sh"
          }
        ]
      }
    ]
  }
}
```

## GitHub Copilot Setup

Copilot does not support hooks. Add guidance to `.github/copilot-instructions.md`:

```markdown
## Robotics Self-Improvement

After diagnosing autonomy or hardware issues, consider logging to `.learnings/`:
- Robotics incidents and failures → ROBOTICS_ISSUES.md
- Root-cause autonomy learnings → LEARNINGS.md
- Tooling/capability requests → FEATURE_REQUESTS.md

Promote recurring patterns to safety checklist, calibration playbook, or tuning runbook.
```

## Verification

### Test Activator Hook

1. Enable the hook configuration
2. Start a new Claude Code session
3. Send a prompt that matches the domain matcher
4. Verify you see `<robotics-self-improvement-reminder>` in the context

references/openclaw-integration.md

# OpenClaw Integration

Complete setup and usage guide for integrating the `self-improving-robotics` skill with OpenClaw.

## Overview

OpenClaw uses workspace-based prompt injection combined with event-driven hooks. Context is injected from workspace files at session start, and hooks can trigger on lifecycle events.

## Workspace Structure

```
~/.openclaw/
├── workspace/                   # Working directory
│   ├── AGENTS.md               # Multi-agent coordination patterns
│   ├── SOUL.md                 # Behavioral guidelines and personality
│   ├── TOOLS.md                # Tool capabilities and gotchas
│   ├── MEMORY.md               # Long-term memory (main session only)
│   └── memory/                 # Daily memory files
│       └── YYYY-MM-DD.md
├── skills/                      # Installed skills
│   └── self-improving-robotics/
│       └── SKILL.md
└── hooks/                       # Custom hooks
    └── self-improving-robotics/
        ├── HOOK.md
        └── handler.ts
```

## Quick Setup

### 1. Install the Skill

```bash
clawdhub install self-improving-robotics
```

Or clone manually:

```bash
git clone https://github.com/jose-compu/self-improving-robotics.git ~/.openclaw/skills/self-improving-robotics
```

### 2. Install the Hook (Optional)

```bash
mkdir -p .openclaw/hooks
cp -r hooks/openclaw .openclaw/hooks/self-improving-robotics
```

### 3. Create Learning Files

```bash
mkdir -p ~/.openclaw/workspace/.learnings
```

Then initialize:
- `LEARNINGS.md` - domain learnings and patterns
- `ROBOTICS_ISSUES.md` - concrete failures/incidents
- `FEATURE_REQUESTS.md` - tooling and capability requests

## Promotion Targets (Robotics-Specific)

When robotics learnings prove broadly applicable, promote them to durable docs:

| Learning Type | Promote To | Example |
|---------------|------------|---------|
| Safety-critical failure patterns | Safety checklist | "Always verify estop state transitions before motion enable" |
| Calibration and sync workflows | Calibration playbook | "Camera-lidar extrinsic and timestamp validation sequence" |
| Stable tuning procedures | Tuning runbook | "PID retuning order under payload change" |
| Multi-agent operations workflow | `AGENTS.md` | "Split sim validation and field validation across agents" |
| Behavioral guardrails | `SOUL.md` | "Never bypass safety interlocks for rapid testing" |
| Tool and telemetry integration | `TOOLS.md` | "Always export synchronized clocks for replay analysis" |

### Promotion Decision Tree

```
Is it safety-critical or risk-reducing?
├── Yes -> Promote to safety checklist first
└── No -> Is it calibration or synchronization process?
    ├── Yes -> Promote to calibration playbook
    └── No -> Is it controller/planner tuning guidance?
        ├── Yes -> Promote to tuning runbook
        └── No -> Is it an agent workflow/tool rule?
            ├── Yes -> Promote to AGENTS.md / TOOLS.md / SOUL.md
            └── No -> Keep in .learnings until recurrence confirms
```

## Rob

Sponsored

Ads related to self-improving-robotics and adjacent AI workflows.