react-native-ease AGENTS.md

Development instructions for react-native-ease, a React Native library that adds native animations through one EaseView component. React Native is a way to build mobile apps with JavaScript and native iOS and Android code.

In plain words
What is it for?
Adding or fixing animated properties, changing the React Native interface, updating iOS or Android animation code, and running the library's tests.
Why use it?
They document the project layout and the fact that it supports only React Native's newer Fabric architecture, helping an agent make compatible changes.

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/appandflow/react-native-ease/agents-md
Clone the repo
git clone --depth 1 https://github.com/appandflow/react-native-ease

Made for: Codex, OpenCode.

Per session 1,825 This file is loaded in full into every session.
When invoked 1,825 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.01825 $0.01825
Opus 5 $0.00912 $0.00912
Sonnet 5 $0.00365 $0.00365
Haiku 4.5 $0.00183 $0.00183

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

Security

Grade A, and why

react-native-ease 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 · 129 lines

How it starts

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

Agent Instructions for react-native-ease

Overview

react-native-ease is a React Native library that provides declarative, native-powered animations via a single EaseView component. It uses Core Animation (iOS) and ObjectAnimator/SpringAnimation (Android) — no JS animation loop, no worklets, no C++ runtime.

Fabric (new architecture) only. Does not support the old architecture.

Project Structure

src/                          # TypeScript source (library)
  EaseView.tsx                # React component — flattens props to native
  EaseViewNativeComponent.ts  # Codegen spec — defines native props/events
  types.ts                    # Public TypeScript types
  index.tsx                   # Public exports
  __tests__/                  # Jest tests

ios/
  EaseView.h                  # Native view header (ObjC++)
  EaseView.mm                 # Native view implementation (Core Animation)

android/src/main/java/com/ease/
  EaseView.kt                 # Native view (ObjectAnimator/SpringAnimation)
  EaseViewManager.kt          # ViewManager with @ReactProp setters
  EasePackage.kt              # Package registration

example/                      # Demo app (separate workspace)
  src/App.tsx                 # Main demo screen with animation examples
  src/ComparisonScreen.tsx    # Comparison with Reanimated
  src/components/             # Shared demo components (Section, Button, TabBar)

Architecture

The JS component (EaseView.tsx) takes structured props (animate, transition, etc.) and flattens them into individual native props defined in the codegen spec (EaseViewNativeComponent.ts). When those flat props change on the native side, the native view diffs previous vs new values and creates platform-native animations.

Prop flattening example:

animate={{ opacity: 0.5, scale: 1.2 }}  →  animateOpacity=0.5, animateScale=1.2
transition={{ type: 'spring', damping: 10 }}  →  transitionType="spring", transitionDamping=10

Key design pattern: All animation logic lives on the native side. The JS layer is purely a prop resolver — no animation state, no timers, no refs.

Read the full file on GitHub · 129 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 · 129 lines · 1,825 tokens per session scan A aea2b2269e8c

Subscribe to this mod's changes

react-native-ease AGENTS.md is an instructions file published in the GitHub repository appandflow/react-native-ease (966 stars, last pushed 15d ago), licensed MIT. It adds 1,825 tokens to every session, about $0.0091 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-30.