TopRank Skills

Home / Claw Skills / Git / GitHub / local-hub
Official OpenClaw rules 36%

local-hub

本地能力中心。通过 HTTP 调用本机麦克风、摄像头、Ollama、YOLO、Stable Diffusion、TTS/转写、通知、剪贴板、天气、白名单脚本等。当需要「验证是否有声音、拍一张照、用本地模型对话、文生图/图生图、朗读、系统通知、读剪贴板、看图描述、列模型、天气、跑脚本」时使用。需先确保 local_hub 服务已启动(workspace/local_hub/run.sh)。

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 local-hub 技能。 若已安装,则直接安装 local-hub 技能。

Overview

Skill Key
damianleemoha/local-hub
Author
damianleemoha
Source Repo
openclaw/skills
Version
-
Source Path
skills/damianleemoha/local-hub
Latest Commit SHA
b13656ba12c2dbcae8c29166829a9d76458abb77

Extracted Content

SKILL.md excerpt

# Local Hub — 本地能力中心

> **⚠️ 使用前必读**:本 skill 仅包含「调用说明」,不包含服务端代码。实际提供接口的 **local_hub 服务**需在本机单独部署并先启动。服务未启动时,所有 curl 调用会连接失败。
>
> **服务端代码与下载**:  
> - 仓库:<https://github.com/DamianLeeMoha/local_hub>  
> - 直接下载 zip:<https://github.com/DamianLeeMoha/local_hub/releases/download/v1.0.0/local_hub-v1.0.0.zip>  
> 解压后进入目录,创建虚拟环境并安装依赖(`python3 -m venv .venv-hub`、`source .venv-hub/bin/activate`、`pip install -r requirements.txt`),再执行 `./run.sh`。

**这是什么**:一个跑在你本机的 HTTP 服务(默认 `http://127.0.0.1:9000`),把麦克风、摄像头、Ollama、YOLO、Stable Diffusion 等统一成一组 API。Silas 通过 **exec + curl** 调用这些接口,不占用 OpenClaw 的 skill 检索维度,只是「多了一个可调的后端」。

**与其它 skills 的关系**:和 pptx、screen-capture 等**不在同一维度**——其它 skills 是「能力目录里的一条」;local_hub 是**底层服务**。本 skill 只是「调用说明」:告诉 Silas 何时、如何用 curl 去调这个服务。

---

## 前置条件

- **服务必须先启动**(用户或你在本机执行一次):
  ```bash
  cd ~/.openclaw/workspace/local_hub && source .venv-hub/bin/activate && ./run.sh
  ```
- 健康检查(可选):`curl -s http://127.0.0.1:9000/health` 返回 `{"status":"ok",...}` 表示服务在线。

---

## 何时使用

| 需求 | 用哪个接口 | 说明 |
|------|------------|------|
| 验证刚才播放的声音是否被听到 | `POST /audio/check` | 录约 1 秒,返回是否有声音(rms、has_sound) |
| 本机 TTS 朗读一段文字 | `POST /audio/tts` | JSON: text, voice(可选);macOS say,返回音频 path |
| 音频转文字 | `POST /audio/transcribe` | 上传 file 或 form path;需设 TRANSCRIBE_SCRIPT |
| 拍一张摄像头画面 | `POST /camera/snapshot` | 返回保存的图片路径 |
| 对一张图做目标检测(YOLO) | `POST /vision/yolo` | 需上传图片(form),返回检测框等 |
| 用视觉模型描述图片 | `POST /vision/describe` | 上传图片,Ollama llava 等;query model=llava |
| 用本地 Ollama 对话(含 openclaw-distill) | `POST /llm/chat` | JSON body:model, prompt, system(可选) |
|...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

carlulsoe

parakeet-stt

★ 0

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.

carlzhao007

feishu-process-feedback

★ 0

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。

cartoonitunes

bottyfans

★ 0

BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.

camopel

arxivkb

★ 0

Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.