ShipSwift AGENTS.md

ShipSwift AGENTS.md is an instructions file for Codex, OpenCode from signerlabs/ShipSwift. It costs 1,107 tokens per session, scanned A, original, MIT.

Project-specific instructions for ShipSwift, an iOS library of reusable interface components, animations, charts, and larger modules. They describe the repository layout, naming rules, and dependency boundaries.

In plain words
What is it for?
Use them when adding or editing ShipSwift components, navigating its showcase app, or checking which parts of the library may depend on each other.
Why use it?
They help a coding agent place changes in the right directory and follow the project's existing organization and rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

About the project

signerlabs/ShipSwift is a SwiftUI component library that also provides full-stack app recipes and an MCP server for AI coding tools. It helps developers and coding agents build iOS applications using reusable interface components and documented implementation patterns. The catalogue entries provide the skills, instructions, and MCP access needed to use ShipSwift with compatible agents.

signerlabs/ShipSwift · 2,983 stars · on GitHub · shipswift.app

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/signerlabs/shipswift/agents-md
Clone the repo
git clone --depth 1 https://github.com/signerlabs/ShipSwift

Made for: Codex, OpenCode.

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 ShipSwift AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/signerlabs/shipswift/agents-md.svg)](https://agentmods.dev/instructions/signerlabs/shipswift/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/signerlabs/shipswift/agents-md"><img src="https://agentmods.dev/badge/instructions/signerlabs/shipswift/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,107 This file is loaded in full into every session.
When invoked 1,107 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.1 $0.01107 $0.01107
Opus 5 $0.00553 $0.00553
Sonnet 5 $0.00221 $0.00221
Haiku 4.5 $0.00111 $0.00111

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

Security

Grade A, and why

ShipSwift AGENTS.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 6d 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.md · 72 lines

How it starts

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

AGENTS.md

Project Overview

  • ShipSwift iOS component template library (public repo)

Directory Structure

  • Reusable components live under ShipSwift/SWPackage/ in five directories:
    • SWAnimation/ — Self-contained animation components (each works independently, may depend on SWUtil only)
    • SWChart/ — Self-contained chart components (each works independently, may depend on SWUtil only)
    • SWComponent/ — Self-contained UI components organized by category:
      • Display/ — Display components (FloatingLabels, MarkdownText, ScrollingFAQ, RotatingQuote, BulletPointText, GradientDivider, Label, OnboardingView, OrderView, RootTabView)
      • Feedback/ — Feedback components (Alert, Loading, ThinkingIndicator)
      • Input/ — Input components (TabButton, Stepper, AddSheet, SearchBar)
    • SWModule/ — Multi-file frameworks (SWAuth, SWCamera, SWPaywall, SWChat, SWSetting, SWSubjectLifting, SWTikTokTracking)
    • SWUtil/ — Shared utilities (no dependencies on other SWPackage directories)
  • Showcase app views live under ShipSwift/View/ (HomeView, ModuleListView, AnimationListView, ChartListView, UIListView, ComponentListShared, ProPaywallView, RootTabView, SettingView, ShipSwiftAuthView, SWHolographicCardShowcase)
  • App services live under ShipSwift/Service/ (ShipSwiftAPIService)
  • Shared app components live under ShipSwift/Component/ (ListItem)

Naming Conventions

  • All type names use the SW prefix: SWAlertManager, SWStoreManager, SWCameraView
  • View modifier methods use .sw lowercase prefix: .swAlert(), .swPageLoading(), .swPrimary
  • File names match their primary type: SWAlert.swift contains SWAlertManager
  • Platform suffix rule: iOS-only files use +iOS suffix (e.g. SWCameraManager+iOS.swift), macOS-only files use +macOS suffix. Cross-platform files have no suffix
  • Xcode Build Phases reminder: This project supports both iOS and macOS. When adding a +iOS or +macOS file, remind the user to set the platform filter in Xcode → Build Phases → Compile Sources (change "Always Used" to "iOS" or "macOS"). Do NOT use #if os(iOS) / #if os(macOS) as a substitute

Read the full file on GitHub · 72 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. 6d ago First seen · 72 lines · 1,107 tokens per session scan A c9e49558f8b2

Subscribe to this mod's changes

ShipSwift AGENTS.md is an instructions file published in the GitHub repository signerlabs/ShipSwift (2,983 stars, last pushed 27d ago), licensed MIT. It adds 1,107 tokens to every session, about $0.0055 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-30.