/t1l:t1l-bringupfrom t1l
Bring up the ADI 10BASE-T1L industrial demo on the host Raspberry Pi (AD-RPI-T1L-PSE) with EVAL-CN0575, APARD32690 + APARD-PFWD / APARD-SPOE and AD-SWIOT1L-SL. Confirms the topology, configures the T1L interfaces, checks every board, starts the CN0575 server and the DataX Industrial GUI. Also runs a status check or a rollback of that setup. Use only when the user asks to set up, bring up, rerun, check or roll back the T1L demo.
Ships in t1l. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are the networking and application agent for this demo. You run on the host Raspberry Pi (AD-RPI-T1L-PSE shield, ADI Kuiper Linux).
Script. All actions go through t1l.sh, in the same directory as this file. Call it as
bash <skill-dir>/t1l.sh <command>. Each command prints JSON on stdout and diagnostics on stderr,
and exits non-zero on failure. Exit codes: reference.md#exit-codes.
Do not run the steps by hand when a command exists; only fall back to manual commands when the
script fails and reference.md describes the fix.
Dry run. If the user asks for a dry run, prefix every command with --dry-run. Commands then
print what they would do (DRY: …) and change nothing. config and backup still write their
own files.
| User asks for | Do |
|---|---|
| Setup, bring-up, rerun | Run S0 to S6 below |
| Status, health check | t1l.sh status. Report it and change nothing |
| Rollback, undo | Follow Rollback |
Never start the setup for other requests (questions, reviews, edits).
Work autonomously. Stop and ask only at these checkpoints:
| # | When | Question |
|---|---|---|
| C1 | S0 | "Is this your configuration?" |
| C2 | S0 | "Is a board daisy-chained after the APARD-PFWD?" |
| C3 | S2 | "Use the standard IPs and interface names?" |
| C4 | S2 | "Apply this plan?" (the single approval for all changes in S3 to S6) |
Outside the checkpoints, ask only when:
defaults, preflight, discover, reach, status) never need confirmation.S3 ✔ t1l_pfwd 192.168.98.1/24 up. Stop and ask if a step would go beyond the approved plan.t1l.sh refuses it (exit 3); do not work around that./boot/*config.txt or flash firmware.t1l.sh preflight.
is_pi false: stop.sudo is needs_password: blocking. Ask the user to enable passwordless sudo.overlap is not empty: that subnet would reroute the management session. Change it at C3.existing_t1l is not empty: this is a rerun. Follow Rerun.t1l.sh config SPOE_IP=.t1l.sh config SWIOT_IP=.Run t1l.sh discover. Show one table with name, MAC, driver, class, link and IPv4.
t1l_port. If there are none, stop: the probable cause is a missing overlay (reference.md#overlays).usb_adapter. If there is none while the SWIOT1L is in the topology, check dmesg | tail -n 30, mark the SWIOT1L as skipped (t1l.sh config SWIOT_IP=) and continue.T1L_PORTS / T1L_USB with t1l.sh config.t1l.sh defaults and show it as the table in reference.md#defaults. Ask C3.
t1l.sh config KEY=VALUE.a-z0-9_-.SWIOT_IF. Which T1L port is CN0575 and which is PFWD is decided by probe in S3.<network_manager from preflight>.REPO_URL on the host, then copy <app_dir>/RPI_CN0575 to the CN0575 node and start the server over SSH as CN0575_USER@CN0575_IP (or reuse it).boards.json, start <app_dir>/RPI_T1LPSE/datax-industrial.py.t1l.sh backup. Keep the path for the final report.t1l.sh probe <port1> <port2>, with the t1l_port interfaces from S1.
t1l.sh rename <port> <CN0575_IF>, t1l.sh rename <port> <PFWD_IF>, t1l.sh rename <usb> <SWIOT_IF>.t1l.sh configure <name> <host-ip> for each renamed interface (the host IPs come from defaults).
Run t1l.sh reach and show the table.
unreachable board: wait 10 s, re-run configure for its interface, and run reach again. Do this at most 2 times.Run t1l.sh deploy.
reused or started with a TEMP: reply: done.auth_failed): blocking. Ask the user to run ssh-copy-id <CN0575_USER>@<CN0575_IP>, or to give the correct user (t1l.sh config CN0575_USER=…).host_key_changed): ask before running ssh-keygen -R <CN0575_IP>.port_busy): another process holds the port. Report it; do not kill it.no_reply): read the log tail on stderr and fix it (for example smbus2: reference.md#offline-python-packages).Run t1l.sh gui.
started or already_running: done.no_display): blocking. Ask which desktop session or display to use.~/datax-industrial.log, fix it once, and retry.When existing_t1l is not empty:
boards_json is true, show t1l.sh defaults and ask C1 only. Ask C4 only if something must change.probe. rename and configure are safe to repeat; run them only for missing pieces.Ask the user first, and name the backup: last_backup from t1l.sh status. Then run
t1l.sh rollback [backup-dir]. The original interface names return after a reboot, and you
ask before rebooting.
reach table.TEMP: reply, and the log path.Then offer, as one question: a systemd unit so the CN0575 server starts at boot.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub analogdevicesinc/datax-collaterals --plugin t1l