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 agentmods add commands/armanzeroeight/fastagent-plugins/create-componentgit clone --depth 1 https://github.com/armanzeroeight/fastagent-pluginsWrote 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/commands/armanzeroeight/fastagent-plugins/create-component)<a href="https://agentmods.dev/commands/armanzeroeight/fastagent-plugins/create-component"><img src="https://agentmods.dev/badge/commands/armanzeroeight/fastagent-plugins/create-component.svg" alt="Measured on agentmods" 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.01400 |
| Opus 5 | $0.00008 | $0.00700 |
| Sonnet 5 | $0.00003 | $0.00280 |
| Haiku 4.5 | $0.00002 | $0.00140 |
Grade A, and why
create-component 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 2d 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 — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create React Component
Create a new React component with proper TypeScript structure.
Context
- Current directory: !
pwd - Existing components: !
find src/components -name "*.tsx" -o -name "*.ts" 2>/dev/null | head -10
Your Task
Create a well-structured React component with TypeScript.
Arguments
$1: Component name (required) - PascalCase (e.g., UserProfile, TodoList)$2: Component type (optional) -functional(default) orclass$3: Include tests (optional) ---with-teststo generate test file
Steps
-
Determine component location:
- Check if
src/componentsexists - If not, check for
src/directory - Create appropriate directory structure
- Check if
-
Create component file structure:
For simple component:
src/components/ComponentName.tsxFor complex component with styles:
src/components/ComponentName/ ├── ComponentName.tsx ├── ComponentName.module.css └── index.ts -
Generate functional component (default):
interface ComponentNameProps { // Add props here } export function ComponentName({}: ComponentNameProps) { return ( <div> <h1>ComponentName</h1> </div> ); } -
For component with common props:
interface ComponentNameProps { className?: string; children?: React.ReactNode; } export function ComponentName({ className, children }: ComponentNameProps) { return ( <div className={className}> {children} </div> ); } -
For component with state:
import { useState } from 'react'; interface ComponentNameProps { initialValue?: number; } export function ComponentName({ initialValue = 0 }: ComponentNameProps) { const [count, setCount] = useState(initialValue); return ( <div> <p>Count: {count}</p> <button onClick={() => setCount(count + 1)}>Increment</button> </div> ); }
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.
- 2d ago First seen · 245 lines · 15 tokens per session scan A ba2530d2638d
create-component is a command published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 1,400 once invoked, about $0.0001 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-09-03.
Other commands, from other repositories
react-test
Enforce TDD workflow for React. Write React Testing Library tests first (behavior-focused, accessibility-first), then implement components. Detects Vitest or Jest and verifies coverage targets.
react-build
Fix React build failures (Vite, webpack, Next.js, CRA, Parcel, esbuild, Bun) incrementally — JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types. Invokes the react-build-resolver agent for minimal, surgical fixes.
react-review
Comprehensive React/JSX code review for hook correctness, render performance, server/client component boundaries, accessibility, and React-specific security. Invokes the react-reviewer agent (and typescript-reviewer alongside on TSX/JSX changes).
design-import
Scaffolds React components from a Claude Design handoff bundle and stops at files on disk: no stories, no tests, no pull request. Use when handed a claude.ai/design URL or a local bundle file; when that same scaffold should carry on through test generation, browser verification and an opened PR, run /ork:design-ship…
tech-debt
Run bun run check:fix and then bunx knip and identify unused files and functions to refactor the project and simplify. Look at the deprecated features and confirm with the user to delete them. Look at the dependencies and remove the ones that are not needed based on knip results.
doctor
Diagnose installation health. Check Node, CDP bridge, rn-fast-runner (iOS), rn-android-runner (Android), maestro-runner, simulators, Metro, CDP, injected helpers, ffmpeg, physical devices, plugin version, Vercel rules sync. Reports what's missing — does NOT modify your project.