laurentvv/graph-orchestrator-smolagents/windows-file-management

Claude Code and agent skill by laurentvv/graph-orchestrator-smolagents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this skill when working on Windows environments, particularly when you need to create folders, manipulate files, or execute shell commands. It explains how to avoid Unix-specific commands (like mkdir -p or rm -rf) and use Windows-compatible PowerShell commands or native Python alternatives.

Install

npx vskill@latest install laurentvv/graph-orchestrator-smolagents/windows-file-management

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry/windows-file-management.

Windows File Management Best Practices

When operating as an autonomous agent or writing code that executes in a Windows shell (like PowerShell), you MUST follow these rules to avoid syntax errors and failed executions.

1. Avoid Unix-specific Shell Commands

Do NOT use Unix-specific syntax in bash/shell commands:

  • ❌ mkdir -p folder/subfolder -> PowerShell does not support -p.
  • ❌ rm -rf folder -> PowerShell does not support -rf.
  • ❌ touch file.txt -> PowerShell does not have touch.
  • ❌ cmd1 && cmd2 -> PowerShell older versions do not support &&. Use ; instead.

2. Use PowerShell Equivalents

When executing shell commands on Windows:

  • ✅ Create Directory: New-Item -ItemType Directory -Force -Path "folder/subfolder" (or simply mkdir folder/subfolder which natively creates parents in PowerShell).
  • ✅ Remove Directory: Remove-Item -Recurse -Force "folder"
  • ✅ Create Empty File: New-Item -ItemType File -Force -Path "file.txt"
  • ✅ Chain Commands: cmd1 ; cmd2

3. Prefer Python (os / pathlib)

Whenever possible, instead of executing shell commands, write a Python script using standard libraries. It is inherently cross-platform.

  • Create folders:

``python import os os.makedirs("folder/subfolder", exist_ok=True) ``

  • Write files:

``python from pathlib import Path Path("folder/file.txt").write_text("content", encoding="utf-8") ``

Note: If you are running inside a restricted CodeAgent sandbox, ensure that "os" and "pathlib" are included in the `additional_authorized_imports` list.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/laurentvv/graph-orchestrator-smolagents/windows-file-management/badge)](https://verified-skill.com/skills/laurentvv/graph-orchestrator-smolagents/windows-file-management)

Something wrong with this skill or its page? Tell us.