スキル一覧に戻る
BreakerOfStems

linux-filesystem

by BreakerOfStems

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: linux-filesystem description: Filesystem operations within workspace boundaries

Linux Filesystem Skill

Safe filesystem operations bounded to workspace directories.

See also: Shared Conventions | Safety Guidelines

Purpose

Navigate, read, and modify files within designated workspace directories.

Commands

ls <path>
cat <file>
head <file>
tail <file>
grep <pattern> <path>
find <path> <options>
mkdir -p <path>
cp <source> <dest>
mv <source> <dest>
rm <file>
rm -r <directory>

Workspace Boundary

All operations restricted to: ~/workspace/ and subdirectories

Before any operation, verify path is within bounds:

realpath /path/to/target | grep -q "^$HOME/workspace/" || echo "UNSAFE PATH"

Workflow Examples

Find Files

# Find by name
find ~/workspace/project -name "*.py" -type f

# Find recently modified
find ~/workspace/project -type f -mtime -1

# Find by content
grep -r "TODO" ~/workspace/project/

Read Files

# Full file
cat ~/workspace/project/config.json

# First/last lines
head -20 ~/workspace/project/logs/app.log
tail -50 ~/workspace/project/logs/app.log

# Follow logs
tail -f ~/workspace/project/logs/app.log

Modify Files

# Create directory
mkdir -p ~/workspace/project/src/utils

# Copy files
cp ~/workspace/project/config.example.json ~/workspace/project/config.json

# Move/rename
mv ~/workspace/project/old-name.py ~/workspace/project/new-name.py

Delete (Use with Caution)

# Single file
rm ~/workspace/project/temp.txt

# Directory (show contents first)
ls ~/workspace/project/build/
rm -r ~/workspace/project/build/

Policies

  • Verify path is within workspace before any write/delete operation
  • List before delete - always show what will be removed
  • No symlink escape - verify symlinks don't point outside workspace
  • No .. traversal that escapes workspace
  • Use -i flag for interactive confirmation on destructive operations when uncertain

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です