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.
npx skills add mpsuesser/pi-effect-harness --skill effect-atom-stategit clone --depth 1 https://github.com/mpsuesser/pi-effect-harnessWrote 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.
[](https://agentmods.dev/skills/mpsuesser/pi-effect-harness/effect-atom-state)<a href="https://agentmods.dev/skills/mpsuesser/pi-effect-harness/effect-atom-state"><img src="https://agentmods.dev/badge/skills/mpsuesser/pi-effect-harness/effect-atom-state/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.
<a href="https://agentmods.dev/skills/mpsuesser/pi-effect-harness/effect-atom-state"><img src="https://agentmods.dev/badge/skills/mpsuesser/pi-effect-harness/effect-atom-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.04179 |
| Opus 5.5 | $0.00006 | $0.01672 |
| Sonnet 5.5 | $0.00003 | $0.00836 |
| Haiku 4.5 | $0.00002 | $0.00418 |
Grade A, and why
effect-atom-state 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 621 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Effect Atom State Management
Effect Atom is a reactive state management library for Effect that seamlessly integrates with React.
Effect Source Reference
The Effect v4 source is available at ~/.cache/effect-v4/.
Browse and read files there directly to look up APIs, types, and implementations.
Reference this for:
- Atom reactivity:
packages/effect/src/unstable/reactivity/ - AsyncResult source:
packages/effect/src/unstable/reactivity/AsyncResult.ts - Effect source:
packages/effect/src/
Core Concepts
Atoms as References
Atoms work by reference - they are stable containers for reactive state:
import * as Atom from 'effect/unstable/reactivity/Atom';
// Atoms are created once and referenced throughout the app
export const counterAtom = Atom.make(0);
// Multiple components can reference the same atom
// All update when the atom value changes
Automatic Cleanup
Atoms automatically reset when no subscribers remain (unless marked with keepAlive):
// Resets when last subscriber unmounts
export const temporaryState = Atom.make(initialValue);
// Persists across component lifecycles
export const persistentState = Atom.make(initialValue).pipe(Atom.keepAlive);
Lazy Evaluation
Atom values are computed on-demand when subscribers access them.
Pattern: Basic Atoms
import * as Atom from 'effect/unstable/reactivity/Atom';
// Simple atom
export const count = Atom.make(0);
// Atom with object state
export interface CartState {
readonly items: ReadonlyArray<Item>;
readonly total: number;
}
export const cart = Atom.make<CartState>({
items: [],
total: 0
});
Pattern: Derived Atoms
Use Atom.map or computed atoms with the get parameter:
// Derived via map
export const itemCount = Atom.map(cart, (c) => c.items.length);
export const isEmpty = Atom.map(cart, (c) => c.items.length === 0);
// Computed atom accessing other atoms
export const cartSummary = Atom.make((get) => {
const cartData = get(cart);
const count = get(itemCount);
return {
itemCount: count,
total: cartData.total,
isEmpty: count === 0
};
});
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.
- 1mo ago First seen · 621 lines · 15 tokens per session scan A cf4b22e60841
effect-atom-state is a skill published in the GitHub repository mpsuesser/pi-effect-harness (25 stars, last pushed 4mo ago), licensed MIT. It adds 15 tokens to every session and 4,179 once invoked, about $0.0001 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.
Other skills, from other repositories
typescript-style
Validate TypeScript/React code against style and architectural conventions.
design-implementation-reviewer
Visually compares live UI implementation against Figma designs and provides detailed feedback on discrepancies. Use after writing or modifying HTML/CSS/React components to verify design fidelity.
effect-patterns-concurrency
Effect-TS patterns for Concurrency. Use when working with concurrency in Effect-TS applications.
effect-patterns-building-apis
Effect-TS patterns for Building Apis. Use when working with building apis in Effect-TS applications.
effect-patterns-building-data-pipelines
Effect-TS patterns for Building Data Pipelines. Use when working with building data pipelines in Effect-TS applications.
composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.