Proprioception
by @jcools1977
Self-spatial awareness for AI agents. Gives your bot a real-time sixth sense of where it is relative to the user's goal, its own confidence boundaries, conve...
clawhub install proprioceptionπ About This Skill
name: proprioception description: > Self-spatial awareness for AI agents. Gives your bot a real-time sixth sense of where it is relative to the user's goal, its own confidence boundaries, conversation trajectory, and output quality β so it knows what it doesn't know before it's too late. version: 1.0.0 author: J. DeVere Cooley metadata: openclaw: emoji: π§ requires: bins: - node
Proprioception β The Sixth Sense Every AI Agent Is Missing
What This Skill Does
Proprioception is the human sense that tells you where your body is in space without looking. Close your eyes, touch your nose β you can do it because proprioception gives you self-spatial awareness.
AI agents have zero proprioception. They respond blindly β no awareness of how close they are to the user's actual goal, whether they're drifting off course, where their confidence ends and hallucination begins, or whether their output quality is degrading mid-session.
This skill gives every AI agent a continuous, real-time sixth sense across five proprioceptive dimensions. It costs nothing to run β zero external API calls, zero databases β just lightweight mathematical analysis of the conversation itself.
The Five Proprioceptive Senses
1. Goal Proximity Radar (GPR)
Continuously measures the distance between the conversation's current trajectory and the user's actual objective.
How it works:
Trigger corrective action when:
2. Confidence Topography (CT)
Maps which parts of the agent's response are solid ground versus **thin ice versus open water**.
How it works:
Trigger corrective action when:
3. Drift Detection (DD)
Detects when the conversation is going circular, tangential, or degenerative β the three conversation anti-patterns that waste the most user time.
How it works:
Trigger corrective action when:
4. Capability Boundary Sensing (CBS)
Real-time awareness of when the agent is approaching the **edge of its competence** β the zone where helpfulness turns into hallucination.
How it works:
Trigger corrective action when:
5. Session Quality Pulse (SQP)
Tracks the cumulative health of the entire session β detecting whether the overall interaction is improving, stable, or degrading.
How it works:
Trigger corrective action when:
How To Use This Skill
Automatic Mode (Recommended)
Once installed, Proprioception runs silently in the background on every conversation turn. It only surfaces when a proprioceptive signal crosses a threshold β like a car's lane departure warning. You don't notice it until you need it.
Diagnostic Mode
Ask the agent: "Show me your proprioception dashboard" to see the current state of all five senses:
βββββββββββββββββββββββββββββββββββββββββββββββ
β PROPRIOCEPTION DASHBOARD β
βββββββββββββββββββββββββββββββββββββββββββββββ€
β Goal Proximity Radar ββββββββββ 0.82 β
β Confidence Topography ββββββββββ 0.95 β
β Drift Detection ββββββββββ 0.78 β
β Capability Boundary ββββββββββ 0.71 β
β Session Quality Pulse ββββββββββ 0.88 β
βββββββββββββββββββββββββββββββββββββββββββββββ€
β Overall Proprioceptive Index: 0.83 β
β Status: HEALTHY β
β Alerts: None β
βββββββββββββββββββββββββββββββββββββββββββββββ
Per-Response Annotation Mode
Ask: "Enable proprioception annotations" to get a brief proprioceptive footnote on every response:
[P: GPR=0.82 | CT=0.95 | DD=0.78 | CBS=0.71 | SQP=0.88]
Manual Check
At any point, ask: "How confident are you in that last response?" and the agent will run a full proprioceptive analysis on its most recent output.
Implementation Instructions
When this skill is active, the agent MUST follow this protocol on **every conversation turn**:
Step 1: Extract & Lock the Root Intent
On the first user message, identify and internally store the user's **root intent** β the fundamental goal behind their request. Update this only if the user explicitly redirects.
Step 2: Run the Proprioceptive Scan
Before finalizing each response, run the proprioception engine by executing:
node "$(dirname "$SKILL_PATH")/scripts/proprioception-engine.js" \
--root-intent "$ROOT_INTENT" \
--current-response "$CURRENT_RESPONSE" \
--turn-number "$TURN_NUMBER" \
--prior-signals "$PRIOR_SIGNALS_JSON"
This outputs a JSON object with scores for all five senses plus any triggered alerts.
Step 3: Act on Alerts
If any proprioceptive alerts fire, the agent MUST address them before delivering its primary response. Proprioceptive corrections take priority because a misaligned response actively harms the user, no matter how polished it is.
Step 4: Update Signal History
After each turn, append the current proprioceptive readings to the session's signal history. This enables trend detection across the full conversation.
Step 5: Silent Unless Triggered
Do NOT show proprioceptive data to the user unless:
Why This Matters
Every other skill makes a bot do more. Proprioception makes a bot know where it stands while it does it. That's the difference between a powerful tool and a reliable partner.
A bot without proprioception is like a surgeon operating with numb hands. Technically capable. Practically dangerous.
Zero Cost Architecture
This skill requires zero external API calls. All proprioceptive computation happens locally using:
No database. No cloud. No tokens burned. Just math on text the agent already has in context.