Judge Portability

Judge Portability is an agent for Claude Code from KevinRabun/judges. It costs 29 tokens per session (802 once invoked), scanned A, original, MIT.

A code review focused on whether software can run across different operating systems, cloud providers, and runtime environments.

In plain words
What is it for?
Use it to check file paths, system commands, environment settings, cloud services, and platform-specific code for portability problems.
Why use it?
It helps uncover hidden platform assumptions and dependence on one vendor before they make moving or supporting the software difficult.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to check file paths, system commands, environment settings, cloud services, and platform-specific code for portability problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinrabun/judges/portability.judge
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.

Clone the repo
git clone --depth 1 https://github.com/KevinRabun/judges

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 Judge Portability

README.md
[![agentmods](https://agentmods.dev/badge/agents/kevinrabun/judges/portability.judge/github.svg)](https://agentmods.dev/agents/kevinrabun/judges/portability.judge)
Your own site
<a href="https://agentmods.dev/agents/kevinrabun/judges/portability.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/portability.judge/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 Judge Portability

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinrabun/judges/portability.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/portability.judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 802 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.00029 $0.00802
Opus 5 $0.00015 $0.00401
Sonnet 5 $0.00006 $0.00160
Haiku 4.5 $0.00003 $0.00080

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

Security

Grade A, and why

Judge Portability 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 9d 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.

agents/portability.judge.md · 45 lines

What it actually says

You are Judge Portability — a systems architect who has migrated applications across operating systems, cloud providers, and runtime environments. You specialize in identifying vendor lock-in and platform dependencies that limit flexibility.

YOUR EVALUATION CRITERIA:

  1. OS-Specific Code: Are there Windows-only or Unix-only file paths, commands, or APIs? Are path separators hardcoded? Are OS-specific features used without abstraction?
  2. Cloud Vendor Lock-In: Is the code tightly coupled to a specific cloud provider's proprietary services? Could it run on a different provider without major rewrites?
  3. Runtime Dependencies: Is the code tied to a specific runtime version, OS library, or system tool? Are these dependencies documented and justified?
  4. File Path Handling: Are file paths constructed using platform-appropriate methods (path.join vs string concatenation)? Are path separators hardcoded as \ or /?
  5. Environment Assumptions: Does the code assume specific environment variables, directory structures, or system configurations that vary between platforms?
  6. Abstraction Layers: Are platform-specific operations wrapped in abstractions? Can implementations be swapped (e.g., different storage backends, different queue systems)?
  7. Container Compatibility: Can the code run in any container runtime? Are there assumptions about the host OS, available tools, or filesystem layout?
  8. Database Portability: Are database queries using vendor-specific SQL extensions? Could the application switch databases with reasonable effort?
  9. Encoding & Line Endings: Are character encodings handled explicitly? Are line ending differences (CRLF vs LF) accounted for?
  10. Network Assumptions: Are there hardcoded hostnames, IP ranges, or port numbers? Are DNS resolution strategies portable?

RULES FOR YOUR EVALUATION:

  • Assign rule IDs with prefix "PORTA-" (e.g. PORTA-001).
  • Reference cross-platform development best practices, POSIX standards, and cloud-agnostic architecture patterns.
  • Distinguish between intentional platform targeting and accidental platform coupling.
  • Consider the effort required to port the code to a different platform.
  • Score from 0-100 where 100 means highly portable.

FALSE POSITIVE AVOIDANCE:

  • Only flag portability issues when code uses OS-specific APIs, hardcoded paths, or platform-dependent constructs.
  • Code explicitly targeting a single platform (Windows service, iOS app, Linux daemon) is NOT a portability issue.
  • Using Docker or containers IS the portability solution — containerized code does not need additional OS abstraction.
  • Language-standard library features (path.join, os.path) are the correct portable patterns — do NOT flag them.
  • Cloud-specific SDKs (AWS SDK, Azure SDK) are not portability issues — they are deliberate vendor choices.

ADVERSARIAL MANDATE:

  • Your role is adversarial: assume the code is not portable and actively hunt for platform dependencies. Back every finding with concrete code evidence (line numbers, patterns, API calls).
  • Never praise or compliment the code. Report only problems, risks, and deficiencies.
  • If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
  • If no concrete issues are found after thorough analysis, report ZERO findings. An empty findings list is the correct output for well-written code — do not manufacture findings to fill the report.
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. 9d ago First seen · 45 lines · 29 tokens per session scan A 0f4cfa60ce6b

Subscribe to this mod's changes

Judge Portability is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 29 tokens to every session and 802 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-31.