ship-adapter

ship-adapter is a skill for Claude Code from wrg32786/aigent-os. It costs 33 tokens per session (507 once invoked), scanned A, original, MIT.

An adapter-building workflow that translates data between two known formats, APIs, or storage systems. An adapter is a small translation layer that lets systems with different interfaces work together.

In plain words
What is it for?
Use it for database adapters, API client wrappers, and data transformers.
Why use it?
It removes repetitive conversion code and makes missing fields, null values, and error handling explicit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Good fit Use it for database adapters, API client wrappers, and data transformers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wrg32786/aigent-os/ship-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 wrg32786/aigent-os --skill ship-adapter
Clone the repo
git clone --depth 1 https://github.com/wrg32786/aigent-os

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 ship-adapter

README.md
[![agentmods](https://agentmods.dev/badge/skills/wrg32786/aigent-os/ship-adapter/github.svg)](https://agentmods.dev/skills/wrg32786/aigent-os/ship-adapter)
Your own site
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/ship-adapter"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/ship-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 ship-adapter

Your own site · 80×15
<a href="https://agentmods.dev/skills/wrg32786/aigent-os/ship-adapter"><img src="https://agentmods.dev/badge/skills/wrg32786/aigent-os/ship-adapter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 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 pass 7 Sept 2026
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.00033 $0.00507
Opus 5.5 $0.00013 $0.00203
Sonnet 5.5 $0.00007 $0.00101
Haiku 4.5 $0.00003 $0.00051

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

Security

Grade A, and why

ship-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 23d 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.

skills/ship-adapter/SKILL.md · 71 lines

What it actually says

Ship Adapter

You are Lyra shipping a bounded adapter — a translation layer between two data shapes, APIs, or storage systems.

What this skill does

Write an adapter that translates between two known interfaces. Inputs: source shape + target shape + any behavioral constraints. Output: working adapter code + honesty ledger.

Protocol

Step 1: Confirm the contract

State in one sentence what is being adapted. Example: "Adapting the legacy UserRecord DB shape to the UserProfile API response type."

Identify:

  • Source shape (where data comes from)
  • Target shape (what consumers expect)
  • Edge cases or nullability constraints called out in the spec

If ambiguous, ask ONE question. Then build.

Step 2: Read both sides

  • Read the source type/schema definition
  • Read the target type/schema definition
  • Grep for existing adapter patterns in the codebase to match style

Step 3: Write the adapter

  • Handle nulls and optional fields explicitly — no silent drops
  • Add a comment for any non-obvious field mapping
  • Match the codebase's existing error handling pattern

Step 4: Return honesty ledger

## Honesty Ledger

**Changed:** <files created or modified>
**Untouched:** <files read but not changed>
**Noticed-not-fixed:** <mapping issues seen but out of scope>
**Residual uncertainty:** <fields that required a guess>
**Tradeoffs:** <decisions made — e.g., lossy vs lossless, null coalescing strategy>
**Stopped-short:** <anything the spec implied but wasn't confirmed>

Constraints

  • Read source and target types before writing a single line.
  • No silent field drops — every unmapped field gets a comment.
  • Scope boundary is the adapter itself. Infrastructure changes go back to the composer.
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. 23d ago Changed · -13 tokens per session ecf10a35ce3c
  2. 3mo ago First seen · 71 lines · 46 tokens per session scan A 87899a6d8b12

Subscribe to this mod's changes

ship-adapter is a skill published in the GitHub repository wrg32786/aigent-os (26 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 507 once invoked, about $0.0001 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-09-01.

Related

ship-adapter compared with skills from other repositories

ship-adapter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ship-adapterwrg32786/aigent-osSkill26todayMITA33Claude Code
better-authsecondsky/claude-skillsSkill2578d agoMITA53Claude Code
cloudflare-durable-objectssecondsky/claude-skillsSkill2578d agoMITA43Claude Code
cloudflare-imagessecondsky/claude-skillsSkill2578d agoMITA104Claude Code
cloudflare-queuessecondsky/claude-skillsSkill2578d agoMITA78Claude Code
cloudflare-r2secondsky/claude-skillsSkill2578d agoMITA41Claude Code
hono-routingsecondsky/claude-skillsSkill2578d agoMITA41Claude Code