quackbot-duckoid
БесплатноБез исполняемых скриптовНе проверенMechanic wobbling duckoid robot that quacks and generates nonstandard musical scale compositions. Maximally cost-efficient design (~$68 BOM).
от plurigrid★ 73 звезды на GitHubОб этом скилле
QuackBot Duckoid
Trit: +1 (PLUS - generative/constructive) Color: #1FC4E0 (Cyan) URI: skill://quackbot-duckoid#1FC4E0
Overview
A mechanic wobbling duckoid robot that:
- 🦆 Quacks with piezo-synthesized duck calls
- 🎵 Composes nonstandard musical scales (Bohlen-Pierce, just intonation, xenharmonic)
- 🌀 Wobbles via 2-DOF gimbal base with IMU feedback
- 💰 Costs ~$68 total BOM
Physical Design
┌───────┐
╱ O O ╲ ← LED eyes ($0.50)
│ ══════ │ ← Servo beak ($2)
│ )))) │ ← Piezo speaker ($1)
╲________╱
│
┌────────┴────────┐
╱ ╲
│ ┌─────────┐ │
│ │ ESP32-S3│ │ ← MCU ($8)
Wing ──▶│ │ +IMU │ │◀── Wing
($2ea) │ └─────────┘ │ ($2ea)
│ ┌───────┐ │
│ │ LiPo │ │ ← Battery ($12)
╲ └───────┘ ╱
└────────┬────────┘
│
╔════════╧════════╗
║ WOBBLE BASE ║
║ ┌───┐ ┌───┐ ║ ← 2x MG996R ($10)
║ │ S │───│ S │ ║
║ └───┘ └───┘ ║
╚════════╤════════╝
◯────┴────◯ ← Rubber feet ($2)
Bill of Materials (BOM)
| Component | Qty | Unit Cost | Total |
|---|---|---|---|
| Head | $15 | ||
| SG90 Micro Servo (beak) | 1 | $2 | $2 |
| Piezo Buzzer/Speaker | 1 | $1 | $1 |
| 5mm LED (eyes) | 2 | $0.25 | $0.50 |
| MPU6050 IMU | 1 | $3 | $3 |
| 3D Print (head shell) | 1 | $8.50 | $8.50 |
| Body | $25 | ||
| ESP32-S3 DevKit | 1 | $8 | $8 |
| PAM8403 Amplifier | 1 | $1 | $1 |
| 2S LiPo 1000mAh | 1 | $12 | $12 |
| PCA9685 PWM Driver | 1 | $4 | $4 |
| Wobble Base | $20 | ||
| MG996R Servo | 2 | $5 | $10 |
| 3D Print (gimbal) | 1 | $5 | $5 |
| Rubber Feet | 2 | $1 | $2 |
| Brass Counterweight | 1 | $3 | $3 |
| Wings | $8 | ||
| SG90 Micro Servo | 2 | $2 | $4 |
| 3D Print (wings) | 2 | $2 | $4 |
| TOTAL | $68 |
Nonstandard Musical Scales
QuackBot composes using xenharmonic scales that are not 12-TET:
Bohlen-Pierce Scale (13 steps per tritave)
Ratio: 1 25/21 9/7 7/5 5/3 9/5 15/7 7/3 25/9 3 ...
Step: 0 1 2 3 4 5 6 7 8 9 ...
Cents: 0 133.2 266.9 400.1 533.8 666.9 800.1 933.1 1066.9 1200
Just Intonation (Ptolemaic)
JUST_RATIOS = {
'C': 1/1, # Unison
'D': 9/8, # Major second
'E': 5/4, # Major third
'F': 4/3, # Perfect fourth
'G': 3/2, # Perfect fifth
'A': 5/3, # Major sixth
'B': 15/8, # Major seventh
}
Wendy Carlos Alpha/Beta/Gamma
CARLOS_ALPHA = 78.0 # cents per step (15.385 steps/octave)
CARLOS_BETA = 63.8 # cents per step (18.809 steps/octave)
CARLOS_GAMMA = 35.1 # cents per step (34.188 steps/octave)
Quack-Native Scale (custom)
A duck-optimized scale based on duck vocalization formants:
QUACK_SCALE = [
1.0, # Root quack
1.059, # Minor second quack
1.189, # Minor third quack
1.335, # Fourth quack
1.498, # Fifth quack
1.682, # Sixth quack
1.888, # Seventh quack
]
# Formant frequencies: F1=1200Hz, F2=2400Hz, F3=3600Hz
Wobble Dynamics
The 2-DOF gimbal creates a chaotic wobble pattern using coupled oscillators:
import numpy as np
class WobbleDynamics:
"""Kuramoto-style coupled oscillator for duck wobble."""
def __init__(self, natural_freq=2.0, coupling=0.5):
self.omega = natural_freq # rad/s
self.K = coupling
self.theta = [0.0, np.pi/4] # pitch, roll phases
def step(self, dt: float, imu_feedback: tuple) -> tuple:
"""Compute next wobble angles."""
pitch_accel, roll_accel = imu_feedback
# Kuramoto coupling
phase_diff = self.theta[1] - self.theta[0]
# Update phases with coupling and feedback
self.theta[0] += dt * (
self.omega +
self.K * np.sin(phase_diff) +
0.1 * pitch_accel
)
self.theta[1] += dt * (
self.omega * 1.1 + # Slight detuning
self.K * np.sin(-phase_diff) +
0.1 * roll_accel
)
# Convert to servo angles (±30°)
pitch_angle = 30 * np.sin(self.theta[0])
roll_angle = 30 * np.sin(self.theta[1])
return pitch_angle, roll_angle
class QuackSynthesizer:
"""Duck vocalization synthesizer."""
FORMANTS = [1200, 2400, 3600] # Hz
def quack(self, duration_ms: int = 200, pitch_shift: float = 1.0):
"""Generate a quack waveform."""
sr = 16000
t = np.linspace(0, duration_ms/1000, int(sr * durati
Установить quackbot-duckoid в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл quackbot-duckoid?
Mechanic wobbling duckoid robot that quacks and generates nonstandard musical scale compositions. Maximally cost-efficient design (~$68 BOM).
Как установить скилл quackbot-duckoid?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл quackbot-duckoid запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic