model-portability-adapter

model-portability-adapter is a skill for Claude Code, Codex from ntaffzii/Skill-Agents. It costs 55 tokens per session (545 once invoked), scanned A, original, MIT.

Guidance for rewriting skills, workflows, prompts, and tool instructions so they can work with different AI models and agent platforms.

In plain words
What is it for?
Use it to make agent instructions vendor-neutral for Claude, ChatGPT, Gemini, Codex, local agents, or other systems that support tools.
Why use it?
It removes dependence on one provider’s tool names, interface, or hidden behavior, making instructions easier to reuse elsewhere.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to make agent instructions vendor-neutral for Claude, ChatGPT, Gemini, Codex, local agents, or other systems that support tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ntaffzii/skill-agents/model-portability-adapter
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 ntaffzii/Skill-Agents --skill model-portability-adapter
Clone the repo
git clone --depth 1 https://github.com/ntaffzii/Skill-Agents

Made for: Claude Code, Codex.

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 model-portability-adapter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ntaffzii/skill-agents/model-portability-adapter/github.svg)](https://agentmods.dev/skills/ntaffzii/skill-agents/model-portability-adapter)
Your own site
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/model-portability-adapter"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/model-portability-adapter/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 model-portability-adapter

Your own site · 80×15
<a href="https://agentmods.dev/skills/ntaffzii/skill-agents/model-portability-adapter"><img src="https://agentmods.dev/badge/skills/ntaffzii/skill-agents/model-portability-adapter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 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.00055 $0.00545
Opus 5 $0.00028 $0.00272
Sonnet 5 $0.00011 $0.00109
Haiku 4.5 $0.00006 $0.00055

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

Security

Grade A, and why

model-portability-adapter 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.

Skill.md/model-portability-adapter/SKILL.md · 83 lines

How it starts

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

Model Portability Adapter

Use this skill to make agent instructions portable across model providers and clients.

Portability Principle

Write for agent capability, not provider branding.

Good:

  • Use available file-reading tools.
  • Use available command execution tools.
  • Use available web/search tools.
  • Use the client's artifact/document feature if present.

Avoid:

  • Hardcoding one client's tool name.
  • Assuming one model's memory, browsing, artifact, or MCP behavior.
  • Depending on hidden system prompts.

Compatibility Targets

This skill is intended for:

  • Claude or Claude Code
  • ChatGPT or custom GPT-style agents
  • Gemini or Gems-style agents
  • Codex or coding agents
  • Local agents with MCP servers
  • Multi-agent systems with their own tool registry

Workflow

  1. Identify the instruction type

    • Skill: behavior or domain process.
    • Workflow: ordered multi-step job.
    • Tool instruction: executable action mapping.
    • Prompt: one-off request or reusable template.
  2. Remove vendor coupling

    • Replace exact tool names with capability names.
    • Replace client-specific UI assumptions with generic alternatives.
    • Keep any vendor-specific notes in an adapter section, not the core skill.
  3. Normalize structure

    • Use clear frontmatter when supported.
    • Put trigger guidance in the description.
    • Keep the body procedural.
    • Include verification and output expectations.
  4. Add adapter notes

    • Claude: can use SKILL.md style folders when the client supports skills.
    • ChatGPT: can paste the core instructions into custom instructions or project instructions.
    • Gemini: can use the core instructions as Gem or agent guidance.
    • Local MCP agents: map capability names to registered MCP tools.
  5. Validate portability

    • Check that the skill still makes sense without exact tool names.
    • Check that a model without file tools can still ask for files or explain the blocker.
    • Check that a model with tools knows when to inspect, act, and verify.

Read the full file on GitHub · 83 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. 9d ago First seen · 83 lines · 55 tokens per session scan A 5fa01f0e5622

Subscribe to this mod's changes

model-portability-adapter is a skill published in the GitHub repository ntaffzii/Skill-Agents (4 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 545 once invoked, about $0.0003 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.