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

Power Performance

skill-beriberikix-zephyr-agent-skills-power-performance · by beriberikix

Power management and performance optimization for Zephyr RTOS. Covers system power states (Idle, Suspend, Off), device-level power management, residency hooks, and code/data relocation for speed efficiency. Trigger when optimizing battery life, reducing latency, or managing memory constraints.

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

Install

$ agentstack add skill-beriberikix-zephyr-agent-skills-power-performance

✓ 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-power-performance)

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 Power Performance? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Zephyr Power & Performance

Maximize the efficiency of your embedded system by balancing power consumption and computational performance.

Core Workflows

1. Power Management (PM)

Implement system-level and peripheral-specific power saving strategies.

  • Reference: [powermanagement.md](references/powermanagement.md)
  • Key Tools: pm_device_action_run, pm_state_set, Residency hooks.

2. Performance Tuning

Optimize critical code paths and monitor system resources.

  • Reference: [performancetuning.md](references/performancetuning.md)
  • Key Tools: CONFIG_THREAD_ANALYZER, Linker Map, Code relocation.

3. Memory Optimization

Relocate code and data to utilize the fastest memory available.

  • Reference: [performancetuning.md](references/performancetuning.md#code--data-relocation)
  • Key Tools: __ramfunc, Relocation scripts.

Quick Start (Device Suspend)

#include 

const struct device *spi0 = DEVICE_DT_GET(DT_NODELABEL(spi0));

void sleep_spi(void) {
    pm_device_action_run(spi0, PM_DEVICE_ACTION_SUSPEND);
}

Professional Patterns (Optimization)

  • Aggressive Suspend: Transition peripherals to low-power states as soon as their transaction is complete.
  • ITCM/DTCM: Use Tightly Coupled Memory for time-critical control loops to avoid Flash latency.
  • Runtime Monitoring: Always enable the thread analyzer during development to find the "RAM floor" for your application.
  • Coordinated Sleep: To coordinate sleep across modules, see [kernel-services](../kernel-services/SKILL.md) for Zbus-based event-driven power management.

Automation Tools

  • [powerbudgetestimator.py](scripts/powerbudgetestimator.py): Estimate average current and battery life from duty-cycle state data.

Examples & Templates

  • [powerbudgettemplate.csv](assets/powerbudgettemplate.csv): Starter power-state budget sheet for battery-life estimation.

Validation Checklist

  • [ ] Target peripherals enter and exit suspend/resume states without functional regressions.
  • [ ] Measured idle and active power align with expected optimization deltas.
  • [ ] Thread analyzer and map data confirm stack/RAM budgets are within limits.
  • [ ] Relocated time-critical functions execute from intended memory region.

Resources

  • [References](references/):
  • power_management.md: System states, device PM, and hooks.
  • performance_tuning.md: Optimization strategies and relocation.
  • [Scripts](scripts/):
  • power_budget_estimator.py: Duty-cycle based battery-life estimator.
  • [Assets](assets/):
  • power_budget_template.csv: Initial state/current budget 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.