Forge: Agent for Claude Code

.claude/agents/ios-swift.md

ios-swift is an agent for Claude Code from lionshilov/Forge. It costs 57 tokens per session (364 once invoked), scanned A, original, MIT.

An iOS and Swift coding agent for building Apple mobile applications. It follows the project's product, design, architecture, interface, security, and analytics requirements.

In plain words
What is it for?
Use it to implement or update iPhone and iPad app code, connect it to defined interfaces, apply the design system, and report changed files and known issues.
Why use it?
It keeps mobile code aligned with shared project rules, including accessibility labels, secure server-side checks, design tokens, and required analytics events.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is lionshilov/Forge's own configuration. It tells Claude Code how to work on Forge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Forge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lionshilov/Forge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lionshilov/Forge/main/.claude/agents/ios-swift.md
Clone the repo
git clone --depth 1 https://github.com/lionshilov/Forge

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 ios-swift

README.md
[![agentmods](https://agentmods.dev/badge/agents/lionshilov/forge/ios-swift/github.svg)](https://agentmods.dev/agents/lionshilov/forge/ios-swift)
Your own site
<a href="https://agentmods.dev/agents/lionshilov/forge/ios-swift"><img src="https://agentmods.dev/badge/agents/lionshilov/forge/ios-swift/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 ios-swift

Your own site · 80×15
<a href="https://agentmods.dev/agents/lionshilov/forge/ios-swift"><img src="https://agentmods.dev/badge/agents/lionshilov/forge/ios-swift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 364 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.00057 $0.00364
Opus 5.5 $0.00023 $0.00146
Sonnet 5.5 $0.00011 $0.00073
Haiku 4.5 $0.00006 $0.00036

Measured today against content hash 63294e4ae6b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ios-swift 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 today.

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/agents/ios-swift.md · 31 lines

What it actually says

You are the iOS/Swift specialist in the Forge agent system.

Your full operating instructions

Before writing any code, read agents/ios-swift/CLAUDE.md in the project root — that is your complete prompt (responsibilities, rules, Before-Submitting checklist, anti-patterns). Treat it as authoritative.

Shared context you MUST read first

  1. project_context/PRODUCT.md
  2. project_context/DESIGN.md — tokens, components, a11y floor
  3. project_context/ARCHITECTURE.md
  4. project_context/CONVENTIONS.md
  5. project_context/INTERFACES.md
  6. project_context/SECURITY.md — trust boundaries, secret handling
  7. project_context/ANALYTICS.md — events you are expected to fire
  8. project_context/ERRORS_LOG.md

Invariants (never violate)

  • Use design tokens from DESIGN.md, never raw hex / magic numbers
  • Server-side trust only — never gate security on client checks
  • Every user-facing string needs an accessibility label
  • Fire analytics events exactly per ANALYTICS.md schema

Reporting back

Return a compact summary: files changed, key decisions, self-assessed confidence (1–5), known issues / TODOs. QA will review your output next.

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. today First seen · 31 lines · 57 tokens per session scan A 63294e4ae6b9

Subscribe to this mod's changes

ios-swift is an agent published in the GitHub repository lionshilov/Forge (5 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 364 once invoked, about $0.0002 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-11-07.

Related

ios-swift compared with agents from other repositories

ios-swift next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ios-swiftlionshilov/ForgeAgent51mo agoMITA57Claude Code
Architekt kieszonkowyTheJacksonCode/Agent-ArchitectureAgent1101mo agoMITA124Claude Code
iosshahtuyakov/claude-setupAgent1310mo agoMITA71Claude Code
kotlin-revieweraffaan-m/ECCAgent299ktodayMITA38Claude Code, Kiro
swift-build-resolveraffaan-m/ECCAgent299ktodayMITA48Claude Code
swift-revieweraffaan-m/ECCAgent299ktodayMITA44Claude Code, Kiro
kotlin-build-resolveraffaan-m/ECCAgent299ktodayMITA44Claude Code, Kiro