Stuff AGENTS.md

A repository guide for a Swift application, covering its layout, build tools, code conventions, icons, version information, and testing. It also points agents to additional guidance for user-interface work and other tasks.

In plain words
What is it for?
Use it when changing Swift or SwiftUI/UIKit code, app icons, build configuration, version metadata, tests, formatting, commits, or CI-related work.
Why use it?
It collects the project's shared rules so an agent can build, format, test, and modify the app consistently across modules.

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/kyleve/stuff/agents-md
Clone the repo
git clone --depth 1 https://github.com/kyleve/Stuff

Made for: Codex, OpenCode.

Per session 9,968 This file is loaded in full into every session.
When invoked 9,968 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 $0.09968 $0.09968
Opus 5 $0.04984 $0.04984
Sonnet 5 $0.01994 $0.01994
Haiku 4.5 $0.00997 $0.00997

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

Security

Grade A, and why

Stuff 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 yesterday.

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 · 656 lines

How it starts

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

Stuff – Repository Shape

This file is the repo-wide contract. It covers the build system, Swift conventions, and how to work with branches, commits, PRs, and CI. Every module also carries its own AGENTS.md. That file covers scope, layering, and invariants. Read this file first. Then read the module's file. The two files do not repeat each other. Neither file is sufficient alone.

Roughly, this file covers:

Build system

Tool Pinned via
Tuist .mise.toml
SwiftFormat .mise.toml
ShellCheck .mise.toml
Ruby .mise.toml
Swift PM Package.swift (swift-tools-version)
Bumper Bowling Package.swift / Package.resolved
Xcode snapshot renderer .xcode-build-version

Read the exact pinned versions from those files. Do not trust a copy in prose. A version in a doc goes stale without notice.

Library targets live in the root Package.swift (one local package). Apps, app extensions, and test bundles are Tuist targets in Project.swift (plus Tuist.swift). That file references the package via Package.local(path: .relativeToRoot(".")). The two manifests are the authoritative target catalog. This file does not duplicate that catalog.

Read the full file on GitHub · 656 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. yesterday First seen · 656 lines · 9,968 tokens per session scan A 4fa7e4c4b841

Subscribe to this mod's changes

Stuff AGENTS.md is an instructions file published in the GitHub repository kyleve/Stuff (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 9,968 tokens to every session, about $0.0498 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.