harness_portability

harness_portability is a skill for Claude Code from theafh/ai-modules. It costs 157 tokens per session (5,410 once invoked), scanned A, original, MIT.

A review guide for making scripts, hooks, commands, servers, and setup files work across different coding-agent systems and operating systems.

In plain words
What is it for?
Use it when creating, editing, reviewing, or troubleshooting portable skill and plugin scripts, hooks, wrappers, installation flows, and related instructions.
Why use it?
It helps prevent runtime artifacts from depending on one machine, shell, agent harness, or unverified configuration detail.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Codex; mentions Gemini CLI.

Part of the ai_dev plugin — 26 skills, 9 agents, 1 hook shipped together

Good fit Use it when creating, editing, reviewing, or troubleshooting portable skill and plugin scripts, hooks, wrappers, installation flows, and related instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theafh/ai-modules/harness_portability
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 theafh/ai-modules --skill harness_portability
Clone the repo
git clone --depth 1 https://github.com/theafh/ai-modules

Made for: Claude Code.

Or install ai_dev, the plugin that ships this one along with the rest of its 26 skills, 9 agents, 1 hook.

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 harness_portability

README.md
[![agentmods](https://agentmods.dev/badge/skills/theafh/ai-modules/harness_portability/github.svg)](https://agentmods.dev/skills/theafh/ai-modules/harness_portability)
Your own site
<a href="https://agentmods.dev/skills/theafh/ai-modules/harness_portability"><img src="https://agentmods.dev/badge/skills/theafh/ai-modules/harness_portability/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 harness_portability

Your own site · 80×15
<a href="https://agentmods.dev/skills/theafh/ai-modules/harness_portability"><img src="https://agentmods.dev/badge/skills/theafh/ai-modules/harness_portability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,410 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 63
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00157 $0.05410
Opus 5.5 $0.00063 $0.02164
Sonnet 5.5 $0.00031 $0.01082
Haiku 4.5 $0.00016 $0.00541

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

Security

Grade A, and why

harness_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 15d 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/ai_dev/skills/harness_portability/SKILL.md · 148 lines

How it starts

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

harness_portability

<harness_portability> Keep bundled skill and plugin runtime artefacts portable across agent harnesses and operating systems. Apply this skill whenever a change creates or edits scripts, hooks, agent definitions, MCP helpers, command wrappers, setup flows, output styles, or the skill and plugin wording that tells future agents how to execute, initialize, or configure those artefacts.

<fact_sourcing> <verify_before_encoding> Treat every concrete harness fact as perishable: a configuration root, a frontmatter key, a tool name, an environment variable, a hook event, a settings key, a version threshold. Confirm each one against current official provider documentation, the loader source, or the installed build before a change depends on it, and record which of those three the claim rests on. An observed behavior on the machine at hand outranks documentation that omits it, and documentation outranks recollection. </verify_before_encoding> <where_snapshots_live> Where the working repository carries a wiki, read its harness pages first: they hold the last verified snapshot with the date and source behind each claim, which makes them a starting point that still needs re-verification rather than an authority. Write a new finding back there, or into this skill's own references/ directory when a future agent needs it in a repository that has no such wiki. Keep this skill body to the rules themselves, so a portability review costs the rules rather than the whole fact base. </where_snapshots_live> <state_the_gap> State the verification gap plainly when a claim could not be confirmed, and name what would settle it. Carry an unconfirmed classification as pending rather than resolving it toward whichever answer is convenient, because a wrong negative closes a line of inquiry that a stated gap keeps open. </state_the_gap> </fact_sourcing>

Read the full file on GitHub · 148 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. 15d ago Changed · +2 lines df9de6f257bd
  2. 25d ago Changed · +19 lines 1e3d4a560b31
  3. 1mo ago First seen · 127 lines · 157 tokens per session scan A b30c12713214

Subscribe to this mod's changes

harness_portability is a skill published in the GitHub repository theafh/ai-modules (38 stars, last pushed today), licensed MIT. It adds 157 tokens to every session and 5,410 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

openclaw/clawhub · 17 tokens

omh-code-review

This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 48 tokens

revdiff-plan

Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…

umputun/revdiff · 84 tokens

explore-unknowns

Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…

dzhng/skills · 162 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

asplos-writing-style

Use when drafting or revising ASPLOS prose — engineering the first two pages that rapid review actually reads, stating the cross-layer insight as one quotable sentence, structuring per-layer mechanism sections, writing bounded claims, and fitting everything into 11 self-contained pages that include figures and…

brycewang-stanford/Awesome-Journal-Skills · 65 tokens