marvec/rock-star-skills/llmwiki-ingest
Claude Code and agent skill by marvec/rock-star-skills
- community
Checking that the SKILL.md file is still in the repository.
Ingest new sources into the LLM Wiki. Reads unprocessed files from raw/, docs/, and notes/, creates source summaries, updates entity/concept pages, maintains cross-references, and updates the index and log. Use when new files have been added.
Install
npx vskill@latest install marvec/rock-star-skills/llmwiki-ingestSKILL.md
The same SKILL.md was published earlier as sergsrgsg/rock-star-skills/llmwiki-ingest.
LLM Wiki: Ingest
Process new source files and integrate their knowledge into the wiki.
Step 1: Identify New and Modified Sources
The wiki tracks every ingested file via an MD5 manifest at wiki/.manifest.json. Format:
Detection logic
If the user provided a specific path as an argument, ingest only that file/folder (skip detection, force re-ingest).
Otherwise:
- Read
wiki/.manifest.json(create empty{}if it doesn't exist). - Scan these directories for markdown (and other readable) files:
raw/(recursively, skipraw/attachments/)docs/(recursively)notes/(recursively)
- For each file found, compute its MD5 hash:
``bash md5 -q <file> ``
- Compare against the manifest:
- New: file path not in manifest → queue for ingest
- Modified: file path in manifest but MD5 differs → queue for re-ingest (update existing wiki pages)
- Unchanged: file path in manifest and MD5 matches → skip
- Deleted: file path in manifest but no longer on disk → flag for user attention (don't auto-delete wiki pages)
If no new or modified files are found, report "Nothing new to ingest" and exit.
Present the list of files to ingest, grouped by status (new/modified/deleted), and ask the user for confirmation before proceeding.
Re-ingesting modified files
When a previously ingested file has changed:
- Read the
wiki_pageslist from the manifest to find all wiki pages that were created/updated from this source - Re-read the source and update those wiki pages with the new content
- Preserve information from OTHER sources on those pages — only update the parts that came from the modified source
- Note in the log that this was a re-ingest due to source modification
Step 2: Read the Wiki State
Before processing sources:
- Read
wiki/index.mdto understand existing pages and structure. - Optionally use qmd to search for relevant existing pages that might need updating.
Step 3: Process Each Source
For each new source file, in order:
3a. Read and Analyze
- Read the full source file
- If the file references images in
raw/attachments/, read key images for additional context - Identify: key entities (people, companies, tools, technologies), core concepts, claims/data points, relationships
3b. Create Source Summary
Write a summary page in wiki/sources/:
3c. Create or Update Entity Pages
For each significant entity mentioned in the source:
- If
wiki/entities/<entity>.mdexists: update it — add new information from this source, update thesourceslist in frontmatter, addupdateddate, ensure cross-references are correct. - If it doesn't exist: create it with information from this source. Add wikilinks to related entities and concepts.
Entity page template:
3d. Create or Update Concept Pages
Same logic as entities, but for concepts/topics. Place in wiki/concepts/.
Concept page template:
3e. Update Cross-References
After creating/updating pages for a source:
- Check all pages that were created or updated
- Ensure bidirectional wikilinks exist (if A links to B, B should link to A)
- Add links to the source summary from all entity/concept pages it touches
Step 4: Update Index
Rebuild wiki/index.md:
- Read all
.mdfiles inwiki/subdirectories - Group by type (entity, concept, source, comparison, synthesis)
- For each page, list:
- [[Page Title]] — one-line description(read from frontmatter or first paragraph) - Sort alphabetically within each group
Step 5: Update Manifest
After processing each source file, update wiki/.manifest.json:
Update the manifest entry:
The wiki_pages array lists all wiki pages that were created or updated from this source. This is used by future re-ingests to know which pages to update when the source changes.
Read the existing manifest, merge in the new/updated entries, and write it back. Use the Bash tool to read/write JSON if needed.
Step 6: Update Log
Append to wiki/log.md:
Step 7: Reindex qmd
If qmd is available:
Step 8: Report
Print a summary for the user:
- Files ingested
- Pages created (with links)
- Pages updated (with what changed)
- Any contradictions or notable findings between new and existing content
Important Notes
- Never modify source files in
raw/,docs/, ornotes/. They are immutable. - Flag contradictions. If new source data conflicts with existing wiki claims, note the contradiction on both pages and mention it in the report.
- Be thorough but concise. Source summaries should capture all key information but not be longer than necessary.
- Use parallel subagents when ingesting multiple files to speed up processing.
- When updating existing pages, preserve information from previous sources. Add, don't replace.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/llmwiki-ingest/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 7
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/marvec/rock-star-skills/llmwiki-ingest)