Port — Development skill for Claude Code
Translate scripts between bash, POSIX sh, zsh, PowerShell, and Python.
How to install Port
Installs to ~/.claude/commands/bamr87-bashos-port.md
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 RepositoryRelated Skills
Claude Code Pwsh Guard
Claude Code hook pack that stops the agent firing Bash-only syntax at a Windows PowerShell session. Detects ex
Cc Completion
Shell completion scripts for Claude Code CLI - tab completion for commands, options, and arguments in bash, zs
Fusion360 MCP
MCP bridge between Claude Code and Fusion 360: runs Python scripts in the active Fusion session
Repo Sync Agents
Apply .agents/skills/sync-agents/SKILL.md: run powershell -File scripts/sync-agents.ps1 (Windows) or ./scripts
Claude Config Transfer
Two PowerShell scripts that move a full Claude Code setup (settings, permissions, personal skills, all marketp
Nanopi
Tiny Rust port of Pi — a ~4 MB statically-linked coding agent CLI for old/low-resource Linux boxes. OpenAI + A
Related Agents
Shell Scripting Pro
Write robust shell scripts with proper error handling, POSIX compliance, and automation patterns. Masters bash
Bash Zsh macOS Engineer
Use this agent when you need to develop, optimize, or debug bash/zsh scripts specifically for macOS environmen
Shell Pro
Writes or refactors shell scripts (bash or POSIX sh) matching the repo's portability posture, verifying with s