Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add chaterm/terminal-skills --skill file-operationsgit clone --depth 1 https://github.com/chaterm/terminal-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chaterm/terminal-skills/file-operations)<a href="https://agentmods.dev/skills/chaterm/terminal-skills/file-operations"><img src="https://agentmods.dev/badge/skills/chaterm/terminal-skills/file-operations/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chaterm/terminal-skills/file-operations"><img src="https://agentmods.dev/badge/skills/chaterm/terminal-skills/file-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.01088 |
| Opus 5 | $0.00005 | $0.00544 |
| Sonnet 5 | $0.00002 | $0.00218 |
| Haiku 4.5 | $0.00001 | $0.00109 |
Grade D, and why
file-operations scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 755 file # rwxr-xr-x Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf dir # Recursive force delete How it starts
The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.
File and Directory Operations
Overview
Linux file system operation skills, including file search, batch operations, permission management, etc.
File Search
find Command
# Search by name
find /path -name "*.log"
find /path -iname "*.LOG" # Case insensitive
# Search by type
find /path -type f # Files
find /path -type d # Directories
find /path -type l # Symbolic links
# Search by time
find /path -mtime -7 # Modified within 7 days
find /path -mtime +30 # Modified more than 30 days ago
find /path -mmin -60 # Modified within 60 minutes
# Search by size
find /path -size +100M # Larger than 100MB
find /path -size -1k # Smaller than 1KB
# Combined conditions
find /path -name "*.log" -mtime +7 -size +10M
locate Command
# Quick search (requires database update)
locate filename
updatedb # Update database
# Case insensitive
locate -i filename
File Operations
Basic Operations
# Copy
cp file1 file2
cp -r dir1 dir2 # Recursive copy directory
cp -p file1 file2 # Preserve attributes
# Move/Rename
mv file1 file2
mv file1 /path/to/dest/
# Delete
rm file
rm -rf dir # Recursive force delete
rm -i file # Interactive confirmation
# Create
touch file # Create empty file
mkdir -p dir1/dir2/dir3 # Recursive create directories
Batch Operations
# Batch rename
rename 's/old/new/' *.txt
for f in *.txt; do mv "$f" "${f%.txt}.md"; done
# Batch delete
find /path -name "*.tmp" -delete
find /path -name "*.log" -mtime +30 -exec rm {} \;
# Batch copy
find /src -name "*.conf" -exec cp {} /dest/ \;
File Content
View Files
cat file # Full content
head -n 20 file # First 20 lines
tail -n 20 file # Last 20 lines
tail -f file # Real-time follow
less file # Paginated view
# Statistics
wc -l file # Line count
wc -w file # Word count
wc -c file # Byte count
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 182 lines · 9 tokens per session scan D 890476b11c76
file-operations is a skill published in the GitHub repository chaterm/terminal-skills (59 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 9 tokens to every session and 1,088 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
skillci-guardrails
Use this skill whenever you create, edit, or review a Claude Skill — any SKILL.md file, or the eval cases/config next to one. Most SKILL.md files today are written or edited by an agent, not typed by hand, so this closes the loop by having the agent that just wrote the skill also author it defensively and verify it…
example-skill
Writes a single changelog entry summarizing a code change, given a short description of what changed.
clean-skill
A skill with no lint issues, used as a starting point for the lint-on-type test.
skill-with-referenced-issue
Has a clean SKILL.md but an unsafe referenced script.
council
Run one request through several skills in parallel, isolated subagents, then merge their answers or judge the single best one. Use when the user invokes /council (or /council manage), or uses clear multi-skill-comparison language like "try this with a few different skills", "compare how different skills answer this"…
council-lite
Run one request through several approaches or skills one at a time, keeping each pass as independent as possible, then merge the answers or pick the best one. The claude.ai-compatible version of Council. Use when the user says things like "try this a few different ways and compare", "run this through several of my…