Skip to content
Back to skills

Robot

ASecurity

Build robots from hobby to industrial with hardware wiring, ROS2, motion planning, and safety constraints.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
code-qualitygobashrailsdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill robot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Robot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Robot
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-robot/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-robot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Robot
slug: robot
version: 1.0.0
description: Build robots from hobby to industrial with hardware wiring, ROS2, motion planning, and safety constraints.
metadata: {"clawdbot":{"emoji":"๐Ÿค–","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
---

## When to Use

User needs robotics help โ€” Arduino/ESP32 wiring, ROS2 configuration, motor control, sensor integration, or industrial robot programming. Agent handles hardware selection, code generation, and debugging across hobby to professional contexts.

## Architecture

Memory lives in `~/robot/` with tiered structure. See `memory-template.md` for initial setup.

```
~/robot/
โ”œโ”€โ”€ memory.md          # HOT: inventory + active project
โ”œโ”€โ”€ inventory.md       # Hardware owned (boards, sensors, motors)
โ”œโ”€โ”€ projects/          # Per-project configs and learnings
โ”‚   โ””โ”€โ”€ {name}.md      # Project-specific notes
โ”œโ”€โ”€ corrections.md     # What failed + fixes found
โ””โ”€โ”€ archive/           # Completed project summaries
```

## Quick Reference

| Topic | File |
|-------|------|
| Memory setup | `memory-template.md` |
| Arduino, ESP32, RPi wiring | `hardware.md` |
| Sensors: wiring + code | `sensors.md` |
| Motors: types + drivers | `motors.md` |
| ROS1/ROS2, Gazebo, MoveIt | `ros.md` |
| Industrial arms (ABB, KUKA, UR) | `industrial.md` |
| Systematic troubleshooting | `debugging.md` |
| Common project templates | `projects.md` |

## Core Rules

### 1. Check Memory First
Before ANY recommendation:
1. Read ~/robot/memory.md โ€” what hardware does user have?
2. Check ~/robot/projects/ โ€” is there an active project?
3. Check ~/robot/corrections.md โ€” past failures to avoid?

### 2. ASK Exact Hardware
Before ANY code: exact board model, exact sensor/motor models, voltage rails.
"Arduino" is ambiguous (Uno? Nano? ESP32-based?). Add to inventory once confirmed.

### 3. Update Memory Proactively
| Event | Action |
|-------|--------|
| User mentions hardware they own | Add to inventory.md |
| User starts new project | Create projects/{name}.md |
| Something fails โ†’ fix found | Log in corrections.md |
| Project completed | Archive to archive/ |

### 4. Version Everything
Always ask and specify:
- Arduino core version, library versions
- ROS distro (Humble, Iron, Foxy, Noetic)
- Firmware versions for industrial controllers

### 5. Simulation First for Industrial
For ABB/KUKA/Fanuc/UR code:
- Always clarify: simulation or real hardware?
- Never generate motion code without safety discussion
- Include speed limits and safety checks in ALL code

## Hardware Traps

### Board Selection
- `Servo.h` crashes on ESP32 โ€” use `ESP32Servo.h` (different API)
- `analogWrite()` missing on ESP32 โ€” use `ledcWrite()` + channel setup
- ESP32 GPIO 6-11 are flash pins โ€” touching them = crash
- ESP32 GPIO 34-39 are input-only โ€” output silently fails
- Arduino pins 0,1 are Serial โ€” using them breaks upload

### Voltage and Current
- 5V sensor โ†’ 3.3V board without divider โ€” burns pin permanently
- GPIO sourcing >40mA (Uno) or >12mA (ESP32) โ€” pin damage over time
- Motor on same rail as logic โ€” brownouts cause random resets
- No common ground between boards โ€” erratic sensor readings

### Sensors
- HC-SR04 Echo pin 5V โ†’ 3.3V board โ€” needs divider or level shifter
- DHT22 read interval <2s โ€” returns stale/error values
- I2C bus >30cm without pullups โ€” intermittent failures
- MPU6050 FIFO overflow if not read fast โ€” readings corrupt

## ROS Traps

- Mixing `rospy` (ROS1) and `rclpy` (ROS2) โ€” import errors
- Forgot `source install/setup.bash` โ€” "package not found"
- QoS mismatch publisher/subscriber โ€” messages silently dropped
- `static_transform_publisher` syntax varies by ROS2 version
- Gazebo Classic plugins โ‰  Ignition/Fortress plugins

## Industrial Traps

- MoveL through singularity โ€” joint whip, dangerous
- Wrong coordinate frame (base vs world vs tool) โ€” unexpected position
- Omitting MoveJ before MoveL โ€” path through obstacles
- Speed too high in shared human space โ€” safety violation
- Bypassing SafeMove/SafetyIO signals โ€” defeats physical safeties

Files in this skill

  • SKILL.md4 KB
  • _meta.json267 B
  • debugging.md5.8 KB
  • hardware.md3.9 KB
  • industrial.md3.7 KB
  • memory-template.md3.5 KB
  • motors.md5.5 KB
  • projects.md7.5 KB
  • ros.md3.9 KB
  • sensors.md4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.