hardware.en — Claude Code prompt: what it does, how to install
hardware.en is a Claude Code prompt for working with Android device tools. It applies to requests involving sensors, location, wireless connections, NFC, or device data.
AGPL-3.0 ★ 356 updated 2026-10-31
.claude/commands/hardware.en.mdWhat hardware.en does
hardware.en guides tool use for Android sensors, location, Bluetooth, NFC, Wi-Fi, cellular networks, and device data. The agent must inspect each tool's operations and device capabilities before calling it; loading the prompt does not grant access.
The instructions distinguish system approval, transport completion, readback, and a device's response. GPS access requires precise permission, while NFC control operations need control access. The prompt forbids assuming hardware support, granting permissions, or adding automatic retries.
What it helps with
- read values from available Android sensors
- inspect Wi-Fi or cellular connection details
- retrieve NDEF data from an NFC tag
- save device data without losing its contents
Example prompts for the agent
- List the Android sensors and read the accelerometer values.
- Check the Wi-Fi connection and report its network metrics.
- Read the NFC tag's NDEF data and save the result.
How to install hardware.en
Manually: put the files in place
.claude/commands/hardware.en.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about hardware.en
How do I install hardware.en in Claude Code?
Save the command file at .claude/commands/hardware.en.md, then run /hardware.en.
What does hardware.en do?
It sets rules for using Android tools that access sensors, networks, NFC, and device data. It separates a completed operation from a confirmed device response.
What permissions does hardware.en need for Android tools?
Requirements depend on the operation: GPS requires precise access, and NFC control operations require control access. Activity and body sensors have separate app or system grants.