Getting Started Guide for Installing Textbook Generation Skills in Claude Code
This document guides you through the steps to install a set of Claude Code Skills used to generate intelligent textbook skills on your local computer so they are accessible to Claude Code. At the end of this getting started build you should be able to run all the skills and book-building utilities in this project.
Note
Claude does not currently run on the Windows PowerShell. See details below.
Quick Start Summary
Here's a quick overview of the five main steps of the installation process. These steps assume you are familiar with using the UNIX Terminal or shell. You can find details on teach step later in the document in the Detailed Installation Options for New Users. The Quick Start steps if you are an experienced UNIX user and have git already installed on your computer.
Step 1: Clone the Claude Skills GitHub Repo
Download the claude-skills repository from GitHub to your local drive.
1 2 3 | |
Step 2: Set the BK_HOME and Configure PATH
Set environment variables in your shell startup file.
Set BK_HOME and add ~/.local/bin to your PATH if it is not already on your path
1 2 | |
Restart you shell and type: echo $BK_HOME to verify the environment variable is set
Step 3: Install The Book Building Scripts
Install book utilities
Run bk-install-scripts to install book-building commands
1 | |
Type bk and you should see a list of the book building commmands
Step 4: Install Claude Skills
To install skills globally, you just need to type the following command
1 | |
This will install all the book builder scripts in your ~/.claude/skills directory
Step 5 Verify installation
Check that everything is working correctly by asking Claude what skills it knows about.
1 2 | |
Here is a sample response:
1 2 | |
Warning
The installation process only installs symbolic links in your ~./local/bin and your ~/.claude/skills.
This allows you to just do a git pull to get new updates to existing skills.
You must not delete the claude-skills or the skills will stop working.
When new skills or scripts are added you MUST reinstall them to get the new symbolic links installed.
When in doubt do a git pull and rerun the installers for both scripts and skills.
Detailed instructions for each step are provided below.
Detailed Installation Options For New Users
This section of the Getting Started Guide walks new users through some of the detailed step-by-step guide for getting the Claude skills loaded into your local computer.
There are two installation options for Claude skills:
- Option 1: Global Skills - The skills will be usable by all your projects. If you are creating multiple textbooks you should choose this option. (Recommended)
- Option 2: Project Skills - If you are only working on a single textbook you can use this option. If you are using many other skills on other projects that might have conflicting skill names, this is a good choice.
The book-building utilities are always installed globally to ~/.local/bin.
Prerequisites
Git Installation
Git comes install on many operating systems including
- MacOS
- Linux (many versions)
- Raspberry Pi OS
- Windows Subsystem for Linux (WSL)
Note
Although git can be installed on Windows, you can't run Claude with PowerShell. You must run the Windows Subsystem for Linux (WSL) or the git bash shell
You can test that git is installed by running:
1 | |
Sample response:
1 | |
Background on UNIX Environment Variables
The Claude Skills depend on running a set of UNIX shell commands. To find the shell commands the UNIX shell looks in a series of specified locations in your PATH variable. You can see your current PATH by doing the following:
1 | |
By default, the claude program and the book building scripts are stored in a directory that your personal account always has write access to. This is called your "Hidden Local Binaries" location.
1 | |
The tilde character ~ is a shorthand for the home directory you are in when your shell starts up.
This is referred to as your $HOME directory. Note that you should never put ~ in your startup file.
Always use $HOME in the startup files.
Before installing the skills, you must complete two important setup steps:
1. Set the BK_HOME Environment Variable
The BK_HOME environment variable must point to the root directory of your cloned claude-skills repository. Add this to your shell startup file:
For Bash (add to ~/.bashrc or ~/.bash_profile):
1 | |
For Zsh (add to ~/.zshrc):
1 | |
For Fish (add to ~/.config/fish/config.fish):
1 | |
Replace $HOME/projects/claude-skills with the actual path where you cloned the repository.
2. Add ~/.local/bin to Your PATH
The book-building scripts will be installed to ~/.local/bin. Ensure this directory is in your PATH:
For Bash (add to ~/.bashrc or ~/.bash_profile):
1 | |
For Zsh (add to ~/.zshrc):
1 | |
For Fish (add to ~/.config/fish/config.fish):
1 | |
After adding these lines, restart your terminal or run:
1 | |
Downloading the Skills
The best way to download the skills is to use the git clone command:
1 2 | |
This assumes that projects is the directory where you check out your GitHub repositories.
You can use any directory you prefer, just remember to update your BK_HOME environment variable accordingly.
Installing Book-Building Scripts
Before installing the Claude skills, you should install the book-building utility scripts.
These are scripts prefixed with bk- that help you manage and build intelligent textbooks.
Run the installation script:
1 2 | |
This script will:
- Create symbolic links for all bk-* scripts in $BK_HOME/scripts/
- Place the links in $HOME/.local/bin for easy command-line access
- Verify that $HOME/.local/bin is in your PATH
- Display a list of all installed book utilities
After installation, you can use commands like bk-book-status, bk-build, and other book utilities from anywhere in your terminal.
Installing Claude Skills
After you have downloaded the repository and installed the book-building scripts, you have two options for installing the Claude skills:
- Personal Level: Install these skills for ALL your projects. (Recommended)
- Project Level: Install these skills for a specific project
The first option will allow you to work on many different intelligent textbook projects without duplicating the skills on your local computer. It is highly recommended.
The only reason that you might want to use the second option for specific projects is if you are doing complex development such as creating different versions of these skills.
Skill Installation for ALL Projects
We will do this by creating symbolic links from your home Claude directory (~/.claude/skills/) to the skills in the cloned repository.
Run the installation script:
1 2 | |
You will see a log of all the skills that were correctly installed:
1 2 3 4 5 6 7 8 | |
Getting Updates
These skills will be updated frequently. To install the latest release, just run git pull:
1 2 | |
After pulling updates, you may need to re-run the installation scripts if new scripts or skills were added:
1 2 3 | |
Details of the Installation script
The script will create a set of symbolic link commands, one for each skill file in this repo.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | |
If you want to change the links to work in your specific project, just change the path where the links are created.
Change:
1 | |
to be:
1 | |
Testing Your Skill List
1 | |
Response:
1 2 3 4 5 6 7 8 9 10 | |
Add the /skills Command
Claude Code allows you to add custom slash commands that execute scripts. You can add a /skills command that lists all available skills.
The custom slash command system works by:
1. Creating a command definition file in ~/.claude/commands/ (or .claude/commands/ in your project)
2. Having an executable script in your $PATH that the command calls
The list-skills.sh script provides this functionality and is automatically installed to ~/.local/bin when you run bk-install-scripts.
To enable the /skills slash command:
Option 1: Install globally (recommended):
1 2 | |
This will:
- Copy list-skills.sh to ~/.local/bin/ (if not already installed by bk-install-scripts)
- Copy commands/skills.md to ~/.claude/commands/skills.md
Option 2: Install for a specific project:
1 2 | |
Note: The list-skills.sh script must be in your $PATH (which it will be if you followed the prerequisites and ran bk-install-scripts).
Sample Skill Slash Command Execution
I just type '/sk` into Claude Code and you should see the code listed

Result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
Verifying Your Installation
After completing all installation steps, verify everything is working:
1. Check environment variables:
1 2 3 4 5 | |
2. Check book-building utilities:
1 2 3 4 | |
3. Check Claude skills:
1 2 | |
4. Test the /skills command in Claude Code:
Type /skills in Claude Code and it should list all available skills.
Configuring Permissions
The default Claude Code permission behavior is very strict and will prompt you for many operations. For efficient workflow when working on textbook projects, you can configure permissions to be more permissive.
IMPORTANT: Only use permissive settings when working in a safe, version-controlled directory (like a Git repository). This way, you can always revert unwanted changes.
Create or edit .claude/settings.json in your project directory:
1 2 3 4 5 6 7 8 9 10 11 | |
This configuration:
- Allows all skills to run without prompting
- Allows all bash commands
- Allows reading and writing all files in the current project directory (./**/*.*)
Since your work is in a Git repository, you can always review changes with git diff and revert if needed.
Troubleshooting
BK_HOME not set error
If you get an error saying BK_HOME environment variable is not set:
- Add the export to your shell startup file (see Prerequisites section)
- Restart your terminal or run:
source ~/.bashrc(or~/.zshrc) - Verify with:
echo $BK_HOME
Scripts not found in PATH
If you get command not found when trying to run bk-* commands:
- Check that
~/.local/binis in your PATH:echo $PATH | grep .local/bin - Add the export to your shell startup file (see Prerequisites section)
- Restart your terminal or run:
source ~/.bashrc(or~/.zshrc) - Re-run the installation:
cd $BK_HOME/scripts && ./bk-install-scripts
Skills not showing up in Claude Code
If skills don't appear when you try to use them:
- Check that symlinks were created:
ls -la ~/.claude/skills/ - Re-run the installation:
cd $BK_HOME/scripts && ./install-claude-skills.sh - Restart Claude Code
- Try listing skills with
/skillscommand or ask Claude: "What skills do you have access to?"
/skills command not working
If the /skills slash command doesn't work:
- Check that
list-skills.shis in your PATH:which list-skills.sh - Check that the command file exists:
ls ~/.claude/commands/skills.md - Re-run:
cd $BK_HOME/scripts && ./install-skills-command.sh - Restart Claude Code
Permission denied when running scripts
If you get permission denied errors:
- Make scripts executable:
chmod +x $BK_HOME/scripts/*.sh - For specific scripts:
chmod +x $BK_HOME/scripts/bk-install-scripts
Next Steps
Once you have successfully installed the skills and utilities, you can:
- Create a new intelligent textbook project - Use the
intelligent-textbook-creatorskill - Generate a learning graph - Use the
learning-graph-generatorskill - Create interactive simulations - Use the
microsim-p5skill - Generate course content - Use the
glossary-generator,quiz-generator, andfaq-generatorskills
For detailed documentation on each skill, visit the skills documentation or use the /skills command in Claude Code.