Website Cloner
JCodesMore/ai-website-cloner-template
Rebuilds existing web pages as editable local code that matches their content, assets, responsive layout and interactions, including Framer sites and animated pages.
ChaiBuilder Core extension patterns for Next.js. An agent skill from chaibuilder/core.
$ npx skills add chaibuilder/core --skill chaibuilder -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install chaibuilder/core chaibuilder --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/chaibuilder/core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/chaibuilder .claude/skills/chaibuilder && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "chaibuilder" agent skill from https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilder into .claude/skills/chaibuilder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chaibuilder", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilderType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add chaibuilder/core --skill chaibuilder -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install chaibuilder/core chaibuilder --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chaibuilder/core.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/chaibuilder .agents/skills/chaibuilder && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "chaibuilder" agent skill from https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilder into .agents/skills/chaibuilder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chaibuilder", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chaibuilder/core --skill chaibuilder -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install chaibuilder/core chaibuilder --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chaibuilder/core.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/chaibuilder .cursor/skills/chaibuilder && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "chaibuilder" agent skill from https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilder into .cursor/skills/chaibuilder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chaibuilder", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/chaibuilder/core.git --path .agents/skills/chaibuilder--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add chaibuilder/core --skill chaibuilder -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install chaibuilder/core chaibuilder --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chaibuilder/core.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/chaibuilder .gemini/skills/chaibuilder && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "chaibuilder" agent skill from https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilder into .gemini/skills/chaibuilder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chaibuilder", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install chaibuilder/core chaibuilderInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add chaibuilder/core --skill chaibuilder -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/chaibuilder/core.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/chaibuilder .github/skills/chaibuilder && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "chaibuilder" agent skill from https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilder into .github/skills/chaibuilder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chaibuilder", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chaibuilder/core --skill chaibuilder -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install chaibuilder/core chaibuilder --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chaibuilder/core.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/chaibuilder .opencode/skills/chaibuilder && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "chaibuilder" agent skill from https://github.com/chaibuilder/core/tree/main/.agents/skills/chaibuilder into .opencode/skills/chaibuilder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chaibuilder", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
chaibuilderChaiBuilder Core extension patterns for Next.js. An agent skill from chaibuilder/core.
Chaibuilder is an agent skill from chaibuilder/core. ChaiBuilder Core extension patterns for Next.js. Use when extending the builder UI (custom sidebar panels, slots, lifecycle hooks, feature flags, block tabs, libraries), creating custom blocks, configuring the server, or implementing page rendering. Covers all top-level chaicore APIs.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 33 other files (for example `AGENTS.md`, `README.md` and `SKILLS.md`).
It sits in Frontend & Design. It works with Next.js, Tailwind CSS and React. The repository describes itself as: chaicore - open-source AI-enabled visual website builder for Next.js. The licence is BSD-3-Clause.
Read from SKILL.md and the folder at commit 56a002f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Chaibuilder loads about 2.2k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 362 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from chaibuilder/core at commit 56a002f, republished under its BSD-3-Clause licence (© chaibuilder). 362 words, ~2,202 tokens.
.claude/skills/chaibuilder/SKILL.md (or your agent's skills folder). This skill also uses 32 other files; get the full folder from GitHub.| Section | Prefix | When to Use |
|---|---|---|
| Extend UI | extend-ui- | Add panels, slots, hooks, flags, tabs, libraries to the builder |
| Custom Blocks | blocks- | Define and register custom blocks with props schema |
| Server Setup | server- | buildChaiBuilderConfig, server actions, withChaiBuilder |
| Render | render- | RenderChaiBlocks, ChaiPageCSS, getStylesForBlocks |
See AGENTS.md for full examples per section.
All render imports from chaicore/render.
| API | Where | Description |
|---|---|---|
RenderChaiBlocks | Page body | Renders all blocks (async RSC) |
ChaiPageCSS | <head> | Tailwind CSS + theme vars + fonts |
ChaiPageJSONLD | <head> | Structured data JSON-LD |
PreviewBanner | Page body | Draft mode indicator (client) |
getStylesForBlocks(blocks, includeBase?) | Custom pipelines | Generate Tailwind CSS from blocks |
getChaiThemeCssVariables({ theme }) | Custom pipelines | CSS vars string from theme object |
getMergedPartialBlocks(blocks, partials) | Custom pipelines | Inline partial block references |
Minimal page:
// app/(public)/[[...slug]]/page.tsx
import { getChaiBuilder } from "@/chaibuilder.server";
import { RenderChaiBlocks, ChaiPageCSS, PreviewBanner } from "chaicore/render";
export default async function Page(props) {
const slug = "/" + ((await props.params).slug?.join("/") ?? "");
const cb = await getChaiBuilder(props);
const { page, pageData, settings } = await cb.getPagePayload(slug);
return (
<>
<ChaiPageCSS page={page} />
<RenderChaiBlocks page={page} pageData={pageData} settings={settings} pageProps={{ slug }} />
<PreviewBanner show={page.draft ?? false} />
</>
);
}All server imports from chaicore/server or chaicore/next. Never import in client components.
| Step | File | API |
|---|---|---|
| 1. Wrap Next.js config | next.config.ts | withChaiBuilder(nextConfig) |
| 2. Build server config | chaibuilder.config.ts | buildChaiBuilderConfig({ db, ... }) |
| 3. Create server handle | chaibuilder.server.ts | createChaiBuilder(config, { context }) |
| 4. Use in pages/layouts | app/**/page.tsx | getChaiBuilder(props) |
| 5. Route handler | app/.../api/chai/route.ts | handleChaiActionRequest(req, cb.handleHttpAction) |
Minimal setup:
// next.config.ts
import { withChaiBuilder } from "chaicore/next";
export default withChaiBuilder({});
// chaibuilder.config.ts — plain data, no framework imports
import { buildChaiBuilderConfig } from "chaicore/server";
export const chaiConfig = buildChaiBuilderConfig({ db });
// chaibuilder.server.ts — owns auth/tenancy/draft; exports the handle entry points import
import { chaiConfig } from "@/chaibuilder.config";
import { createChaiBuilder } from "chaicore/server";
export const { getChaiBuilder } = createChaiBuilder(chaiConfig, {
context: async ({ request }) => ({
userId: await getUserIdFromCookies(request),
role: "admin",
permissions: ["*"], // omit to resolve membership from app_users instead
draft: false,
}),
});
// app/(builder)/api/chai/route.ts
import { getChaiBuilder } from "@/chaibuilder.server";
import { handleChaiActionRequest } from "chaicore/nextjs/server";
export async function POST(req, props) {
const cb = await getChaiBuilder(props, req);
return handleChaiActionRequest(req, cb.handleHttpAction);
}All block imports from chaicore/registry. Register at module level.
| API | Purpose |
|---|---|
registerChaiBlock(Component, Config) | Register a block component + config |
registerChaiBlockProps(schema) | Build RJSF props schema; returns { schema, uiSchema } |
stylesProp(defaultClasses) | Create the Tailwind styles prop |
builderProp(options) | Editor-only prop (hidden in rendered output) |
closestBlockProp(blockType, prop) | Read prop from nearest ancestor block |
registerChaiServerBlock(Component, opts) | Override server-side data provider only |
Minimal block example:
import { registerChaiBlock, registerChaiBlockProps, stylesProp } from "chaicore/registry";
import type { ChaiBlockComponentProps, ChaiStyles } from "chaicore/types";
const MyBlock = ({ blockProps, styles, label }: ChaiBlockComponentProps<{ label: string; styles: ChaiStyles }>) => (
<div {...blockProps} {...styles}>
{label}
</div>
);
registerChaiBlock(MyBlock, {
type: "MyBlock",
label: "My Block",
group: "basic",
props: registerChaiBlockProps({
properties: {
styles: stylesProp("p-4"),
label: { type: "string", title: "Label", default: "Hello" },
},
}),
i18nProps: ["label"],
aiProps: ["label"],
});All register calls are client-only — call at module level before ChaiWebsiteBuilder mounts.
| API | Import | Purpose |
|---|---|---|
registerChaiSidebarPanel(id, opts) | chaicore | Add panel to builder sidebar |
registerChaiSlot(slotId, Component) | chaicore | Inject component at a UI location |
CHAI_SLOT_IDS | chaicore | Enum of all valid slot IDs |
registerChaiHook(hookName, fn) | chaicore | Lifecycle hook (pipeline) |
CHAI_HOOKS | chaicore | Enum of all valid hook names |
registerChaiFeatureFlag(key, opts) | chaicore | Register toggleable flag |
registerChaiFeatureFlags(map) | chaicore | Register multiple flags at once |
registerChaiAddBlockTab(id, opts) | chaicore | Add tab to "Add Block" panel |
registerChaiLibrary(id, config) | chaicore | Register custom block library |
registerChaiBlockSettingWidget(id, C) | chaicore | Custom RJSF widget for block settings |
registerChaiBlockSettingField(id, C) | chaicore | Custom RJSF field |
registerChaiBlockSettingTemplate(id, C) | chaicore | Custom RJSF template |
registerChaiSaveToLibrary(Component) | chaicore | Replace "Save to Library" dialog |
registerChaiPreImportHTMLHook(fn) | chaicore | Transform HTML before block import |
// chai-setup.ts ← module-level, imported once before builder mounts
import { registerChaiSlot, CHAI_SLOT_IDS, registerChaiHook, CHAI_HOOKS } from "chaicore";
registerChaiSlot(CHAI_SLOT_IDS.TOPBAR_RIGHT, MyButton);
registerChaiHook(CHAI_HOOKS.BEFORE_SAVE_PAGE, myHook);// editor/page.tsx
"use client";
import "../chai-setup";
import { ChaiWebsiteBuilder } from "chaicore";
export default function EditorPage() {
return <ChaiWebsiteBuilder {...props} />;
}© chaibuilder, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 32 other files in .agents/skills/chaibuilder of chaibuilder/core.
Open the folder on GitHubat commit 56a002f
Chaibuilder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Chaibuilder this skillchaibuilder/core | 483 | — | ~2.2k | Automated safety check: Pass | BSD-3-Clause | |
| Website ClonerJCodesMore/ai-website-cloner-template | 36k | — | ~1.7k | Automated safety check: Pass | MIT | |
| Creative Tim UI Blockscreativetimofficial/ui | 12k | — | ~2.1k | Automated safety check: Notes | MIT | |
| Chakra UI v3 Refactor and Reviewchakra-ui/chakra-ui | 41k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Cosscrafter-station/petdex | 4.2k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Ss Learnbitjaru/styleseed | 972 | — | ~1.3k | Automated safety check: Pass | MIT |
JCodesMore/ai-website-cloner-template
Rebuilds existing web pages as editable local code that matches their content, assets, responsive layout and interactions, including Framer sites and animated pages.
creativetimofficial/ui
Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.
chakra-ui/chakra-ui
Reviews and converts UI code to Chakra UI v3, producing a critique, rewritten code or both, from plain HTML, Tailwind, CSS Modules or styled-components.
crafter-station/petdex
Helps implement coss UI components correctly. An agent skill from crafter-station/petdex.
bitjaru/styleseed
Capture a human-approved UI design lesson as a privacy-minimized local StyleSeed candidate, review it, and prepare an opt-in share package without transmitting project code, prompts, screenshots, or…
Galaxy-Dawn/claude-scholar
Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.
Works with
Categories
ChaiBuilder Core extension patterns for Next.js. An agent skill from chaibuilder/core. Chaibuilder is an agent skill from chaibuilder/core.js.
Chaibuilder fits situations like: extending the builder UI (custom sidebar panels; lifecycle hooks; creating custom blocks; configuring the server.
Run `npx skills add chaibuilder/core --skill chaibuilder -a claude-code`. Or copy the skill folder (.agents/skills/chaibuilder in chaibuilder/core) into .claude/skills/chaibuilder in your project. Claude Code loads it when a task matches its description.
Run `npx skills add chaibuilder/core --skill chaibuilder -a codex`. Or copy the skill folder (.agents/skills/chaibuilder in chaibuilder/core) into .agents/skills/chaibuilder in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chaibuilder/core --skill chaibuilder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chaibuilder, .gemini/skills/chaibuilder, .github/skills/chaibuilder and .opencode/skills/chaibuilder in your project.
SKILL.md names no scripts, command-line tools or credentials: Chaibuilder is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Chaibuilder is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Chaibuilder: Website Cloner (JCodesMore/ai-website-cloner-template, 36k stars), Creative Tim UI Blocks (creativetimofficial/ui, 12k stars), Chakra UI v3 Refactor and Review (chakra-ui/chakra-ui, 41k stars) and Coss (crafter-station/petdex, 4.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
chaibuilder (a GitHub organization) maintains it in chaibuilder/core, which has 483 GitHub stars. The repository was last updated on October 5, 2026.
Source: chaibuilder/core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.