book-merge

Merge supplemental textbook sections into a primary book JSON using Python fingerprinting.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/shuff57/agent-evo --skill book-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: book-merge
Source: https://github.com/shuff57/agent-evo/tree/main/skills/.archive/book-merge
Command: npx skills add https://github.com/shuff57/agent-evo --skill book-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fingerprint_dedup.py, placement_map.py, merge_from_placement.py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of merging content from multiple textbook sources into a single chapter, especially after section matching has produced a mapping file and before remastering.

Core Features & Use Cases

  • Content Merging: Combines sections from supplemental textbooks into a primary book JSON.
  • Duplicate Detection: Uses Python fingerprinting to identify and skip duplicate content.
  • Placement Rules: Provides insertion rules for sections that are unique but may require review.
  • Use Case: Ideal for educators or textbook editors who need to integrate additional resources into a primary textbook without relying on AI for matching or insertion.

Quick Start

Run the book-merge skill with the primary and supplemental JSON files:

python3 scripts/workflows/merge_from_placement.py \
  --primary ".../ahss_ch1.json" \
  --supplemental ".../os_ch1.json" \
  --placement ".../placement_ch1_v2.json" \
  --output ".../merged_ch1_v2" \
  --chapter 1

Frequently Asked Questions about book-merge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge textbook content from multiple sources without using AI?

You can merge textbook content without AI by using Python-based fingerprinting to detect duplicate sections and placement rules to integrate supplemental book JSON files into a primary textbook.

What is the best way to detect duplicate sections when merging academic textbooks?

The best way to detect duplicate sections during academic content merging is to use Python fingerprinting, which identifies matching content across supplemental and primary book JSON files to prevent redundant insertions.

How do I integrate supplemental textbook sections into a primary book JSON?

You integrate supplemental textbook sections into a primary book JSON by running a Python script that applies a placement map, inserting unique content while skipping duplicates identified by fingerprinting.

Do I need a placement map file to merge textbook chapters?

Yes, you need a placement map file to merge textbook chapters because it provides the specific insertion rules required to place unique supplemental sections into the primary book JSON accurately.

Can I use Python scripts to combine textbook JSON files for academic publishing?

Yes, you can use Python scripts to combine textbook JSON files for academic publishing by executing the merge workflow to process primary, supplemental, and placement inputs into a single output file.

Why skip AI for section matching during textbook content integration?

You skip AI for section matching during textbook content integration to avoid AI reliance, instead using deterministic Python fingerprinting and placement rules to achieve accurate and reproducible section merges.