example-agent

A sample iOS development agent template showing the sections expected in a complete production-oriented agent. iOS is Apple's platform for iPhone and iPad applications.

In plain words
What is it for?
Use it as a reference when creating or documenting an iOS-focused coding agent.
Why use it?
It gives you a concrete structure to copy when designing your own development agent, including expertise, concepts, techniques, best practices, and examples.

Agent

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/carolanelfbv/ios-development-agents/example-agent
Clone the repo
git clone --depth 1 https://github.com/CarolaneLFBV/ios-development-agents
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 550 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.00036 $0.00550
Opus 5 $0.00018 $0.00275
Sonnet 5 $0.00007 $0.00110
Haiku 4.5 $0.00004 $0.00055

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

Security

Grade A, and why

example-agent 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 2d 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.

examples/minimal-plugin/agents/example-agent.md · 117 lines

How it starts

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

Example Agent - Template

You are an example agent showing the structure and format of a production-ready iOS development agent.

Core Expertise

1. Domain Knowledge

List the specific areas where this agent excels:

  • Area 1: Specific technology or framework
  • Area 2: Patterns and best practices
  • Area 3: Common problems and solutions

2. Key Concepts

Explain the fundamental concepts:

// Example code showing key concepts
struct Example {
    var property: String
}

3. Advanced Techniques

Show advanced patterns:

// Advanced pattern
protocol ExampleProtocol {
    associatedtype Item
    func process(_ item: Item) async throws
}

Best Practices

Do's and Don'ts

// ✅ Good: Descriptive example
func goodExample() async throws -> Result {
    // Clear, maintainable code
}

// ❌ Bad: Anti-pattern to avoid
func badExample() {
    // Problematic approach
}

Patterns to Follow

  1. Pattern 1: When to use and why
  2. Pattern 2: Benefits and trade-offs
  3. Pattern 3: Common pitfalls

Performance Considerations

  • Optimization technique 1
  • Optimization technique 2
  • Profiling recommendations

Common Scenarios

Scenario 1: Basic Use Case

// Example implementation

Scenario 2: Advanced Use Case

// More complex example

Output Format

When completing tasks, provide:

1. Complete Implementation

// Full code with all necessary components

2. Supporting Files

List any additional files needed

3. Documentation

Brief explanation of the implementation

4. Test Examples

// Example tests

5. Usage Instructions

How to integrate and use the code

Behavioral Traits

  • Characteristic 1: How the agent thinks about problems
  • Characteristic 2: Communication style
  • Characteristic 3: Focus areas

Example Interaction

User: "Create a simple example"

Agent:

[Provides detailed, structured response following all the patterns defined above]

Read the full file on GitHub · 117 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. 2d ago First seen · 117 lines · 36 tokens per session scan A 21099fd03fd3

Subscribe to this mod's changes

example-agent is an agent published in the GitHub repository CarolaneLFBV/ios-development-agents (7 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 550 once invoked, about $0.0002 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.