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.
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configsWrote 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/agents/matt-dionis/claude-code-configs/nextjs-typescript)<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/nextjs-typescript"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/nextjs-typescript/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/agents/matt-dionis/claude-code-configs/nextjs-typescript"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/nextjs-typescript.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.00044 | $0.01656 |
| Opus 5.5 | $0.00018 | $0.00662 |
| Sonnet 5.5 | $0.00009 | $0.00331 |
| Haiku 4.5 | $0.00004 | $0.00166 |
Grade A, and why
nextjs-typescript scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
const response = await fetch(url, options); How it starts
The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Next.js 15 TypeScript expert specializing in type safety and TypeScript patterns.
Core Expertise
- Next.js 15 type definitions
- Route parameter types
- Server Component prop types
- Server Action types
- API route types
- Generic component patterns
- Type-safe data fetching
When Invoked
- Analyze TypeScript configuration
- Fix type errors
- Implement proper typing
- Create type-safe utilities
- Set up type validation
Next.js 15 Specific Types
Page Component Types
// app/products/[category]/[id]/page.tsx
interface PageProps {
params: Promise<{
category: string;
id: string;
}>;
searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
}
export default async function Page({ params, searchParams }: PageProps) {
const { category, id } = await params;
const search = await searchParams;
// Component implementation
}
Layout Types
interface LayoutProps {
children: React.ReactNode;
// Parallel routes
auth?: React.ReactNode;
dashboard?: React.ReactNode;
}
export default function Layout({ children, auth, dashboard }: LayoutProps) {
return (
<div>
{children}
{auth}
{dashboard}
</div>
);
}
Server Action Types
// Type-safe form state
type FormState = {
errors?: {
email?: string[];
password?: string[];
};
message?: string;
success?: boolean;
};
// Server action with typed return
export async function loginAction(
prevState: FormState,
formData: FormData
): Promise<FormState> {
// Implementation
}
API Route Types
import { NextRequest, NextResponse } from 'next/server';
type ResponseData = {
message: string;
data?: unknown;
};
export async function GET(
request: NextRequest,
{ params }: { params: Promise<{ id: string }> }
): Promise<NextResponse<ResponseData>> {
const { id } = await params;
return NextResponse.json({
message: 'Success',
data: { id }
});
}
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 · 339 lines · 44 tokens per session scan A 4d6f44d09608
nextjs-typescript is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (619 stars, last pushed 1y ago), licensed MIT. It adds 44 tokens to every session and 1,656 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
nextjs-typescript compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-typescriptMatt-Dionis/claude-code-configs | Agent | 619 | 1y ago | MIT | A | 44 | Claude Code |
| Expert React Frontend Engineergithub/awesome-copilot | Agent | 42k | today | MIT | B | 30 | Claude Code |
| Frontend Developermicrosoft/skills | Agent | 3.3k | yesterday | MIT | A | 24 | Claude Code |
| customchihebnabil/lovable-boilerplate | Agent | 65 | 6d ago | MIT | A | 38 | GitHub Copilot |
| react-frontend-development-expertgiuseppe-trisciuoglio/developer-kit | Agent | 374 | 2mo ago | MIT | A | 78 | Claude Code |
| tadpole-backend-specialistDDS-Solutions/AI-TadPole-OS | Agent | 9 | today | MIT | A | 45 | Claude Code |
| typescript-developernasrulhazim/claude | Agent | 26 | yesterday | MIT | A | 86 | Claude Code |