text-ingestion

Convert raw .md or .txt notes into standardized source.md files with generated metadata.

Updated Dec 9, 2023
One-click install
npx skills add https://github.com/gauravprwl14/dev-environment-setup --skill text-ingestion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: text-ingestion
Source: https://github.com/gauravprwl14/dev-environment-setup/tree/main/skills/text-ingestion
Command: npx skills add https://github.com/gauravprwl14/dev-environment-setup --skill text-ingestion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Normalise raw notes or blog drafts into a consistent source.md format so downstream content pipelines can operate without changes.

Core Features & Use Cases

  • Ingests .md or .txt notes and outputs a standardized source.md path under the content pipeline.
  • Generates metadata (title, word count, read time, topics, slug, date) and preserves original content in source.md.
  • Use case: you have raw meeting notes or a draft blog post and want to convert it for further processing by summarizers and generators.

Quick Start

Run the ingestion tool with a path to your notes or draft file, e.g., /text-ingestion path/to/notes.md.

Frequently Asked Questions about text-ingestion

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

FAQPage Schema
How do I normalize raw notes into a standard markdown format for content pipelines?

To normalize raw notes into a standard markdown format, this Skill ingests unpolished .md or .txt files and outputs a structured source.md file. It handles frontmatter extraction, slug generation, and date formatting for downstream processing.

What is the best way to generate metadata for blog drafts before summarization?

Generating metadata for blog drafts is handled by extracting frontmatter and calculating read time, word count, and topics. The process preserves your original content while appending this generated metadata into a ready-to-pipeline source.md file.

Do I need external APIs to extract frontmatter and generate slugs from text files?

You do not need external APIs to extract frontmatter or generate slugs. The process relies entirely on local file processing to parse your notes or drafts, meaning no external network requests are required to create the standardized source.md output.

Can I use local file processing to convert meeting notes for downstream blog generation?

You can use local file processing to convert meeting notes by running the ingestion tool with a direct path to your file. It normalizes the mixed content and writes it to a structured output path, making it immediately ready for downstream blog generation.

What limitations exist when ingesting mixed content drafts into source.md?

A limitation when ingesting mixed content drafts is that the tool strictly processes local .md or .txt files and outputs a single source.md file. It normalizes structure and metadata but does not alter the original raw content itself during the ingestion process.