Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 13 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,22 @@ Agent 需要的不是另一个交互式 SSH shell,而是一份稳定、可组
13. 源地址绑定(`--bind=<ip|iface>`),对齐 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 的内置工具:
Expand Down
Loading