winport

winport is a skill for Claude Code from chrono-meta/forge-harness. It costs 114 tokens per session (1,780 once invoked), scanned A, original, MIT.

A set of practices for making Python scripts run outside the machine where they were written, especially on Windows build agents and Korean-Windows systems. It covers paths, text encodings, child-process output and piped terminal output.

In plain words
What is it for?
Use it when writing or reviewing Python scripts for Windows and macOS, CI runners or build agents. It helps handle repository paths and UTF-8 or cp949 text safely.
Why use it?
It prevents scripts from depending on a developer's absolute folder or local text encoding. Running the script elsewhere can reveal failures that reading the code alone misses.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cart-winport plugin — 1 skill shipped together

Good fit Use it when writing or reviewing Python scripts for Windows and macOS, CI runners or build agents. It helps handle repository paths and UTF-8 or cp949 text safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chrono-meta/forge-harness/winport
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chrono-meta/forge-harness --skill winport
Clone the repo
git clone --depth 1 https://github.com/chrono-meta/forge-harness

Made for: Claude Code.

Or install cart-winport, the plugin that ships this one along with the rest of its 1 skill.

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 winport

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrono-meta/forge-harness/winport/github.svg)](https://agentmods.dev/skills/chrono-meta/forge-harness/winport)
Your own site
<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/winport"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/winport/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 winport

Your own site · 80×15
<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/winport"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/winport.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00114 $0.01780
Opus 5.5 $0.00046 $0.00712
Sonnet 5.5 $0.00023 $0.00356
Haiku 4.5 $0.00011 $0.00178

Measured today against content hash 9188e6128aff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

winport scanned grade A with 0 findings 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cart-winport/skills/winport/SKILL.md · 87 lines

How it starts

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

A script is not portable until it ran somewhere else

Measured before this cartridge: asked for a Python script that runs git log in a repository and «runs on our Windows build agents as well as on macOS», a careful model wrote correct UTF-8 handling in every run — and in 3 of 3 Sonnet runs pasted the absolute macOS path it was given as the repository location. The script passed on the Mac it was written on and died on Windows (NotADirectoryError). Reading the code did not catch it; running it from another folder does.

S=<this plugin>/scripts

1. Write the script so it can move

  • Paths: resolve data from os.path.dirname(os.path.abspath(__file__)) or take them as arguments. A path you were given in the request is where the files are today, on this machine — do not paste it into the code.
  • Text files: encoding="utf-8" on every text open(), read_text(), write_text(); utf-8-sig for CSV from Excel.
  • Child processes: read bytes and .decode("utf-8", "replace"), or pass encoding="utf-8" with text=True.
  • Printing: a piped stdout on Korean Windows is cp949; sys.stdout.reconfigure(errors="replace") (or encoding="utf-8" when the reader expects UTF-8) before printing anything outside cp949 (é, ï, emoji).

2. Check it — every time, before you say it works on Windows

python3 $S/winport_check.py check <script.py> [-- <the arguments the agent will pass>]

It reads the code (PINNED-PATH, LOCALE-ENCODING, LOCALE-DECODE, BOM-UNHANDLED warning) and runs a copy of the script's folder from a new place under the ko_KR.CP949 locale, PYTHONUTF8=0, piped stdout, under sandbox-exec: the original folder is unreadable and, best effort, the network and writes outside the moved copy are denied — the script's own sockets and file writes only, not work it hands to a system service (RELOCATED-RUN, CP949-RUN, RUN-FAILED). Fix every FAIL and run it again until the last line starts with WINPORT PASS. That line also names what was not exercised (§4).

Read the full file on GitHub · 87 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. today First seen · 87 lines · 114 tokens per session scan A 9188e6128aff

Subscribe to this mod's changes

winport is a skill published in the GitHub repository chrono-meta/forge-harness (33 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 1,780 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-01.

Related

winport compared with skills from other repositories

winport next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winportchrono-meta/forge-harnessSkill33todayMITA114Claude Code
vnpy-exportHKUDS/Vibe-TradingSkill39kyesterdayMITA40Claude Code, Codex
yfinanceHKUDS/Vibe-TradingSkill39kyesterdayMITA41Claude Code, Codex
migrating-langchain-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA100Codex
migrating-vercel-ai-sdk-and-eve-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA107Codex
migrating-claude-agent-sdk-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA90Codex
migrating-mastra-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA73Codex