Skills Explorer Add Skills

book-to-skill

An agent skill by virgiliojr94, from virgiliojr94/book-to-skill. Tags: anthropic, automation, cli, developer-tools, documents.

What it does

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, or OpenClaw, apply an author's frameworks while working, or build a reusable knowledge base from a file.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add virgiliojr94/book-to-skill --skill book-to-skill

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/virgiliojr94/book-to-skill
cp -r book-to-skill ~/.claude/skills/book-to-skill

Safety box score

Grade D, elevated risk: 51 of 100 risk points, rated 2026-10-15. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill converts local books/documents into agent skills, writing chapter files plus indexes into a chosen skills root and optionally publishing the result to GitHub. The main risks are subprocess-heavy extraction, optional package/network activity, and broad filesystem writes including recursive cleanup of the per-run workdir.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It runs its own Python entrypoints and external converters, e.g. `"$PYTHON_BIN" "$SCRIPT_PATH" ... --install-missing ask` and `subprocess.run(["ebook-convert", ...])` in `book_to_skill/parsers/calibre.py`.
Network access2 (moderate)The workflow can contact package registries and GitHub, including `pip install "book-to-skill[pdf,epub,docx] @ git+https://github.com/virgiliojr94/book-to-skill.git"`, `gh repo create ... --push`, and `npx skills add ...`.
Filesystem reach2 (moderate)It writes generated skills into user or project skill roots such as `~/.agents/skills/<skill_name>` and explicitly removes the extraction workdir with `rm -rf "$WORKDIR"` / `shutil.rmtree(...)`.
Secrets & credentials1 (low)It does not read keychains or `.env` files, but optional publishing is done through the user's authenticated GitHub CLI session (`gh auth status` / `gh repo create --push`).
Privilege & persistence1 (low)No sudo or system service install is present, but it may create symlinks in user directories and ask to install missing user-space tools like `gh` or Python packages.
Instruction hijack surface1 (low)`SKILL.md` is heavily instruction-shaped and uses HTML comments and host-specific guidance, but I did not see payloads that try to override safeguards, hide actions, or follow remote instructions.
Irreversible actions2 (moderate)The skill can create/update skills and, if the user opts in, publish and push a repository (`gh repo create ... --push`) and offer `npx skills add` installation.
Transparency2 (moderate)Several substantial runtime files were not readable in this sample (`book_to_skill/utils.py`, `book_to_skill/parsers/pdf.py`, `book_to_skill/sanitize.py`, etc.), so the full extraction behavior could not be audited.

Before installing

Rated 2026-10-15 by an automated review of 70 files from the skill's repository.

Source

Repository
virgiliojr94/book-to-skill (all skills from this repository)
Path
SKILL.md
Branch
master
Updated
2026-09-19