Tooluck logoTooluck
SKILL.md

filesystem

Agent skill fromMemento-Teams/Memento-Skills

Direct filesystem operations (read, write, edit, list, search files). Use for any file manipulation tasks.

How to install filesystem

install filesystem
# install the Memento-Skills pack with the skills CLI
npx skills add Memento-Teams/Memento-Skills

# or add only this skill to Claude Code: copy the folder

builtin/skills/filesystem/

# into

~/.claude/skills/filesystem/ (all projects)

.claude/skills/filesystem/ (one project)

builtin/skills/filesystem/SKILL.md

Apache-2.0Full file
1# Filesystem Skill
2
3## Overview
4Direct filesystem operations without external dependencies. Read, write, edit, list, copy, move, and search files.
5
6## Usage
7
8Use the available builtin tools to perform file operations directly. Commonly used tools for this skill are: `list_dir`, `read_file`, `file_create`, `edit_file_by_lines`, `grep`, and `bash`.
9
10When the task requires programmatic/structured processing (e.g., parsing complex formats or batch transformations), `python_repl` can be used as an advanced fallback.
11
12- Paths can be absolute or relative to working_dir
13- Parent directories are created automatically for write operations
14- For complex file operations not covered by builtin tools, use `bash`
15
16---
17
18## Common Recipes
19
20### JSON
21
22```python
23import json
24
25# Read
26with open('data.json', 'r', encoding='utf-8') as f:
27 data = json.load(f)
28
29# Write (pretty-printed)
30with open('output.json', 'w', encoding='utf-8') as f:
31 json.dump(data, f, indent=2, ensure_ascii=False)
32```
33
34### CSV
35
36```python
37import csv
38
39# Read
40with open('data.csv', 'r', encoding='utf-8') as f:
41 reader = csv.DictReader(f)
42 for row in reader:
43 print(row)
44
45# Write
46with open('output.csv', 'w', newline='', encoding='utf-8') as f:
47 writer = csv.DictWriter(f, fieldnames=['name', 'value'])
48 writer.writeheader()
49 writer.writerows([{'name': 'a', 'value': 1}])
50```
51
52### YAML
53
54```python
55# Requires: pip install pyyaml
56import yaml
57
58# Read
59with open('config.yaml', 'r') as f:
60 data = yaml.safe_load(f)
61…

Excerpt shown under the repository's Apache-2.0 license.

More skills in Memento-Skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates