/SKILL.md
スタックチャン・アタマ(M5Stack単体版)をUSBシリアルまたはWiFi HTTP API経由で制御するスキル。テキスト読み上げ・表情変更・音量調整・カメラ撮影・WAV再生をPCからコマンド実行。パイプライン再生で高速応答。borotの返答をスタックチャンに喋らせる連携にも対応。「スタックチャンに喋らせて」「stackchan-atama」で使用。
npx skillsauth add karaage0703/stackchan-atama xs:stackchan-atamaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
USBシリアルまたはWiFi HTTP API経由でスタックチャン・アタマ(M5Stack単体、サーボ不要版)を制御する。
ポート自動検出。--port で手動指定も可能。
--wifi)IP: 環境変数 STACKCHAN_IP で指定(--host でも可)。
STACKCHAN_TTS で変更可能)tools/setup_piper.sh でセットアップ--tts voicevox で切替。ローカルエンジン(port 50021)が必要cd [SKILL_DIR] && tools/setup_piper.sh
OS/ARCH を自動判定し、piper-plus の ネイティブC++版バイナリ(OpenJTalk辞書同梱)とつくよみちゃんモデルをダウンロード、tools/piper ラッパーを生成する。
macOS arm64・Linux arm64/x64/armv7 対応。インストール済みならスキップ。
注意: ayutaz/piper-plus には別途 C# CLI 版(piper-plus-cli-*)も存在するが、こちらは日本語を multilingual espeak phonemizer で処理するため発音が中国語風に崩れる。setup_piper.sh はネイティブC++版(piper-{macos,linux}-*)を選ぶこと。
say 実行時に piper failed: ... Opset 5 ... opset 3 only エラーが出たら: 初回実行で生成された最適化キャッシュが onnxruntime と互換性が無い状態。rm [SKILL_DIR]/models/*.cpu.opt.onnx* で解消。
# USBシリアル
cd [SKILL_DIR] && uv run tools/stackchan_atama.py status
# WiFi
cd [SKILL_DIR] && uv run tools/stackchan_atama.py --wifi status
# 通常モード(全文を一括送信)
cd [SKILL_DIR] && uv run tools/stackchan_atama.py say "こんにちは"
# パイプラインモード(文を分割、最初のチャンクを即座に再生開始)— 長文推奨
cd [SKILL_DIR] && uv run tools/stackchan_atama.py say "こんにちは!今日もいい天気ですね。散歩に行きましたか?" --pipeline
# VOICEVOX で話者変更(VOICEVOX時のみ)
cd [SKILL_DIR] && uv run tools/stackchan_atama.py --tts voicevox say "おはよう" --voice 3
# WiFi経由
cd [SKILL_DIR] && uv run tools/stackchan_atama.py --wifi say "こんにちは" --pipeline
cd [SKILL_DIR] && uv run tools/stackchan_atama.py face happy
表情一覧:
cd [SKILL_DIR] && uv run tools/stackchan_atama.py volume 200
音量: 0〜255(デフォルト: 255)
cd [SKILL_DIR] && uv run tools/stackchan_atama.py capture -o /tmp/photo.jpg
cd [SKILL_DIR] && uv run tools/stackchan_atama.py --wifi capture -o /tmp/photo.jpg
cd [SKILL_DIR] && uv run tools/stackchan_atama.py play /tmp/audio.wav
cd [SKILL_DIR] && uv run tools/stackchan_atama.py --wifi play /tmp/audio.wav
cd [SKILL_DIR] && uv run tools/stackchan_atama.py wifi-config --ssid MyNetwork --password mypass
cd [SKILL_DIR] && uv run tools/stackchan_atama.py wifi-config --clear
borotの返答をスタックチャンに喋らせたい場合:
stackchan_atama.py say --pipeline で送信例: からあげに挨拶する
cd [SKILL_DIR]
uv run tools/stackchan_atama.py face happy
uv run tools/stackchan_atama.py say "からあげさん、おはよう!" --pipeline
例: 悲しいニュースを伝える
cd [SKILL_DIR]
uv run tools/stackchan_atama.py face sad
uv run tools/stackchan_atama.py say "残念だけど、雨みたいだよ"
例: WiFi経由で操作
cd [SKILL_DIR]
uv run tools/stackchan_atama.py --wifi face happy
uv run tools/stackchan_atama.py --wifi say "ケーブルなしで喋れるよ!" --pipeline
uv run tools/stackchan_atama.py --wifi capture -o /tmp/photo.jpg
--pipeline で分割送信すると体感速度が上がる--pipeline で回避--serial-chunk 256 --serial-delay 0.02 で速度を落とすスタックチャンにこんにちはって言って
スタックチャンを嬉しい顔にして
stackchan-atamaの状態確認して
スタックチャンに「今日もがんばろう」って喋らせて
スタックチャンで写真撮って
スタックチャンの音量上げて
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.