[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C27KKC8AFH7D30V157KAVN":3,"skill-same:01M6C27KKC8AFH7D30V157KAVN":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":13,"ownerHtmlUrl":58,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":59,"install":60,"resources":73},"01M6C27KKC8AFH7D30V157KAVN","linux-remote","远程 Linux 主机管理","Steering work on a remote Linux host ($LINUX_REMOTE_HOST) via SSH. Use when asked to run commands, install software, check services, or manage files on that Linux host.","通过 SSH 在远程 Linux 主机（$LINUX_REMOTE_HOST）上指挥工作。当被要求在该 Linux 主机上运行命令、安装软件、检查服务或管理文件时使用。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flinux-remote\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C6RQ852C9AEJFCBGG1YA7S","IT 管理员","PROFESSION","适用职业",[30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"linux remote","linux","remote","software","commands","via","when","host","files","manage","install","ssh","run","services","work","check","use","work on","2026-11-10 10:12:30",false,"---\nname: linux-remote\ndescription: \"Steering work on a remote Linux host ($LINUX_REMOTE_HOST) via SSH. Use when asked to run commands, install software, check services, or manage files on that Linux host.\"\n---\n\n# Linux Remote — Linux SSH Steering\n\n## Lightweight caller, remote execution owner\n\nFor a mirrored or delegated agent session in either direction, the calling\nmachine is a transport and oversight driver; the target agent owns investigation,\nimplementation, tests, and required review through completion. A one-off SSH\ncommand does not need another agent when the caller can finish it directly.\n\n- Hand off once with the outcome, acceptance criteria, repo\u002Fbranch\u002FSHA, relevant\n  paths, verified progress, unresolved next action, and applicable authority\n  boundaries. Prefer a short brief and retrievable artifact references; do not\n  copy the conversation, local model context, full source trees, or logs. Include\n  essential constraints explicitly when the target cannot access their source.\n- After acknowledgment, keep one execution owner. The caller must not repeat\n  repository exploration, implementation, or test\u002Freview runs already owned by\n  the target. Send changes in requirements as concise deltas to that same session;\n  resume its context instead of launching a fresh agent each polling cycle.\n- Request bounded receipts: status, changed SHA, completed checks, artifact\n  locations, blocker and exact next action. Keep raw output on the execution\n  host. Use asynchronous handles and bounded waits; do not repeatedly ingest full\n  transcripts. When diagnosing delivery, failure, or a disputed status, inspect\n  the required raw evidence and full available terminal history before deciding;\n  compact routine receipts never replace those verification requirements.\n- The caller verifies acknowledgment and final claims using the exact remote SHA\n  and relevant artifacts\u002Fcheck receipts, without redoing the remote work by\n  default. Required independent reviews still run; authority-dependent actions\n  stay with the authorized session. Remain responsible for recovery and closure,\n  and report a verified blocker rather than abandoning an active remote job.\n\nThis reduces duplicated task context and reasoning; it does not eliminate the\nfresh target runtime's own policy\u002Fstartup context or the caller's existing context.\nDo not claim token or cost savings without measured usage.\n\n## Retained review integrations\n\nThe shared catalog preserves host-installed `\u002Fadvice` and `\u002Fweb-advice` integrations instead of installing them. Before invoking either, resolve its `..\u002Fadvice\u002FSKILL.md` or `..\u002Fweb-advice\u002FSKILL.md` relative to this package and read the existing skill. For a remote invocation, check the corresponding skill on the target host. If absent, report that integration as `UNAVAILABLE` and identify the missing package; do not invent a replacement runner, claim an approval, or treat a required gate as passed. Continue independent authorized work, but leave any dependent readiness or plan-approval gate unmet. Existing review quorum, external-disclosure authorization, and optional-review rules still apply.\n\n\n## Connection\n\nThis skill targets the Linux host named by `LINUX_REMOTE_HOST` (an SSH alias\nfrom `~\u002F.ssh\u002Fconfig`; examples use `mylinux`). There is no default host; stop\nif it is unset:\n\n```bash\n: \"${LINUX_REMOTE_HOST:?LINUX_REMOTE_HOST not configured: SSH alias of your Linux host. Example: export LINUX_REMOTE_HOST=mylinux}\"\nLINUX_TS=\"${LINUX_REMOTE_HOST_TS:-$LINUX_REMOTE_HOST}\"   # optional tailnet alias\nssh \"$LINUX_REMOTE_HOST\"     # alias in ~\u002F.ssh\u002Fconfig → \u003Clinux-user>@\u003Clinux-lan-ip>\n```\n\n- **Host:** `$LINUX_REMOTE_HOST` \u002F `\u003Clinux-lan-ip>` (LAN)\n- **User:** `\u003Clinux-user>`\n- **Key:** `~\u002F.ssh\u002F\u003Clinux-key>` (passwordless, no `-i` flag needed via alias)\n- **OS:** check with `ssh \"$LINUX_REMOTE_HOST\" 'uname -a; cat \u002Fetc\u002Fos-release'`\n- **sudo:** use the interactive SSH prompt shown below; never embed a password in a command\n\n## Off-LAN fallback: Tailscale, then Slack\n\nIf `ssh \"$LINUX_REMOTE_HOST\"` times out or is refused (off the LAN, traveling, or the LAN link is down), use the tailnet alias instead when one is configured:\n\n```bash\nssh \"$LINUX_TS\" '\u003Ccommand>'\n```\n\n`LINUX_REMOTE_HOST_TS` names a real `~\u002F.ssh\u002Fconfig` stanza (same `IdentityFile` as the LAN alias), so it works as a drop-in replacement for `$LINUX_REMOTE_HOST` in every command in this skill. `ssh` does **not** fail over to it automatically; try the LAN alias first (fast when it works), then fall back to the tailnet alias. Re-verify the IP with `tailscale status` if it ever seems dead — Tailscale IPs are stable per-device but not guaranteed forever.\n\nIf both aliases fail, see [cross-machine-ssh-tier](..\u002Fcross-machine-ssh-tier\u002FSKILL.md) for the Tier 3 messaging-gateway fallback and its debugging caveats (OAuth-scope-vs-connection, bot-message filtering) — that skill is the shared source of truth for this whole ladder, used identically by `mac-remote`, `linux-mirror`, and `mac-mirror`.\n\n## Cloud capability gaps\n\nFor a missing tool, login or permission on Dot's cloud computer, follow the `\u002Fdot` skill's cloud-capability-gap procedure (`..\u002Fdot\u002FSKILL.md`); this skill adds nothing to it.\n\n## How to run commands\n\nAlways use `ssh \"$LINUX_REMOTE_HOST\" '\u003Ccommand>'` for one-liners:\n\n```bash\nssh \"$LINUX_REMOTE_HOST\" 'sudo apt update && sudo apt install -y \u003Cpkg>'\nssh \"$LINUX_REMOTE_HOST\" 'systemctl status \u003Cservice>'\nssh \"$LINUX_REMOTE_HOST\" 'cat \u002Fvar\u002Flog\u002Fsyslog | tail -50'\n```\n\nFor multi-line scripts, pipe via heredoc:\n\n```bash\nssh \"$LINUX_REMOTE_HOST\" 'bash -s' \u003C\u003C 'EOF'\nsudo apt update\nsudo apt install -y openssh-server\nsudo systemctl enable --now ssh\nEOF\n```\n\n## Independent Dot sessions\n\nFollow the installed [Dot skill](..\u002Fdot\u002FSKILL.md) for browser setup and login.\nDeploy the same reviewed Dot package on each host, then authenticate each configured\naccount independently in its own dedicated persistent browser profile on that host.\nNever copy or sync cookies, browser profiles, Chrome `Local State`, or authentication\nstate between hosts, accounts, or the user's real browser and Dot. Separate profile\ndirectories alone do not prove separate login sessions.\n\nVerify the installed Dot package prevents source-browser credential imports before\nopening a profile. For an existing shared session, preserve the profile and pause\nonly its owned reminder timer while preparing a clean replacement; preserve timer\nenablement and do not log out, revoke, or reset the user's real-browser sessions.\nEnter known account identifiers, then let the user complete password or MFA entry\nin the dedicated browser. Never recover a failed login by importing credentials.\n\nBefore switching the configured profile or resuming reminders, verify the expected\nnonempty `user.email` from `\u002Fapi\u002Fauth\u002Fsession` and a successful normal Dot read for\neach account. `\u002Fbackend-api\u002Fme` or HTTP 200 alone is not authentication proof.\nVerify independent session provenance without exposing cookie or token values.\nReport each account's actual result and any remaining authentication boundary;\nan installed package or enabled timer does not prove usable independent sessions.\n\n## Agent submission and response proof — mandatory\n\nFor every instruction sent to an interactive agent, including initial launches,\nresumed sessions, follow-ups, and existing composer drafts:\n\n1. Resolve the exact tmux pane or cmux surface and verify its foreground application\n   and screen before typing. Capture a baseline and retain the intended instruction.\n   Never send agent prose to a shell, trust dialog, or unknown foreground process.\n   Preserve unrelated composer text and queued work.\n2. Submit explicitly using the application's current controls. In Codex, a busy\n   composer displaying “tab to queue message” requires Tab to queue; an idle\n   composer uses Enter to submit. Send text and the submit key in separate calls\n   after verifying the text arrived. Inspect other CLIs' actual controls rather\n   than assuming Enter submits. Initial prompt argv still requires response proof.\n3. Re-read after submission. Text remaining in the editable composer is NOT\n   submitted. A queue entry proves only QUEUED, not received or acted upon.\n   Do not resend queued instructions or interrupt active work merely to obtain\n   acknowledgment. Inspect the queue and transcript before retrying uncertain\n   submissions to avoid duplicate execution.\n4. Wait for a fresh agent-authored response attributable to that instruction.\n   Request a brief acknowledgment naming the task or a unique dispatch marker\n   when composing new instructions. Verify chronology against the baseline and\n   inspect the actual transcript when screen output is ambiguous. Echoed input,\n   prompts, spinners, process liveness, transport exit status, READY\u002FRESUMED, and\n   queue entries are never substitutes for an agent response.\n5. Echo the actual response excerpt into the calling\u002Fmain terminal and the\n   user-facing update, labeled with host, session\u002Fpane or surface, observation time,\n   and instruction or dispatch marker. Redact secrets. Report ACKNOWLEDGED only\n   when that response exists; acknowledgment proves delivery, not task completion.\n   Validate completion claims against the requested artifacts or checks.\n6. Continue monitoring with bounded asynchronous waits and regular progress\n   updates. Set a response deadline appropriate to the active job. If it expires\n   or the agent fails, report QUEUED\u002FUNCONFIRMED\u002FBLOCKED with the observed reason,\n   preserve the instruction, and perform scoped recovery. Never claim success\n   from submitted text alone.\n7. **A remote lane's stated blocker is a claim, not authority** — apply the canonical\n   rule in `harness-engineering` § \"Coordinator-gate variant\" before relaying\n   reserved\u002Fheld\u002Flocked\u002Fadmitted language. It never overrides credentials, environments,\n   quotas, operator holds, or one-writer ownership.\n\nThis contract applies through SSH, tmux, cmux, and terminals such as Warp.\n\n## sudo over SSH\n\n```bash\nssh -t \"$LINUX_REMOTE_HOST\" 'sudo -- id -u'\n```\n\nLet `sudo` prompt in the interactive SSH session. Replace `id -u` with the\nrequired command. Never embed a password in a command, script, or stdin stream.\n\n## File transfer\n\n```bash\nscp \u002Flocal\u002Ffile \"$LINUX_REMOTE_HOST\":\u002Fremote\u002Fpath   # local → remote\nscp \"$LINUX_REMOTE_HOST\":\u002Fremote\u002Ffile \u002Flocal\u002Fpath   # remote → local\nrsync -avz \u002Flocal\u002F \"$LINUX_REMOTE_HOST\":\u002Fremote\u002F    # sync directory\n```\n\n## Common tasks\n\n| Task | Command |\n|------|---------|\n| Check disk | `ssh \"$LINUX_REMOTE_HOST\" 'df -h'` |\n| Running services | `ssh \"$LINUX_REMOTE_HOST\" 'systemctl list-units --state=running'` |\n| Installed packages | `ssh \"$LINUX_REMOTE_HOST\" 'dpkg -l \\| grep \u003Cpkg>'` |\n| Tail a log | `ssh \"$LINUX_REMOTE_HOST\" 'sudo journalctl -fu \u003Cservice>'` |\n| Advice Review | `ssh \"$LINUX_REMOTE_HOST\" '~\u002F.claude\u002Fcommands\u002Fadvice.md'` (or execute `~\u002F.claude\u002Fskills\u002Fadvice\u002FSKILL.md`) |\n| Web Advice Review | `ssh \"$LINUX_REMOTE_HOST\" '~\u002F.claude\u002Fcommands\u002Fweb-advice.md'` (or execute `~\u002F.claude\u002Fskills\u002Fweb-advice\u002FSKILL.md`) |\n| Allocate Scratch dir | `ssh \"$LINUX_REMOTE_HOST\" 'diskm scratch-new \u003Crepo-path> \u003Cpurpose> --kind build\\|evidence'` |\n| Reboot | `ssh \"$LINUX_REMOTE_HOST\" 'sudo reboot'` (warn user first) |\n\n## Scratch and worktree placement (Mac and Linux)\n\n- **Scratch and evidence placement**: Follow the canonical scratch skill [`~\u002F.claude\u002Fskills\u002Fscratch-space\u002FSKILL.md`](..\u002Fscratch-space\u002FSKILL.md) for disposable build output, test scratch, ephemeral review workspaces, and evidence bundles across Mac and Linux hosts. Allocate managed directories via `diskm scratch-new \u003Crepo-path> \u003Cpurpose> --kind build|evidence` or resolve ad-hoc scratch via `~\u002F.claude\u002Fskills\u002Fscratch-space\u002Fscripts\u002Fscratch-dir.sh [subpath]`.\n- **Git worktrees**: Create git worktrees only under `~\u002F.worktrees\u002F\u003Crepo>\u002F\u003Cname>` via `diskm worktree-new \u003Crepo-path> \u003Cbranch>`, never in `$HOME`, repo trees, or `\u002Ftmp`.\n\n## Caveats\n\n- The host may be LAN-only (\u003Clan-subnet>) — not reachable when off the same network; use the Tailscale fallback above when off-LAN\n- If SSH fails, check if the machine is on via `ping \u003Clinux-lan-ip>`, then try Tailscale before assuming it's down\n- RustDesk (peer ID in machine-local config) is the fallback for GUI access if SSH is down\n- Always prefer SSH over RustDesk for CLI work — RustDesk CLI steering is not possible headlessly on macOS without Accessibility permission\n","# Linux Remote — Linux SSH Steering\n\n## Lightweight caller, remote execution owner\n\nFor a mirrored or delegated agent session in either direction, the calling\nmachine is a transport and oversight driver; the target agent owns investigation,\nimplementation, tests, and required review through completion. A one-off SSH\ncommand does not need another agent when the caller can finish it directly.\n\n- Hand off once with the outcome, acceptance criteria, repo\u002Fbranch\u002FSHA, relevant\n  paths, verified progress, unresolved next action, and applicable authority\n  boundaries. Prefer a short brief and retrievable artifact references; do not\n  copy the conversation, local model context, full source trees, or logs. Include\n  essential constraints explicitly when the target cannot access their source.\n- After acknowledgment, keep one execution owner. The caller must not repeat\n  repository exploration, implementation, or test\u002Freview runs already owned by\n  the target. Send changes in requirements as concise deltas to that same session;\n  resume its context instead of launching a fresh agent each polling cycle.\n- Request bounded receipts: status, changed SHA, completed checks, artifact\n  locations, blocker and exact next action. Keep raw output on the execution\n  host. Use asynchronous handles and bounded waits; do not repeatedly ingest full\n  transcripts. When diagnosing delivery, failure, or a disputed status, inspect\n  the required raw evidence and full available terminal history before deciding;\n  compact routine receipts never replace those verification requirements.\n- The caller verifies acknowledgment and final claims using the exact remote SHA\n  and relevant artifacts\u002Fcheck receipts, without redoing the remote work by\n  default. Required independent reviews still run; authority-dependent actions\n  stay with the authorized session. Remain responsible for recovery and closure,\n  and report a verified blocker rather than abandoning an active remote job.\n\nThis reduces duplicated task context and reasoning; it does not eliminate the\nfresh target runtime's own policy\u002Fstartup context or the caller's existing context.\nDo not claim token or cost savings without measured usage.\n\n## Retained review integrations\n\nThe shared catalog preserves host-installed `\u002Fadvice` and `\u002Fweb-advice` integrations instead of installing them. Before invoking either, resolve its `..\u002Fadvice\u002FSKILL.md` or `..\u002Fweb-advice\u002FSKILL.md` relative to this package and read the existing skill. For a remote invocation, check the corresponding skill on the target host. If absent, report that integration as `UNAVAILABLE` and identify the missing package; do not invent a replacement runner, claim an approval, or treat a required gate as passed. Continue independent authorized work, but leave any dependent readiness or plan-approval gate unmet. Existing review quorum, external-disclosure authorization, and optional-review rules still apply.\n\n\n## Connection\n\nThis skill targets the Linux host named by `LINUX_REMOTE_HOST` (an SSH alias\nfrom `~\u002F.ssh\u002Fconfig`; examples use `mylinux`). There is no default host; stop\nif it is unset:\n\n```bash\n: \"${LINUX_REMOTE_HOST:?LINUX_REMOTE_HOST not configured: SSH alias of your Linux host. Example: export LINUX_REMOTE_HOST=mylinux}\"\nLINUX_TS=\"${LINUX_REMOTE_HOST_TS:-$LINUX_REMOTE_HOST}\"   # optional tailnet alias\nssh \"$LINUX_REMOTE_HOST\"     # alias in ~\u002F.ssh\u002Fconfig → \u003Clinux-user>@\u003Clinux-lan-ip>\n```\n\n- **Host:** `$LINUX_REMOTE_HOST` \u002F `\u003Clinux-lan-ip>` (LAN)\n- **User:** `\u003Clinux-user>`\n- **Key:** `~\u002F.ssh\u002F\u003Clinux-key>` (passwordless, no `-i` flag needed via alias)\n- **OS:** check with `ssh \"$LINUX_REMOTE_HOST\" 'uname -a; cat \u002Fetc\u002Fos-release'`\n- **sudo:** use the interactive SSH prompt shown below; never embed a password in a command\n\n## Off-LAN fallback: Tailscale, then Slack\n\nIf `ssh \"$LINUX_REMOTE_HOST\"` times out or is refused (off the LAN, traveling, or the LAN link is down), use the tailnet alias instead when one is configured:\n\n```bash\nssh \"$LINUX_TS\" '\u003Ccommand>'\n```\n\n`LINUX_REMOTE_HOST_TS` names a real `~\u002F.ssh\u002Fconfig` stanza (same `IdentityFile` as the LAN alias), so it works as a drop-in replacement for `$LINUX_REMOTE_HOST` in every command in this skill. `ssh` does **not** fail over to it automatically; try the LAN alias first (fast when it works), then fall back to the tailnet alias. Re-verify the IP with `tailscale status` if it ever seems dead — Tailscale IPs are stable per-device but not guaranteed forever.\n\nIf both aliases fail, see [cross-machine-ssh-tier](..\u002Fcross-machine-ssh-tier\u002FSKILL.md) for the Tier 3 messaging-gateway fallback and its debugging caveats (OAuth-scope-vs-connection, bot-message filtering) — that skill is the shared source of truth for this whole ladder, used identically by `mac-remote`, `linux-mirror`, and `mac-mirror`.\n\n## Cloud capability gaps\n\nFor a missing tool, login or permission on Dot's cloud computer, follow the `\u002Fdot` skill's cloud-capability-gap procedure (`..\u002Fdot\u002FSKILL.md`); this skill adds nothing to it.\n\n## How to run commands\n\nAlways use `ssh \"$LINUX_REMOTE_HOST\" '\u003Ccommand>'` for one-liners:\n\n```bash\nssh \"$LINUX_REMOTE_HOST\" 'sudo apt update && sudo apt install -y \u003Cpkg>'\nssh \"$LINUX_REMOTE_HOST\" 'systemctl status \u003Cservice>'\nssh \"$LINUX_REMOTE_HOST\" 'cat \u002Fvar\u002Flog\u002Fsyslog | tail -50'\n```\n\nFor multi-line scripts, pipe via heredoc:\n\n```bash\nssh \"$LINUX_REMOTE_HOST\" 'bash -s' \u003C\u003C 'EOF'\nsudo apt update\nsudo apt install -y openssh-server\nsudo systemctl enable --now ssh\nEOF\n```\n\n## Independent Dot sessions\n\nFollow the installed [Dot skill](..\u002Fdot\u002FSKILL.md) for browser setup and login.\nDeploy the same reviewed Dot package on each host, then authenticate each configured\naccount independently in its own dedicated persistent browser profile on that host.\nNever copy or sync cookies, browser profiles, Chrome `Local State`, or authentication\nstate between hosts, accounts, or the user's real browser and Dot. Separate profile\ndirectories alone do not prove separate login sessions.\n\nVerify the installed Dot package prevents source-browser credential imports before\nopening a profile. For an existing shared session, preserve the profile and pause\nonly its owned reminder timer while preparing a clean replacement; preserve timer\nenablement and do not log out, revoke, or reset the user's real-browser sessions.\nEnter known account identifiers, then let the user complete password or MFA entry\nin the dedicated browser. Never recover a failed login by importing credentials.\n\nBefore switching the configured profile or resuming reminders, verify the expected\nnonempty `user.email` from `\u002Fapi\u002Fauth\u002Fsession` and a successful normal Dot read for\neach account. `\u002Fbackend-api\u002Fme` or HTTP 200 alone is not authentication proof.\nVerify independent session provenance without exposing cookie or token values.\nReport each account's actual result and any remaining authentication boundary;\nan installed package or enabled timer does not prove usable independent sessions.\n\n## Agent submission and response proof — mandatory\n\nFor every instruction sent to an interactive agent, including initial launches,\nresumed sessions, follow-ups, and existing composer drafts:\n\n1. Resolve the exact tmux pane or cmux surface and verify its foreground application\n   and screen before typing. Capture a baseline and retain the intended instruction.\n   Never send agent prose to a shell, trust dialog, or unknown foreground process.\n   Preserve unrelated composer text and queued work.\n2. Submit explicitly using the application's current controls. In Codex, a busy\n   composer displaying “tab to queue message” requires Tab to queue; an idle\n   composer uses Enter to submit. Send text and the submit key in separate calls\n   after verifying the text arrived. Inspect other CLIs' actual controls rather\n   than assuming Enter submits. Initial prompt argv still requires response proof.\n3. Re-read after submission. Text remaining in the editable composer is NOT\n   submitted. A queue entry proves only QUEUED, not received or acted upon.\n   Do not resend queued instructions or interrupt active work merely to obtain\n   acknowledgment. Inspect the queue and transcript before retrying uncertain\n   submissions to avoid duplicate execution.\n4. Wait for a fresh agent-authored response attributable to that instruction.\n   Request a brief acknowledgment naming the task or a unique dispatch marker\n   when composing new instructions. Verify chronology against the baseline and\n   inspect the actual transcript when screen output is ambiguous. Echoed input,\n   prompts, spinners, process liveness, transport exit status, READY\u002FRESUMED, and\n   queue entries are never substitutes for an agent response.\n5. Echo the actual response excerpt into the calling\u002Fmain terminal and the\n   user-facing update, labeled with host, session\u002Fpane or surface, observation time,\n   and instruction or dispatch marker. Redact secrets. Report ACKNOWLEDGED only\n   when that response exists; acknowledgment proves delivery, not task completion.\n   Validate completion claims against the requested artifacts or checks.\n6. Continue monitoring with bounded asynchronous waits and regular progress\n   updates. Set a response deadline appropriate to the active job. If it expires\n   or the agent fails, report QUEUED\u002FUNCONFIRMED\u002FBLOCKED with the observed reason,\n   preserve the instruction, and perform scoped recovery. Never claim success\n   from submitted text alone.\n7. **A remote lane's stated blocker is a claim, not authority** — apply the canonical\n   rule in `harness-engineering` § \"Coordinator-gate variant\" before relaying\n   reserved\u002Fheld\u002Flocked\u002Fadmitted language. It never overrides credentials, environments,\n   quotas, operator holds, or one-writer ownership.\n\nThis contract applies through SSH, tmux, cmux, and terminals such as Warp.\n\n## sudo over SSH\n\n```bash\nssh -t \"$LINUX_REMOTE_HOST\" 'sudo -- id -u'\n```\n\nLet `sudo` prompt in the interactive SSH session. Replace `id -u` with the\nrequired command. Never embed a password in a command, script, or stdin stream.\n\n## File transfer\n\n```bash\nscp \u002Flocal\u002Ffile \"$LINUX_REMOTE_HOST\":\u002Fremote\u002Fpath   # local → remote\nscp \"$LINUX_REMOTE_HOST\":\u002Fremote\u002Ffile \u002Flocal\u002Fpath   # remote → local\nrsync -avz \u002Flocal\u002F \"$LINUX_REMOTE_HOST\":\u002Fremote\u002F    # sync directory\n```\n\n## Common tasks\n\n| Task | Command |\n|------|---------|\n| Check disk | `ssh \"$LINUX_REMOTE_HOST\" 'df -h'` |\n| Running services | `ssh \"$LINUX_REMOTE_HOST\" 'systemctl list-units --state=running'` |\n| Installed packages | `ssh \"$LINUX_REMOTE_HOST\" 'dpkg -l \\| grep \u003Cpkg>'` |\n| Tail a log | `ssh \"$LINUX_REMOTE_HOST\" 'sudo journalctl -fu \u003Cservice>'` |\n| Advice Review | `ssh \"$LINUX_REMOTE_HOST\" '~\u002F.claude\u002Fcommands\u002Fadvice.md'` (or execute `~\u002F.claude\u002Fskills\u002Fadvice\u002FSKILL.md`) |\n| Web Advice Review | `ssh \"$LINUX_REMOTE_HOST\" '~\u002F.claude\u002Fcommands\u002Fweb-advice.md'` (or execute `~\u002F.claude\u002Fskills\u002Fweb-advice\u002FSKILL.md`) |\n| Allocate Scratch dir | `ssh \"$LINUX_REMOTE_HOST\" 'diskm scratch-new \u003Crepo-path> \u003Cpurpose> --kind build\\|evidence'` |\n| Reboot | `ssh \"$LINUX_REMOTE_HOST\" 'sudo reboot'` (warn user first) |\n\n## Scratch and worktree placement (Mac and Linux)\n\n- **Scratch and evidence placement**: Follow the canonical scratch skill [`~\u002F.claude\u002Fskills\u002Fscratch-space\u002FSKILL.md`](..\u002Fscratch-space\u002FSKILL.md) for disposable build output, test scratch, ephemeral review workspaces, and evidence bundles across Mac and Linux hosts. Allocate managed directories via `diskm scratch-new \u003Crepo-path> \u003Cpurpose> --kind build|evidence` or resolve ad-hoc scratch via `~\u002F.claude\u002Fskills\u002Fscratch-space\u002Fscripts\u002Fscratch-dir.sh [subpath]`.\n- **Git worktrees**: Create git worktrees only under `~\u002F.worktrees\u002F\u003Crepo>\u002F\u003Cname>` via `diskm worktree-new \u003Crepo-path> \u003Cbranch>`, never in `$HOME`, repo trees, or `\u002Ftmp`.\n\n## Caveats\n\n- The host may be LAN-only (\u003Clan-subnet>) — not reachable when off the same network; use the Tailscale fallback above when off-LAN\n- If SSH fails, check if the machine is on via `ping \u003Clinux-lan-ip>`, then try Tailscale before assuming it's down\n- RustDesk (peer ID in machine-local config) is the fallback for GUI access if SSH is down\n- Always prefer SSH over RustDesk for CLI work — RustDesk CLI steering is not possible headlessly on macOS without Accessibility permission\n",{"name":5,"description":7},"main","2d92c349286cf4e1cfed8cdec1773e71f6c601d2",".claude\u002Fskills\u002Flinux-remote",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill linux-remote",{"tool":66,"command":67},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill linux-remote",{"tool":69,"command":70},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill linux-remote","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Flinux-remote\u002FSKILL.md",true,[],[75,83,90,98,106,115],{"skillNo":76,"name":77,"nameZh":13,"description":78,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":13,"description":86,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":82},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":13,"description":93,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":97},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":99,"name":100,"nameZh":13,"description":101,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":105},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":107,"name":108,"nameZh":13,"description":109,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":110,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":105},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":13,"description":118,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":105},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]