ingest
Skill18 starsChanged 12 days agoApache-2.0View on GitHub
Extracts, distills, and compiles raw sources (PPTX slide decks, PDFs, Word docs, Excel sheets, web URLs, transcripts, codebases, or raw/ directories) into persistent, structured Knowledge Compiler markdown wikis following the Open Knowledge Format (OKF v0.2) and Andrej Karpathy LLM-Wiki standard. Use when the user invokes /ingest, asks to ingest raw files or a target path, compile knowledge, update the wiki, or extract unstructured files into markdown knowledge bases. Don't use for retrospectively compiling the active chat conversation without external files (use distill-session) or for read-only vault lookups (use vault-query).
- Installs packages
96 other projects use a version of this.
Adopted by
Most recently taken up by
- mphaxise/gstack-port-for-codextheir own version, first seen Nov 29, 2026
- opensearch-project/opensearch-agent-skillstheir own version, first seen Nov 29, 2026
- guhcostan/claude-mega-braintheir own version, first seen Nov 29, 2026
- HurricaHjz/second-yourselftheir own version, first seen Nov 24, 2026
- pche-broken-artist/forge-of-thoughttheir own version, first seen Nov 24, 2026
- ttalkkaklab/social-flowtheir own version, first seen Nov 22, 2026
Used with
Projects with it also use daily-arxiv, exp-eval and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
skyllwtSkillexp-pilot-eval
Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.
Also in 4 projects that use this
skyllwtSkillexp-pilot-run
Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.
Also in 4 projects that use this
rafeeqineaSkillposter
Create academic conference posters using LaTeX beamerposter or tikzposter templates. Trigger phrases: /poster, "make a poster", "conference poster", "research poster", "poster template"
Also in 5 projects that use this
- +6 more from Lambenthan
- +1 more from skyllwt
Other versions96 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 96
- garrytan/gbrain★ 34ksame name
- skyllwt/OmegaWiki★ 1.7ksame name
- DAIR-AutoResearch/AutoSci★ 1.7ksame name
- PKU-DAIR/AutoSci★ 1.7ksame name
- skyllwt/AutoSci★ 1.7ksame name
- coreyhaines31/makerskills★ 958same name
- suboss87/FDEOps★ 769same name
- jason-effi-lab/karpathy-llm-wiki-vault★ 718same name
- ZimoLiao/scholaraio★ 589same name
- egregore-labs/egregore★ 293same name
86 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- rules/AGENTS.mdAGENTS.md
- distill-sessionSkill
- knowledge-compilerSkill
- vault-correctSkill
- vault-graphSkill
- vault-lintSkill
- vault-pullSkill
- vault-querySkill
- vault-shareSkill
- wikiskillSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 80 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
Run the automated extraction script to unpack text, tables, speaker notes, and embedded media assets with SHA-256 caching (.pptx, .docx, …
- Very specific: line 67
If extracting a .pdf fails because neither pypdf nor pdftotext is installed, read the PDF directly with the agent's native file-reading …
- Distinctive: line 70
Before writing or modifying any permanent wiki notes:
- Very specific: line 71
Read & Inspect: Read raw/<Title>.md. Use view_file to visually inspect any extracted raster images in raw/assets/<Title>/ (identifying …
- Very specific: line 72
Context Alignment: Read purpose.md and index.md to identify active customer engagements, architectural themes, and existing related notes.
- Distinctive: line 86
Create or enrich corresponding entity and concept notes.
- Very specific: line 87
Ensure reciprocal links (A -> B and B -> A).
- Very specific: line 91
Add new notes with concise one-line summaries into index.md.
- Distinctive: line 96
Run the vault linter to guarantee 100% OKF compliance and zero broken links:
“Common” is measured: kept by at least 6 in 10 of the 80 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
📥 Knowledge Compiler Ingestion & Compilation Skill (/ingest)
This skill automates the end-to-end ingestion, multimodal extraction, distillation, cross-pollination, indexing, and health-checking of unstructured and structured sources into a Knowledge Compiler vault following the Open Knowledge Format (OKF v0.2).
🚀 Triggering /ingest
This skill handles any of the following invocations:
/ingestor/ingest raw: Batch-scans and ingests all pending/unprocessed source files in the vault'sraw/directory (leveraging SHA-256 caching to skip unchanged files)./ingest <file_or_dir>: Ingests a specific local file (e.g./ingest ~/Downloads/deck.pptxor/ingest ./docs/)./ingest <url>: Ingests a web page, blog post, or public document./ingest <git_repo>: Analyzes and compiles a local or remote code repository into architectural patterns, entity dossiers, and source summaries.
⚡ Two-Step Decomposition Workflow
To ensure maximum extraction fidelity, dense cross-referencing, and graph connectivity, the ingestion workflow is explicitly split into two distinct passes:
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ TWO-STEP INGESTION & COMPILATION PIPELINE │
├────────────────────────────────────────────────────────────────────────────────────────┤
│ │
│ [Step 0: Extract & Cache Check] │
│ Run extract_source.py (computes SHA-256 hex digest, checks .ingest_cache.json) │
│ Unpack text/tables to raw/<Title>.md and raster images to raw/assets/<Title>/ │
│ │ │
│ ▼ │
│ [PASS 1: Structured Analysis & Cross-Reference Mapping] │
│ - Read raw/<Title>.md + visual inspection of raster diagrams via view_file │
│ - Consult purpose.md and index.md to align with active strategic priorities │
│ - Produce structured blueprint: Entities, Concepts, New Claims, Contradictions, Links│
│ │ │
│ ▼ │
│ [PASS 2: Compilation & Cross-Pollination] │
│ - Create wiki/sources/<Title>.md with OKF frontmatter & source_sha256 │
│ - Create/Update wiki/entities/ dossiers & wiki/concepts/ architectural patterns │
│ - Transcribe raster architectures to Mermaid in notes + clean ASCII diagrams in chat │
│ - Update index.md catalog & prepend timestamped audit entry to log.md │
│ │ │
│ ▼ │
│ [Validation & Linter] │
│ - Run vault_lint.py: 0 broken links, 0 orphans, 100% OKF compliance │
│ │
└────────────────────────────────────────────────────────────────────────────────────────┘1. Step 0: Locate Vault Root, Extract & Check Cache
Locate the active Knowledge Compiler vault (checks current working directory, upward parent directories for GEMINI.md/raw//wiki/, or defaults to $OBSIDIAN_VAULT_PATH or ~/ObsidianVault).
Run the automated extraction script to unpack text, tables, speaker notes, and embedded media assets with SHA-256 caching (.pptx, .docx, .xlsx, .html, Markdown, and web URLs work with Python 3 stdlib alone; .pdf uses pypdf if installed or falls back to pdftotext):
# Pure Python 3 stdlib (works immediately after `agy plugin install`)
python3 <plugin_dir>/skills/ingest/scripts/extract_source.py [target]
# Optional: if `uv` is installed and you want full PDF/Office extras without a global pip install
uv run --with pypdf --with python-pptx --with python-docx --with openpyxl python <plugin_dir>/skills/ingest/scripts/extract_source.py [target]If extracting a .pdf fails because neither pypdf nor pdftotext is installed, read the PDF directly with the agent's native file-reading tool (read_file / view_file) instead of blocking on pip install.
2. Pass 1: Structured Analysis & Cross-Reference Mapping
Before writing or modifying any permanent wiki notes:
- Read & Inspect: Read
raw/<Title>.md. Useview_fileto visually inspect any extracted raster images inraw/assets/<Title>/(identifying architectural diagrams, topology charts, and tables not captured in raw text). - Context Alignment: Read
purpose.mdandindex.mdto identify active customer engagements, architectural themes, and existing related notes. - Draft Structured Extraction Blueprint:
- Core Thesis & Claims: Primary takeaways, architectural models, benchmark statistics, and quotes.
- Entities Identified: Products, organizations, platforms, people, or datasets (
wiki/entities/). - Concepts & Architecture: Design patterns, security models, protocols, formulas (
wiki/concepts/). - Contradictions & Shift in Consensus: Highlight differences with prior ingested materials.
- Target Wikilinks: Exact list of reciprocal
[[wikilinks]]to inject across the vault.
3. Pass 2: Compilation, Cross-Pollination & OKF Generation
Consume the structured blueprint from Pass 1 to execute the changes:
- Source Summary Note (
wiki/sources/<Title>.md):- Author complete OKF v0.2 YAML frontmatter (
type: source-summary,source_sha256,sources: [{ id: "<slug>", resource: "<path_or_url>" }],tags: [...],status: stable,generated: { by: knowledge-compiler/gemini-pro, at: YYYY-MM-DDTHH:MM:SSZ }). Omitverified:on agent-authored notes until human review (vault-lint --approve-human <note>). - Include executive summary, detailed topic breakdowns, comparison tables, and Mermaid architecture diagrams.
- Author complete OKF v0.2 YAML frontmatter (
- Entity & Concept Synthesis (
wiki/entities/&wiki/concepts/):- Create or enrich corresponding entity and concept notes.
- Ensure reciprocal links (
A -> BandB -> A). - Table Formatting Invariant: Inside markdown tables, never escape the pipe character (always use
[[Target|Alias]], never[[Target\|Alias]]). - CLI Terminal Visual Invariant: In Antigravity CLI terminal output, always provide a clean ASCII/Unicode text box diagram for immediate terminal readability alongside references to the Mermaid diagrams.
- Master Index & Audit Log:
- Add new notes with concise one-line summaries into
index.md. - Prepend a chronological audit log entry to
log.mdin the format:## [YYYY-MM-DD] ingest | <Source Title>
- Add new notes with concise one-line summaries into
4. Integrity Validation
Run the vault linter to guarantee 100% OKF compliance and zero broken links:
python3 <plugin_dir>/scripts/vault_lint.py "${OBSIDIAN_VAULT_PATH:-$HOME/ObsidianVault}"📚 Reference Documentation
- OKF v0.2 Specification: references/okf_spec.md
- Compiler Ingestion Protocol: references/compiler_protocol.md
- Extraction Helper: scripts/extract_source.py
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

