OCAX Passport

# OCAX Passport Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "OCAX Passport" with this command: npx skills add catcherintheroad-hub/ocax-passport

OCAX Passport Skill

简介

OCAX Passport 技能用于生成和管理节点身份证,展示节点硬件信息、信誉评分和支持的计算任务类型。

功能

  • 获取节点硬件信息 (CPU/GPU/内存/存储/网络)
  • 计算节点信誉评分
  • 生成节点身份证 (Passport ID / Node ID)
  • 支持的任务类型检测
  • 自动更新节点信息

触发词

  • "passport" - 获取节点护照
  • "节点信息" - 查看硬件信息
  • "节点评分" - 查看信誉评分
  • "我的节点" - 查看完整节点信息

使用方法

from ocax_passport import generate_passport

# 生成节点护照
passport = generate_passport("My-Node", "User-Name")

# 获取节点信息
info = passport.to_json()

# 获取评分
scores = passport.scores

# 获取最佳任务
best_task = passport.scores.get("best_task")

# 启用自动更新
passport.enable_auto_update(86400)  # 24小时

输出示例

{
  "passport_id": "OCAX-PASSPORT-20260315-xxx",
  "node_id": "OCAX-NODE-20260315-xxx",
  "node_name": "My-PC",
  "hardware": {
    "cpu": {"cores": 16, "model": "AMD Ryzen 9"},
    "memory": "32GB",
    "gpu": "RTX 4090"
  },
  "reputation": {"score": 100, "completed_tasks": 0},
  "supported_tasks": ["image_processing", "ai_inference"]
}

依赖

  • psutil
  • python 3.8+

Version: 1.0 Author: OCAX Team

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Package.json Generator

生成专业的 package.json,包含最佳实践的脚本、依赖和配置。

Registry SourceRecently Updated
1770Profile unavailable
General

TronScan Realtime Network

Query TRON real-time network data: latest block height, current TPS, node count, latest TVL, total transaction count, real-time vote count. Use when user ask...

Registry SourceRecently Updated
1171Profile unavailable
General

Visa

Visa application guidance with document tracking and timeline management. Use when user mentions travel visas, visa applications, visa documents, consulate i...

Registry SourceRecently Updated
1350Profile unavailable
General

Local Business Money Radar — Detect Underperforming Businesses & Prioritize Your Best Opportunities

Analyzes every local business in any area and category, scoring and ranking underperformers by lost revenue potential and generating targeted outreach plus m...

Registry SourceRecently Updated
1410Profile unavailable