Debug embedded RTOS scheduling issues including tasks, stacks, priorities, mutexes, queues, interrupts, and timers for FreeRTOS, RT-Thread, Zephyr, ThreadX, or CMSIS-RTOS.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to debug RTOS problems by separating scheduler state, task stack health, synchronization, interrupt priority, timing, and resource ownership. Start from observable RTOS state before changing priorities or adding delays.
Use this skill when:
Do not use this skill before the target is known to boot and run at least some firmware. For RTOS-specific deep dives, prefer freertos-kernel-debug, zephyr-integration, or rt-thread-integration when the RTOS is identified.
Ask for:
Confirm the scheduler starts. Verify the system reaches scheduler start and at least one known task runs.
Capture task state. Collect task names, states, priorities, stack high water marks, CPU/runtime stats, and blocked objects.
Check stack and heap first. Stack overflow and heap exhaustion often masquerade as random RTOS failures.
Inspect synchronization. Identify which task owns each mutex, which queue is full/empty, and whether ISR-safe APIs are used from interrupts.
Check interrupt priority rules. Ensure ISR priorities are legal for RTOS API calls and do not starve the scheduler tick.
Replace guesses with probes. Use trace hooks, assertions, watermarks, counters, or event logs instead of adding arbitrary delays.
FromISR APIs where required.Before claiming RTOS progress:
User:
FreeRTOS 有个任务偶尔不跑,最后看门狗复位。
Agent:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rtos-debug, embedded-debugging, scheduling, task-debug, interrupt-debug
/aix-skills:rtos-debugfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumps/ble-gatt-integrationUse when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters, or throughput/bootloader-debugUse when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot selection failures/canbus-integrationUse when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive communicationOther plugins' skills for the same job