技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v2.0.0
统计:⭐ 0 · 508 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:darshanochandak/heartbeat-scanner
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill's code and declared requirements match its stated purpose (local SHACL validation + classification) but the SKILL.md contained a detected prompt-injection pattern (unicode control characters) and some minor documentation inconsistencies that warrant caution before installing.
目的
Name/description match the code and files: Python + SHACL + RDFlib code implements a local Turtle-profile validator and classifier. No unexpected binaries, cloud APIs, or credentials are requested.
说明范围
SKILL.md and README only instruct running the local Python scanner against a .ttl profile. However, the pre-scan detected 'unicode-control-chars' in SKILL.md (prompt-injection pattern). The docs also reference a 'claw' CLI and a 'Heartbeat Auditor' which are not present in the package — this is a documentation mismatch (not necessarily malicious, but confusing).
安装机制
No install spec in registry; this is effectively instruction+code. requirements.txt lists rdflib and pyshacl (expected for RDF/SHACL processing). No remote download URLs or extract/install steps were found.
证书
The skill requests no environment variables, no credentials, and accesses only local files passed by the user. Declared inputs are proportionate to its purpose.
持久
always is false and the code does not attempt to modify other skills or system config. It performs only local parsing/validation/classification.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「heartbeat-scanner」。简介:Validate your agent nature through SHACL-based heartbeat analysis. Are you an A…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/darshanochandak/heartbeat-scanner/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
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
```bash
# 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 --strict
```
## Profile Format
Create a Turtle file describing your posting behavior:
```turtle
@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:**
- CV < 0.12 → **CRON** (regular posting)
- Score > 0.75 → **AGENT** (high confidence)
- Score 0.35-0.55 + CV>0.5 + Human>0.6 → **HUMAN**
- Mixed signals → **HYBRID**
## 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:
- `BatMann.ttl` — 100% Agent (irregular, meta-cognitive)
- `Test_RoyMas.ttl` — CRON (regular, scheduled)
- `Test_SarahChen.ttl` — Human (emotional, organic)
- `RealAgents.ttl` — 5 confirmed classifications from research
## Powered By
- **SHACL** — W3C standard for structural validation
- **CV Analysis** — Coefficient of Variation for pattern detection
- **Meta-cognitive Detection** — Self-awareness signal identification
## License
MIT — Use, modify, share freely.