计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
python-and-cli【效率与协作】Enables Porcupine Python SDK usage, low-level engine control, file and microphone demo patterns, device enumeration, and safe local checks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when you need to:
pvporcupine and confirm the importversion, frame_length, or sample_rate.wav file for wake-word detectionsPorcupineError and message_stack failures.ppn and .pv files.If the task is about training or model/keyword asset selection, route it to ../custom-keywords-and-assets/SKILL.md.
references/python-api-reference.md for verified signatures, object behavior, device strings, and exception classes.references/python-workflows.md for the file recipe, optional demo CLI notes, and the hardware-required microphone flow.references/troubleshooting.md for import, AccessKey, model, keyword, WAV, frame, device, and cleanup failures.scripts/porcupine_file_check.py --help shows the safe parser without requiring an AccessKey.scripts/porcupine_file_check.py --list-devices prints the inference devices advertised by the native library.scripts/porcupine_file_check.py --access-key "$ACCESS_KEY" --input-wav sample.wav --keyword picovoice scans a file with a built-in keyword.scripts/porcupine_file_check.py --access-key "$ACCESS_KEY" --input-wav sample.wav --keyword-path /path/to/custom.ppn --model-path /path/to/porcupine_params.pv scans a file with custom assets.pvporcupine.create still needs a valid AccessKey at initialization.Porcupine.process only accepts 16-bit, single-channel PCM frames sized exactly to frame_length.available_devices() is the safe no-AccessKey check for loading the native library and discovering inference targets..ppn / .pv assets or train a wake word, move to the sibling asset skill before coming back here.scripts/porcupine_file_check.py when the user wants a file-based wake-word check, a parser/help smoke test, or a path-safe example for the Python binding.references/python-workflows.md when the user wants the microphone recipe, available_devices() usage, or a command-line comparison point.references/troubleshooting.md when the user reports an import failure, a bad AccessKey, a model or keyword path problem, a sensitivity mismatch, a WAV format issue, or an invalid device selector.references/python-api-reference.md when the user needs exact signatures, Porcupine attributes, or the message_stack behavior of PorcupineError subclasses.finally.