Install
$ agentstack add skill-easyzoom-aix-skills-freertos-kernel-debug ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
FreeRTOS Kernel Debug
Overview
Use this skill to debug FreeRTOS by proving tick, scheduler state, task stacks, heap, ISR boundaries, and synchronization ownership. Many FreeRTOS failures are contract violations around interrupt priority or blocking context.
When To Use
Use this skill when:
- The user is debugging FreeRTOS tasks, queues, semaphores, mutexes, timers,
event groups, streams, or task notifications.
- The issue involves hard faults, hangs, missed ticks, watchdog resets, stack
overflow, heap exhaustion, priority inversion, or ISR API misuse.
- The target uses vendor HAL callbacks, Cortex-M interrupt priorities, trace
tools, or multiple heap implementations.
Do not use this skill for RTOS-agnostic firmware architecture questions. Use rtos-debug for broader RTOS triage.
First Questions
Ask for:
- FreeRTOS version, port, MCU, tick rate, heap implementation, and config file.
- Task list with priorities, stack sizes, states, and high-water marks.
- Interrupt priorities,
configMAX_SYSCALL_INTERRUPT_PRIORITY, and ISR APIs. - Current symptom, fault dump, watchdog reason, trace, or scheduler snapshot.
- Whether assertions, stack overflow hook, malloc failed hook, and trace are on.
Debug Workflow
- Enable kernel evidence.
Turn on configASSERT, stack overflow checks, malloc failed hook, and trace-friendly task names where possible.
- Prove the tick and scheduler.
Confirm SysTick/timer setup, interrupt priority, scheduler start, and idle task execution.
- Audit task resources.
Check priority, stack high-water mark, blocking calls, and CPU hogging loops.
- Audit ISR boundaries.
Match every ISR call to the FromISR API and verify interrupt priority is allowed to call the kernel.
- Inspect synchronization.
Identify queue ownership, mutex holders, priority inheritance, timeouts, and event group semantics.
- Validate heap and timers.
Confirm selected heap scheme, fragmentation risk, timer task priority, and timer command queue length.
Common Failures
- An ISR above
configMAX_SYSCALL_INTERRUPT_PRIORITYcalls a FreeRTOS API. - A normal API is called from an ISR instead of the
FromISRvariant. - A task stack is sized for the happy path but not logging or TLS.
- A high-priority task spins and starves lower-priority work.
- Timer callbacks block or perform long operations.
- Heap implementation does not match allocation/free patterns.
Verification
Before claiming FreeRTOS behavior is fixed:
- State kernel version, port, tick source, heap scheme, and key config symbols.
- Confirm assertions/hooks are enabled or explain why they cannot be.
- Show task state, stack margin, heap margin, and interrupt priority evidence.
- Confirm the original hang/fault/deadlock scenario no longer reproduces.
Example
User:
FreeRTOS 跑一会儿随机卡死。
Agent:
- Enables
configASSERT, stack overflow, and malloc failed hooks. - Captures task states, stacks, heap, and interrupt priorities.
- Checks ISR API usage and blocking calls before changing task priorities.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: easyzoom
- Source: easyzoom/aix-skills
- License: MIT
- Homepage: https://github.com/easyzoom/aix-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.