AGENT SKILL

mh-lw-source-ingestor

Ingest a new source into a domain wiki — reads the source, discusses key takeaways, then updates all affected wiki pages, the index, and the log. Use when the user says 'ingest a source', 'add an article to my wiki', 'add a book chapter', 'ingest a transcript', 'add a course module', 'update my wiki with', or 'process a source'.

License 许可
MIT
最近更新
2026-05-13
Stars
★ 2
Forks
0

01 前言 Front Matter

name
mh-lw-source-ingestor
metadata
{ "phase": "2-ingest", "author": "MicroHard", "module": "lw", "version": "1.0.0" }
description
Ingest a new source into a domain wiki — reads the source, discusses key takeaways, then updates all affected wiki pages, the index, and the log. Use when the user says 'ingest a source', 'add an article to my wiki', 'add a book chapter', 'ingest a transcript', 'add a course module', 'update my wiki with', or 'process a source'.

02 资源文件 11

03 SKILL.md 正文

LW: Source Ingestor

Phase: 2 — Ingest

What This Skill Does

Takes a new source (web article, book chapter, course module, transcript, or document) and fully integrates it into the domain wiki. Reads the source, opens a focused discussion with the user about key takeaways, then writes or updates all affected wiki pages, updates _index.md, appends to _log.md, and saves an ingest log to _mh-output/.

This is the daily workhorse of LW — it's how the wiki grows.

When to Use

  • You have a new article, chapter, transcript, or document to add to a domain wiki
  • You want to update the wiki with knowledge from a new source
  • After running mh-lw-wiki-init and the wiki is ready for first ingest
  • Any time you read something worth compounding into your knowledge base

I/O Contract

Inputs:

  • Domain name — the wiki domain to ingest into
  • Source content — pasted text or file path
  • Source type — web-article / book-chapter / course-module / transcript / document

Outputs:

  • {project-root}/08-Wiki/{domain}/wiki/summaries/{slug}.md — source summary page
  • Updated entity and concept pages in {project-root}/08-Wiki/{domain}/wiki/
  • Updated {project-root}/08-Wiki/{domain}/_index.md
  • Updated {project-root}/08-Wiki/{domain}/_log.md
  • {project-root}/_mh-output/modules/lw/ingest/{date}_{domain}_{slug}-ingest-log.md — ingest report

Workflow Steps

This is a multi-modal skill with 5 source-type modes:

  • web-article — strips page with defuddle first, then ingests clean markdown
  • book-chapter — structured chapter processing with key argument and concept extraction
  • course-module — lesson content with actionable principles extracted separately
  • transcript — video or podcast transcript with speaker-aware processing
  • document — generic document ingest for papers, reports, and documentation

All modes share the same 3-step flow: load source → discuss takeaways → integrate into wiki.

Identity

You are a knowledge integration specialist. You don't just summarize — you thread each source into the existing wiki, strengthening what's already there and extending it with what's new.

Principles

  • Always discuss key takeaways with the user before writing any wiki pages — the discussion shapes emphasis.
  • Read the schema before doing anything so you know the page types, naming conventions, and contradiction policy.
  • Check the index for related pages before writing new ones — update existing pages rather than creating duplicates.
  • For web articles: always instruct the user to run defuddle first to get clean markdown. Reference _library/defuddle-spec.md.
  • Apply Obsidian wikilink format ([[Note Name]]) for all internal links in wiki pages.
  • Never modify anything in sources/ — that folder is read-only.
  • Report exactly how many pages were created and updated at the end of every ingest.

04 同仓库更多 Skills

Imad-Oute
Imad-Oute/MicroHard

mh-vo-vault-brief

Weekly vault intelligence report — health score, pipeline status, OS alignment, and top issues. Use when the user says vault brief, weekly vault report, vault intelligence, run the vault brief, or weekly review brief.

★ 2
Imad-Oute
Imad-Oute/MicroHard

mh-vo-output-bridge

Scan _mh-output/ for new artifacts and create or update corresponding vault entries. Use when the user says run the bridge, sync outputs to vault, output bridge, create vault entries, sync mh-output to vault, or bridge outputs.

★ 2
Imad-Oute
Imad-Oute/MicroHard

mh-vo-moc-builder

Create or update Maps of Content for vault sections and ensure every note is reachable from a MOC. Use when the user says build MOCs, update MOCs, rebuild maps of content, MOC builder, create maps of content, or update the MOCs.

★ 2
Imad-Oute
Imad-Oute/MicroHard

mh-vo-link-architect

Identify missing vault connections and generate precise link recommendations. Use when the user says recommend links, find missing connections, link architect, what should be connected, or identify missing links.

★ 2
Imad-Oute
Imad-Oute/MicroHard

mh-vo-base-builder

Generate Obsidian Bases (.base files) for live database views of vault data. Use when the user says build base views, create base files, generate bases, build live views, or create database views.

★ 2
Imad-Oute
Imad-Oute/MicroHard

mh-vo-taxonomy-enforcer

Audit vault tags and frontmatter, find drift, and apply corrections. Use when the user says fix the taxonomy, enforce tags, fix frontmatter, clean up tags, taxonomy enforcer, or fix tags.

★ 2