fearless-iOS AGENTS.md

fearless-iOS AGENTS.md is an instructions file for Codex, OpenCode from soramitsu/fearless-iOS. It costs 2,895 tokens per session, scanned C, original, Apache-2.0.

A set of repository instructions for the Fearless iOS cryptocurrency wallet, including its code structure, dependencies, build commands, tests, and coding conventions.

In plain words
What is it for?
Use it when changing, building, or testing this iOS wallet and its related modules.
Why use it?
It gives coding agents the project-specific rules they need instead of making assumptions about how the repository works.

Instructions file for CodexOpenCode

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/soramitsu/fearless-ios/agents-md
Clone the repo
git clone --depth 1 https://github.com/soramitsu/fearless-iOS

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 fearless-iOS AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/soramitsu/fearless-ios/agents-md.svg)](https://agentmods.dev/instructions/soramitsu/fearless-ios/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/soramitsu/fearless-ios/agents-md"><img src="https://agentmods.dev/badge/instructions/soramitsu/fearless-ios/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,895 This file is loaded in full into every session.
When invoked 2,895 The same file — it is already loaded in full.
Security scan C 1 finding. 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.02895 $0.02895
Opus 5 $0.01448 $0.01448
Sonnet 5 $0.00579 $0.00579
Haiku 4.5 $0.00290 $0.00290

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

Security

Grade C, and why

fearless-iOS AGENTS.md scanned grade C with 1 finding 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- Alternatively, write a `~/.netrc` with GitHub credentials (read-only).
AGENTS.md · 180 lines

How it starts

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

Repository Guidelines

About this codebase
This repository contains the codebase for a cryptocurrency wallet compatible with the Polkadot ecosystem (and related networks).
It uses dependencies available in the iOS ecosystem (e.g., SoraFoundation, SoraKeystore, FearlessKeys) and has an Android counterpart in soramitsu/fearless-Android.

Project Structure & Modules

  • fearless/: App sources, split by features/modules.
  • fearlessTests/, fearlessIntegrationTests/: Unit/integration tests.
  • fearless.xcworkspace, fearless.xcodeproj: Xcode workspace/project files.
  • Pods/, Podfile, Podfile.lock: CocoaPods dependencies.
  • Jenkinsfile: CI pipeline configuration.
  • Config files: .swiftlint.yml, .swiftformat, .periphery.yml.

Build, Test, and Dev Commands

  • Install dependencies: pod install
  • Build (Debug, simulator):
    • xcodebuild -workspace fearless.xcworkspace -scheme fearless -configuration Debug -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15' build
  • Run unit tests (on simulator):
    • xcodebuild -workspace fearless.xcworkspace -scheme fearless.tests -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15' test
  • Lint/format:
    • swiftlint (uses .swiftlint.yml)
    • swiftformat . (uses .swiftformat)
    • CI matrix: bash scripts/test-matrix.sh runs tests for Debug and Release

Example destinations

  • iPhone 15: -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15'
  • iPhone 14 Pro: -destination 'platform=iOS Simulator,OS=latest,name=iPhone 14 Pro'
  • iPad Pro (11-inch) 4th gen: -destination 'platform=iOS Simulator,OS=latest,name=iPad Pro (11-inch) (4th generation)'

Tip: list available destinations with xcodebuild -showsdks and xcrun simctl list devices.

CI note

  • Jenkins is configured to run tests on each build. For deterministic local parity, use scripts/test-matrix.sh before opening a PR.

Coding Style & Naming

  • Language: Swift; follow Swift API design guidelines.
  • Formatting: SwiftFormat; linting with SwiftLint.
  • Files: one main type per file; names in PascalCase; avoid long files.
  • Packages/Modules: keep dependencies explicit; prefer dependency injection to singletons.
  • Avoid force‑unwraps; handle errors explicitly with clear user messaging.

Read the full file on GitHub · 180 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 · 180 lines · 2,895 tokens per session scan C 1213cb0bc034

Subscribe to this mod's changes

fearless-iOS AGENTS.md is an instructions file published in the GitHub repository soramitsu/fearless-iOS (93 stars, last pushed 11d ago), licensed Apache-2.0. It adds 2,895 tokens to every session, about $0.0145 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.