AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Kernel Basics

skill-beriberikix-zephyr-agent-skills-kernel-basics · by beriberikix

Essential Zephyr RTOS kernel services. Covers thread lifecycle and priority, the logging subsystem for diagnostics, and the interactive shell for real-time hardware inspection and debugging. Trigger when writing application flows, adding logging to modules, or creating interactive CLI commands.

No reviews yet
0 installs
42 views
0.0% view→install

Install

$ agentstack add skill-beriberikix-zephyr-agent-skills-kernel-basics

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-beriberikix-zephyr-agent-skills-kernel-basics)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Kernel Basics? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Zephyr Kernel Basics

Master the essential services that bring your Zephyr application to life.

Core Workflows

1. Threads & Scheduling

Create and manage multi-threaded application flows.

  • Reference: [threads.md](references/threads.md)
  • Key Tools: K_THREAD_DEFINE, k_sleep, k_yield, Priorities.

2. Logging & Diagnostics

Implement layered logging for better observability and troubleshooting.

  • Reference: [logging.md](references/logging.md)
  • Key Tools: LOG_MODULE_REGISTER, LOG_INF, LOG_ERR, Dynamic Filtering.

3. Interactive Shell (CLI)

Build powerful command-line interfaces for hardware and software inspection.

  • Reference: [shell.md](references/shell.md)
  • Key Tools: SHELL_CMD_REGISTER, SHELL_STATIC_SUBCMD_SET_CREATE.

Quick Start (Logging)

#include 
LOG_MODULE_REGISTER(my_app, CONFIG_APP_LOG_LEVEL);

void my_fn(void) {
    LOG_INF("Hello from Zephyr!");
}

Quick Start (Threads)

K_THREAD_DEFINE(worker_tid, 1024, worker_fn, NULL, NULL, NULL, 5, 0, 0);

Automation Tools

  • [logsummary.py](scripts/logsummary.py): Parse Zephyr runtime logs and summarize counts by level/module.

Examples & Templates

  • [shellcommandtemplate.c](assets/shellcommandtemplate.c): Starter command set for shell registration patterns.

Validation Checklist

  • [ ] Log output includes module tag and expected log level filtering.
  • [ ] At least one worker thread starts and runs at the intended priority.
  • [ ] Shell command registration appears in help output and executes without faults.
  • [ ] No blocking or mutex misuse appears in ISR-context paths.

Resources

  • [References](references/):
  • threads.md: Configuration and creation of kernel threads.
  • logging.md: Log levels, modules, and backends.
  • shell.md: Interactive command registration and subcommands.
  • [Scripts](scripts/):
  • log_summary.py: Runtime log summarizer for quick diagnostics.
  • [Assets](assets/):
  • shell_command_template.c: Shell command registration template.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.