Jia-Hong-PengJia-Hong-PengCommunityยท2 Agent Skills Included

rag-to-skill

Convert books and documents into verified, shareable knowledge skills

Converts PDF, EPUB, Word, and scanned books into structured JSONL, then builds complete, verifiable knowledge skills from them. Follows a seven-stage workflow covering scanning, planning, scaffolding, content building, source anchoring, auditing, and delivery. Eliminates fabricated content by requiring every claim to carry a source anchor, with automated validation scripts checking completeness before sharing.
npx skills add Jia-Hong-Peng/rag-to-skill --all -g -y

All Skills in This Repository (2)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install rag-to-skill?โ–ผ

Run `npx skills add Jia-Hong-Peng/rag-to-skill --all -g -y` in your terminal to install all skills in this repository globally.

How to turn a book into a reusable knowledge skill?โ–ผ

Convert the book to JSONL with the included scripts, then ask your agent to build a skill from that file. The seven-stage workflow fills every reference with faithful source text and validates completeness before delivery.

Can it handle scanned PDFs without a text layer?โ–ผ

Yes. The pdf-ocr skill detects whether a PDF has a text layer and uses the model's built-in vision to transcribe scanned pages, with resume support and per-page hash verification.

How does it prevent made-up content?โ–ผ

Every statement in the generated skill must carry a source anchor pointing back to the original JSONL, and the bundled validate.py script audits anchor density, empty sections, and coverage before shipping.

Do I need coding experience to use rag-to-skill?โ–ผ

No. After installation you simply ask in plain language, such as 'turn this JSONL into a skill', and the agent follows the documented workflow automatically.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’