rembric: Skill for Claude Code

.agents/skills/next-dev-loop/SKILL.md

next-dev-loop is a skill for Claude Code, Codex from susomejias/rembric. It costs 68 tokens per session (2,151 once invoked), scanned A, a copy of next-dev-loop, MIT.

A runtime checking workflow for Next.js, a framework for building web applications with React. It checks a running development app through both Next.js and a real Chrome browser.

In plain words
What is it for?
Use it after changing a Next.js app to inspect routes, server errors, browser output, network activity, and page behavior. It requires a running Next.js development server.
Why use it?
Compilation and type checks can pass while the app behaves incorrectly in the browser. This helps confirm that edits work at runtime and stops when the required Next.js or browser tools are unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is susomejias/rembric's own configuration. It tells Claude Code and Codex how to work on rembric 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 rembric configures →

Reuse

Borrowing it

Nothing to install: this file belongs to susomejias/rembric. 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/susomejias/rembric/main/.agents/skills/next-dev-loop/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/susomejias/rembric

Made for: Claude Code, Codex.

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 next-dev-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/susomejias/rembric/next-dev-loop/github.svg)](https://agentmods.dev/skills/susomejias/rembric/next-dev-loop)
Your own site
<a href="https://agentmods.dev/skills/susomejias/rembric/next-dev-loop"><img src="https://agentmods.dev/badge/skills/susomejias/rembric/next-dev-loop/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 next-dev-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/susomejias/rembric/next-dev-loop"><img src="https://agentmods.dev/badge/skills/susomejias/rembric/next-dev-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,151 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod 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.00068 $0.02151
Opus 5.5 $0.00027 $0.00860
Sonnet 5.5 $0.00014 $0.00430
Haiku 4.5 $0.00007 $0.00215

Measured 22d ago against content hash e3221747c12a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

next-dev-loop 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 22d 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.

again. Don't fall back to `curl`; it bypasses the browser you're
Origin

This is a copy

92% identical to next-dev-loop — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/next-dev-loop/SKILL.md · 202 lines

How it starts

The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.

next-dev-loop

The edit/verify rhythm during next dev — make a change, then confirm it actually works at runtime, not only that the types or the build are happy.

You verify through two views of the same running app:

  • /_next/mcp — an HTTP endpoint Next.js exposes about itself. Knows framework-specific things: routes, segments, RSC, server actions, server logs, and errors as Next.js saw them. Call tools/list for the current surface.
  • agent-browser — a CLI that drives a real Chrome. Knows framework-agnostic browser things: DOM, console, network, React fiber, vitals. Before driving it, run agent-browser skills get core once for the version-matched usage guide — don't guess subcommands from memory.

The two views cross-check each other.

requires

  • Next.js 16.3+ with Turbopack — /_next/mcp plus the proactive compile check via get_compilation_issues.
  • agent-browser >= 0.31.1 — React introspection, worktree-scoped session id, idempotent --restore, and launch flag reconciliation.

These are hard floors, not soft preferences. If anything is missing, tell the user how to upgrade and stop. Don't fall back to grepping source or to a weaker probe — this skill assumes both views are live at the versions above.

preflight

Once per session, confirm both views are live.

  1. Open agent-browser at the target URL, restoring saved login state when present. First derive one stable session id for this checkout and use it for every agent-browser command:

    SESSION="$(agent-browser session id --scope worktree --prefix next-dev-loop)"
    export AGENT_BROWSER_SESSION="$SESSION"
    export AGENT_BROWSER_RESTORE="$SESSION"
    

Read the full file on GitHub · 202 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. 22d ago First seen · 202 lines · 68 tokens per session scan A e3221747c12a

Subscribe to this mod's changes

next-dev-loop is a skill published in the GitHub repository susomejias/rembric (14 stars, last pushed 3d ago), licensed MIT. It adds 68 tokens to every session and 2,151 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 92% identical to next-dev-loop, differing in 36 lines, and is treated as a copy.

Related

Other skills, from other repositories

impact-trace

For a change point (function / type / endpoint / SQL column), enumerate its real blast radius across six dimensions with a grep citation per row, then derive the regression test scope. Every impact-table row must trace to a real search hit — never a self-asserted claim.

Prismer-AI/PrismerCloud · 60 tokens

webapp-qa

Perform scoped exploratory QA of a web application, reproduce defects, collect screenshots and console evidence, and deliver a prioritized report.

Prismer-AI/PrismerCloud · 29 tokens

bug-fix-protocol

8-step disciplined bug-fix protocol that treats every production bug as two failures — the code defect itself and the testing system that allowed it through. Use when fixing a production bug, investigating a regression, writing a post-mortem, or auditing a missed defect. Triggers on "fix this bug", "production bug"…

CodeAlive-AI/ai-driven-development · 94 tokens

bug-reproduce

Turn a known bug into a tight, red-capable reproducer, then prove the reproducer locks that bug with a reversal negative control (reintroduce the bug → reproducer must go red again). Use at the start of a bugfix, before theorizing about the cause.

Prismer-AI/PrismerCloud · 61 tokens

empirical-verification

Scientific method for software. Use when debugging, reviewing surprising behavior, or before claiming code works -- always tether assumptions to reality with a small experiment.

Kevin-Liu-01/Agent-Machines · 34 tokens

closed-loop-development

Use when building, debugging, or verifying software inside an Agent Machine. Teaches the agent to write code, run the service, hit endpoints, inspect logs, drive the browser, and iterate without asking the user to be the test harness.

Kevin-Liu-01/Agent-Machines · 52 tokens