用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tuya/tuyaopen-ide-manifests --skill tuyaos-mic命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Build and compile TuyaOpen projects, select build configurations, edit Kconfig options, clean artifacts, and run Linux ELF binaries. Use when the user mentions compiling, building, tos.py build, config choice, menuconfig, Kconfig, build error, or running a project. 项目编译、构建、编译配置、清理编译、编译错误、menuconfig、Kconfig。
Agent-friendly non-blocking serial log capture for TuyaOpen devices. Runs tos.py monitor in the background, writes logs to file, and lets the agent tail or stop it at any time. Use when the agent needs to capture device logs without blocking, run a debug session, or monitor UART output during a build-flash-analyze loop. 后台串口日志、非阻塞监控、设备日志捕获、agent日志分析。
Automated build-flash-monitor-analyze development loop for TuyaOpen devices. Covers log analysis, error patterns, CLI testing, and iterative debugging. Use when the user mentions dev loop, automated testing, log analysis, debug cycle, iterative development, or CI loop. 开发闭环、自动化测试、日志分析、调试循环、迭代开发。
基于 SOC 职业分类
正在显示 SKILL.md
| name | tuyaos/mic |
| description | TuyaOS microphone capture via tkl_ai_* + optional file write (tkl_fs). 麦克风、录音、tkl_ai、采集音频。 |
| when_to_use | Use for TuyaOS mic / AI audio capture / record-to-file flows. |
| id | tuyaos-mic |
| surfaces | ["embedded"] |
| tags | ["mic","audio","tuyaos","tkl_ai"] |
tkl_ai)Demo: …/examples/driver_mic/example_recorder.c (+ wav_encode.*)
| Function | Role |
|---|---|
tkl_ai_init / tkl_ai_start / tkl_ai_set_vol | capture path |
tkl_ao_set_vol / tkl_ao_put_frame | playback path if looping |
tkl_fs_mount / tkl_fopen / tkl_fwrite / … | save WAV/PCM |
tkl_system_psram_malloc / _free | large buffers |
tkl_gpio_* | optional trigger pin |
TKL_AUDIO config struct fields for this SDK.tdl_audio_*.