Logo Embedded Linux Login Debug

Embedded Linux Login Debug

Cộng đồng
easyzoom
embedded-linux-login-debug

Use when logging into, connecting to, or preparing to debug an embedded Linux device

Tổng quan

Nhà phát hànheasyzoom
Kho mãaix-skills
Tên kỹ năngembedded-linux-login-debug
Sao
39
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được easyzoom công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Embedded Linux Login Debug trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/easyzoom/aix-skills/tree/main/skills/embedded-linux-login-debug
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/easyzoom/aix-skills.git /tmp/aix-skills
mkdir -p .claude/skills
cp -r /tmp/aix-skills/skills/embedded-linux-login-debug .claude/skills/embedded-linux-login-debug
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Embedded Linux Login Debug trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Embedded Linux Login Debug ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Embedded Linux Login Debug không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Embedded Linux Login Debug

Overview

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.

When To Use

Use this skill when:

  • The user wants to log in to an embedded Linux device, development board, router, gateway, camera, or appliance.
  • The user mentions SSH, serial console, UART, ADB, Telnet, local console, recovery console, or vendor web debug access.
  • The task requires checking runtime state on a target device before changing files, services, partitions, networking, or firmware.

Do not use this skill when:

  • The target is a normal cloud server or desktop Linux machine with a known access path.
  • The user only needs static source-code analysis and no device access.
  • The request is to flash firmware, erase storage, modify bootloader settings, or change partitions without a separate safety plan.

Login Method Decision

Ask which access methods are available. If the user is unsure, suggest this order:

  1. SSH over network, if the device has an IP address and SSH server.
  2. Serial UART console, if network access is unavailable or boot logs are needed.
  3. ADB, if the target is Android-based or exposes Android Debug Bridge.
  4. Telnet, only for trusted lab networks or legacy devices.
  5. Local console with display and keyboard, if physically accessible.
  6. Vendor web or recovery console, if shell access is not exposed directly.

Required Inputs By Method

SSH

Ask for:

  • Device IP address or hostname.
  • SSH port, defaulting to 22 if unknown.
  • Username.
  • Authentication method: password, private key, or agent-forwarded key.
  • Whether the network is reachable from the current machine.

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:

bash
ssh -p <port> <user>@<ip>

Serial UART

Ask for:

  • Local serial device path, such as /dev/ttyUSB0, /dev/ttyACM0, or /dev/tty.usbserial-*.
  • Baud rate, commonly 115200.
  • Data format if known, commonly 8N1.
  • Whether the user has permission to access the serial device.
  • Whether the board needs reset or power cycle to see boot logs.

Command patterns:

bash
picocom -b 115200 /dev/ttyUSB0
screen /dev/ttyUSB0 115200
minicom -D /dev/ttyUSB0 -b 115200

ADB

Ask for:

  • Whether the device is connected by USB or ADB-over-TCP.
  • Whether USB debugging or ADB is enabled.
  • Device serial or IP and port, if multiple devices exist.
  • Whether shell access requires su.

Command patterns:

bash
adb devices
adb shell
adb connect <ip>:5555
adb -s <serial> shell

Telnet

Ask for:

  • Device IP address or hostname.
  • Telnet port, defaulting to 23 if unknown.
  • Username and password, if required.
  • Confirmation that this is a trusted lab network.

Warn that Telnet sends credentials in plaintext. Prefer SSH when available.

Command pattern:

bash
telnet <ip> <port>

Local Console Or Vendor Console

Ask for:

  • Physical access method: HDMI, LCD, keyboard, recovery menu, web UI, or vendor debug page.
  • Login account, role, or recovery mode requirements.
  • Whether the console can run shell commands or only displays status.
  • Any device-specific constraints, such as maintenance windows or watchdog resets.

Workflow

  1. Identify the target. Ask what device or board is being debugged, what problem is being investigated, and whether the device is already booted.

  2. Select the login method. Use the decision list above. If multiple methods are available, prefer the least invasive path that gives enough visibility.

  3. Collect required inputs. Ask only for the fields required by the selected method. Do not request passwords unless the login tool cannot prompt interactively.

  4. 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.

  5. Log in. Provide the exact command with placeholders or user-provided values. Avoid embedding secrets in commands, shell history, scripts, or logs.

  6. Run read-only baseline checks. After shell access is confirmed, collect:

bash
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
  1. Summarize the session. Record login method, target identifier, current user, kernel version, OS identity, network addresses, and any immediate anomalies.

Safety Rules

  • Do not reboot, power-cycle, reset, flash, erase, remount read-write, change network settings, kill processes, or edit startup scripts without explicit user approval.
  • Treat commands under /dev/mtd*, /dev/mmcblk*, /dev/sd*, bootloader shells, and firmware tools as high risk.
  • Prefer read-only inspection until the user confirms the intended fix.
  • If the connection method is insecure, such as Telnet, state the risk and keep the session limited to trusted lab environments.
  • Do not store passwords in files, shell history, command examples, or final summaries.

Verification

Before claiming the device is ready for debugging:

  • Confirm the selected login method and command.
  • Confirm shell access by reporting whoami, hostname, and uname -a.
  • Confirm whether the filesystem is read-only or read-write from mount.
  • Confirm network identity from ip addr or the login target.
  • State any skipped checks and why.

Common Failures

  • Assuming SSH is available when the device only exposes serial console.
  • Asking for every possible credential before choosing a login method.
  • Pasting passwords into commands that may be saved in shell history.
  • Running destructive recovery, flash, or reboot commands as part of initial login.
  • Treating Android ADB shells like normal SSH shells without checking user, su, and partition state.

Example

User:

text
我要登录一台嵌入式 Linux 设备看看服务为什么没起来。

Agent:

  1. Asks which access methods are available: SSH, serial UART, ADB, Telnet, local console, or web console.
  2. If the user chooses SSH, asks for IP, port, username, and authentication method.
  3. Provides ssh -p <port> <user>@<ip> and lets the terminal prompt for the password.
  4. After login, runs read-only baseline checks.
  5. Summarizes the device identity and asks before making any changes.

Câu hỏi thường gặp

Kỹ năng AI Embedded Linux Login Debug làm được gì?

Use when logging into, connecting to, or preparing to debug an embedded Linux device

Vì sao nên dùng Embedded Linux Login Debug trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Embedded Linux Login Debug là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Embedded Linux Login Debug trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/easyzoom/aix-skills/tree/main/skills/embedded-linux-login-debug. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Embedded Linux Login Debug?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Embedded Linux Login Debug với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Embedded Linux Login Debug với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Embedded Linux Login Debug có miễn phí không?

Có. Kỹ năng này được easyzoom phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇