Workshop Pre-Work
Before you come to the workshop you must have Claude Code installed with all the intelligent textbook skills installed in a Claude Code skills directory. You should also have a GitHub account created and an initial GitHub repository setup with a template intelligent textbook installed in the GitHub repository. Having all these components installed before you come to our class allows us all to focus on creation of the textbook, not the installation of the software.
System Requirements
Claude Code is a Linux shell system. You must have one of the following:
- A Mac running macOS
- A PC running Linux
- A virtual machine such as Docker running Linux
- A Raspberry Pi
- A Windows system running WSL (Windows Subsystem for Linux)
- A cloud-server account running Linux
Claude Code does not run well on native Windows. Windows users must install WSL first.
Step 1: Create a GitHub Account
If you don't already have a GitHub account:
- Go to https://github.com
- Click Sign up
- Follow the prompts to create your account
- Verify your email address
Verification
You should be able to log in at https://github.com and see your dashboard.
Step 2: Create Your Book Repository
- Log in to GitHub
- Click the + icon in the top right corner
- Select New repository
- Name your repository (e.g.,
my-intelligent-book) - Select Public (required for GitHub Pages)
- Check Add a README file
- Click Create repository
Verification
Your repository should be visible at https://github.com/YOUR_USERNAME/my-intelligent-book
Step 3: Create a Claude Account
You need a Claude Pro ($20/month) or Max ($100/month) subscription to use Claude Code.
- Go to https://claude.ai
- Sign up or log in
- Navigate to your account settings
- Subscribe to Claude Pro or Max
Which Plan?
- Pro ($20/month): Good for learning and moderate usage
- Max ($100/month): Better for heavy usage and longer conversations
Step 4: Install Claude Code
Follow the official quickstart guide to install Claude Code:
For macOS/Linux:
1 | |
Or if you don't have npm:
1 | |
Detailed Instructions
See the full Claude Code Quickstart Guide for your specific platform.
Verification
Run the following command to verify installation:
1 | |
Step 5: Log In to Claude Code
- Open your terminal
- Run the
claudecommand:1claude - Once Claude Code starts, type:
1/login - Follow the prompts to authenticate with your Claude account
Verification
After logging in, you should see a message confirming your authentication.
Step 6: Install Package Managers
For macOS Users
Install Homebrew (the macOS package manager):
1 | |
Admin Rights Required
You must have administrator privileges on your Mac to install Homebrew.
After installation, follow the instructions displayed to add Homebrew to your PATH.
Verification
1 | |
Homebrew 4.x.x.
For Windows Users (WSL)
- Open PowerShell as Administrator
- Run:
1wsl --install - Restart your computer
- Open "Ubuntu" from the Start menu
- Create a username and password when prompted
Verification
Open Ubuntu and run:
1 | |
Step 7: Install GitHub CLI (gh)
The GitHub CLI allows Claude Code to authenticate with your GitHub account.
For macOS:
1 | |
For Ubuntu/Debian/WSL:
1 2 | |
Verification
1 | |
gh version 2.x.x.
Step 8: Authenticate GitHub CLI
- Run the authentication command:
1gh auth login - Select GitHub.com
- Select HTTPS
- Select Yes when asked to authenticate Git with your GitHub credentials
- Select Login with a web browser
- Copy the one-time code displayed
- Press Enter to open your browser
- Paste the code and authorize the application
Verification
1 | |
Logged in to github.com as YOUR_USERNAME
Step 9: Create Your Projects Directory
Create a directory to hold all your projects:
1 2 | |
Verification
1 | |
/Users/YOUR_USERNAME/projects (macOS) or /home/YOUR_USERNAME/projects (Linux/WSL).
Step 10: Clone Your Book Repository
Replace YOUR_USERNAME with your actual GitHub username:
1 2 | |
Verification
1 | |
my-intelligent-book listed.
Step 11: Clone the Claude Skills Repository
1 2 | |
Verification
1 | |
my-intelligent-book and claude-skills listed.
Step 12: Configure Your Shell Environment
Add environment variables to your shell configuration file.
For macOS (zsh):
1 2 | |
For Linux/WSL (bash):
1 2 | |
Now reload your shell configuration:
For macOS:
1 | |
For Linux/WSL:
1 | |
Verification
1 | |
/Users/YOUR_USERNAME/projects/claude-skills or /home/YOUR_USERNAME/projects/claude-skills.
Step 13: Install the Book-Building Scripts
1 2 | |
Verification
1 | |
/Users/YOUR_USERNAME/.local/bin/bk.
Step 14: Install the Claude Skills
1 | |
Verification
1 | |
learning-graph-generator, microsim-generator, etc.
Step 15: Install MkDocs
This installs MkDocs and the Material theme using Conda:
1 | |
This May Take Several Minutes
The script creates a Conda environment and installs all required Python packages.
Verification
1 2 | |
mkdocs, version 1.x.x.
Step 16: Initialize Your Book
1 2 | |
This creates the basic MkDocs structure with:
mkdocs.yml- Configuration filedocs/index.md- Your homepage
Verification
1 | |
mkdocs.yml and a docs directory.
Step 17: Commit and Push Your Changes
1 2 3 4 | |
Verification
Go to your repository on GitHub. You should see the mkdocs.yml file and docs folder.
Step 18: Deploy to GitHub Pages
1 | |
This builds your site and deploys it to GitHub Pages.
First Deployment
The first deployment may take a few minutes. You may also need to enable GitHub Pages in your repository settings:
- Go to your repository on GitHub
- Click Settings → Pages
- Under "Source", select Deploy from a branch
- Select the gh-pages branch
- Click Save
Verification
Your book should be visible at:
1 | |
YOUR_USERNAME with your GitHub username)
Testing Your Installation
Run through these tests to verify everything is working correctly.
Test 1: Verify Skills Are Installed
List your installed skills:
1 | |
You should see output similar to:
1 2 3 4 5 6 | |
Expected Result
You should see approximately 15-20 skill directories listed.
Test 2: Verify the bk Command
Run the book utilities menu:
1 | |
You should see a menu like this:
1 2 3 4 5 6 7 8 9 10 | |
Expected Result
The menu should display with BK_HOME pointing to your claude-skills directory.
Troubleshooting
If you see command not found: bk, make sure you:
- Ran
./scripts/bk-install-scriptsfrom the claude-skills directory - Added
$HOME/.local/binto your PATH - Reloaded your shell with
source ~/.zshrcorsource ~/.bashrc
Test 3: Verify Your Book Is Published
Open your browser and navigate to:
1 | |
Replace YOUR_USERNAME with your actual GitHub username.
Expected Result
You should see your MkDocs site with a default homepage.
Troubleshooting
If you see a 404 error:
- Wait a few minutes - GitHub Pages can take time to deploy
- Check your repository settings to ensure GitHub Pages is enabled
- Verify the
gh-pagesbranch exists in your repository
Testing Claude Code Skills
Now let's verify Claude Code can see and use your skills.
Test 4: Start Claude Code
1 2 | |
Test 5: Ask About Available Skills
Once Claude Code starts, type:
1 | |
Expected Result
Claude should list skills including:
learning-graph-generatormicrosim-generatorchapter-content-generatorglossary-generator- And others...
Test 6: List All Skills
You can also use the /skills command:
1 | |
Expected Result
Claude should display a formatted list of all available skills with their descriptions.
Quick Reference Checklist
Use this checklist to verify your installation is complete:
- [ ] GitHub account created and logged in
- [ ] Book repository created (
my-intelligent-book) - [ ] Claude Pro or Max subscription active
- [ ] Claude Code installed (
claude --versionworks) - [ ] Logged in to Claude Code (
/logincompleted) - [ ] Homebrew installed (macOS) or WSL installed (Windows)
- [ ] GitHub CLI installed (
gh --versionworks) - [ ] GitHub CLI authenticated (
gh auth statusshows logged in) - [ ] Projects directory created (
~/projects) - [ ] Book repository cloned
- [ ] Claude-skills repository cloned
- [ ] Environment variables set (
echo $BK_HOMEshows path) - [ ] Book scripts installed (
which bkshows path) - [ ] Claude skills installed (
ls ~/.claude/skillsshows skills) - [ ] MkDocs installed (
mkdocs --versionworks) - [ ] Book initialized (
mkdocs.ymlexists) - [ ] Changes committed and pushed to GitHub
- [ ] Book deployed to GitHub Pages (site is visible)
Need Help?
If you encounter issues during setup, please:
- Take a screenshot of any error messages
- Note which step you're on
- Bring your questions to the workshop - we'll help you troubleshoot!
What's Next?
Once you've completed all the pre-work, you're ready for the workshop! We'll cover:
- Creating your course description
- Generating a learning graph
- Building chapter structures
- Creating interactive MicroSims
- Publishing your intelligent textbook
See you at the workshop!