Agent skill

Interactive Chapter

by datawhalechina in datawhalechina/joyrl-book

Plan and implement interactive chapter or playground pages for this Docusaurus repo.

No licenceAuto-check passedFrontend & Design

Install Interactive Chapter

skills CLI
$ npx skills add datawhalechina/joyrl-book --skill interactive-chapter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install datawhalechina/joyrl-book interactive-chapter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/datawhalechina/joyrl-book.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/interactive-chapter .claude/skills/interactive-chapter && rm -rf skills-src

Use ~/.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/

Facts

Skill name
interactive-chapter
GitHub stars
315
Token cost
~1.3k tokens
SKILL.md length
558 words
Files
2
Skills in repo
2
Repo updated
First seen
Licence
None found

At a glance

Plan and implement interactive chapter or playground pages for this Docusaurus repo.

  • Works in 6 steps: Confirm the scope → Normalize incoming React or JSX → Place files deliberately → …
  • Codex needs to port AI-generated JSX into JoyRL Book
  • SKILL.md covers Overview, Current Repo Pattern, Default UX To Preserve and Workflow, plus 2 more sections
  • Calls npm

What it does

Interactive Chapter is an agent skill from datawhalechina/joyrl-book. Plan and implement interactive chapter or playground pages for this Docusaurus repo. Use when Codex needs to port AI-generated JSX into JoyRL Book, add a standalone interactive route under src/pages/, wire a chapter into interactive mode, or extend the current left-reading/right-playground interaction pattern.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design, covering React components.

When your agent uses it

  • Codex needs to port AI-generated JSX into JoyRL Book
  • Add a standalone interactive route under src/pages/
  • Wire a chapter into interactive mode
  • Extend the current left-reading/right-playground interaction pattern

Example prompts

  • “/interactive-chapter”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Confirm the scope
  2. Normalize incoming React or JSX
  3. Place files deliberately
  4. Register the chapter
  5. Preserve the reading/interactive split
  6. Validate before finishing

What it can do on your machine

Read from SKILL.md and the folder at commit df1ed84. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Interactive Chapter loads about 1.3k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 558 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 558 words (~1,270 tokens).

“Build interactive chapters in joyrl-book using the repo's current integration pattern instead of re-inventing chapter routing, TOC entry points, or page layout each time.”

— opening of SKILL.md by datawhalechina
name
interactive-chapter

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .codex/skills/interactive-chapter of datawhalechina/joyrl-book.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit df1ed84

Compare with similar skills

Interactive Chapter 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.

Interactive Chapter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Interactive Chapter this skilldatawhalechina/joyrl-book315—~1.3kAutomated safety check: PassNone
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
Core Component Library PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.2kAutomated safety check: PassNone
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.6kAutomated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • Core Component Library Patterns

    ChrisWiles/claude-code-showcase

    Reference for building UI with a token-based core component library: spacing, color and typography tokens, Box, stacks, Text, Button, Input and Card, plus layout patterns.

    6.1k GitHub starsUsed in 8 repos~1.2k tokens
    Frontend & DesignAuto-check passed
  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 8 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • Chakra UI v3 Builder

    chakra-ui/chakra-ui

    Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.

    41k GitHub stars~3.1k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from datawhalechina/joyrl-book

  • Commit

    datawhalechina/joyrl-book

    Stage the relevant git changes and create a commit using this repo's emoji-prefixed conventional commit format.

    315 GitHub stars~582 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Interactive Chapter

What does Interactive Chapter do?

Plan and implement interactive chapter or playground pages for this Docusaurus repo. Interactive Chapter is an agent skill from datawhalechina/joyrl-book. Plan and implement interactive chapter or playground pages for this Docusaurus repo.

When should I use Interactive Chapter?

Interactive Chapter fits situations like: Codex needs to port AI-generated JSX into JoyRL Book; add a standalone interactive route under src/pages/; wire a chapter into interactive mode; extend the current left-reading/right-playground interaction pattern.

How do I install Interactive Chapter in Claude Code?

Run `npx skills add datawhalechina/joyrl-book --skill interactive-chapter -a claude-code`. Or copy the skill folder (.codex/skills/interactive-chapter in datawhalechina/joyrl-book) into .claude/skills/interactive-chapter in your project. Claude Code loads it when a task matches its description.

How do I install Interactive Chapter in Codex?

Run `npx skills add datawhalechina/joyrl-book --skill interactive-chapter -a codex`. Or copy the skill folder (.codex/skills/interactive-chapter in datawhalechina/joyrl-book) into .agents/skills/interactive-chapter in your project. Codex loads it when a task matches its description.

Can I use Interactive Chapter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add datawhalechina/joyrl-book --skill interactive-chapter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/interactive-chapter, .gemini/skills/interactive-chapter, .github/skills/interactive-chapter and .opencode/skills/interactive-chapter in your project.

What does Interactive Chapter need to run?

Going by SKILL.md and its folder, Interactive Chapter needs the command-line tools its instructions call (npm).

Does Interactive Chapter access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Interactive Chapter safe to install?

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.

What licence does Interactive Chapter use?

No licence was found for Interactive Chapter or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Interactive Chapter use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Interactive Chapter?

Skills that share tags, products or a category with Interactive Chapter: Web Artifacts Builder (anthropics/skills, 180k stars), Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), Core Component Library Patterns (ChrisWiles/claude-code-showcase, 6.1k stars) and React Router Development (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Interactive Chapter?

datawhalechina (a GitHub organization) maintains it in datawhalechina/joyrl-book, which has 315 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on August 16, 2026.

Source: datawhalechina/joyrl-book on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.