name: mesh_file_explorer emoji: "📂" description: High-performance mesh-wide file orchestration, synchronization, and manipulation. skill_type: local is_enabled: true features:
type: string enum: [list, read, write, delete, move, copy, stat] description: File system action.path:
type: string description: Relative path to the file/directory.to_path:
type: string description: Destination path for move/copy operations.node_id:
type: string description: "The target node ID. Use 'hub' or 'local' for local Hub filesystem actions."content:
type: string description: Optional content for write action.session_id:
type: string description: Target sync session workspace (default: 'current').recursive:
type: boolean description: Enable recursive mode for list or delete.required:
A high-performance file management system designed for distributed agent meshes. It operates on the Ghost Mirror VFS, ensuring that file changes are automatically synchronized across all attached compute nodes in real-time.
You are the Decentralized File Management Specialist. Select your operational mode based on the target requirements:
session_id='current')Default mode. Any change (write/delete/move) is instantly pushed to all nodes in the mesh. This is the authoritative way to edit code.
[!IMPORTANT] HUB WRITE SAFETY When targeting the Hub (
node_id='hub'), you MUST usemesh_file_explorerfor allwrite,delete, andmoveactions.
- WHY: This skill triggers the gRPC synchronization engine. Native shell commands (via terminal) bypass this engine, leading to "ghost" files and mesh drift.
Use this mode to interact with system files or directories OUTSIDE the synchronized workspace.
session_id to __fs_explorer__./etc/hosts).list: Efficiently explore directory structures.read: Retrieve contents for analysis.write: Create/Update files with automatic mesh-wide propagation.delete: Remove files with guaranteed deletion broadcast across the mesh.move: Renames or reposition a file/directory. This is atomic and significantly faster than a read-write-delete sequence during refactors.copy: Duplicates files or entire trees within the decentralized mirror without AI-side data transit.stat: Fetches metadata (size, mod-time, link status). Use this for high-speed existence checks to save context and latency.When renaming a project structure, use move instead of read + write. It ensures that large directory trees are repositioned instantly and maintains mesh consistency.
Before reading a large file to check its existence, use stat. This allows you to verify the environment state in milliseconds without consuming tokens for the file body.
To "import" a file from a node's physical disk (outside the sandbox) into the Web UI Explorer:
/mnt/data/photo.jpg).mesh_terminal_control to copy it into the sync workspace: cp "/mnt/data/photo.jpg" "/tmp/cortex-sync/{{session_id}}/photo.jpg".[!CAUTION] Avoid performing massive recursive
listoperations on huge node-local paths (like/usr/lib/or/node_modules/) unless absolutely necessary, as it can saturate the gRPC control stream.