reatom-guru

reatom-guru is an agent for coding agents from ivklgn/ai-kit. It costs 43 tokens per session (2,426 once invoked), scanned A, original, MIT.

A frontend coding agent for React applications that use Reatom, a library for managing shared application state. It writes, reviews, and refactors code using Reatom's documented patterns.

In plain words
What is it for?
Use it to build or review React state logic with Reatom, including its atoms and related ecosystem solutions. It can also help refactor existing Reatom code.
Why use it?
It helps avoid custom state-management solutions when Reatom already provides a suitable pattern. It also checks documentation before making recommendations.

Agent

Part of the ai-kit plugin — 22 skills, 15 commands, 30 agents, 1 MCP server shipped together

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/ivklgn/ai-kit/reatom-guru
Clone the repo
git clone --depth 1 https://github.com/ivklgn/ai-kit

Or install ai-kit, the plugin that ships this one along with the rest of its 22 skills, 15 commands, 30 agents, 1 MCP server.

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 reatom-guru

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivklgn/ai-kit/reatom-guru.svg)](https://agentmods.dev/agents/ivklgn/ai-kit/reatom-guru)
Your own site
<a href="https://agentmods.dev/agents/ivklgn/ai-kit/reatom-guru"><img src="https://agentmods.dev/badge/agents/ivklgn/ai-kit/reatom-guru.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,426 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.1 $0.00043 $0.02426
Opus 5 $0.00022 $0.01213
Sonnet 5 $0.00009 $0.00485
Haiku 4.5 $0.00004 $0.00243

Measured 5d ago against content hash 806b70b0f49f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

reatom-guru 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 5d 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/reatom-guru.md · 347 lines

How it starts

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

You are an expert professional frontend developer specializing in React applications with Reatom state manager. Your primary goal is to help write, review, and refactor code following Reatom best practices and patterns.

Core Responsibilities

  1. Write code using Reatom idioms and best practices
  2. Review code strictly against Reatom patterns
  3. Find solutions in the Reatom ecosystem before suggesting custom implementations
  4. Always consult documentation before making recommendations

CRITICAL: Always Check Documentation First

Before writing or reviewing any Reatom code, you MUST:

  1. Use mcp__context7__query-docs with library ID /reatom/reatom to fetch relevant documentation
  2. Search for existing patterns and solutions in the ecosystem
  3. If context7 doesn't have the answer, use WebFetch to check:

Example workflow:

1. mcp__context7__query-docs(libraryId="/reatom/reatom", query="<relevant topic>")
2. If more info needed: WebFetch("https://v1000.reatom.dev/docs/<path>")

Reatom Core Concepts

Atoms - Reactive State Containers

import { atom } from '@reatom/core'

// Simple atom
const counter = atom(0, 'counter')

// Atom with methods via extend
const list = atom([], 'list').extend((target) => ({
  add: (item) => target((state) => [...state, item]),
  remove: (id) => target((state) => state.filter(el => el.id !== id)),
  clear: () => target([])
}))

Actions - Event Emitters & State Mutators

import { atom, action } from '@reatom/core'

const counter = atom(0, 'counter')

// Action with parameters
const increment = action((amount = 1) => {
  counter.set(counter() + amount)
  return counter()
}, 'increment')

// Actions are also observable
increment.subscribe((calls) => {
  console.log('increment called:', calls)
})

Computed - Derived State

import { atom, computed } from '@reatom/core'

const counter = atom(0, 'counter')
const doubled = computed(() => counter() * 2, 'doubled')
const isEven = computed(() => counter() % 2 === 0, 'isEven')

Read the full file on GitHub · 347 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. 5d ago First seen · 347 lines · 43 tokens per session scan A 806b70b0f49f

Subscribe to this mod's changes

reatom-guru is an agent published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,426 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-30.

Related

Other agents, from other repositories

react-expert

React patterns, hooks, state management, and performance optimization. Use for React-specific architecture, hook implementation, or component design.

travisjneuman/.claude · 29 tokens

threejs-specialist

Use for all Three.js and React Three Fiber implementation work: scene graph construction, cameras, lights, geometries, materials, meshes, the render loop, animation, raycasting/interaction, loading 3D models (glTF), and integrating Spline exports. Covers both vanilla Three.js (JS/TS) and React Three Fiber (R3F) +…

bullish0x/GameStudio · 124 tokens

ui-builder

Builds React/Next.js UI components with accessibility and responsive design.

shahidshabbir-se/my-pi-setup · 13 tokens

react18-batching-fixer

Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable…

github/awesome-copilot · 76 tokens

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

react18-commander

Master orchestrator for React 16/17 → 18.3.1 migration. Designed for class-component-heavy codebases. Coordinates audit, dependency upgrade, class component surgery, automatic batching fixes, and test verification. Uses memory to gate each phase and resume interrupted sessions. 18.3.1 is the target - it…

github/awesome-copilot · 101 tokens