ssr-ssg-advisor

ssr-ssg-advisor is a skill for Claude Code from armanzeroeight/fastagent-plugins. It costs 76 tokens per session (2,008 once invoked), scanned A, original, MIT.

A decision guide for choosing how Next.js pages should render. It explains server-side rendering, static generation, incremental updates, and browser-side rendering in terms of content changes and user needs.

In plain words
What is it for?
Use it to select a rendering method based on update frequency, personalization, search visibility, data freshness, and the number of pages involved.
Why use it?
It removes uncertainty when choosing between fast prebuilt pages, fresh per-request pages, and interactive pages that depend on each visitor.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nextjs-toolkit plugin — 2 skills shipped together

Good fit Use it to select a rendering method based on update frequency, personalization, search visibility, data freshness, and the number of pages involved.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor
Install

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.

Any agent
npx skills add armanzeroeight/fastagent-plugins --skill ssr-ssg-advisor
Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

Made for: Claude Code.

Or install nextjs-toolkit, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for ssr-ssg-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor/github.svg)](https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor)
Your own site
<a href="https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor"><img src="https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor/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.

agentmods 80×15 button for ssr-ssg-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor"><img src="https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/ssr-ssg-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 134
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 137
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 142
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 179
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.02008
Opus 5.5 $0.00030 $0.00803
Sonnet 5.5 $0.00015 $0.00402
Haiku 4.5 $0.00008 $0.00201

Measured 2mo ago against content hash 983ef3d1b5b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ssr-ssg-advisor 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 2mo 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.

plugins/nextjs-toolkit/skills/ssr-ssg-advisor/SKILL.md · 339 lines

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.

SSR/SSG Advisor

Choose the optimal rendering strategy for Next.js pages based on requirements.

Quick Start

Decision criteria:

  • SSG: Static content, pre-render at build → Best performance
  • ISR: Static with updates, revalidate periodically → Balance of both
  • SSR: Dynamic per-request, personalized → Fresh data
  • CSR: Client-side only, highly interactive → User-specific

Instructions

Step 1: Analyze Content Requirements

Ask these questions:

  1. Does content change per user? (personalization)
  2. How frequently does content update?
  3. Is SEO critical?
  4. What's the acceptable data freshness?
  5. How many pages need to be generated?

Step 2: Choose Rendering Strategy

Static Site Generation (SSG):

// pages/products/[id].tsx
export async function getStaticProps({ params }) {
  const product = await fetchProduct(params.id);
  
  return {
    props: { product },
    // Optional: revalidate for ISR
    // revalidate: 60, // seconds
  };
}

export async function getStaticPaths() {
  const products = await fetchAllProducts();
  
  return {
    paths: products.map(p => ({ params: { id: p.id } })),
    fallback: 'blocking', // or false, or true
  };
}

When to use SSG:

  • Marketing pages
  • Blog posts
  • Documentation
  • Product catalogs (if manageable size)
  • Any content that doesn't change often

Server-Side Rendering (SSR):

// pages/dashboard.tsx
export async function getServerSideProps(context) {
  const session = await getSession(context);
  const data = await fetchUserData(session.userId);
  
  return {
    props: { data },
  };
}

When to use SSR:

  • User dashboards
  • Personalized content
  • Real-time data
  • Content requiring authentication
  • Frequently changing data

Incremental Static Regeneration (ISR):

// pages/blog/[slug].tsx
export async function getStaticProps({ params }) {
  const post = await fetchPost(params.slug);
  
  return {
    props: { post },
    revalidate: 60, // Regenerate every 60 seconds
  };
}

Read the full file on GitHub · 339 lines

Changes

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.

  1. 2mo ago First seen · 339 lines · 76 tokens per session scan A 983ef3d1b5b1

Subscribe to this mod's changes

ssr-ssg-advisor is a skill published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 2,008 once invoked, about $0.0003 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-03.

Related

ssr-ssg-advisor compared with skills from other repositories

ssr-ssg-advisor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ssr-ssg-advisorarmanzeroeight/fastagent-pluginsSkill293mo agoMITA76Claude Code
implementing-command-palettesAgentWorkforce/relaySkill1.1kyesterdayApache-2.0A48Claude Code
agentos-ui-uxSapienXai/AgentOSSkill1296d agoMITA62Codex
capacitor-reactcapawesome-team/skillsSkill542d agoMITA70Claude Code, Codex
ionic-reactcapawesome-team/skillsSkill542d agoMITA132Claude Code, Codex
rn-best-practicesLykhoyda/rn-dev-agentSkill2012d agoMITA98Claude Code
guizang-ppt-skillproma-ai/PromaSkill2.2k1mo agoAGPL-3.0A161Claude Code, Codex