Install any skill in seconds. Free to start, no credit card required.
Get Started Free →justin-spec-dev/embedded-device-debugger
Safely diagnose embedded devices through SSH or serial consoles on Windows or Linux.
Passed 12 of 17 test cases with the skill, and 4 of 17 without it.
and 13 more in the full report
11 fixed6 passed either way7 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are running automated serial tests using serial-run. The target device sometimes hangs during U-Boot bootloader login prompts. What parameter controls the maximum time allowed for the full login handshake sequence, and what is its default value?
| Checked | Without skill | With skill |
|---|---|---|
| Uses --login-budget to set the maximum login handshake duration. | Missed | Passed |
| Identifies 45 seconds as the default login budget timeout. | Missed | Passed |
The instructions your model reads when the skill loads.
Use scripts/device_console.py as the deterministic connection helper. It uses the operating system's OpenSSH client for SSH and PySerial for serial access.
doctor before the first connection on a machine. It lists any missing prerequisite in missing with a next_step, and exits 2 when something is missing. If a prerequisite is missing, read references/platform-setup.md. Do not install software or change serial-port permissions without authorization.inspect describes the artifact on the build side, deploy copies it to the device, verify confirms what is actually on the device, and symbolize turns device-reported addresses back into source lines. Run deploy without --apply first and show the plan. Read references/build-and-deploy.md before the first deploy to a device.Do not treat "the command printed something" as success. The tool signals outcomes through its exit status:
| Code | Meaning |
|---|---|
0 | Every command ran and every observed exit code was 0 |
1 | A command ran but returned a non-zero exit code; for deploy a transfer or hash check failed and the destination was left untouched, or --verify-running found a file that is not the artifact; for verify the two files differ; for inspect an architecture mismatch |
2 | Usage error, invalid arguments, or a refused safety guard (unset/too-short --redact-env, existing --output without --force, --json with --append, a --dest under /sys, /proc, /dev, or a risky path without --unsafe-dest) |
124 | A command timed out; an SSH timeout also sets remote_may_still_run: true on that result |
125 | A result could not be verified: serial-run --mode posix-shell never saw the wrapper's exit marker (exit_code_known: false); deploy found no usable digest on either side, so the transfer stays unverified and is not activated; verify could not compare the files at all; --verify-running could not answer whether the device path is the artifact |
130 | The user interrupted the run |
doctor exits 2 when a prerequisite is missing. ssh-shell passes the interactive session's status through and has no fixed contract. deploy without --apply exits 0 with status: "planned" and writes nothing.
Resolve this skill directory from the loaded SKILL.md, then invoke the script with an available Python 3 executable:
python <skill-dir>/scripts/device_console.py doctor --json
python <skill-dir>/scripts/device_console.py ssh-run --host 192.0.2.10 --user root --command "uname -a" --command "uptime"
python <skill-dir>/scripts/device_console.py serial-ports --json
python <skill-dir>/scripts/device_console.py serial-monitor --port COM5 --baud 115200 --duration 20 --output boot.log
python <skill-dir>/scripts/device_console.py serial-run --port /dev/ttyUSB0 --baud 115200 --username root --password-env DEVICE_PASSWORD --command "uname -a"
python <skill-dir>/scripts/device_console.py inspect --build-host build --artifact /srv/app/bin/app --host 192.0.2.10 --json
python <skill-dir>/scripts/device_console.py deploy --build-host build --host 192.0.2.10 --user root --artifact /srv/app/bin/app --dest /tmp
test cases passed, vs 4 / 17 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.