From 9489d1bdec97ac0da2af57abbf31ae328739e363 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 27 Sep 2026 09:41:56 +0000 Subject: [PATCH] docs: surface Agent skill install paths in the READMEs Add a dedicated Installation subsection for npx skills add and sshx skill install so skills.sh and similar registries can find the skill at skills/sshx/SKILL.md. Co-authored-by: Jett Wang --- README.md | 13 +++++++++++++ README_CN.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/README.md b/README.md index 94dfeb1..134e1eb 100644 --- a/README.md +++ b/README.md @@ -84,9 +84,22 @@ It remains a single binary with one-shot invocations and no resident component o 15. `sshx text`: bounded remote log/text dissection (exception blocks, presets, line windows) over SFTP or sshx-owned journalctl, with pipelined reads and stderr scan progress so a wide window is never mistaken for a hang. +16. Agent skill (`skills/sshx/SKILL.md`): `npx skills add talkincode/sshx` or `sshx skill install`. ## Installation +### Agent skill + +The skill file is [`skills/sshx/SKILL.md`](skills/sshx/SKILL.md). + +```bash +# skills.sh / skills CLI: discovers skills/*/SKILL.md in this repository +npx skills add talkincode/sshx + +# Installed sshx binary: writes the embedded skill to ~/.agents/skills/sshx/SKILL.md +sshx skill install +``` + ### Quick Install with Go (Recommended for Go Users) If you have Go 1.21+ installed, you can use Go's built-in tools: diff --git a/README_CN.md b/README_CN.md index 0de6d00..7c9f7f1 100644 --- a/README_CN.md +++ b/README_CN.md @@ -78,9 +78,22 @@ Agent 需要的不是另一个交互式 SSH shell,而是一份稳定、可组 13. 源地址绑定(`--bind=`),对齐 OpenSSH `-b` / `BindAddress` / `BindInterface`。 14. 会话内跳板(`via` / `--via=`):嵌套 SSH 进入私网目标,每跳独立信任与审计,不在本机开隧道。 15. `sshx text`:有界远端日志/文本解剖(异常块、preset、行窗),经 SFTP 或 sshx 持有的 journalctl;读取走并发流水线,扫描进度写 stderr,宽窗口不再像卡死。 +16. Agent skill(`skills/sshx/SKILL.md`):`npx skills add talkincode/sshx` 或 `sshx skill install`。 ## 安装 +### 安装 Agent skill + +技能文件是 [`skills/sshx/SKILL.md`](skills/sshx/SKILL.md)。 + +```bash +# skills.sh / skills CLI:发现本仓库中的 skills/*/SKILL.md +npx skills add talkincode/sshx + +# 已安装的 sshx 二进制:把内嵌 skill 写入 ~/.agents/skills/sshx/SKILL.md +sshx skill install +``` + ### 使用 Go 快速安装(推荐 Go 用户) 如果您已安装 Go 1.21+,可以使用 Go 的内置工具: