cerebro-amigo: Skill for Claude Code

.claude/skills/nextjs-bff/SKILL.md

nextjs-bff is a skill for Claude Code from arinelliquebec/cerebro-amigo. It costs 156 tokens per session (1,049 once invoked), scanned A, original, no licence file.

A project-specific guide for building the frontend and backend-for-frontend layer of a Next.js application.

In plain words
What is it for?
It is for dashboard and patient-portal pages, API route handlers, login and session flows, secure cookies, and server components that fetch data.
Why use it?
It gives developers the conventions needed to change this project's pages, server routes, authentication, and data-fetching code consistently.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is arinelliquebec/cerebro-amigo's own configuration. It tells Claude Code how to work on cerebro-amigo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cerebro-amigo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arinelliquebec/cerebro-amigo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arinelliquebec/cerebro-amigo/main/.claude/skills/nextjs-bff/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arinelliquebec/cerebro-amigo

Made for: Claude Code.

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 nextjs-bff

README.md
[![agentmods](https://agentmods.dev/badge/skills/arinelliquebec/cerebro-amigo/nextjs-bff/github.svg)](https://agentmods.dev/skills/arinelliquebec/cerebro-amigo/nextjs-bff)
Your own site
<a href="https://agentmods.dev/skills/arinelliquebec/cerebro-amigo/nextjs-bff"><img src="https://agentmods.dev/badge/skills/arinelliquebec/cerebro-amigo/nextjs-bff/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 nextjs-bff

Your own site · 80×15
<a href="https://agentmods.dev/skills/arinelliquebec/cerebro-amigo/nextjs-bff"><img src="https://agentmods.dev/badge/skills/arinelliquebec/cerebro-amigo/nextjs-bff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 156 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,049 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.
Origin unknown 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.00156 $0.01049
Opus 5 $0.00078 $0.00524
Sonnet 5 $0.00031 $0.00210
Haiku 4.5 $0.00016 $0.00105

Measured 11d ago against content hash e1ccbbec2432, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

nextjs-bff 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 11d 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.

.claude/skills/nextjs-bff/SKILL.md · 81 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 11d ago First seen · 81 lines · 156 tokens per session scan A e1ccbbec2432

Subscribe to this mod's changes

nextjs-bff is a skill published in the GitHub repository arinelliquebec/cerebro-amigo (2 stars, last pushed 1mo ago), with no licence file. It adds 156 tokens to every session and 1,049 once invoked, about $0.0008 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-08-31.

Related

Other skills, from other repositories

cratis-command

Step-by-step guidance for creating a Cratis Arc command — [Command] record, Handle() method, CommandValidator, proxy generation, and React .use() hook with CommandDialog. Use when adding or creating a command, wiring up a form or button to the backend, working with IEventLog, CommandResult, CommandValidator…

Cratis/AI · 80 tokens

cratis-react-page

Step-by-step guidance for building a React page in a Cratis Arc application — DataPage lists, CommandDialog toolbar actions, confirmation and busy-indicator dialogs, row selection, details components, observable queries, and MVVM. Use when building or modifying a page that lists/displays data, adding a table, wiring…

Cratis/AI · 93 tokens

new-vertical-slice

Use this skill when asked to implement a new feature, command, query, slice, or screen in a Cratis-based project. Guides the full end-to-end workflow: C# backend → Debug+Release build → specs → React frontend → quality gates.

Cratis/AI · 57 tokens

query-paging

Add server-side paging and sorting to a Cratis read-model query — return IQueryable for one-shot paging, ISubject > for observable + paged results, and consume them from React with useWithPaging. Use when a list query can grow large enough that returning all rows is wasteful, or needs server-side sorting.

Cratis/AI · 72 tokens

nextjs-app-router

Full end-to-end tRPC setup for Next.js App Router. Covers route handler with fetchRequestHandler (GET + POST exports), TRPCProvider with QueryClientProvider, createTRPCOptionsProxy for RSC prefetching, HydrateClient/HydrationBoundary for hydration, useSuspenseQuery for Suspense, and server-side callers.

trpc/trpc · 74 tokens

nextjs-pages-router

Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.

trpc/trpc · 67 tokens