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
- 参考文档agents/book-chapter-agent.md3.0 KB
- 参考文档agents/course-module-agent.md3.0 KB
- 参考文档agents/document-agent.md4.0 KB
- 参考文档agents/transcript-agent.md3.6 KB
- 参考文档agents/web-article-agent.md2.5 KB
- 其他customize.toml110 B
- 参考文档mh-skill-manifest.yaml505 B
- 参考文档steps/step-01-load-source.md3.0 KB
- 参考文档steps/step-02-discuss.md3.5 KB
- 参考文档steps/step-03-integrate.md4.7 KB
- 参考文档workflow.md1.6 KB
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-initand 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
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.
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.
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.
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.
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.
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.