altaga/armic/arduino-armic

Claude Code and agent skill by altaga/armic

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Develop and debug the Armic 4DOF rehab arm app on UNO Q. Use for arm-simulator.html, PCA9685 sketch, MQTT wearable, rehab protocols, calibration, dry-run safety, LLM agent, or any work under ~/ArduinoApps/armic/.

Install

npx vskill@latest install altaga/armic/arduino-armic

SKILL.md

The same SKILL.md was published earlier as altaga/armic/arduino-armic.

arduino-armic — main project

Path: ~/ArduinoApps/armic/ Primary UI: http://<board-ip>:7000/arm-simulator.html (discover IP with hostname -I)

Network names for MQTT/mDNS live in python/config.py — read that file; do not hardcode them in skills or rules.

Architecture (do not invert)

Browser ──WebSocket──► python/main.py ──Bridge──► sketch/ ──I²C──► PCA9685 ──► servos
LayerLocationOwns motion?
sketch/MCUYes — IK, planner, PWM, limits, 100 Hz loop
bricks/armic/MPU (Python brick)Command API, telemetry, limits memory
python/main.pyMPUGlue only — WebSocket ↔ Bridge
assets/Browserarm-simulator.html, settings, Three.js twin

Motion must stay on the MCU. If Python dies, the arm must hold safely.

Key URLs (port 7000)

PagePath
Arm controller/arm-simulator.html
Settings / calibration/settings.html
Wearable MQTT view/wearable-mqtt.html
Root redirect/ → arm-simulator.html

App Lab Run typically opens the IP URL from app logs — that is expected.

Hardware gotchas

  • PCA9685 on `Wire2` (i2c3), address 0x40 (also 0x70 all-call).
  • OE on pin 17 — no A3 macro; use pin number from devicetree.
  • External servo supply required; common ground with the board.

Safety (read before changing firmware)

  1. Dry run gates motors after Python starts; firmware may still parkHome() once on boot.
  2. Heartbeat (~2 Hz) — do not remove; without it long protocols fail ~1.5 s in.
  3. E-stop forces dry-run off so motors actually stop.
  4. Write-cache must be invalidated when leaving dry run or arm stays limp.

Details: ~/ArduinoApps/armic/README.md

MQTT / wearable (M5 Core2)

  • Broker host/port: `python/config.py` (MQTT_BOARD_MDNS, MQTT_BROKER_*)
  • Inside Docker app: host.docker.internal (same file)
  • Spec: bricks/armic/mqtt/M5CORE2_AGENT_SPEC.md

Do not change board hostname, mDNS, or WiFi without user approval and a backup.

LLM brick

  • Model: Qwen3.5 0.8B only (arduino:llm + llamacpp runner)
  • ~500–900 MB RAM when loaded — one local LLM at a time
  • Agent tools: run_arm_protocol, list_rehab_routes, suggest_rehab_intent, show_rehab_route
  • Rehab motion never starts from chat — user presses Execute on route card → route_runner.py
  • Full contract: repo root AGENTS.md §4

Calibration single source of truth

bricks/armic/calibration.json → firmware joints:: + browser via GET /calibration.

Common tasks

bash
arduino-app-cli app start ~/ArduinoApps/armic
arduino-app-cli app logs ~/ArduinoApps/armic --follow
arduino-app-cli app restart ~/ArduinoApps/armic
arduino-app-cli monitor # MCU serial — separate from app logs

Stale sketch after edits:

bash
arduino-app-cli app clean-cache user:armic --force
arduino-app-cli app restart ~/ArduinoApps/armic

Related skills

TopicSkill
Bridge / MCU RPCarduino-bridge
Web UI / APIarduino-ui
Backup before risky changesarduino-backup
App won't start / Bridge silentarduino-troubleshoot
Disk / RAM limitsworkspace rule board-resources.mdc

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/altaga/armic/arduino-armic/badge)](https://verified-skill.com/skills/altaga/armic/arduino-armic)

Something wrong with this skill or its page? Tell us.