AGENT SKILL

ingest

Ingest one external source (an article, course lesson, doc, PDF or URL) into the user's Obsidian vault: save the original to raw/, then build wiki/ pages per the vault's § Ingest. Use when the user types /ingest, or says "ingest this", "add this source to my wiki", "put this article/lesson in the vault as a wiki page". Works from any repo. Routing rule: someone else's words go to wiki/ (this skill); the user's own learnings and decisions go to notes/ (/to-vault).

License 许可
MIT
最近更新
2026-11-11
Stars
★ 0
Forks
0

01 前言 Front Matter

name
ingest
description
Ingest one external source (an article, course lesson, doc, PDF or URL) into the user's Obsidian vault: save the original to raw/, then build wiki/ pages per the vault's § Ingest. Use when the user types /ingest, or says "ingest this", "add this source to my wiki", "put this article/lesson in the vault as a wiki page". Works from any repo. Routing rule: someone else's words go to wiki/ (this skill); the user's own learnings and decisions go to notes/ (/to-vault).
argument-hint
<file path or URL>

02 资源文件 1

03 SKILL.md 正文

Ingest one source into the vault's wiki/, then reply with the paths written.

Inputs

  • Vault: ~/Documents/personal/obsidian/my-obsidian-notes. If it or its CLAUDE.md is missing, stop and say so; never create a vault.
  • Schema: read the vault's CLAUDE.md every run, at least § Schema, § Ownership, § MOCs, § Wiki, § Index format, § Log format and § Ingest. § Ingest is the procedure; follow it over anything below if they differ.
  • Source: exactly one file path or URL from the args. Given several, ingest the first and list the rest for later runs. Given none, ask for one and write nothing.
  • Routing: if the source is the user's own words (their typed notes, a Notion page of their notes, a takeaway from this conversation), stop and point them to /to-vault. Material written by someone else, including a lesson Claude wrote from cited sources, is a source.

Steps

  1. Load. Read the source: a local file with Read, a URL with WebFetch. If it cannot be read, stop and say so, writing nothing.
  2. Already in? Grep log.md for ingest | <title> and list raw/ for the same title. On a hit, say so and ask whether to re-ingest; write nothing until the user answers.
  3. Discuss. Do § Ingest steps 1–2: read index.md and the summary grep, tell the user the key takeaways and which wiki pages they would create or touch, then stop. Write no file, raw/ included, until the user replies.
  4. Save the original to raw/<Title> (YYYY-MM-DD).md, never overwriting an existing file:
    • Markdown or plain text: copy it unchanged.
    • HTML or a web page: convert to markdown, keeping every sentence, number, table and quote word for word; drop only markup, scripts and navigation. Add Source: <url or path> as the first line.
    • PDF or image: copy the file to raw/assets/ and write the .md as a transcription that links it.
  5. Ingest. Do § Ingest steps 3–6 against that raw/ file: source page, concept/component/ pattern pages, index.md and MOC links, log.md. Respect § Ownership: under notes/ add only the links § Ingest allows, and never edit a raw/ file after step 4.

Reply

One line per file written or changed, as a full path, e.g. ~/Documents/personal/obsidian/my-obsidian-notes/wiki/Capacity estimation.md, then any conflict entries logged.

04 同仓库更多 Skills

O-Marsters-1997
O-Marsters-1997/my-claude-code

obsidian-develop

Build, prototype, extend, debug and review Obsidian community plugins against a live vault: inspect the running app's UI, DOM, console and plugin state, prototype in the runtime, then verify each change with a build, reload and check loop. Use whenever the user is working on an Obsidian plugin, even when they just say "add a command", "make a sidebar view", "my settings tab is blank", "why isn't my view updating" or "get this ready for the community directory"; when they ask about the plugin API (obsidian.d.ts, Workspace, leaves, Vault, MetadataCache, FileManager, views, modals, settings tabs, CodeMirror 6 editor extensions, markdown post-processors, events); or when they want a running Obsidian instance's DOM, CSS, console or plugins inspected. Not for general note-taking, Obsidian Markdown syntax, themes without a plugin, or managing vault content (use ingest, to-vault or vault-recall for those).

★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

vault-recall

Answer the user's conceptual or technical question using their Obsidian vault as well as general knowledge. Use when the user asks a question (not a task) whose topic appears in the vault MOC digest from session start. Not for task instructions, not mid-task, and not for writing to the vault (that is to-vault).

★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-tickets

Breaks a source into independently-grabbable GitHub tickets. For a code feature the source is the plan (`docs/plans/<feature>.md`, from /to-plan) and every new or changed symbol lands in exactly one ticket, its signatures copied into the ticket body; a non-code feature is cut from the PRD's slices. Cuts tickets for one feature per run. If a code feature has no approved plan, offers /to-plan instead of cutting from prose. In a repo that runs command-centre, also emits `[[task]]` blocks into its config; in a plain treepad repo, emits a Batch Manifest instead so the tickets materialise as stacked worktrees.

★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-seams

Records an agreed-but-unlanded cross-repo interface as a seam: the file a consumer's agent gets pasted into its prompt as ground truth, plus the `[[seam]]` block command-centre reads for the retirement pointer. Use when two repos need to build against an interface neither has landed yet — "record a seam for X", "we agreed on this schema, seam it", "add a seam so Y can build against Z's new field". Halts for approval before writing either file.

Skill与智能体开发
★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-roadmap

Prioritises settled features into a Now / Next / Later kanban board, rendered as a self-contained ./ideas/roadmap.html. Each card is a feature, not a ticket — one card later becomes several tickets via /to-prd -> /to-plan -> /to-tickets. Boards the features in ./docs/approach.md, or the "## Accepted ideas" in ./ideas/CONTEXT.md when there is no approach doc. The approach doc is settled truth: this assigns tiers and reasons about ordering, it never re-litigates what was decided.

产品经理
★ 0
O-Marsters-1997
O-Marsters-1997/my-claude-code

to-prd

Turns one feature idea into a PRD built on journeys: a one-line problem, journeys (each ending in an observable state) and delivery slices that say what is usable after each. Interviews, explores the codebase, and saves to docs/prds/<feature>.md. Covers exactly one feature: given a multi-feature source, ask which one. Reads any approach doc or ideate report as priors so it doesn't re-ask what's settled, but needs none. Starts the per-feature spine (/to-prd -> /to-plan -> /to-tickets).

产品经理
★ 0