Skip to content
Agentmart
Submit a tool

battery-status

Check the current battery and charging information on this Linux machine, especially when the user asks for charging wattage, battery percentage, charging…

Skill by lyh843

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/lyh843-battery-status

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Check the current battery and charging information on this Linux machine, especially when the user asks for charging wattage, battery percentage, charging state, voltage, estimated time to full, or a compact power-status summary. Use when the user invokes $battery-status or asks to view laptop battery or charging power from the local system.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/battery-status

What's inside

Skill name
battery-status
Description
Check the current battery and charging information on this Linux machine, especially when the user asks for charging wattage, battery percentage, charging state, voltage, estimated time to full, or a compact power-status summary. Use when the user invokes $battery-status or asks to view laptop battery or charging power from the local system.
License
MIT
Instructions
36 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • openai.yaml · agents/
  • check_battery.sh · scripts/

SKILL.md (first lines)

# Battery Status

## Overview
Use this skill to read the local machine's battery and AC adapter status and report it in a fixed compact format.

## Workflow
1. Run [scripts/check_battery.sh](scripts/check_battery.sh).
2. If the script returns battery information, present the output directly and add at most one brief note if needed.
3. If the script reports that `upower` is missing or no battery is present, say that clearly instead of guessing.

## Output Format
Return the result as a short block with these fields when available:
- `Timestamp`
- `AC Online`
- `Battery State`
- `Battery Percentage`
- `Charging Power`
- `Voltage`
- `Energy`
- `Time To Full`
- `Time To Empty`
- `Cycle Count`

## Rules
- Prefer the script output over hand-written parsing in the reply.
- Treat `energy-rate` as the battery-side charge or discharge power, not necessarily the charger's wall power.
- If the battery is charging, label the power line as current charging power.
- If the battery is discharging, label the power line as current discharge power.
- Keep the answer concise.

## Fast Prompt Patterns
- `Use $battery-status to check my current charging power.`
- `Use $battery-status to show my battery summary.`
- `Use $battery-status to tell me whether I am charging and at what wattage.`

From lyh843/AgentSkills, MIT.

More from lyh843/AgentSkills

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
May 30, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lyh843

Cite this page

battery-status skill. Agent Mart. https://agentmart.dev/skills/lyh843-battery-status (last updated 2026-10-24)