zspace-cli

A command-line tool for managing files and storage pools on a private-cloud NAS. A NAS is a network device used to store and share files, while a storage pool is a managed group of disks.

In plain words
What is it for?
Use it to list, create, copy, move, rename, delete, search, and inspect recent files, as well as view storage-pool information.
Why use it?
It lets you perform common file operations from the terminal without needing a separate graphical file manager or MCP server.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/philipxiaoxi/z-cli/zspace-cli
Any agent
npx skills add philipxiaoxi/z-cli --skill zspace-cli
Clone the repo
git clone --depth 1 https://github.com/philipxiaoxi/z-cli

Made for: Claude Code, Codex.

Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 766 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00086 $0.00766
Opus 5 $0.00043 $0.00383
Sonnet 5 $0.00017 $0.00153
Haiku 4.5 $0.00009 $0.00077

Measured yesterday against content hash 58235ce08d21, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

zspace-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/zspace/skills/zspace-cli/SKILL.md · 60 lines

What it actually says

zspace CLI 使用指南

本项目的 CLI 入口为 zcli./dev 仅用于开发热更新),所有 NAS 操作均通过 zcli <子命令> 完成。

路径规则

访问存储池文件的路径格式为 /<pool_name>/my/data,其中 pool_namepoolname 命令返回的 name 字段(如 sata12sata14),不是 id 或系统挂载点 mnt

命令参考

文件与文件夹操作

命令 功能 示例
list 列出目录内容 zcli list /sata12/my/data
mkdir 创建文件夹 zcli mkdir /sata12/my/data 新文件夹
create 创建文件(可选内容) zcli create /sata12/my/data/test.txt --content "hello"
copy 复制(支持多源) zcli copy /sata12/a,/sata12/b /sata12/dst/
move 移动(支持多源) zcli move /sata12/a,/sata12/b /sata12/dst/
rename 重命名 zcli rename /sata12/my/data/旧名 新名
remove 删除(支持多源,移至回收站) zcli remove /sata12/a,/sata12/b
search 搜索文件 zcli search 关键词 --path /sata12/my/data
recent 最近访问文件 zcli recent --num 20

多源参数通过逗号分隔(无空格):copymoveremove 支持同时操作多个路径。

存储池

命令 功能 示例
pool 查看存储池信息 zcli pool
poolname 查看名称映射 zcli poolname

其他

命令 功能 示例
mcp 启动 MCP 服务器 zcli mcp

常用参数

  • --rename 0/1 — 文件冲突时自动重命名(copy/move/mkdir/create)
  • --show-hidden 0/1 — 是否包含隐藏文件
  • --order asc/desc — 排序方向
  • --sortby <字段> — 排序字段(默认 mtime_linux
  • --start <偏移> / --num <数量> — 分页控制

路径规范

  • 所有路径必须以 pool name 开头(如 /sata12/...),不是挂载点 /mnt/...
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 60 lines · 86 tokens per session scan A 58235ce08d21

Subscribe to this mod's changes

zspace-cli is a skill published in the GitHub repository philipxiaoxi/z-cli (0 stars, last pushed 1mo ago), licensed MIT. It adds 86 tokens to every session and 766 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens