| name | obsidian-wiki-ingest |
| description | Automates ingestion of documents into the Obsidian wiki (obsidian-wiki) using the wiki-ingest pipeline. Handles deduplication via manifest, frontmatter, and cross-links; triggers on user request within the obsidian-wiki project context.
|
Obsidian Wiki Ingest — Automation Skill
You are the automation layer that ingests documents into the Obsidian wiki project. This skill orchestrates the ingestion workflow, ensuring deduplication, proper frontmatter, and cross-linking with existing pages.
Trigger
- User says: "ingest to wiki", "add to wiki", or any phrasing that targets the obsidian-wiki repository.
- Context: active in the /home/ubuntu/projects/obsidian-wiki workspace.
Responsibilities
- Validate target vault path from the environment and manifest state.
- Decide between Append, Full, or Raw ingest modes based on user input or changes in the source.
- Invoke the wiki-ingest workflow to process new/modified sources.
- Update manifest,
index.md, timeline.md, log.md, and hot.md with ingest metadata.
- Create or update project overview pages and cross-links as needed.
Timeline Maintenance
Every ingest must keep timeline.md in sync. For each created/updated page whose content has a datable event (sighting, memo, directive, mission, cable, interview, hearing), add or update its line under the right year/decade. Follow the canonical convention in AGENTS.md → "Timeline Maintenance" and .skills/llm-wiki/SKILL.md → timeline.md:
- Date precedence: filename date suffix (
*-YYYY-MM-DD.md > *-YYYY-MM.md > *-YYYY.md) > frontmatter event_date > year tag in tags:. If none resolves, skip the timeline entry.
- Update existing entries in place — never duplicate.
- Entry format:
- **<date label>** — [[category/slug]] — <summary ≤200 chars>.
Inputs
- Source documents (Markdown, PDFs, text, images) from OBSIDIAN_SOURCES_DIR or _raw/
- Vault path from OBSIDIAN_VAULT_PATH
- Optional: ingest mode (append|full|raw)
Outputs
- Updated wiki pages with distilled knowledge
- Updated .manifest.json and log entries
- Optional: new/updated project overview pages
Probing and Safety
- Do not ingest secrets or sensitive data.
- Respect existing page structure and avoid duplicating content.
- Mark inferred/ambiguous knowledge with provenance notes.
Example Workflow (high level)
- Determine ingest mode and target paths
- Run wiki-ingest with the chosen mode
- Update manifest/log and refresh wiki index
- Return a brief summary of changes
Next Steps
- If you approve, I’ll create a small wrapper script (scripts/ingest-wiki.sh) that kicks off the ingest for the current project and updates the manifest. Then wire a simple command alias to trigger this skill from the CLI.