battery-status
Skill1 starsChanged 5 months agoMITView on GitHub
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.
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill to read the local machine's battery and AC adapter status and report it in a fixed compact format.
- Very specific: line 12
Run scripts/check_battery.sh.
- Distinctive: line 13
If the script returns battery information, present the output directly and add at most one brief note if needed.
- Very specific: line 14
If the script reports that upower is missing or no battery is present, say that clearly instead of guessing.
- Distinctive: line 30
Prefer the script output over hand-written parsing in the reply.
- Very specific: line 31
Treat energy-rate as the battery-side charge or discharge power, not necessarily the charger's wall power.
- Distinctive: line 32
If the battery is charging, label the power line as current charging power.
- Distinctive: line 33
If the battery is discharging, label the power line as current discharge power.
- Distinctive: line 34
Keep the answer concise.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Run scripts/check_battery.sh.
- If the script returns battery information, present the output directly and add at most one brief note if needed.
- If the script reports that
upoweris 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:
TimestampAC OnlineBattery StateBattery PercentageCharging PowerVoltageEnergyTime To FullTime To EmptyCycle Count
Rules
- Prefer the script output over hand-written parsing in the reply.
- Treat
energy-rateas 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.
In this repository31 other files it gives its agents.
- skills/book-to-skill/AGENTS.mdAGENTS.md
- skills/book-to-skill/CLAUDE.mdCLAUDE.md
- ai-paper-digestSkill
- book-to-skillSkill
- codebase-mapSkill
- codebase-overviewSkill
- codebase-summarySkill
- concept-wiki-htmlSkill
- frontend-designSkill
- gh-address-commentsSkill
- gh-fix-ciSkill
- githubSkill
- grounded-file-qaSkill
- imagegenSkill
- learn-codebaseSkill
- lecture-note-writerSkill
- ning-python-scientific-plottingSkill
- openai-docsSkill
- plugin-creatorSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- repo-quick-scanSkill
- review-agentSkill
- skill-creatorSkill
- skill-installerSkill
- use-code-wikiSkill
- yeetSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

