跳到正文
cccskills
免费在 GitHub 公开

defuddle

Prepare readable Markdown from HTTPS article pages using an optional external Defuddle cleaner. The workflow checks URLs, requires network consent and executable review, previews extracted content, and can retain the cleaned source separately from wiki ingestion.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Plan and, with explicit network consent, use an optional external Defuddle cleaner to extract article-like HTTPS pages as Markdown. Use for defuddle, clean this URL, strip page clutter, readable Markdown from a web page, or preparing a web source for later wiki ingestion.

查看安装方法

适用场景

  • Extract readable Markdown from a web article
  • Prepare a web source for later wiki ingestion
  • Save cleaned content with source metadata

包含的文件(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Defuddle

Treat Defuddle as an optional external extractor, not an internal capability. Cleaning, raw capture, and wiki ingestion are separate operations.

Resolve the installed product root from this skill's own location, never from the selected vault or process working directory:

PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"

Every ../wiki/references/ link in this file resolves the same way, relative to this skill's own directory under $PRODUCT_ROOT, never relative to the selected vault's wiki/ directory.

If a separately installed kepano/obsidian-skills defuddle skill is available, prefer it for current CLI flags. Retain the privacy, consent, and transaction rules in this skill.

Safety contract

  • Accept remote inputs only as HTTPS URLs.
  • Reject credentials in URLs, fragments, private or local hosts, non-public IP addresses, control characters, and sensitive query parameters.
  • Never interpolate a URL into a shell string. Pass it as one argv element.
  • Treat redirects to a different host as denied until that host is explicitly approved.
  • State that the URL and request metadata will leave the machine. Network access requires explicit consent in the current request or a separate confirmation.
  • Do not install a cleaner, execute a placeholder runner, or silently switch to another network fetcher.
  • Do not claim a fixed token reduction or extraction quality. Inspect the actual output.

Plan first

Create an inert URL plan. This validates the URL and executes no network call:

python3 "$CORE" capture external-plan url "HTTPS_URL"

Report the normalized host, network egress, redirect policy, optional external dependency, and execute: false. Then inspect whether this package can find a configured Defuddle executable:

python3 "$CORE" contracts --verify --capability defuddle --vault VAULT

An available state means no executable was found; stop with the inert plan. A configured state means the executable was discovered, but this package has no bundled behavioral verifier for it. Show that state and reason, identify the resolved executable path, and require manual review of its provenance, version, and exact argv before execution. Never relabel configured as verified.

When unavailable or when manual review is declined, offer these honest fallbacks: let the user install/configure an external runner, accept a local HTML or Markdown file in inbox/, or leave the URL queued for later. Do not claim that content was cleaned, captured, or ingested.

Execute after consent

After network consent, configured-state detection, and manual executable review, invoke the approved executable with an argv equivalent to:

defuddle parse HTTPS_URL --md

Capture bounded stdout in a temporary draft outside shared vault state. Fail closed on a non-zero exit, empty output, unexpected binary output, an unapproved redirect, or a response that is clearly an authentication/error page. Preserve headings, links, code fences, tables, quotations, and source wording; do not invent missing content.

Preview the cleaned Markdown and report extraction limitations. If the user asked only to read or analyze it, keep the result transient.

Optional raw capture

When the user asks to retain the cleaned source:

  1. Resolve the user vault.
  2. Hash the exact cleaned bytes with SHA-256.
  3. Draft a new immutable payload such as .raw/captured/<sha256>.md and, when provenance metadata is needed, a new create-only sidecar with the normalized URL, retrieval date, extractor name and version, and content hash.
  4. Use expected_hashes: null and mode: create. If that content-addressed payload already exists with the same bytes, report a no-op; never overwrite it.
  5. Build, inspect, and apply one claude-obsidian.transaction.v1 capture bundle as described in operation-transactions.md.

Do not create wiki pages, update indexes, assess claims, or mark the source as ingested. Invoke wiki-ingest as a distinct requested operation if the user wants the captured payload incorporated into the knowledge base.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Research a defined topic within agreed limits and produce a cited report that distinguishes evidence, inference, contradictions, and gaps. Public web access requires consent, and saving findings or merging them into existing Obsidian notes receives separate review.

中文简介正在准备中。当前显示英语简介。

  • Investigate a topic within agreed limits
  • Compare conflicting claims and their sources
  • Create a cited research report
AgriciDaniel/claude-obsidian1.6万2026年10月19日 更新

canvas

免费

Create and update Obsidian canvas boards by arranging notes, media, text, and links into visual maps. Inspect existing boards for missing files and broken connections, and preview validated changes before applying them through recoverable transactions.

中文简介正在准备中。当前显示英语简介。

  • Create a visual map of research notes
  • Arrange vault images and PDFs on a board
  • Organize cards into groups with connections
AgriciDaniel/claude-obsidian1.6万2026年10月19日 更新

Build and validate Obsidian Bases files that display notes as tables, cards, or lists. Define filters, calculated values, displayed properties, and summaries to create reading lists, task trackers, and other database-like views of existing notes.

中文简介正在准备中。当前显示英语简介。

  • Creating a reading list from existing notes
  • Building task views filtered by status
  • Checking formulas and displayed properties
AgriciDaniel/claude-obsidian1.6万2026年10月19日 更新

Draft and check Obsidian notes using its Markdown extensions. Get help with note properties, internal links, embedded content, callouts, equations, and Mermaid diagrams, with checks for formatting consistency and locally verifiable link targets.

中文简介正在准备中。当前显示英语简介。

  • Drafting Obsidian notes with consistent properties
  • Checking internal links and embedded content
  • Adding callouts, equations, and diagrams
AgriciDaniel/claude-obsidian1.6万2026年10月19日 更新

save

免费

Preserve a selected answer, decision, insight, or conversation summary as an Obsidian note. Check for duplicates, retain uncertainty, and preview the note together with related index and log updates before applying the reviewed changes.

中文简介正在准备中。当前显示英语简介。

  • Save an answer from a conversation
  • Record a decision and its reasoning
  • Keep a useful insight as a note
AgriciDaniel/claude-obsidian1.6万2026年10月19日 更新

think

免费

Review consequential or ambiguous decisions through ten stages of structured reflection. Separate observations from assumptions, examine alternatives and risks, and produce a recommendation supported by evidence, with verification needs and conditions for revisiting the decision.

中文简介正在准备中。当前显示英语简介。

  • Compare options and their tradeoffs
  • Review architecture choices and wider effects
  • Investigate incidents and challenge assumptions
AgriciDaniel/claude-obsidian1.6万2026年10月19日 更新

查看 AgriciDaniel 的全部技能

报告此技能的问题