Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

ssh-filemanagerssh 文件管理器

Agent Skill

ssh-filemanager 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,093

周安装

89

GitHub Stars

公开资料未说明

下载量

733
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ssh-filemanager(ssh 文件管理器)
来源仓库:https://github.com/xeon0v0/ssh-filemanager
安装命令:
openclaw skills install ssh-filemanager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install ssh-filemanager

简介

基于 Tailscale SSH 实现远程文件管理系统。

  • 支持文件增删改查、权限修改与批量操作。
  • 适用于跨设备文件同步与安全访问控制。ssh-filemanager 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install ssh-filemanager。
  • 需确保 Tailnet 网络环境已正确配置。

SKILL.md

name
tailnet_ssh_file_manager
description
Manage files on remote machines over Tailscale SSH (Tailnet). Use this skill when the user needs to list, read, write, delete, move, copy, search, chmod, push, or pull files on a remote OpenClaw node via a Tailscale SSH connection. Always prefer scp for files larger than 3KB to avoid the OpenClaw invoke payload limit.

Tailnet SSH File Manager

Overview

This skill enables file management between the OpenClaw Gateway and remote OpenClaw Nodes through Tailscale SSH (Tailnet). It wraps system ssh, scp, and sftp commands via the helper script scripts/ssh_file_manager.py.

Pre-requisites

  1. The local machine (Gateway) must be connected to the same Tailnet as the target node.
  2. Tailscale SSH must be enabled on the target node and allowed by Tailscale ACLs.
  3. The target node must be reachable via its Tailscale IP or MagicDNS hostname (e.g. node-name.tailXXXX.ts.net).

Workflow

  1. Determine the remote node's Tailscale identifier (host). Ask the user if it is ambiguous.
  2. Determine the requested operation (action) and the relevant path(s).
  3. File size check:

- If reading/writing text content and the estimated size is < 3KB, you may use read or write with inline content. - If the file is >= 3KB, or if transferring binary files, always use push (local -> remote) or pull (remote -> local) via scp.

  1. Run the helper script:
   python3 {baseDir}/scripts/ssh_file_manager.py <action> --host <host> [args...]
  1. Parse the JSON output and present results to the user. If success is false, surface the error message.

Supported Actions

ActionDescriptionCommand Example
listList directory entries with size, mode, and mtime.python3 {baseDir}/scripts/ssh_file_manager.py list --host node.tailXXXX.ts.net --path /home/user
readRead a remote file as text or base64.python3 {baseDir}/scripts/ssh_file_manager.py read --host node.tailXXXX.ts.net --path /home/user/file.txt
writeWrite text or base64 content to a remote file.python3 {baseDir}/scripts/ssh_file_manager.py write --host node.tailXXXX.ts.net --path /home/user/file.txt --content "Hello"
deleteDelete a remote file or directory recursively.python3 {baseDir}/scripts/ssh_file_manager.py delete --host node.tailXXXX.ts.net --path /home/user/old.txt
moveMove/rename a remote file or directory.python3 {baseDir}/scripts/ssh_file_manager.py move --host node.tailXXXX.ts.net --src /tmp/a --dst /tmp/b
copyCopy a remote file or directory recursively.python3 {baseDir}/scripts/ssh_file_manager.py copy --host node.tailXXXX.ts.net --src /tmp/a --dst /tmp/b
statGet file metadata (size, mode, uid, gid, mtime, is_dir).python3 {baseDir}/scripts/ssh_file_manager.py stat --host node.tailXXXX.ts.net --path /home/user/file.txt
findSearch for files by name pattern under a path.python3 {baseDir}/scripts/ssh_file_manager.py find --host node.tailXXXX.ts.net --path /home/user --name "*.log"
chmodChange file permissions.python3 {baseDir}/scripts/ssh_file_manager.py chmod --host node.tailXXXX.ts.net --path /home/user/script.sh --mode 755
pushCopy a local file to the remote node via scp.python3 {baseDir}/scripts/ssh_file_manager.py push --host node.tailXXXX.ts.net --local /tmp/local.bin --remote /tmp/remote.bin
pullCopy a remote file to the local machine via scp.python3 {baseDir}/scripts/ssh_file_manager.py pull --host node.tailXXXX.ts.net --remote /tmp/remote.bin --local /tmp/local.bin

Safety Rules

  • Destructive operations (write, delete, move, chmod): Always ask the user for explicit confirmation before invoking the script.
  • Payload limit: Do not attempt to inline base64-encode files larger than 3KB through OpenClaw's node.invoke. Use push/pull (scp) instead.
  • Path sanitization: Do not traverse above / unless explicitly requested. Verify absolute paths when provided by the user.
  • Connection check: If a command fails with a connection error, you may first run python3 {baseDir}/scripts/ssh_tunnel.py check --host <host> to verify Tailscale SSH reachability.

Edge Cases

  • Target host offline or not in the tailnet -> connection timeout. Run ssh_tunnel.py check to diagnose.
  • Permission denied -> user lacks SSH/ACL access or file permissions on the remote node.
  • Remote path does not exist -> script returns success: false with details.
  • Binary file read -> use read with --format base64.
  • Remote node missing Python 3 -> list and stat may fail; fallback to raw ssh commands if needed.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.86%
按下载量换算651

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills