원클릭으로
embedded-linux-login-debug
Use when logging into, connecting to, or preparing to debug an embedded Linux device
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when logging into, connecting to, or preparing to debug an embedded Linux device
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when debugging Cortex-R5 or Cortex-R firmware — TCM, MPU, caches, DFSR/DFAR aborts, exceptions, GIC/VIC interrupts, lockstep or split mode, ECC, or JTAG bring-up
Use when integrating or debugging heatshrink embedded compression — encoder/decoder sink/poll/finish loops, window/lookahead sz2, HSER/HSDR codes, or static vs dynamic alloc
Use when integrating, porting, or debugging micro-ecc (uECC) ECDH, ECDSA, key generation, uECC_set_rng, signatures, curve selection, or key/signature byte formats on an MCU
Use when debugging OpenOCD, J-Link, ST-Link, CMSIS-DAP, probe connection, reset scripts, flash algorithms, GDB attach, semihosting, RTT, or SWD/JTAG failures
Use when integrating, refactoring, or debugging PLOOC object-oriented C - def_class encapsulation, private_member protection, vtable dispatch, or inheritance-style structs
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumps
| name | embedded-linux-login-debug |
| description | Use when logging into, connecting to, or preparing to debug an embedded Linux device |
Use this skill to choose a safe login path for an embedded Linux device before debugging. The agent should identify the available access method, collect only the required connection details, and start with read-only checks after login.
Use this skill when:
Do not use this skill when:
Ask which access methods are available. If the user is unsure, suggest this order:
Ask for:
22 if unknown.If a password is required, ask the user to type it into the SSH prompt when possible. Do not ask the user to paste reusable passwords into chat unless there is no alternative.
Command pattern:
ssh -p <port> <user>@<ip>
Ask for:
/dev/ttyUSB0, /dev/ttyACM0, or /dev/tty.usbserial-*.115200.8N1.Command patterns:
picocom -b 115200 /dev/ttyUSB0
screen /dev/ttyUSB0 115200
minicom -D /dev/ttyUSB0 -b 115200
Ask for:
su.Command patterns:
adb devices
adb shell
adb connect <ip>:5555
adb -s <serial> shell
Ask for:
23 if unknown.Warn that Telnet sends credentials in plaintext. Prefer SSH when available.
Command pattern:
telnet <ip> <port>
Ask for:
Identify the target. Ask what device or board is being debugged, what problem is being investigated, and whether the device is already booted.
Select the login method. Use the decision list above. If multiple methods are available, prefer the least invasive path that gives enough visibility.
Collect required inputs. Ask only for the fields required by the selected method. Do not request passwords unless the login tool cannot prompt interactively.
Check reachability before login.
For network methods, use safe checks such as ping, nc -vz <ip> <port>, or ssh -v when appropriate. For serial, confirm the device path exists and is not already in use.
Log in. Provide the exact command with placeholders or user-provided values. Avoid embedding secrets in commands, shell history, scripts, or logs.
Run read-only baseline checks. After shell access is confirmed, collect:
whoami
hostname
uname -a
cat /etc/os-release 2>/dev/null || cat /etc/issue 2>/dev/null
ip addr
ip route
mount
df -h
ps
dmesg | tail -n 80
/dev/mtd*, /dev/mmcblk*, /dev/sd*, bootloader shells, and firmware tools as high risk.Before claiming the device is ready for debugging:
whoami, hostname, and uname -a.mount.ip addr or the login target.su, and partition state.User:
我要登录一台嵌入式 Linux 设备看看服务为什么没起来。
Agent:
ssh -p <port> <user>@<ip> and lets the terminal prompt for the password.