Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

book-installerbook installer 搜索

Agent Skill

book-installer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

533

周安装

22

GitHub Stars

65

下载量

174
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:book-installer(book installer 搜索)
来源仓库:https://github.com/dmccreary/claude-skills
仓库路径:skills/book-installer
安装命令:
npx skills add https://github.com/dmccreary/claude-skills --skill book-installer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dmccreary/claude-skills --skill book-installer

简介

book-installer 是智能教材项目的元技能,整合 MkDocs Material 等项目搭建流程。

  • 支持从零创建教材仓库、安装学习图谱查看器及配置技能追踪钩子。
  • 若用户请求帮助或特性列表,将返回可用子技能概览而非直接执行操作。
  • 初始化过程可能修改项目文件结构,需提前备份并确认写入权限。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Book Installer

Overview

This meta-skill handles installation and setup tasks for intelligent textbook projects. It consolidates three installation skills into a single entry point with on-demand loading of specific installation guides.

When to Use This Skill

Use this skill when users request:

  • Setting up a new MkDocs Material project
  • Creating a new intelligent textbook from scratch
  • Installing a learning graph viewer
  • Setting up skill usage tracking with hooks
  • Bootstrapping project infrastructure

Step 1: Handle Help Requests

If the user asks for "help", "what can you do", or "list features", display this numbered list directly (do not load a reference file):

Book Installer Features (most → least common):

 1. Simple mkdocs.yml template - Minimal starter config for new projects
 2. Site logo - Add custom logo to header
 3. Favicon - Browser tab/bookmark icon
 4. Cover image & social preview - Home page image + og:image metadata
 4b. Generate cover image - Auto-generate cover using AI (API or ChatGPT)
 5. Math equations - KaTeX (recommended) or MathJax
 6. Code syntax highlighting - Language-aware code blocks
 7. Code copy button - One-click copy for code blocks
 8. Mermaid diagrams - Flowcharts, sequence diagrams from text
 9. Content tabs - Tabbed sections for alternatives
10. Image zoom (GLightbox) - Click to enlarge images
11. Custom admonitions - Prompt boxes with copy button
12. Interactive quizzes - Self-assessment questions
13. Abbreviations & tooltips - Glossary hover definitions
14. Task lists - Checkbox lists
15. Simple feedback - Thumbs up/down per page
16. Detailed comments (Giscus) - GitHub Discussions integration
17. Tags & categorization - Page tagging system
18. Search enhancements - Suggestions and highlighting
19. Table of contents config - TOC sidebar options
20. Blog support - Add blog section
21. Announcement bar - Dismissible top banner
22. Privacy & cookie consent - GDPR compliance
23. Learning graph viewer - Interactive concept visualization
24. Skill usage tracker - Claude Code analytics hooks
25. Google Analytics - requires a Google Analytics property ID G-*
26. .gitignore installer - make sure that `site` and `.cache` are not in the main branch
27. extra CSS installer for iframe and customer prompt admonition
28. extra JavaScript installer - for prompt admonition copy button
29. Feature checklist - auto-detect and document which features are implemented
30. Learning mascot - add a pedagogical agent character to guide students
31. Instructor's guide - comprehensive teacher's guide with classroom tips
32. Custom 404 page - friendly error page with mascot image

Type a number or feature name to install.

Note: If you see `navigation.tabs` in mkdocs.yml, remove it. These books
use side navigation optimized for wide landscape screens.

After displaying the list, wait for user to specify which feature they want.


Step 1b: Check for Navigation Tabs (Existing Projects)

When working with an existing mkdocs.yml, always check for and remove navigation tabs:

# REMOVE these lines if present in mkdocs.yml:
theme:
  features:
    - navigation.tabs        # DELETE
    - navigation.tabs.sticky # DELETE

These books use side navigation optimized for wide landscape screens. Top navigation tabs waste vertical space and are not appropriate for this format.


Step 2: Identify Installation Type

Match the user's request to the appropriate installation guide:

Routing Table

Trigger KeywordsActionPurpose
help, what can you do, features, capabilities, list featuresDisplay numbered list (Step 1)Show quick feature overview
1, simple mkdocs, minimal template, starter configreferences/mkdocs-template.md (minimal section)Create simple mkdocs.yml starter
enrich, add feature, number 2-24, specific feature namereferences/mkdocs-features.mdInstall specific feature
new project, mkdocs, textbook, bootstrap, setup, template, new bookreferences/mkdocs-template.mdCreate new MkDocs Material project
graph viewer, learning graph, visualization, interactive graph, concept viewerreferences/learning-graph-viewer.mdAdd learning graph viewer to existing project
track skills, skill usage, activity tracking, hooks, usage analyticsreferences/skill-tracker.mdSet up skill tracking with hooks
generate cover, generate cover image, auto cover, create cover image, run cover scriptreferences/cover-image-generator.mdAuto-generate cover image using AI (guides through API/ChatGPT options)
cover image, home page, social media, og:image, montage, book cover, index pagereferences/home-page-template.mdCreate home page with cover image and social metadata
logo, site logo, branding, upper left, header iconreferences/mkdocs-features.mdAdd custom logo with AI prompt examples
favicon, browser tab, bookmark icon,.icoreferences/mkdocs-features.mdAdd favicon with AI prompt examples
math, equations, latex, mathjax, katexreferences/mkdocs-features.mdAdd math equation support
feature checklist, generate feature checklist, feature status, what featuresreferences/feature-checklist-generator.mdAuto-detect and document implemented features
quiz, quizzes, assessment, multiple choicereferences/mkdocs-features.mdAdd interactive quizzes
feedback, thumbs up, thumbs down, was this helpfulreferences/mkdocs-features.mdAdd page feedback widget
comments, giscus, discussionsreferences/mkdocs-features.mdAdd comment system
image zoom, lightbox, glightbox, click to enlargereferences/mkdocs-features.mdAdd image zoom on click
code highlighting, syntax, copy buttonreferences/mkdocs-features.mdAdd code syntax highlighting
mermaid, diagrams, flowchartreferences/mkdocs-features.mdAdd Mermaid diagram support
admonition, callout, prompt box, copy promptreferences/mkdocs-features.mdAdd custom admonitions with copy
mascot, learning mascot, pedagogical agent, character, guide character, personareferences/learning-mascot.mdAdd a learning mascot to guide students
instructor guide, teacher guide, teachers guide, instructor's guide, classroom guidereferences/instructors-guide.mdGenerate comprehensive instructor's guide
404, error page, not found, custom 404, page not foundreferences/custom-404-page.mdAdd custom 404 page with mascot

Decision Tree

Asking for help or what book-installer can do?
  → YES: Display numbered list directly (Step 1)

Creating a new project/textbook from scratch?
  → YES: mkdocs-template.md

Adding a learning graph viewer to existing project?
  → YES: learning-graph-viewer.md

Setting up skill usage tracking?
  → YES: skill-tracker.md

Want to GENERATE a cover image automatically using AI?
  → YES: cover-image-generator.md (guides through API vs ChatGPT options)

Creating a cover image MANUALLY or setting up home page with social metadata?
  → YES: home-page-template.md

Want to generate a feature checklist showing what's implemented?
  → YES: feature-checklist-generator.md

Want to add branding (logo, favicon, cover image)?
  → YES: mkdocs-features.md (Branding Features section)

Want to add a learning mascot (pedagogical agent) to guide students?
  → YES: learning-mascot.md

Want to generate an instructor's/teacher's guide?
  → YES: instructors-guide.md

Want a custom 404 error page with the mascot?
  → YES: custom-404-page.md

Want to add a specific feature (equations, quizzes, feedback, etc.)?
  → YES: mkdocs-features.md (then follow specific feature instructions)

Step 2: Load the Matched Guide

Read the corresponding guide file from references/ and follow its installation workflow.

Step 3: Execute Installation

Each guide contains:

  1. Prerequisites and requirements
  2. Step-by-step installation commands
  3. Configuration options
  4. Verification steps
  5. Troubleshooting tips

Available Installation Guides

mkdocs-features.md

Purpose: Detailed configuration for all MkDocs feature enhancements

Contains: Full configuration snippets for features 2-24 listed in the help output, including:

  • YAML for mkdocs.yml
  • JavaScript files to create
  • CSS files to create
  • Usage examples

Use when:

  • User selects a feature by number or name
  • User wants detailed configuration for a specific feature
  • User has a minimal mkdocs.yml and wants to enrich it

mkdocs-template.md

Purpose: Bootstrap a complete MkDocs Material intelligent textbook project

Creates:

  • Conda virtual environment named 'mkdocs'
  • Full MkDocs Material project structure
  • Custom CSS for branding
  • Social media card plugins
  • GitHub Pages deployment configuration
  • URI scheme in extra section for global discoverability

URI Scheme: New projects automatically include the textbook schema in mkdocs.yml:

extra:
  schema: https://dmccreary.github.io/intelligent-textbooks/ns/textbook/v1

See the URI Scheme documentation for details.

Prerequisites:

  • Conda installed
  • Git installed
  • GitHub repository created

learning-graph-viewer.md

Purpose: Add interactive learning graph exploration to existing textbook

Creates:

  • Interactive vis-network graph viewer
  • Search, filtering, and statistics features
  • Integration with existing learning-graph.json

Prerequisites:

  • Existing MkDocs project
  • learning-graph.json file present

skill-tracker.md

Purpose: Set up Claude Code skill usage tracking

Creates:

  • Hook scripts for tracking skill invocations
  • Activity log directory structure
  • Reporting scripts for usage analysis

Prerequisites:

  • Claude Code installed
  • ~/.claude directory exists

home-page-template.md

Purpose: Create professional home page with cover image and social media optimization

Creates:

  • docs/index.md with proper frontmatter metadata
  • AI image generation prompts for cover with montage background
  • Open Graph and Twitter Card configuration

Features:

  • Cover image design guidance (1.91:1 aspect ratio)
  • Montage element suggestions by topic
  • Social media preview optimization
  • Example prompts for various book themes

Prerequisites:

  • Existing MkDocs project
  • Access to AI image generator (DALL-E, Midjourney, etc.)

learning-mascot.md

Purpose: Design and implement a pedagogical agent (learning mascot) that guides students through the textbook

Creates:

  • Character design (name, species, appearance, personality, catchphrase)
  • AI image generation prompts for consistent mascot poses
  • Implementation via inline images, custom CSS admonitions, or JavaScript auto-detection
  • CLAUDE.md character guidelines for consistent AI-generated content

Features:

  • Subject-specific mascot suggestions with reasoning
  • Six standard pose variants (welcome, thinking, tip, warning, celebration, encouraging)
  • Three implementation methods at different complexity levels
  • Restraint guidelines to prevent overuse

Prerequisites:

  • Existing MkDocs Material project
  • Access to AI image generator (DALL-E, Midjourney, etc.)

instructors-guide.md

Purpose: Generate a comprehensive instructor's/teacher's guide for the textbook

Creates:

  • docs/teachers-guide/index.md (or docs/instructors-guide/index.md for college-level)
  • Navigation entry in mkdocs.yml

Features:

  • Five levels of intelligent textbooks explained
  • Detailed usage instructions for chapters, MicroSims, glossary, FAQ, quizzes, and references
  • Classroom tips (before/during/after class suggestions, pacing)
  • MicroSim iframe embedding guide for external LMS pages
  • Creative Commons license explained in plain English (what you can/cannot do)
  • Step-by-step customization guide (fork, clone, change colors/title/logo, deploy)
  • Google Analytics setup instructions
  • xAPI/LRS overview with FERPA/COPPA/GDPR regulatory warnings
  • Learning graph usage tips for teachers
  • Pedagogical agent (mascot) documentation (if mascot exists)
  • All technical terms defined before use — no assumed prior knowledge

Prerequisites:

  • Existing MkDocs Material project
  • At least some chapter content written

custom-404-page.md

Purpose: Add a custom 404 error page featuring the project's learning mascot

Creates:

  • overrides/404.html — Jinja2 template extending Material base theme with mascot image, friendly message, and home link
  • mkdocs.yml updates for custom_dir and static_templates

Features:

  • Uses the mascot's warning pose (or other pose) centered on the page
  • Inherits full site navigation (header, sidebar, footer) from the Material theme
  • Customizable message matched to the mascot's personality and voice
  • Absolute image paths so the 404 works from any URL depth

Prerequisites:

  • Existing MkDocs Material project
  • Learning mascot images in docs/img/mascot/ (use learning-mascot.md first if needed)

cover-image-generator.md

Purpose: Auto-generate cover images using the generate-cover.sh script

Provides:

  • Interactive questionnaire to determine best workflow
  • Commands for API, ChatGPT Pro, or manual generation
  • Troubleshooting for common issues

Workflows:

  • Full Auto: OpenAI API with active billing (fastest)
  • Browser Auto: ChatGPT Pro + macOS (opens browser, pastes prompt)
  • Local Prompt: ChatGPT Pro, any OS (displays prompt for manual copy)
  • Fallback: Free tier options with manual generation

Prerequisites:

  • Existing MkDocs project with mkdocs.yml
  • docs/course-description.md with book content description
  • One of: OpenAI API billing, ChatGPT Pro subscription, or free AI image generator

Examples

Example 1: Ask for Help

User: "book-installer help" Routing: Keyword "help" → Display numbered list Action: Show the numbered feature list (Step 1), then wait for user to select a feature

Example 2: Add a Specific Feature

User: "Add math equation support to my book" Routing: Keyword "math" → references/mkdocs-features.md Action: Load mkdocs-features.md, find the Math Equations section, and apply the configuration

Example 2b: Select by Number

User: "5" Routing: Number selection after help list → references/mkdocs-features.md Action: Load mkdocs-features.md, find Math Equations (item 5), and apply the configuration

Example 2c: Simple Template

User: "1" Routing: Number 1 → references/mkdocs-template.md (minimal section) Action: Load mkdocs-template.md and create a simple mkdocs.yml starter config

Example 3: New Textbook Project

User: "I want to create a new intelligent textbook about machine learning" Routing: Keywords "create", "new", "textbook" → references/mkdocs-template.md Action: Read mkdocs-template.md and follow its workflow

Example 4: Add Graph Viewer

User: "Add an interactive viewer for the learning graph" Routing: Keywords "viewer", "learning graph", "interactive" → references/learning-graph-viewer.md Action: Read learning-graph-viewer.md and follow its workflow

Example 5: Track Skill Usage

User: "I want to track which skills I use most often" Routing: Keywords "track", "skills", "usage" → references/skill-tracker.md Action: Read skill-tracker.md and follow its workflow

Example 6: Create Cover Image

User: "Help me create a cover image for my textbook" Routing: Keywords "cover image", "textbook" → references/home-page-template.md Action: Read home-page-template.md and follow its workflow

Example 7: Set Up Home Page with Social Sharing

User: "I need to add og:image metadata to my home page" Routing: Keywords "og:image", "home page" → references/home-page-template.md Action: Read home-page-template.md and follow its workflow

Example 8: Generate Cover Image Automatically

User: "generate cover image" or "book-installer generate cover image" Routing: Keywords "generate cover image" → references/cover-image-generator.md Action: Read cover-image-generator.md, ask user about their resources (API key, ChatGPT Pro, macOS), then run the appropriate generate-cover.sh command

Example 9: Add a Learning Mascot

User: "I want to add a mascot character to my math textbook" Routing: Keywords "mascot", "character" → references/learning-mascot.md Action: Read learning-mascot.md, guide user through character design, generate AI image prompts, and implement chosen method (inline, CSS admonitions, or JS detection)

Example 10: Generate Feature Checklist

User: "generate a feature checklist" or "what features do I have" Routing: Keywords "feature checklist" → references/feature-checklist-generator.md Action: Read feature-checklist-generator.md, run the detection script, generate docs/feature-checklist.md with detected statuses

Example 11: Generate Instructor's Guide

User: "add a teacher's guide" or "create instructor guide" Routing: Keywords "teacher guide", "instructor guide" → references/instructors-guide.md Action: Read instructors-guide.md, gather project variables from mkdocs.yml/course-description.md/CLAUDE.md, generate the guide with all variables substituted, add to navigation

Common Workflows

Full Project Setup

For a complete new project, users typically run these installations in order:

  1. mkdocs-template.md - Create the project structure
  2. cover-image-generator.md - Auto-generate cover image using AI
  3. home-page-template.md - Configure home page with cover image metadata
  4. learning-graph-viewer.md - Add graph visualization (after learning graph exists)
  5. skill-tracker.md - Enable usage analytics (optional)

Verification Commands

After any installation, verify with:

# For MkDocs projects
mkdocs serve
# Visit http://127.0.0.1:8000/[project-name]/

# For skill tracker
cat ~/.claude/activity-logs/skill-usage.jsonl | tail -5

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.81%
按下载量换算64

Claude

28.22%
按下载量换算49

Cursor

17.47%
按下载量换算30

Gemini CLI

9.05%
按下载量换算16

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills