domain

domain is an agent for coding agents from shaps80/SwiftUIBackports. It costs 0 tokens per session (207 once invoked), scanned A, original, MIT.

A guide for using a repository's domain documentation, meaning the files that explain its project-specific terms, structure, and decisions. It directs engineering work to read files such as CONTEXT.md and architecture decision records before exploring the code.

In plain words
What is it for?
Use it when investigating or changing a repository, especially when you need to understand its glossary, folder structure, documentation, or architecture decisions.
Why use it?
It reduces confusion caused by unfamiliar project vocabulary or undocumented design choices. It also helps identify when a proposed change conflicts with an earlier technical decision.

Agent

About the project

SwiftUIBackports is a Swift package that recreates selected newer SwiftUI APIs for older versions of Apple’s operating systems, using familiar names and behavior where practical. Swift developers use it to adopt newer interface patterns while keeping applications compatible with earlier iOS, macOS, tvOS, and watchOS releases. The catalogue entries include agents, instructions, and a discovery skill that help coding agents locate and use the available backports.

shaps80/SwiftUIBackports · 1,088 stars · on GitHub

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 agents/shaps80/swiftuibackports/domain
Clone the repo
git clone --depth 1 https://github.com/shaps80/SwiftUIBackports

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 domain

README.md
[![agentmods](https://agentmods.dev/badge/agents/shaps80/swiftuibackports/domain.svg)](https://agentmods.dev/agents/shaps80/swiftuibackports/domain)
Your own site
<a href="https://agentmods.dev/agents/shaps80/swiftuibackports/domain"><img src="https://agentmods.dev/badge/agents/shaps80/swiftuibackports/domain.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 207 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00207
Opus 5 $0.00000 $0.00103
Sonnet 5 $0.00000 $0.00041
Haiku 4.5 $0.00000 $0.00021

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

Security

Grade A, and why

domain 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 5d 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.

docs/agents/domain.md · 36 lines

What it actually says

Domain Docs

How engineering skills should consume this repo's domain documentation.

Before Exploring, Read These

  • CONTEXT.md at the repo root.
  • Relevant ADRs under docs/adr/, if present.

If these files do not exist or no ADR matches the task area, proceed silently.

File Structure

This is a single-context repo:

/
|-- CONTEXT.md
|-- AGENTS.md
|-- docs/
|   |-- agents/
|   `-- adr/
`-- Sources/
    `-- SwiftUIBackports/

Use Glossary Vocabulary

When output names a project concept, use the term as defined in CONTEXT.md. Do not drift to synonyms where the glossary has a preferred term.

If the needed concept is missing from the glossary, note the gap and add it only when the term is stable enough to help future work.

Flag ADR Conflicts

If proposed work contradicts an ADR, surface the conflict explicitly before implementing.

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. 5d ago First seen · 36 lines · 0 tokens per session scan A 76ac6b07401e

Subscribe to this mod's changes

domain is an agent published in the GitHub repository shaps80/SwiftUIBackports (1,088 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 207 tokens. 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 agents, from other repositories

i18n

Hermex ships one String Catalog, HermesMobile/Resources/Localizable.xcstrings, included in the app, widget, and share-extension targets. Every user-facing literal is already externalized (String(localized:) / LocalizedStringKey), so adding a language is normally translation-only — no Swift edits.

uzairansaruzi/hermex · 0 tokens

feature-gap-index

Thin, always-current classification of upstream Hermes-WebUI API route groups against Hermes-Mobile. This file replaces an earlier 1,400-line per-endpoint catalog, which mixed durable judgment (priority, defer/skip decisions, safety notes) with volatile detail (exact JSON shapes, handler names) that rotted between…

uzairansaruzi/hermex · 0 tokens

tooling-runner

Haiku runner for TMDb build/test commands — executes exactly one make target (or its xcode-tools MCP equivalent), writes the full output to a .build/last-.log file, and returns only a concise pass/fail + failures-as-file:line summary. Spawned by the /build, /build-for-testing, /test, and /integration-test skills; not…

adamayoung/TMDb · 89 tokens

check-diagnoser

No-fix diagnoser for one failing PR status check on the TMDb repo — runs the routed diagnosis skill (/diagnose-ci-failure or /diagnose-integration-failure) and returns only its three-section Summary / Likely cause / Suggested fix result, never raw logs; it reports, never applies. Spawned by /fix-pr-checks (directly…

adamayoung/TMDb · 125 tokens

omp

Install Remarc's public OMP plugins, verify the MCP connection, and pair a session for instant comment delivery.

metedata/Remarc · 23 tokens

i18n

Multiplex ships English (source), Traditional Chinese (zh-Hant, Taiwan wording) and Japanese (ja). Decisions below were settled 2026-08-18; do not re-litigate without new facts.

multiplex-term/Multiplex · 0 tokens