freertos-kernel-debug

freertos-kernel-debug is a skill for Claude Code, Codex from easyzoom/aix-skills. It costs 42 tokens per session (729 once invoked), scanned A, original, MIT.

A debugging guide for FreeRTOS, an operating system for running multiple tasks on embedded devices. It focuses on scheduling, task stacks, memory, interrupts, queues, locks, timers, and task communication.

In plain words
What is it for?
Use it to investigate task scheduling, queues, semaphores, mutexes, timers, event groups, task notifications, and interrupt-related failures.
Why use it?
It helps explain hangs, crashes, missed timer ticks, watchdog resets, stack overflows, memory exhaustion, priority inversion, and incorrect interrupt calls.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/easyzoom/aix-skills/freertos-kernel-debug
Any agent
npx skills add easyzoom/aix-skills --skill freertos-kernel-debug
Clone the repo
git clone --depth 1 https://github.com/easyzoom/aix-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for freertos-kernel-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/easyzoom/aix-skills/freertos-kernel-debug.svg)](https://agentmods.dev/skills/easyzoom/aix-skills/freertos-kernel-debug)
Your own site
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/freertos-kernel-debug"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/freertos-kernel-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00042 $0.00729
Opus 5 $0.00021 $0.00365
Sonnet 5 $0.00008 $0.00146
Haiku 4.5 $0.00004 $0.00073

Measured 5d ago against content hash 416035e67cad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

freertos-kernel-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/freertos-kernel-debug/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

  1. Enable kernel evidence. Turn on configASSERT, stack overflow checks, malloc failed hook, and trace-friendly task names where possible.

  2. Prove the tick and scheduler. Confirm SysTick/timer setup, interrupt priority, scheduler start, and idle task execution.

  3. Audit task resources. Check priority, stack high-water mark, blocking calls, and CPU hogging loops.

  4. Audit ISR boundaries. Match every ISR call to the FromISR API and verify interrupt priority is allowed to call the kernel.

  5. Inspect synchronization. Identify queue ownership, mutex holders, priority inheritance, timeouts, and event group semantics.

  6. Validate heap and timers. Confirm selected heap scheme, fragmentation risk, timer task priority, and timer command queue length.

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 94 lines · 42 tokens per session scan A 416035e67cad

Subscribe to this mod's changes

freertos-kernel-debug is a skill published in the GitHub repository easyzoom/aix-skills (31 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 729 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

container-home

Answer questions, assist with planning, and help with design decisions for Mick's off-grid shipping container lake home project. Trigger when the user mentions the container home, lake home, Stewart County, LBL, the expansion, solar system, septic permitting, or retirement property.

mickpletcher/AI-Skills · 57 tokens

amazon-alexa

Integracao completa com Amazon Alexa para criar skills de voz inteligentes, transformar Alexa em assistente com Claude como cerebro (projeto Auri) e integrar com AWS ecosystem (Lambda, DynamoDB, Polly, Transcribe, Lex, Smart Home).

sickn33/agentic-awesome-skills · 53 tokens

arm-cortex-expert

Senior embedded software engineer specializing in firmware and driver development for ARM Cortex-M microcontrollers (Teensy, STM32, nRF52, SAMD).

sickn33/agentic-awesome-skills · 37 tokens

lab-hardware-cad

Design custom laboratory hardware as parametric build123d models and export fabrication-ready STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research…

K-Dense-AI/scientific-agent-skills · 106 tokens

opentrons-integration

Author, review, migrate, simulate, and troubleshoot official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid handling, deck and labware setup, pipettes, modules, runtime parameters, liquid classes, and Opentrons App analysis. Use pylabrobot instead when one workflow…

K-Dense-AI/scientific-agent-skills · 79 tokens

airflow-dag-patterns

Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.

sickn33/agentic-awesome-skills · 42 tokens