shimwire CLAUDE.md

shimwire CLAUDE.md is an instructions file for coding agents from caspel26/shimwire. It costs 1,075 tokens per session, scanned A, original, MIT.

Project instructions for shimwire, a command-line tool that can create a mock API server from an OpenAPI description or run HTTP tests stored in version-controlled TOML files.

In plain words
What is it for?
Use it when changing shimwire commands such as init, run, mock, or generate, or when making architectural decisions in the project.
Why use it?
It gives coding agents the project’s design, current implementation status, technical choices, and rules for handling unfinished or deferred work.

Instructions file

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.

agentmods
npx agentmods add instructions/caspel26/shimwire/claude-md
Clone the repo
git clone --depth 1 https://github.com/caspel26/shimwire

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 shimwire CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/caspel26/shimwire/claude-md.svg)](https://agentmods.dev/instructions/caspel26/shimwire/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/caspel26/shimwire/claude-md"><img src="https://agentmods.dev/badge/instructions/caspel26/shimwire/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,075 This file is loaded in full into every session.
When invoked 1,075 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01075 $0.01075
Opus 5 $0.00537 $0.00537
Sonnet 5 $0.00215 $0.00215
Haiku 4.5 $0.00108 $0.00108

Measured 4d ago against content hash daa6cec986c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

shimwire CLAUDE.md 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 4d 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.

CLAUDE.md · 33 lines

How it starts

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

shimwire

A CLI tool with two modes sharing one engine:

  • Mock mode: generates a fake-but-schema-valid API server from an OpenAPI spec
  • Client mode: a scriptable, git-friendly HTTP test runner (collections as version-controlled TOML files, not a proprietary cloud format)

Full design and phased rollout: shimwire-implementation-plan.md. Read it before making architectural decisions — it defines the stack, project structure, data formats, and phase exit criteria.

Status

Phases 0–3 done. shimwire init, run (Phase 1), mock (Phase 2), and generate (Phase 3 — auto-scaffolds a collection from an OpenAPI spec, with heuristic depends_on linking between a resource's POST and its /{id} operations, auth pre-fill from securitySchemes (bearer/basic/apiKey), and fake request bodies via the Phase 2 schema faker; unresolvable guesses are written as review-comment headers in the generated TOML) are all implemented and tested. Phase 4 (TUI) is explicitly deferred — don't build it unprompted. Phase 5 (polish/distribution) is partial: released as v0.1.0 and published on npm (npm install -g shimwire / bunx shimwire, no build step — ships raw TS off the #!/usr/bin/env bun shebang in src/cli.ts, so bin must stay executable, i.e. chmod +x, and files in package.json must keep scoping the tarball to src/); standalone binaries and Homebrew aren't started. Check what's actually in a directory before assuming the plan's full structure is populated.

Repo is public. main requires the test CI check to pass before merging a PR (direct pushes from the maintainer still bypass this by design — see branch protection settings, not tracked in this repo).

Stack

  • TypeScript on Bun (native TS execution, bun test, bun build --compile for single-binary distribution)
  • commander for CLI parsing, fastify for the mock server, @apidevtools/swagger-parser for OpenAPI, @faker-js/faker for fake data, smol-toml for collection/env files, picocolors for output
  • No Node-only tooling assumptions — everything should run via bun, not node/npm, unless a dependency truly requires it. The one deliberate exception: .github/workflows/publish.yml's actual npm publish step uses the real npm CLI via actions/setup-node, not bun publishbun publish didn't pick up the NODE_AUTH_TOKEN-style auth in CI (failed with "missing authentication" despite a correctly-set secret), so don't "fix" that back to bun publish without solving the auth problem first.

Read the full file on GitHub · 33 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. 4d ago First seen · 33 lines · 1,075 tokens per session scan A daa6cec986c9

Subscribe to this mod's changes

shimwire CLAUDE.md is an instructions file published in the GitHub repository caspel26/shimwire (2 stars, last pushed 22d ago), licensed MIT. It adds 1,075 tokens to every session, about $0.0054 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.

Related

Other instructions, from other repositories