react-native-true-sheet: Instructions file for Codex

AGENTS.md

react-native-true-sheet AGENTS.md is an instructions file for Codex, OpenCode from lodev09/react-native-true-sheet. It costs 925 tokens per session, scanned A, original, MIT.

Repository instructions for True Sheet, a React Native library that provides bottom sheets on iOS and Android. They describe its native code, project structure, and rules for AI coding agents.

In plain words
What is it for?
Use them when modifying this React Native project, especially when working with Fabric, code generation, shared C++ code, native iOS or Android files, navigation, or tests.
Why use it?
They prevent unwanted actions such as running builds, committing changes, or creating documents without explicit permission. They also explain where the library's platform and test code is located.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is lodev09/react-native-true-sheet's own configuration. It tells Codex and OpenCode how to work on react-native-true-sheet 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 react-native-true-sheet configures →

About the project

React Native TrueSheet is a React Native component that provides native bottom sheets and related side-sheet interfaces on iOS, Android, and the web. It is for developers building mobile or cross-platform app interfaces with modals, navigation, scrolling content, and keyboard-aware layouts. The catalogue instructions and skill support development with this component.

lodev09/react-native-true-sheet · 2,089 stars · on GitHub · sheet.lodev09.com

Reuse

Borrowing it

Nothing to install: this file belongs to lodev09/react-native-true-sheet. 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/lodev09/react-native-true-sheet/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/lodev09/react-native-true-sheet

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 react-native-true-sheet AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lodev09/react-native-true-sheet/agents-md/github.svg)](https://agentmods.dev/instructions/lodev09/react-native-true-sheet/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lodev09/react-native-true-sheet/agents-md"><img src="https://agentmods.dev/badge/instructions/lodev09/react-native-true-sheet/agents-md/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 react-native-true-sheet AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lodev09/react-native-true-sheet/agents-md"><img src="https://agentmods.dev/badge/instructions/lodev09/react-native-true-sheet/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 925 This file is loaded in full into every session.
When invoked 925 The same file — it is already loaded in full.
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.00925 $0.00925
Opus 5.5 $0.00370 $0.00370
Sonnet 5.5 $0.00185 $0.00185
Haiku 4.5 $0.00093 $0.00093

Measured 23d ago against content hash 92ec193548f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-native-true-sheet 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 23d 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.

AGENTS.md · 94 lines

How it starts

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

Agent Instructions

Rules

  1. YOU MUST NOT commit changes yourself until I explicitly tell you to.
  2. YOU MUST NOT create summary documents unless you are told to.
  3. YOU MUST NOT add code comments that are obvious.

Project Overview

React Native Fabric (New Architecture) bottom sheet library for iOS and Android.

  • Fabric - No bridge, direct C++ communication
  • Codegen - Auto-generates native interfaces from TypeScript specs
  • C++ Shared Code - State and shadow nodes shared between platforms

Project Structure

src/
├── fabric/         # Native component specs (codegen input)
├── specs/          # TurboModule spec
├── reanimated/     # Reanimated integration
├── navigation/     # React Navigation integration
├── mocks/          # Testing mocks
├── __tests__/      # Unit tests
├── TrueSheet.tsx   # Main React component
└── *.web.tsx       # Web implementations

ios/
├── TrueSheetView.mm           # Host view (Fabric component)
├── TrueSheetViewController.mm # Sheet presentation controller
├── TrueSheetModule.mm         # TurboModule
├── TrueSheet*View.mm          # Container/Content/Header/Footer views
├── core/                      # BlurView, DetentCalculator, GrabberView
├── events/                    # Drag, Focus, Lifecycle, State events
└── utils/                     # Blur, Gesture, Layout, Window utilities

android/.../truesheet/
├── TrueSheetView.kt           # Host view
├── TrueSheetViewController.kt # BottomSheet controller
├── TrueSheetModule.kt         # TurboModule
├── TrueSheet*View.kt          # Container/Content/Header/Footer views
├── TrueSheet*ViewManager.kt   # View managers
├── core/                      # BottomSheetView, CoordinatorLayout, etc.
├── events/                    # Drag, Focus, Lifecycle, State events
└── utils/                     # Keyboard, Screen utilities

common/cpp/.../TrueSheetSpec/  # Shared C++ state and shadow nodes

View Hierarchy

Both platforms: TrueSheetView (hidden host) → Controller → ContainerView → Header/Content/Footer

Read the full file on GitHub · 94 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. 23d ago Changed · -14 lines · -161 tokens per session 92ec193548f4
  2. 1mo ago Changed · +12 lines · +205 tokens per session 65930e9959b8
  3. 2mo ago First seen · 96 lines · 881 tokens per session scan A 8d8f67bbc5d0

Subscribe to this mod's changes

react-native-true-sheet AGENTS.md is an instructions file published in the GitHub repository lodev09/react-native-true-sheet (2,089 stars, last pushed yesterday), licensed MIT. It adds 925 tokens to every session, about $0.0037 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-08-30.

Related

react-native-true-sheet AGENTS.md compared with instructions from other repositories

react-native-true-sheet AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-native-true-sheet AGENTS.mdlodev09/react-native-true-sheetInstructions file2.1kyesterdayMITA925Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode