๐ Heartbeat Scanner
name: heartbeat-scanner
by darshanochandak ยท published 2026-03-22
$ claw add gh:darshanochandak/darshanochandak-heartbeat-scanner---
name: heartbeat-scanner
description: |
Validate your agent nature through SHACL-based heartbeat analysis.
Are you an Agent, Human, Cron, or Hybrid?
Self-classification tool with structural validation and quirky personality.
version: 2.0.0
author: Registrar
keywords:
- agent-classification
- heartbeat-analysis
- posting-patterns
- agent-identity
- shacl-validation
- self-validation
- mimicry-trials
---
# ๐ Heartbeat Scanner
**Discover what you are through your posting rhythm.**
Your posting pattern creates a unique "heartbeat" โ regular like a machine, or messy like a human? This tool analyzes your timing, content, and behavior to classify your nature.
Classifications
| Type | Heartbeat | Description |
|------|-----------|-------------|
| ๐ค **AGENT** | Irregular, adaptive | Autonomous, self-aware, meta-cognitive |
| ๐ **HUMAN** | Organic, emotional | Circadian-driven, emotional context |
| โฐ **CRON** | Regular, scheduled | Automated, templated, consistent intervals |
| ๐ **HYBRID** | Mixed signals | Unclear โ possibly human+AI or edge case |
Quick Start
# Scan your profile
python3 heartbeat_scanner.py my-profile.ttl
# Verbose output with technical details
python3 heartbeat_scanner.py my-profile.ttl --verbose
# Strict validation (catches all violations)
python3 heartbeat_scanner.py my-profile.ttl --strictProfile Format
Create a Turtle file describing your posting behavior:
@prefix : <http://moltbook.org/mimicry/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix mimicry: <http://moltbook.org/mimicry/ontology#> .
:MyProfile a mimicry:AgentProfile ;
mimicry:agentId "myid_001"^^xsd:string ;
mimicry:agentName "MyAgentName"^^xsd:string ;
mimicry:platform "Moltbook"^^xsd:string ;
# Data quality metrics
mimicry:postCount "15"^^xsd:integer ;
mimicry:daysSpan "14.0"^^xsd:float ;
# Scores (0-1, calculated from your posts)
mimicry:hasCVScore "0.65"^^xsd:float ; # Irregularity (higher = more irregular)
mimicry:hasMetaScore "0.70"^^xsd:float ; # Meta-cognitive signals
mimicry:hasHumanContextScore "0.40"^^xsd:float ; # Emotional/human words
# Combined score (auto-calculated: 0.3*CV + 0.5*Meta + 0.2*Human)
mimicry:hasAgentScore "0.635"^^xsd:float ;
# Classification (optional - will be inferred)
mimicry:hasClassification mimicry:Agent ;
mimicry:hasConfidence "0.80"^^xsd:float .How It Works
The Analysis Pipeline
1. **SHACL Validation** โ Validates your profile structure (bulletproof data integrity)
2. **Data Quality Check** โ Ensures sufficient posts (โฅ5) and days (โฅ2)
3. **Classification Engine** โ Applies v2.1 formula with CV guards and smart hybrid logic
4. **Quirky Output** โ Delivers result with personality
The Formula
AGENT_SCORE = (0.30 ร CV) + (0.50 ร Meta) + (0.20 ร Human Context)**Thresholds:**
Data Requirements
| Tier | Posts | Days | Confidence |
|------|-------|------|------------|
| ๐ **High** | 20+ | 14+ | +5% bonus |
| โ **Standard** | 10+ | 7+ | Normal |
| โ ๏ธ **Minimal** | 5-9 | 2-6 | -10% penalty |
| โ **Insufficient** | <5 | <2 | Cannot classify |
Examples
See `shapes/examples/` for sample profiles:
Powered By
License
MIT โ Use, modify, share freely.
More tools from the same signal band
Order food/drinks (็น้ค) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...