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 punkadillo/figma-code-composer --skill nextjs-server-componentsgit clone --depth 1 https://github.com/punkadillo/figma-code-composerWrote 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/punkadillo/figma-code-composer/nextjs-server-components)<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/nextjs-server-components"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/nextjs-server-components/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/punkadillo/figma-code-composer/nextjs-server-components"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/nextjs-server-components.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.00024 | $0.04709 |
| Opus 5.5 | $0.00010 | $0.01884 |
| Sonnet 5.5 | $0.00005 | $0.00942 |
| Haiku 4.5 | $0.00002 | $0.00471 |
Grade A, and why
nextjs-server-components 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 buffer = await fetch(src).then(r => r.arrayBuffer()); How it starts
The opening of the file, as written. The whole thing — 824 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Next.js Server Components
Master Server Components in Next.js to build high-performance applications with server-side rendering and data fetching.
Server Components Basics
In Next.js App Router, all components are Server Components by default:
// app/posts/page.tsx (Server Component by default)
async function getPosts() {
const res = await fetch('https://api.example.com/posts', {
next: { revalidate: 3600 } // Cache for 1 hour
});
if (!res.ok) throw new Error('Failed to fetch posts');
return res.json();
}
export default async function Posts() {
const posts = await getPosts();
return (
<div>
<h1>Blog Posts</h1>
{posts.map((post: Post) => (
<article key={post.id}>
<h2>{post.title}</h2>
<p>{post.content}</p>
<span>{new Date(post.date).toLocaleDateString()}</span>
</article>
))}
</div>
);
}
// Direct database access (server-only)
import { db } from '@/lib/db';
export default async function Users() {
const users = await db.user.findMany({
select: {
id: true,
name: true,
email: true
}
});
return (
<div>
{users.map(user => (
<div key={user.id}>
{user.name} - {user.email}
</div>
))}
</div>
);
}
Server vs Client Components Decision Tree
// Use Server Components when:
// - Fetching data
// - Accessing backend resources directly
// - Keeping sensitive information on server
// - Keeping large dependencies on server
// Server Component (default)
export default async function ServerComp() {
const data = await fetchData();
return <div>{data}</div>;
}
// Use Client Components when:
// - Using interactivity (onClick, onChange, etc.)
// - Using state or lifecycle hooks (useState, useEffect)
// - Using browser-only APIs (localStorage, window, etc.)
// - Using custom hooks that depend on state/effects
// - Using React Context
// Client Component
'use client';
import { useState } from 'react';
export default function ClientComp() {
const [count, setCount] = useState(0);
return (
<button onClick={() => setCount(count + 1)}>
Count: {count}
</button>
);
}
// Composition: Server Component with Client Component
export default async function Page() {
const data = await fetchData(); // Server-side
return (
<div>
<ServerContent data={data} />
<InteractiveButton /> {/* Client Component */}
</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.
- 3mo ago First seen · 824 lines · 24 tokens per session scan A 7806ed26b2bb
nextjs-server-components is a skill published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 4,709 once invoked, about $0.0001 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-09-03.
nextjs-server-components compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextjs-server-componentspunkadillo/figma-code-composer | Skill | 3 | 3mo ago | MIT | A | 24 | Claude Code |
| agent-crdt-synchronizerruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 25 | Claude Code |
| agent-raft-managerruvnet/ruflo | Skill | 83k | yesterday | MIT | A | 18 | Claude Code |
| agui-dotnet-streaming-chatag-ui-protocol/ag-ui | Skill | 22k | today | MIT | A | 223 | Claude Code |
| agui-dotnet-protobufag-ui-protocol/ag-ui | Skill | 22k | today | MIT | A | 162 | Claude Code |
| moai-ref-api-patternsmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 85 | Claude Code |
| api-documenteralirezarezvani/claude-code-tresor | Skill | 790 | 23d ago | MIT | A | 48 | Claude Code |