Xpersona
L

Local File Manager

CLAWHUB · Unverified

Read, write, append, and list local files in the session's working directory. Use when you need to persist output to disk, read input files, or manipulate fi... Skill: Local File Manager Owner: liyico Summary: Read, write, append, and list local files in the session's working directory. Use when you need to persist output to disk, read input files, or manipulate fi... Tags: latest:1.0.0, local:1.0.0 Version history: v1.0.0 | 2026-03-26T18:47:58.480Z | user Local skill registration Archive index: Archive v1.0.0: 6 files, 6193 bytes Files: _meta.json (137b), index.ts (1747b),

62
Rank
84
Safety
2.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.3K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fyxxpe9v43npymfc8ywdcah83m93q:local-file-manager
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-liyico-local-file-manager/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

6,912 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: local-file-manager
description: Read, write, append, and list local files in the session's working directory. Use when you need to persist output to disk, read input files, or manipulate file system safely. Supports text files, JSON, CSV, Markdown.
---

# Local File Manager Skill

This skill provides safe file I/O operations within the session's `cwd`. It is designed for roles that need to store outputs locally (no cloud sync).

## Capabilities

- **Read file**: Get contents of a text file
- **Write file**: Create or overwrite a file
- **Append file**: Add content to existing file
- **List files**: Directory listing with filtering
- **Delete file**: Remove a file (with safety checks)
- **Copy/Move**: Simple file operations

## When to Use

Role needs to:
- Save generated code/analysis to disk
- Read input documents (PDFs, text, etc.)
- Append logs or results
- Create output files in Markdown/JSON/CSV

## Usage

```bash
# Read a file
file-manager --action read --path output.md

# Write content (from stdin or --content)
file-manager --action write --path result.json --content '{"status":"done"}'

# Append to file
file-manager --action append --path log.txt --content "Job completed at $(date)"

# List files in directory
file-manager --action list --dir . --pattern "*.md"

# Create directory
file-manager --action mkdir --dir reports

# Delete file (with confirmation)
file-manager --action delete --path old_file.txt
```

## Safety

- **Sandboxed to cwd**: Cannot access files outside session's working directory
- **Protected files**: Cannot delete files starting with `.` or in `../`
- **Size limit**: Max file size 10MB (configurable)
- **Dry-run support**: `--dry-run` shows what would happen

## Integration with Roles

In role config, enable this skill:

```yaml
plugins:
  allow:
    - local-file-manager
    - doc-parser
```

Then in the role's system prompt, guide usage:

```
When you finish analysis, write the result to a file:
  file-manager --action write --path summary.md --content "$YOUR_MARKDOWN"
```

## Examples

**Researcher saving analysis:**
```bash
file-manager --action write --path analysis_$(date +%Y%m%d).md \
  --content "# Analysis\n\n## Summary\n..." 
```

**Developer saving code:**
```bash
file-manager --action write --path src/main.py --content "$CODE"
```

**Automation appending log:**
```bash
file-manager --action append --path /var/log/automation.log \
  --content "[$(date)] Task completed\n"
```

## Error Handling

- If file doesn't exist for read: returns error code 1
- If path is outside cwd: denied
- If write fails (permission): returns error
- All errors logged to `~/.openclaw/logs/file-manager.log`

## Configuration

Environment variables:
- `FILE_MANAGER_MAX_SIZE`: Max file size in bytes (default 10485760)
- `FILE_MANAGER_LOG`: Path to operation log (default `~/.openclaw/logs/file-manager.log`)
- `FILE_MANAGER_DRY_RUN`: Set to "1" to only simulate operations

_meta.json

{
  "ownerId": "kn7a5kct5sdn9kck055ann7pk983e4en",
  "slug": "local-file-manager",
  "version": "1.0.0",
  "publishedAt": 1774550878480
}

skill-card.md

## Description:

Read, write, append, delete, create directories, and list local files in a session working directory for agents that need local file persistence.

This skill is ready for commercial/non-commercial use.

## Publisher:

[liyico](https://clawhub.ai/user/liyico)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill when an agent needs to save generated output, read local input files, append logs or results, create directories, list workspace files, or remove files during a session.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The security review says the skill can run unsafe shell commands and may cause filesystem effects outside the intended working-directory boundary.

Mitigation: Review before installation, run only in a disposable tightly sandboxed environment, and prefer an implementation that uses native filesystem APIs or execFile/spawn with argument arrays.

Risk: Path handling may not reliably prevent workspace escape, including symlink-based escape or insufficient canonicalization.

Mitigation: Canonicalize paths against the session cwd, block symlink escapes, and enforce workspace-bound read, write, and delete permissions.

Risk: The skill may log file operations outside the workspace by default.

Mitigation: Make logging opt-in or direct logs to a workspace-local path before use.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/liyico/skills/local-file-manager)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Text or file contents returned through command output; configuration and usage guidance may be Markdown or inline shell commands.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Supports local file operations such as read, write, append, list, mkdir, and delete; maximum file size is documented as 10MB.]

## Skill Version(s):

1.0.0 (source: server release evidence and skill.json)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

skill.json

{
  "name": "local-file-manager",
  "version": "1.0.0",
  "description": "本地文件系统管理工具 - 文件读写、目录遍历、搜索、移动、删除等操作。",
  "author": "local",
  "license": "MIT",
  "main": "scripts/file_manager.py",
  "scripts": {
    "list": "scripts/list_files.sh",
    "read": "scripts/read_file.py",
    "write": "scripts/write_file.py",
    "search": "scripts/search_files.py"
  },
  "dependencies": {
    "python": ">=3.8"
  },
  "requirements": [
    "python3 >= 3.8"
  ],
  "capabilities": [
    "file-system",
    "data-management"
  ],
  "permissions": {
    "file_system": {
      "read": [
        "~/.openclaw/workspace/**"
      ],
      "write": [
        "~/.openclaw/workspace/**"
      ],
      "delete": [
        "~/.openclaw/workspace/**"
      ]
    }
  },
  "configuration": {
    "max_file_size": 10485760
  },
  "documentation": "README.md",
  "tags": [
    "filesystem",
    "file-manager",
    "storage"
  ]
}

Sponsored

Ads related to Local File Manager and adjacent AI workflows.