data-ingestion-pipeline

Ingest math textbook markdown into PostgreSQL and Neo4j via TutorDataServiceWriter.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MRenAIAgent/math_content_engine --skill data-ingestion-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-ingestion-pipeline
Source: https://github.com/MRenAIAgent/math_content_engine/tree/main/.claude/skills/data-ingestion-pipeline
Command: npx skills add https://github.com/MRenAIAgent/math_content_engine --skill data-ingestion-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill automates the complex process of ingesting educational math content from raw textbook markdown into a structured, queryable format within a data service layer, enabling personalized learning experiences.

Core Features & Use Cases

  • End-to-End Content Pipeline: Manages the entire workflow from reading textbook markdown to generating and writing concepts, personalized content, exercises, and Manim animations.
  • LLM as Content Generator: Leverages Claude Code as the primary AI to perform all content creation tasks, ensuring consistency and reducing external API calls.
  • Data Service Integration: Writes all generated content directly to a data service layer (PostgreSQL and Neo4j) using TutorDataServiceWriter.
  • Personalization Engine: Rewrites content and generates exercises tailored to specific student interests and grade levels.
  • Animation Code Generation: Creates Manim Python code for visual math explanations.
  • Use Case: Ingesting a new Algebra 1 chapter, extracting its core concepts, generating personalized explanations and practice problems for different student interests (e.g., basketball, gaming), and creating corresponding Manim animations for each section.

Quick Start

Use the data-ingestion-pipeline skill to process the textbook chapter located at 'curriculum/algebra1/textbooks/chapter_07_factoring.md'.

Frequently Asked Questions about data-ingestion-pipeline

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

FAQPage Schema
How do I automate extracting math concepts from markdown textbooks into PostgreSQL and Neo4j?

To automate math content extraction, this pipeline reads markdown textbooks and uses Claude Code to write structured concepts, exercises, and Manim animations directly to PostgreSQL and Neo4j via TutorDataServiceWriter. It ensures deterministic IDs and self-correction throughout the data ingestion process.

Can I generate personalized math exercises for different student interests from textbook content?

Generating personalized math exercises is supported by rewriting extracted textbook concepts to target specific student interests like basketball or gaming. The pipeline leverages Claude Code as the LLM to tailor educational content and practice problems for various grade levels during ingestion.

How does Manim animation code generation work for math education content?

Manim animation code generation works by having Claude Code process extracted math concepts from markdown and automatically write Python scripts for visual explanations. This happens within the ingestion pipeline, creating animations for each section of the ingested educational content.

Do I need external API calls to use an LLM pipeline for educational content generation?

No external API calls are needed because the pipeline leverages Claude Code as the primary LLM to perform all content creation tasks. This approach ensures consistency across generated concepts, personalized content, and exercises while reducing reliance on external services.

What is the best way to structure raw textbook markdown for a personalized learning data service?

The best way to structure textbook markdown is through an end-to-end pipeline that extracts core concepts, generates grade-specific content, and writes directly to PostgreSQL and Neo4j. This creates a queryable data service layer enabling personalized learning experiences with deterministic IDs.

How to ingest an Algebra 1 chapter into a structured data service with deterministic IDs?

Ingesting an Algebra 1 chapter involves pointing the pipeline to the markdown file path, such as curriculum/algebra1/textbooks/chapter_07_factoring.md. Claude Code then extracts concepts, generates personalized content and Manim animations, and writes to PostgreSQL and Neo4j with deterministic IDs.