# Make My Textbook: Turn Code & Research Papers into Textbooks

> Turn a codebase or research paper into a textbook at your level. Trace claims to sources, practice with exercises, and keep an editable Markdown manuscript. Write in your preferred language, with PDF layouts for English and Korean.

Make My Textbook: Turn Code & Research Papers into Textbooks is a paid AI agent skill on Agensi by cacastopia, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [cacastopia](https://www.agensi.io/creators/cacastopia)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/make-my-textbook-turn-code-research-papers-into-textbooks
- Tags: documentation, prompt-engineering, productivity, technical-writing, node-js, python, pedagogy

## About this skill

Turn a research paper or unfamiliar codebase into a textbook you can study chapter by chapter. Tell your AI what you already know and what you want to understand. It builds a manuscript around that gap, with source excerpts, explanations, exercises, and a glossary.

For example, the included workflow was used to turn one section of Attention Is All You Need into a 12-page English textbook. The reader starts with matrix multiplication and works toward explaining scaled dot-product attention. Evidence labels distinguish the paper’s claims from background knowledge and worked examples. Footnotes let you check the passage yourself.

Use it for paper reading, codebase onboarding, or technical self-study. Keep the editable Markdown manuscript in your preferred language. Export English or Korean PDFs with the included local build script. Review citations against your sources before sharing.

## Requires

- Python
- vivliostyle
- Node.js

Use your Agensi-connected agent for Markdown. Python 3, Node.js 22.12+, npm, a local shell and network access are needed for optional PDF export.

## Known limitations

Requires local Node.js 22.12+ and Python 3 for PDF builds. Independent editing requires a separate model call. Only English and Korean profiles are pre-configured.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Make My Textbook: Turn Code & Research Papers into Textbooks skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill prevent technical hallucinations compared to standard AI writing?

Unlike general-purpose LLM prompts that may hallucinate details, this skill uses a mechanical verification audit and evidence-grading system to ensure every technical claim is directly traceable to your specific code or documents.

### What specific software environment do I need to produce the typeset PDFs?

To generate the final PDF, you will need a local environment with Python 3, Node.js 22.12+, and the Vivliostyle typesetter, all connected via an Agensi MCP (Model Context Protocol) link.

### Can I generate textbooks in languages other than English or Korean?

The skill includes pre-configured typesetting profiles for English and Korean; however, other languages or highly customized layouts require manual configuration of the pipeline files.

### What assets are included in the purchase of this skill?

You receive the complete source-grounding workflow, the instructional design templates, and the automated PDF build scripts (Node.js/Python) required to transform Markdown into a professional manual.

### Can I use this to create onboarding manuals for a private repository?

Yes, it is specifically designed for codebase onboarding, allowing you to define the reader's starting skill level and generate a guide where every explanation is linked to specific lines of code.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
