shidianguji-fetcher

Convert classical Chinese literature from Shidianguji into structured Markdown files.

6|1|Updated Jul 1, 2026
One-click install
npx skills add https://github.com/PancrePal-xiaoyibao/VitaForge --skill shidianguji-fetcher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shidianguji-fetcher
Source: https://github.com/PancrePal-xiaoyibao/VitaForge/tree/main/.gemini/skills/shidianguji-fetcher
Command: npx skills add https://github.com/PancrePal-xiaoyibao/VitaForge --skill shidianguji-fetcher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires linkedom, jszip, undici, and includes scripts (resource) components.

What problem does it solve?

This skill solves the difficulty of manually searching, navigating, and downloading content from the Shidianguji (识典古籍) platform, which often suffers from unstable internal search functionality.

Core Features & Use Cases

  • Automated Retrieval: Automatically crawls and downloads full books or specific chapters from the Shidianguji website.
  • Markdown Conversion: Merges disparate web chapters into clean, structured Markdown files for easy reading and research.
  • Local Context Search: Allows users to perform keyword searches across their locally downloaded collection of ancient texts.

Quick Start

Use the shidianguji-fetcher skill to download the full text of the book titled Han Feizi by providing its chapter URL.

Frequently Asked Questions about shidianguji-fetcher

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

FAQPage Schema
How do I download and convert classical Chinese literature from the Shidianguji platform into Markdown?

To convert Shidianguji literature into Markdown, this skill automates the extraction of full books or specific chapters from provided URLs and merges them into structured Markdown files. It bypasses the platform's unstable internal search by directly fetching the web pages.

Can I batch download ancient texts and search them locally for research?

Yes, you can batch download ancient texts and search them locally. The skill builds a local corpus of historical and philosophical Chinese classics, enabling offline keyword searches across your downloaded Markdown collection for research workflows.

Do I need Node.js to scrape ancient Chinese books from Shidianguji?

Yes, you need a Node.js runtime to scrape Shidianguji books. The skill relies on Node.js with the undici package for network requests and linkedom for HTML parsing to automate the web scraping and data archiving process.

How does automated web scraping handle unstable search functionality on the Shidianguji platform?

Automated web scraping handles unstable Shidianguji search functionality by directly navigating to specific book or chapter URLs. It uses undici for network requests and linkedom for HTML parsing to extract content, bypassing the need for the platform's internal search.

What is the best way to archive ancient Chinese classics for offline historical analysis?

The best way to archive ancient Chinese classics for offline analysis is using automated retrieval tools that convert web content into structured Markdown. This skill downloads full texts and enables local context keyword searching without relying on the source website.

What are the limitations of using linkedom for HTML parsing when extracting classical texts?

When extracting classical texts, limitations of using linkedom for HTML parsing include dependency on the Shidianguji website's current HTML structure. If the platform changes its web page layout or blocks automated requests, the web scraping and Markdown conversion process may fail.