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 Plazmodium/odin-workflow --skill react-patternsgit clone --depth 1 https://github.com/Plazmodium/odin-workflowWrote 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/plazmodium/odin-workflow/react-patterns)<a href="https://agentmods.dev/skills/plazmodium/odin-workflow/react-patterns"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/react-patterns/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/plazmodium/odin-workflow/react-patterns"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/react-patterns.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.00016 | $0.01193 |
| Opus 5.5 | $0.00006 | $0.00477 |
| Sonnet 5.5 | $0.00003 | $0.00239 |
| Haiku 4.5 | $0.00002 | $0.00119 |
Grade A, and why
react-patterns 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 3mo 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 — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Patterns
Overview
React is a declarative component library for building user interfaces. This skill covers idiomatic patterns for components, hooks, state management, and performance.
Project Structure
src/
├── components/
│ ├── ui/ # Generic UI primitives (Button, Input, Modal)
│ ├── features/ # Feature-specific components
│ └── layouts/ # Page layouts
├── hooks/ # Custom hooks
├── context/ # React context providers
├── lib/ # Utility functions
├── types/ # Shared TypeScript types
└── App.tsx
Core Patterns
Component Composition
// Prefer composition over prop drilling
function Card({ children }: { children: React.ReactNode }) {
return <div className="rounded-lg border p-4">{children}</div>;
}
Card.Header = function CardHeader({ children }: { children: React.ReactNode }) {
return <div className="mb-2 font-bold">{children}</div>;
};
Card.Body = function CardBody({ children }: { children: React.ReactNode }) {
return <div>{children}</div>;
};
// Usage
<Card>
<Card.Header>Title</Card.Header>
<Card.Body>Content</Card.Body>
</Card>
Custom Hooks
// Extract reusable logic into hooks
function useAsync<T>(asyncFn: () => Promise<T>, deps: unknown[] = []) {
const [state, setState] = useState<{
data: T | null;
error: Error | null;
loading: boolean;
}>({ data: null, error: null, loading: true });
useEffect(() => {
let cancelled = false;
setState(s => ({ ...s, loading: true }));
asyncFn()
.then(data => { if (!cancelled) setState({ data, error: null, loading: false }); })
.catch(error => { if (!cancelled) setState({ data: null, error, loading: false }); });
return () => { cancelled = true; };
}, deps); // eslint-disable-line react-hooks/exhaustive-deps
return state;
}
State Management
// useReducer for complex state
type State = { items: Item[]; filter: string; sort: SortKey };
type Action =
| { type: 'ADD_ITEM'; payload: Item }
| { type: 'SET_FILTER'; payload: string }
| { type: 'SET_SORT'; payload: SortKey };
function reducer(state: State, action: Action): State {
switch (action.type) {
case 'ADD_ITEM':
return { ...state, items: [...state.items, action.payload] };
case 'SET_FILTER':
return { ...state, filter: action.payload };
case 'SET_SORT':
return { ...state, sort: action.payload };
}
}
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.
- 3mo ago First seen · 167 lines · 16 tokens per session scan A ffd229515ccc
react-patterns is a skill published in the GitHub repository Plazmodium/odin-workflow (0 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 1,193 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-09-01.
react-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| react-patternsPlazmodium/odin-workflow | Skill | 0 | 6mo ago | MIT | A | 16 | Claude Code, Codex |
| flint-app-authormicrosoft/flint-chart | Skill | 4.6k | 5d ago | MIT | A | 79 | Claude Code, Codex |
| b123d-modelingpzfreo/build123d-mcp | Skill | 171 | 9d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| react-frontendiliaal/whetstone | Skill | 37 | yesterday | MIT | A | 57 | Claude Code, Codex |
| partner-vercelfrankxai/claude-skills-library | Skill | 51 | today | MIT | A | 87 | Claude Code |
| video-to-skillGalbaz1/video-research-mcp | Skill | 23 | 9d ago | MIT | A | 65 | Claude Code |
| mlflow-tracesGalbaz1/video-research-mcp | Skill | 23 | 9d ago | MIT | A | 37 | Claude Code |