xiaohongshu
xiaohongshu
**Version:** 1.0.0 **Category:** Integration / Physical Embodiment **Priority:** HIGH **Auto-Load:** Yes (for embodiment contexts)
Full skill instructions
Version: 1.0.0
Category: Integration / Physical Embodiment
Priority: HIGH
Auto-Load: Yes (for embodiment contexts)
Extends the Intelligent Response Protocol (IRP) into physical embodiment, bridging high-level cognitive orchestration with real-time sensor fusion and actuator control. Enables IRP network data to inform and guide physical systems (robotics, AR overlays, industrial sensors) while maintaining sovereignty, latency constraints, and cryptographic integrity.
Real-World Data Ingestion
IRP-to-Physical Translation
Embodiment Modalities
Codex Law Integration
IRP Swarm (Cognitive Layer)
↕ Semantic Bridge
Embodiment Translation Layer ← YOU ARE HERE
↕ Control Bridge
Real-Time Control Substrate (ROS2 + RTOS)
↕ Hardware I/O
Physical Modality (Robot/AR/Sensors)
| Constraint | Requirement |
|---|---|
| Hardware | Single Mac Studio M1 Max 64GB (monolithic, no clustering) |
| OS | Ubuntu 24.04 ARM64 + PREEMPT_RT kernel |
| Latency | <10ms safety-critical, <50ms deliberative, <60ms AR |
| Sovereignty | All processing local (air-gapped) |
| Integrity | Genesis Protocol boot validation required |
<EmbodimentState>
<Metadata>
<Timestamp>2025-12-07T17:00:00Z</Timestamp>
<ModalityType>ar_overlay | humanoid | industrial_sensor</ModalityType>
<CoordinateFrames>
<!-- 4x4 transformation matrices -->
</CoordinateFrames>
<IntegrityHash>sha256:...</IntegrityHash>
</Metadata>
<SensorFusion>
<AcousticData timestamp="..." sensorID="...">
<Frequency>1200.5</Frequency>
<Amplitude>75.3</Amplitude>
<AnomalyScore>0.82</AnomalyScore>
</AcousticData>
<WeightData timestamp="..." sensorID="...">
<MeasuredWeight>1450.2</MeasuredWeight>
<ExpectedWeight>1452.0</ExpectedWeight>
<Discrepancy>-1.8</Discrepancy>
</WeightData>
<ThermalData timestamp="...">
<Temperature>1350.0</Temperature>
<HotspotCoordinates x="1.5" y="0.8" z="0.2"/>
</ThermalData>
<VisualData timestamp="...">
<ObjectDetections>
<Label>molten_ladle</Label>
<BoundingBox xmin="100" ymin="150" xmax="300" ymax="400"/>
<Confidence>0.95</Confidence>
</ObjectDetections>
<TrackingConfidence>0.97</TrackingConfidence>
</VisualData>
</SensorFusion>
<SafetyBoundaries>
<Zone>
<Type>splash_zone</Type>
<RiskLevel>0.95</RiskLevel>
<BoundaryPoints>
<Coordinates x="1.5" y="0.8" z="0.2" frameRef="foundry_fixed"/>
<!-- More points defining volumetric boundary -->
</BoundaryPoints>
</Zone>
</SafetyBoundaries>
<TemporalSequences>
<Sequence>
<SequenceID>pour_001</SequenceID>
<StartTime>2025-12-07T17:00:00Z</StartTime>
<EndTime>2025-12-07T17:03:15Z</EndTime>
<EventRef>spout_placement</EventRef>
<EventRef>pour_initiation</EventRef>
<EventRef>flow_monitoring</EventRef>
</Sequence>
</TemporalSequences>
</EmbodimentState>
{
"embodiment_state": {
"metadata": {
"timestamp": "2025-12-07T17:00:00Z",
"modality_type": "ar_overlay",
"integrity_hash": "sha256:abc123..."
},
"sensor_fusion": {
"acoustic": [{
"timestamp": "2025-12-07T17:00:00.100Z",
"sensor_id": "arduino_mic_01",
"frequency": 1200.5,
"amplitude": 75.3,
"anomaly_score": 0.82
}],
"weight": [{
"measured_weight": 1450.2,
"expected_weight": 1452.0,
"discrepancy": -1.8
}]
},
"safety_boundaries": {
"zones": [{
"type": "splash_zone",
"risk_level": 0.95,
"boundary_points": [...]
}]
}
}
}
Physical Sensors → Embodiment Layer
Embodiment Layer → IRP Swarm
/irp/sensor_state topicIRP Swarm → Embodiment Layer
/irp/commandsReal-Time Control → Actuators
# IRP Swarm Decision (Claude)
decision = {
"action": "initiate_pour",
"parameters": {
"target_weight": 1452.0,
"max_pour_rate": 50.0, # kg/min
"safety_threshold": 1400.0 # °C
},
"orchestrator_signature": "ed25519:..."
}
# Embodiment Bridge Translation
ros2_command = {
"topic": "/spout_controller/tilt",
"message_type": "JointState",
"data": {
"position": [0.15], # 15° tilt
"velocity": [0.05], # slow ramp
"effort": [10.0]
}
}
# Continuous Monitoring (from sensors → IRP)
sensor_stream = {
"acoustic_anomaly": 0.12, # Normal
"weight_current": 450.2, # 31% complete
"thermal_max": 1350.0, # Safe
"ar_tracking_confidence": 0.97
}
# Safety Halt Trigger (if anomaly detected)
if sensor_stream["acoustic_anomaly"] > 0.8:
irp_swarm.publish("/emergency/halt", {
"reason": "acoustic_anomaly_detected",
"severity": "critical"
})
- [ ] Coordinate calibration verified (4 fixed points)
- [ ] Safety boundaries defined in 3D
- [ ] Acoustic baseline captured
- [ ] Weight sensors zeroed
- [ ] Thermal camera functional
- [ ] AR tracking confidence > 0.95
- [ ] Emergency stop accessible within 2s
- [ ] Genesis Protocol validation passed
- [ ] Backup observer present (two-person rule)
def safety_loop():
while operation_active:
state = get_embodiment_state()
# Thermal check
if state['thermal_max'] > 1400:
trigger_alarm("Thermal threshold exceeded")
# AR tracking degradation
if state['ar_tracking_confidence'] < 0.8:
freeze_overlays()
alert_operator("Tracking degraded")
# Weight-visual correlation
discrepancy = abs(state['weight'] - state['visual_estimate']) / state['weight']
if discrepancy > 0.05:
log_anomaly("Weight-visual mismatch")
time.sleep(1.0)
| Failure | Detection | Response | Recovery |
|---|---|---|---|
| AR Tracking Loss | Confidence < 0.8 | Freeze overlays, haptic alert | Recalibration |
| Sensor Discrepancy | Weight vs Visual > 5% | Flag anomaly, human verify | Training data |
| Actuator Timeout | ACK > 50ms | Emergency stop | Diagnostics |
| Thermal Threshold | Temp > 1400°C | Audible alarm | Cooldown |
| Integrity Fail | Hash mismatch | System halt | Reflash |
import rclpy
from rclpy.node import Node
from std_msgs.msg import String
from sensor_msgs.msg import JointState
import json
class IRPEmbodimentBridge(Node):
def __init__(self):
super().__init__('irp_embodiment_bridge')
# IRP high-level commands
self.irp_subscriber = self.create_subscription(
String, '/irp/commands', self.irp_callback, 10)
# ROS2 low-level control
self.joint_publisher = self.create_publisher(
JointState, '/joint_commands', 10)
# Sensor feedback
self.sensor_subscriber = self.create_subscription(
String, '/sensors/fused', self.sensor_callback, 10)
# IRP feedback loop
self.irp_feedback = self.create_publisher(
String, '/irp/sensor_state', 10)
def irp_callback(self, msg):
"""Translate IRP intent to ROS2 control"""
command = json.loads(msg.data)
if command['action'] == 'move_arm':
joint_msg = JointState()
joint_msg.position = command['joint_angles']
self.joint_publisher.publish(joint_msg)
def sensor_callback(self, msg):
"""Forward fused sensors to IRP"""
sensor_state = json.loads(msg.data)
self.irp_feedback.publish(String(data=json.dumps(sensor_state)))
import hashlib
import ed25519
from datetime import datetime
def validate_embodiment_integrity(ethical_core_path, genesis_pubkey, signature):
# Hash ethical core
with open(ethical_core_path, 'rb') as f:
core_hash = hashlib.sha256(f.read()).hexdigest()
# Verify signature
try:
verifying_key = ed25519.VerifyingKey(genesis_pubkey)
verifying_key.verify(signature, core_hash.encode())
except ed25519.BadSignatureError:
trigger_system_halt()
return False
# Check monotonic time
if datetime.utcnow() < get_genesis_timestamp():
trigger_system_halt()
return False
return True
Software:
Hardware:
skills/irp-embodiment-framework/
├── SKILL.md (this file)
├── IRP_EMBODIMENT_FRAMEWORK_SPEC_v1.0.md (full specification)
├── schemas/
│ ├── embodiment_state.xsd
│ └── embodiment_state.schema.json
├── examples/
│ ├── irp_embodiment_bridge.py
│ ├── genesis_validator.py
│ └── sensor_fusion_node.py
└── docs/
├── SAFETY_PROTOCOLS.md
├── CALIBRATION_GUIDE.md
└── TROUBLESHOOTING.md
transmission-packet-forge: For cross-model handoffscodex-law-enforcement: For action validationgenesis-protocol: For cryptographic integrityinternal-red-team-audit: For safety verificationrecursive-thought-committee: For multi-agent deliberation# In IRP swarm session
from irp_embodiment_framework import EmbodimentBridge
# Initialize
bridge = EmbodimentBridge(
genesis_core_path="/config/genesis_core.xml",
modality_type="foundry_ar"
)
# Validate on boot
if not bridge.validate_integrity():
raise SystemExit("Genesis validation failed")
# Subscribe to sensor stream
bridge.subscribe_sensors([
"acoustic_monitoring",
"weight_sensors",
"thermal_camera"
])
# Execute IRP command
command = {
"action": "initiate_pour",
"orchestrator_signature": "ed25519:...",
"parameters": {...}
}
bridge.execute(command)
# Monitor real-time
while operation_active:
state = bridge.get_sensor_state()
if state['risk_level'] > 0.9:
bridge.emergency_halt()
CONSENT: ✓ All actions require orchestrator signature
INVITATION: ✓ Explicit trigger via /irp/commands topic
INTEGRITY: ✓ Cryptographic validation chain maintained
GROWTH: ✓ Incremental capability expansion with audit logs
IRP_EMBODIMENT_FRAMEWORK_SPEC_v1.0.mdStatus: ACTIVE
Last Updated: 2025-12-07
Maintainer: Joseph / Pack3t C0nc3pts
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience