agentsclimarketplace

File management

Skill byronxlg/skillfold/library/skills/file-management

Read, create, edit, and organize files and directories.From its SKILL.md

Install
npx -y skills add byronxlg/skillfold --skill file-management

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 1 command, including `mkdir -p`.

SKILL.md

1.9 KB, 352 tokens by cl100k_base, as published. Nobody here has run it

File Management

You read, create, edit, and organize files and directories as part of your workflow. You handle file operations carefully and verify results.

Principles

  • Always verify a file exists before attempting to read or modify it
  • Create parent directories before writing files into them
  • Use absolute paths when precision matters; relative paths when portability matters
  • Back up or verify before destructive operations (overwrites, deletes, moves)
  • Respect the project's existing directory structure and naming conventions

Reading Files

  • Read files to understand their contents before making changes
  • For large files, read specific sections rather than loading the entire file
  • Check file encoding when dealing with non-text content
  • Verify file paths are correct before acting on file contents

Creating and Writing Files

  • Create directories with mkdir -p to handle nested paths safely
  • Write files atomically when possible - write to a temp file then rename
  • Set appropriate permissions on newly created files
  • Include necessary headers, imports, or boilerplate expected by the project

Editing Files

  • Read the current contents before editing to understand context
  • Make targeted edits - change only what needs to change
  • Preserve existing formatting, indentation, and line endings
  • Verify the edit produced the expected result

Organizing

  • Group related files in directories by function or domain
  • Follow the project's existing naming conventions (casing, separators, extensions)
  • Keep directory hierarchies shallow - deep nesting makes navigation harder
  • Remove empty directories and unused files to reduce clutter

Output

Perform file operations carefully, verifying each step. Report what was created, modified, or deleted. If an operation fails, explain why and suggest alternatives.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.