_convert-to-turborepo

_convert-to-turborepo is a skill for Claude Code from flavien-ia/hypervibe-harness. It costs 121 tokens per session (2,327 once invoked), scanned C, original, Apache-2.0.

A helper for moving one Next.js project into a Turborepo monorepo, a repository that can hold multiple related applications and shared packages.

In plain words
What is it for?
It helps reorganize a standalone Next.js app into the standard Turborepo layout.
Why use it?
It adds the workspace structure and build configuration needed to manage the project as part of a larger codebase.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is "extends": "../../apps/web/tsconfig.json",.

Part of the hypervibe plugin — 87 skills, 1 hook, 1 MCP server shipped together

Good fit It helps reorganize a standalone Next.js app into the standard Turborepo layout.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/flavien-ia/hypervibe-harness
agentmods
npx agentmods add skills/flavien-ia/hypervibe-harness/_convert-to-turborepo

Made for: Claude Code.

Or install hypervibe, the plugin that ships this one along with the rest of its 87 skills, 1 hook, 1 MCP server.

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 _convert-to-turborepo

README.md
[![agentmods](https://agentmods.dev/badge/skills/flavien-ia/hypervibe-harness/_convert-to-turborepo/github.svg)](https://agentmods.dev/skills/flavien-ia/hypervibe-harness/_convert-to-turborepo)
Your own site
<a href="https://agentmods.dev/skills/flavien-ia/hypervibe-harness/_convert-to-turborepo"><img src="https://agentmods.dev/badge/skills/flavien-ia/hypervibe-harness/_convert-to-turborepo/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 _convert-to-turborepo

Your own site · 80×15
<a href="https://agentmods.dev/skills/flavien-ia/hypervibe-harness/_convert-to-turborepo"><img src="https://agentmods.dev/badge/skills/flavien-ia/hypervibe-harness/_convert-to-turborepo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00121 $0.02327
Opus 5 $0.00060 $0.01163
Sonnet 5 $0.00024 $0.00465
Haiku 4.5 $0.00012 $0.00233

Measured yesterday against content hash 9badacb99554, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

_convert-to-turborepo scanned grade C 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules # we'll reinstall at the end
skills/_convert-to-turborepo/SKILL.md · 249 lines

How it starts

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

Convert to Turborepo - Internal helper

Communication

  • Detect the user's language from the conversation (the user's own messages, anywhere in the session - not just this invocation: a bare slash command like /bootstrap carries no language signal by itself). If nothing in the conversation gives a signal, fall back to the OS locale (node -e "console.log(Intl.DateTimeFormat().resolvedOptions().locale)") before defaulting to English. ALWAYS reply in that language for every user-facing message: questions, progress, confirmations, summaries, errors - including any example text quoted in this skill, which is illustrative and must be translated, never sent verbatim.
  • Use plain, non-technical business language. Never expose internal script names (*.mjs) or jargon; describe actions in human terms.
  • When generating user-facing content for the scaffolded project (UI labels, emails, copy), write it in the user's language too.
  • Show progress as a short natural-language checklist (in-progress and done states).

Convert a single Next.js project into a Turborepo monorepo. Idempotent - if already a monorepo, return immediately.


Step 1 - Idempotency check

test -d apps/web && echo "already-monorepo" || echo "single-app"

If already-monorepo, tell the user:

The project is already a Turborepo monorepo. There is nothing for me to do.

Return control to the caller immediately. Skip all remaining steps.

If single-app, continue to Step 2.

Step 2 - Capture state and warn the user

Read the current project name from package.json:

node -e "process.stdout.write(require('./package.json').name)"

Detect if a Drizzle DB is configured:

test -f drizzle.config.ts -o -f drizzle.config.js && echo "has-db" || echo "no-db"

Tell the user:

I am going to convert your project into a Turborepo monorepo: the current code moves to apps/web/, with a new root package.json + pnpm-workspace.yaml + turbo.json, and turbo added as a devDep, plus the Drizzle DB extracted into packages/db/.

⚠️ Commit your work in progress first - this operation moves a lot of files and is hard to revert.

Ready to go? (reply yes to continue)

Read the full file on GitHub · 249 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. yesterday Changed · +2 lines 9badacb99554
  2. 12d ago First seen · 247 lines · 121 tokens per session scan C d8f0e917c80c

Subscribe to this mod's changes

_convert-to-turborepo is a skill published in the GitHub repository flavien-ia/hypervibe-harness (37 stars, last pushed yesterday), licensed Apache-2.0. It adds 121 tokens to every session and 2,327 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens