claude-scaffold: Skill for Claude Code

.claude/skills/windows-developer/SKILL.md

windows-developer is a skill for Claude Code from pyramidheadshark/claude-scaffold. It costs 0 tokens per session (648 once invoked), scanned A, original, MIT.

A set of Windows-specific development guidelines for Python and Windows script files such as PowerShell, batch, and command files. It loads automatically when working on Windows.

In plain words
What is it for?
Writing or editing .py, .ps1, .bat, and .cmd files, and handling Windows-specific development workflows.
Why use it?
It helps avoid common Windows problems with text encoding, Python commands, file paths, and terminal output.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is pyramidheadshark/claude-scaffold's own configuration. It tells Claude Code how to work on claude-scaffold itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-scaffold configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/run.py.

Reuse

Borrowing it

Nothing to install: this file belongs to pyramidheadshark/claude-scaffold. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pyramidheadshark/claude-scaffold/main/.claude/skills/windows-developer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pyramidheadshark/claude-scaffold

Made for: Claude Code.

Wrote 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.

agentmods badge for windows-developer

README.md
[![agentmods](https://agentmods.dev/badge/skills/pyramidheadshark/claude-scaffold/windows-developer/github.svg)](https://agentmods.dev/skills/pyramidheadshark/claude-scaffold/windows-developer)
Your own site
<a href="https://agentmods.dev/skills/pyramidheadshark/claude-scaffold/windows-developer"><img src="https://agentmods.dev/badge/skills/pyramidheadshark/claude-scaffold/windows-developer/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.

agentmods 80×15 button for windows-developer

Your own site · 80×15
<a href="https://agentmods.dev/skills/pyramidheadshark/claude-scaffold/windows-developer"><img src="https://agentmods.dev/badge/skills/pyramidheadshark/claude-scaffold/windows-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00648
Opus 5.5 $0.00000 $0.00259
Sonnet 5.5 $0.00000 $0.00130
Haiku 4.5 $0.00000 $0.00065

Measured 1mo ago against content hash a4c03227b1df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

windows-developer scanned grade A with 1 finding 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 1mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(cmd, capture_output=True, text=True, encoding="utf-8")
.claude/skills/windows-developer/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Windows Developer Guide

When to Load

Automatically loaded on Windows (platform_trigger: "win32"). Applies to: .py, .ps1, .bat, .cmd files and any Windows-specific workflow.

Python on Windows

Encoding (CRITICAL)

Windows defaults to cp1251 / cp1252 for file I/O. Always specify UTF-8 explicitly:

with open("file.txt", "r", encoding="utf-8") as f:
    content = f.read()

Path("file.txt").read_text(encoding="utf-8")
Path("file.txt").write_text(content, encoding="utf-8")

import json
json.load(open("data.json", encoding="utf-8"))

At script entry point, reconfigure stdout:

import sys
sys.stdout.reconfigure(encoding="utf-8")
sys.stderr.reconfigure(encoding="utf-8")

For subprocess calls:

subprocess.run(cmd, capture_output=True, text=True, encoding="utf-8")

Python Command

Use python (not python3) on Windows. The python3 alias is not reliably available.

python -m pytest tests/
python -m pip install -e .
python scripts/run.py

Path Handling

Use pathlib.Path or os.path — never hardcode forward/backslashes:

from pathlib import Path
config = Path(__file__).parent / "config" / "settings.json"

Terminal Encoding

Git Bash (Preferred for Claude Code)

Git Bash handles UTF-8 well by default. Recommended as primary shell.

CMD / PowerShell

Set code page to UTF-8 before running scripts:

chcp 65001

PowerShell profile setup:

[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8

Environment Variable

Set globally for consistent behavior:

[Environment]::SetEnvironmentVariable("PYTHONIOENCODING", "utf-8", "User")

Common Windows Pitfalls

  1. File locking: Windows locks open files — close handles before rename/delete
  2. Max path length: Enable long paths via Group Policy or registry if paths exceed 260 chars
  3. Line endings: Configure git: git config core.autocrlf true
  4. Temp files: Use tempfile.NamedTemporaryFile(delete=False) — Windows cannot open a temp file while it's held
  5. Process cleanup: Use taskkill /F /PID instead of kill -9
  6. Permission errors on rmtree: Use onerror handler for read-only files:

Read the full file on GitHub · 103 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 1mo ago First seen · 103 lines · 0 tokens per session scan A a4c03227b1df

Subscribe to this mod's changes

windows-developer is a skill published in the GitHub repository pyramidheadshark/claude-scaffold (4 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 648 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

integrating-sast-into-github-actions-pipeline

This skill covers integrating Static Application Security Testing (SAST) tools—CodeQL and Semgrep—into GitHub Actions CI/CD pipelines. It addresses configuring automated code scanning on pull requests and pushes, tuning rules to reduce false positives, uploading SARIF results to GitHub Advanced Security, and…

adriannoes/awesome-agentic-ai · 84 tokens

performing-sca-dependency-scanning-with-snyk

This skill covers implementing Software Composition Analysis (SCA) using Snyk to detect vulnerable open-source dependencies in CI/CD pipelines. It addresses scanning package manifests and lockfiles, automated fix pull request generation, license compliance checking, continuous monitoring of deployed applications, and…

adriannoes/awesome-agentic-ai · 77 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

adriannoes/awesome-agentic-ai · 68 tokens

implementing-code-signing-for-artifacts

This skill covers implementing code signing for build artifacts to ensure integrity and authenticity throughout the software supply chain. It addresses signing binaries, packages, and containers using GPG, Sigstore, and platform-specific signing tools, establishing trust chains, and verifying signatures in deployment…

adriannoes/awesome-agentic-ai · 62 tokens

integrating-dast-with-owasp-zap-in-pipeline

This skill covers integrating OWASP ZAP (Zed Attack Proxy) for Dynamic Application Security Testing in CI/CD pipelines. It addresses configuring baseline, full, and API scans against running applications, interpreting ZAP findings, tuning scan policies, and establishing DAST quality gates in GitHub Actions and GitLab…

adriannoes/awesome-agentic-ai · 76 tokens

performing-container-image-hardening

This skill covers hardening container images by minimizing attack surface, removing unnecessary packages, implementing multi-stage builds, configuring non-root users, and applying CIS Docker Benchmark recommendations to produce secure production-ready images.

adriannoes/awesome-agentic-ai · 46 tokens