Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问clear审计未展示

kernel-filesystem-ops内核文件系统操作

Agent Skill

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

总安装

490

周安装

20

GitHub Stars

公开资料未说明

下载量

157
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:kernel-filesystem-ops(内核文件系统操作)
来源仓库:https://github.com/kernel/skills
仓库路径:skills/kernel-filesystem-ops
安装命令:
npx skills add kernel/skills --skill "kernel-filesystem-ops"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

AgentSkills.tonpx skills
npx skills add kernel/skills --skill "kernel-filesystem-ops"

简介

kernel-filesystem-ops 提供文件系统高级操作接口,包括元数据管理与批量处理。

  • 适用于日志分析、配置同步或大文件遍历等场景。
  • 使用 npx skills add kernel/skills --skill "kernel-filesystem-ops" 安装。
  • 操作前应确认路径权限与磁盘配额,防止意外覆盖或空间耗尽。
  • 建议启用操作审计日志以便追溯变更历史。

SKILL.md

Filesystem Operations

Interact with the browser VM's filesystem to upload, download, read, and write files.

When to Use

Use this skill when you need to:

  • Upload test data or fixtures to browser VMs for automation
  • Download generated files like screenshots, PDFs, or reports
  • Provide configuration files to scripts running in the VM
  • Process data by uploading input, running scripts, and downloading output
  • Manage files and directories in the browser VM filesystem
  • Transfer artifacts between local machine and browser VM

Prerequisites

See prerequisites.md for Kernel CLI setup.

Note: When using --path or --src flags in the commands below, these flags are required and must be provided with a value.

Directory Operations

Create Directory

kernel browsers fs new-directory <session_id> --path /tmp/mydir

# With custom permissions
kernel browsers fs new-directory <session_id> --path /tmp/mydir --mode 0755

Delete Directory

kernel browsers fs delete-directory <session_id> --path /tmp/mydir

List Files

# List files in a directory
kernel browsers fs list-files <session_id> --path /tmp

# With JSON output
kernel browsers fs list-files <session_id> --path /tmp -o json

Get File/Directory Info

# Get metadata for a file or directory
kernel browsers fs file-info <session_id> --path /tmp/file.txt

# With JSON output
kernel browsers fs file-info <session_id> --path /tmp/file.txt -o json

File Operations

Read File

# Read file to stdout
kernel browsers fs read-file <session_id> --path /tmp/file.txt

# Save to local file
kernel browsers fs read-file <session_id> --path /tmp/file.txt -o local-file.txt

Write File

# Upload local file to VM
kernel browsers fs write-file <session_id> --path /tmp/output.txt --source local.txt

# With custom permissions
kernel browsers fs write-file <session_id> --path /tmp/output.txt --source local.txt --mode 0644

Delete File

kernel browsers fs delete-file <session_id> --path /tmp/file.txt

Move/Rename File

# Move or rename a file
kernel browsers fs move <session_id> --src /tmp/old.txt --dest /tmp/new.txt

Set Permissions

# Change file mode
kernel browsers fs set-permissions <session_id> --path /tmp/file.txt --mode 0755

# Change owner and group
kernel browsers fs set-permissions <session_id> --path /tmp/file.txt --mode 0755 --owner user --group group

Bulk Operations

Upload Files

# Upload with mapping (local:remote)
kernel browsers fs upload <session_id> --file "local.txt:/tmp/remote.txt"

# Multiple files
kernel browsers fs upload <session_id> --file "file1.txt:/tmp/file1.txt" --file "file2.txt:/tmp/file2.txt"

# Upload to destination directory
kernel browsers fs upload <session_id> --dest-dir /tmp --paths "file1.txt,file2.txt"

Upload ZIP Archive

# Upload and extract a zip file
kernel browsers fs upload-zip <session_id> --zip archive.zip --dest-dir /tmp/extracted
Note: When using --zip or --dest-dir are required and must be provided with a value.

Download Directory as ZIP

kernel browsers fs download-dir-zip <session_id> --path /tmp/data -o data.zip

Use Cases

  • Test data: Upload fixtures and test data for automated tests
  • Configuration: Provide config files to scripts and applications
  • Data processing: Upload input, run processing scripts, download output
  • Screenshots/artifacts: Collect generated files like screenshots, PDFs, reports
  • Scripts: Upload custom automation or processing scripts
  • File management: Organize, move, and manage files in the VM
  • Batch operations: Upload/download multiple files or entire directories

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude Code

28.77%
按下载量换算45

OpenCode

21.59%
按下载量换算34

Gemini CLI

16.5%
按下载量换算26

kode

12.2%
按下载量换算19

moltbot

7.74%
按下载量换算12

zencoder

3.15%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills