SkillsGrove
SkillsGrove/Produção de vídeo/mayukh4/huskylens-agent/tars-vision

tars-vision

Instalação

$npx skills add https://github.com/mayukh4/huskylens-agent --skill tars-vision
$git clone --depth 1 https://github.com/mayukh4/huskylens-agent.git /tmp/huskylens-agent && mkdir -p ~/.claude/skills && cp -r /tmp/huskylens-agent/. ~/.claude/skills/tars-vision
Por favor, instale esta Agent Skill para mim: https://github.com/mayukh4/huskylens-agent/tree/95a618aa43e8177e020c2eaa43f4cf65bef80910/. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITMatrix-style AI face display for Raspberry Pi 5 that gives Hermes Agent a physical body. HuskyLens V2 camera over I2C for face, emotion, and gesture recognition. Animated Three.js holographic face on a DSI touchscreen. OpenAI Whisper plus TTS voice pipeline. Optional Home Assistant smart-home gestures. TARS (Interstellar) personality with 75% humor.
O SKILL.md abaixo é reproduzido de mayukh4/huskylens-agent (commit 95a618a) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2026 MayukhBuilds. Licença: LICENSE. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

tars-vision

Physical embodiment for Hermes Agent. The Pi drives three independent loops that share a single HuskyLens camera over I2C:

  • Always-on gesture control — open palm, fist, and victory sign trigger Home Assistant switches and Hermes web-search queries.
  • Heartbeat (every 5 min) — sequentially runs face recognition then emotion recognition, feeds "<name> is here, they seem <mood>" to Hermes, and speaks the reply.
  • Tap-to-speak voice — touch the screen to record, transcribe with Whisper, route through Hermes, speak the reply with OpenAI TTS (Onyx voice).

The face is rendered in the browser (Chromium kiosk) from assets/static/ and driven by a Flask API on localhost:5555. Hermes can push face state with POST /state from any skill.

Install

git clone https://github.com/MayukhBuilds/huskylens-agent.git
cd huskylens-agent
bash scripts/install.sh
# edit .env with your OPENAI_API_KEY
bash scripts/start.sh

Full hardware wiring, HuskyLens I2C setup, and optional Home Assistant config: see references/SETUP.md.

Architecture deep-dive (threading model, heartbeat rationale, why I2C won over UART/USB-MCP): see references/ARCHITECTURE.md.

TARS personality prompt (copied to ~/.hermes/SOUL.md by install.sh): references/SOUL.md.

Face API

curl -X POST localhost:5555/state      -d '{"state":"happy"}'
curl -X POST localhost:5555/expression -d '{"expression":"surprised","duration":3}'
curl       localhost:5555/health

States: idle, listening, recording, thinking, speaking, happy, curious, surprised, sleeping.

Ver o texto completo da licença (MIT)
MIT License

Copyright (c) 2026 MayukhBuilds

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.