一键导入
file-ops
Advanced file operations: copy, move, directory management, rich stat
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Advanced file operations: copy, move, directory management, rich stat
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Systematic research methodology with source evaluation and synthesis
Advanced Apple Health metrics: blood pressure, glucose, oxygen, body temperature, macronutrients, workouts
Author and edit Palvia skills directly via the fs.* bridge. Includes scaffolding, tool/script generators, validation, and reference examples.
基于 SOC 职业分类
| name | File Ops |
| description | Advanced file operations: copy, move, directory management, rich stat |
| palvia | {"version":"1.0","tags":["files","filesystem","utilities"]} |
Install this skill when you need directory management, batch copies,
moves/renames, or rich metadata beyond what the default file_* tools provide.
skill_file_ops_mkdir(path) — creates intermediate parents.skill_file_ops_cp(src, dest, recursive?) — recursive defaults to true.skill_file_ops_mv(src, dest).skill_file_ops_stat(path) — returns JSON {name,path,size,is_file,is_dir,is_image,mtime_ms,ctime_ms}.skill_file_ops_tree(path?, max_depth?) — recursive listing.skill_file_ops_exists(path) — returns "true" or "false".skill_file_ops_touch(path) — create an empty file if missing.For fine-grained I/O (seek, partial reads/writes, truncate), use execute_javascript
with the fs namespace directly:
let fd = await fs.open("log.txt", "a+");
await fs.write(fd, "new line\n");
await fs.seek(fd, 0, "start");
let head = await fs.read(fd, 100);
await fs.close(fd);
Open flags: "r", "r+", "w", "w+", "a", "a+" (Node-compatible).
Whence for seek: "start" | "current" | "end" (or 0 | 1 | 2).
File descriptors are scoped to a single execute_javascript call and
auto-closed when that call ends — but closing explicitly is good hygiene.