port

port is a command for Claude Code from danielraffel/generous-corp-marketplace. It costs 14 tokens per session (8,554 once invoked), scanned A, original, MIT.

A command for moving a JUCE audio-plugin project between macOS, Windows, and Linux. JUCE is a framework for building cross-platform audio software.

In plain words
What is it for?
Use it to audit or port a JUCE plugin, optionally test it on a virtual machine, and trigger GitHub Actions checks.
Why use it?
It identifies platform-specific code and applies the changes needed for another operating system, reducing manual porting work.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/daniel/Code/ProjectName.

Part of the juce-dev plugin — 3 skills, 10 commands shipped together

Good fit Use it to audit or port a JUCE plugin, optionally test it on a virtual machine, and trigger GitHub Actions checks.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add danielraffel/generous-corp-marketplace
Claude Code
/plugin install juce-dev

Made for: Claude Code.

Or install juce-dev, the plugin that ships this one along with the rest of its 3 skills, 10 commands.

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 port

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/port/github.svg)](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/port)
Your own site
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/port"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/port/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 port

Your own site · 80×15
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/port"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/port.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,554 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.00014 $0.08554
Opus 5 $0.00007 $0.04277
Sonnet 5 $0.00003 $0.01711
Haiku 4.5 $0.00001 $0.00855

Measured 10d ago against content hash 40a1d0558ad8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

port 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 10d 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.

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/juce-dev/commands/port.md · 661 lines

How it starts

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

Port JUCE Plugin Cross-Platform

Port an existing JUCE plugin project to another platform. Supports porting in any direction: macOS → Windows/Linux, or Windows → macOS/Linux. Scans for platform-specific code, generates a plan, applies changes, and optionally tests on a VM or via CI.

Arguments

Platform (required) — the target platform you're porting TO:

  • windows — Port to Windows (MSVC + Ninja, D3D11)
  • linux — Port to Linux (Clang + Ninja, Vulkan)
  • macos — Port to macOS (Apple Clang + Xcode/Ninja, Metal)
  • all — Port to all other platforms

Options:

  • --audit-only — Just scan and report issues, don't make changes
  • --vm <alias> — SSH alias for target platform VM (e.g., --vm win)
  • --test-ci — After porting, trigger GitHub Actions CI to verify

Implementation

Stage 0: Detect Project and Source Platform

Verify this is a JUCE-Plugin-Starter project:

# Must have these files
test -f CMakeLists.txt || { echo "ERROR: No CMakeLists.txt — not a JUCE project"; exit 1; }
test -f .env || test -f .env.example || { echo "WARNING: No .env file found"; }
test -d scripts/ || { echo "WARNING: No scripts/ directory"; }
test -d Source/ || { echo "ERROR: No Source/ directory"; exit 1; }

Detect the source platform (what the project was built on):

# Check for macOS-origin indicators
has_mm_files=$(find Source/ -name "*.mm" 2>/dev/null | head -1)
has_xcode_script=$(test -f scripts/generate_and_open_xcode.sh && echo "yes")
has_build_sh=$(test -f scripts/build.sh && echo "yes")

# Check for Windows-origin indicators
has_ps1=$(test -f scripts/build.ps1 && echo "yes")
has_msvc_cmake=$(grep -l "if(MSVC)" CMakeLists.txt 2>/dev/null)
has_azure_signing=$(grep -l "AZURE_TENANT_ID" .env 2>/dev/null || grep -l "AZURE_TENANT_ID" .env.example 2>/dev/null)
has_inno_setup=$(grep -rl "Inno Setup\|\.iss" scripts/ 2>/dev/null | head -1)

# Check for Linux-origin indicators
has_linux_cmake=$(grep -l "UNIX AND NOT APPLE" CMakeLists.txt 2>/dev/null)
has_linux_deps=$(grep -l "libasound2-dev\|libwebkit2gtk" scripts/dependencies.sh 2>/dev/null)
has_linux_updater=$(test -f Source/AutoUpdater_Linux.cpp && echo "yes")

Read the full file on GitHub · 661 lines

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. 10d ago First seen · 661 lines · 14 tokens per session scan A 40a1d0558ad8

Subscribe to this mod's changes

port is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 11d ago), licensed MIT. It adds 14 tokens to every session and 8,554 once invoked, about $0.0001 per session on Opus 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-08-30.