bamr87

Port — Development skill for Claude Code

Development community

Translate scripts between bash, POSIX sh, zsh, PowerShell, and Python.

How to install Port

Installs to ~/.claude/commands/bamr87-bashos-port.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/bamr87/bashos/HEAD/.claude/commands/port.md -o ~/.claude/commands/bamr87-bashos-port.md

Restart Claude Code, or start a new session, for it to be picked up.

What Port does


description: Translate scripts between bash, POSIX sh, zsh, PowerShell, and Python argument-hint: target language + the code bashos: loop: prompt

Translate this between shells/languages:

$ARGUMENTS

  • If the target isn't stated, infer it and say what you inferred. Supported directions include bash ↔ POSIX sh ↔ zsh ↔ PowerShell ↔ Python.
  • Return the translated program in one fenced block, then a DIFFERENCES table: semantics that do not carry over 1:1 — word splitting, globbing, ex

Alternatives in Development

  • Tau — A Python port of Pi’s minimalist coding agent 2.5k ★
  • Translate Book — Claude Code skill that translates entire books (PDF/DOCX/EPUB) into any language using parallel subagents 542 ★
  • Skill-porter - Gemini CLI Extension — Converts Claude Code skills to Gemini CLI extensions and vice versa 160 ★

Full documentation available on GitHub

View Source Repository