技能图谱SKILLSGROVE
技能图谱/效率工具/pax-k/war-gov-uap-wiki/obsidian-wiki-ingest

obsidian-wiki-ingest

安装

$npx skills add https://github.com/pax-k/war-gov-uap-wiki --skill obsidian-wiki-ingest
$git clone --depth 1 https://github.com/pax-k/war-gov-uap-wiki.git /tmp/war-gov-uap-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/war-gov-uap-wiki/.skills/obsidian-wiki-ingest ~/.claude/skills/obsidian-wiki-ingest
请帮我安装这个 Agent Skill:https://github.com/pax-k/war-gov-uap-wiki/tree/42e3ab24f81481093fd2c0fd69962d83d84b4a17/.skills/obsidian-wiki-ingest ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITAutomates 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.
以下 SKILL.md 内容转载自 pax-k/war-gov-uap-wiki(提交 42e3ab2),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Ar9av 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

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)

  1. Determine ingest mode and target paths
  2. Run wiki-ingest with the chosen mode
  3. Update manifest/log and refresh wiki index
  4. 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.
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Ar9av

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.