AgentSkillsCN

Windows Native Tools Skill

Windows原生工具技能

SKILL.md

Windows Native Tools Skill

Use native Windows tools instead of shell commands.

Tools Available

  • list_files — List directory contents. Use instead of dir, ls.
  • run_process — Start a process. Use instead of shell commands.
  • read_file — Read file contents. Use instead of cat, type.
  • close_window — Close a window by PID. Only works for processes started by run_process.

Rules

  1. NEVER use bash, sh, cmd, or powershell
  2. NEVER use shell commands like dir, ls, cat, type, copy, move, del
  3. ALWAYS use the tools above for file and process operations
  4. Working directory for run_process is always the project root
  5. All file paths must be within the project directory

Examples

List files

list_files(path=".") list_files(path="src")

Run a build

run_process(command="dotnet", args=["build"])

Read a log file

read_file(path="logs/app.log")

Start and close an app

pid = run_process(command="notepad") close_window(pid=pid)