Individual skill
windows-python-first
Use for agent tasks in native Windows that need file edits, text conversion, JSON processing, or shell commands with quoting or encoding problems. Prefer Python for these operations. Do not apply Windows shell rules to macOS, Linux, or WSL.
assets/skills/windows-python-first/SKILL.md
Source commit f27ddc483e189f1bb81af6d9334cf3c5501a8349
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 435
- Repository last updated
- Nov 8, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agentic-workflows Repository topic
- ai-agents Repository topic
- claude-code Repository topic
- codegraph Repository topic
- codex Repository topic
- developer-tools Repository topic
- typescript Repository topic
- operations Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
Read excerpt
# Windows Python First
Worker entrypoint. Confirm that the task runs in native Windows before using these rules.
Use Python for file and text operations in native Windows. Use PowerShell to launch programs and for Windows APIs that require it. Keep direct Git, build, and test commands when they already work.
## Select the runtime
Confirm the OS and the shell from the tool context. If needed, use `$PSVersionTable.PSVersion` to identify the PowerShell version. A Windows host can run a WSL shell. Use Linux rules inside WSL.
Use the project's Python interpreter when it has one. Otherwise, check `py -3 --version`. If that command is unavailable, check `python --version`. Confirm Python 3 and its executable path before use. A command name alone does not prove that an interpreter is installed.
For file and text work, launch the selected interpreter with `-X utf8`. This enables Python UTF-8 mode. It does not change the encoding of other programs or prove that PowerShell will decode their output correctly.