Skip to content
Skillpedia
Web scraping16k · #10806

defuddle

What it does

This skill helps prepare web pages for a knowledge base by planning how to strip clutter and save readable copies. It is for people who collect online sources for their notes.

When to use it

  • ✓When you want to turn a web page into clean, readable text for your notes.
  • ✓When you want to keep a local copy of a source file before adding it to your knowledge base.
  • ✓When you want to know what a web extraction would need, such as network access and redirect rules.

Skill link

https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/defuddle/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/defuddle/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Plan how to clean up this article page into readable text for my notes, and tell me what access it would need.”

5 new skills a week. 1 minute to read.

How it works

The agent checks that the link is a safe public web address and writes a plan that makes no network request. It can also save source files that are already on your computer.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Defuddle

Treat Defuddle as an optional external extractor. This package supports inert URL plans and filesystem capture; it does not ship an enforcing network cleaner. 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. Upstream flags may be checked in a separately installed kepano/obsidian-skills reference, but do not override this package's privacy and transaction boundary.

Inert URL plan

Accept HTTPS URLs only. Reject credentials, fragments, controls, sensitive query parameters, and non-public hosts or IP addresses. Never interpolate a URL into a shell string. Use one argv element when constructing a plan:

python3 "$CORE" capture external-plan url "HTTPS_URL"
python3 "$CORE" contracts --verify --capability defuddle --vault "$VAULT"

The plan executes no network request. Report the normalized host, required network egress, redirect policy, optional dependency, and execute: false. An available state means no executable was found. A configured state means an executable was discovered without a bundled behavioral verifier. Identify the manual executable and its reported reason; never run it merely because it was found. Never relabel configured as verified.

Why execution stops here

The upstream CLI inspected at commit 556d74e8c8fd68c49912d4b11a4ae9ec04d7b2b5 (checked 2026-10-17) follows redirects and enables asynchronous extraction. Even parsing a local HTML file can request additional resources or third-party fallbacks. Inspecting argv or obtaining consent for the initial URL cannot prove that every eventual destination remains approved.

Do not execute the bare CLI against a URL or local HTML under this workflow. Do not silently substitute a browser, fetcher, proxy, cookies, or another runner. A future runnable adapter must enforce approved destinations after DNS and on each redirect, disable uncontrolled async/fallback traffic, constrain proxy behavior, and bound bytes, time, and subprocess output. It must retain original and final locators, exact version, approved hosts, capture hash, and mode. Behavioral tests must prove these limits before execution is offered. Consent for each destination remains required even with an enforcing adapter.

Do not install tools or claim cleaning, extraction quality, or token savings. Leave the URL queued, or accept an already available local file. A local file may be retained as bytes without rendering HTML or running its scripts.

Reviewable filesystem capture

When the user asks to retain an existing local HTML or Markdown file, place it in the selected vault's inbox/ first. Preview and apply the filesystem plan with a pinned timestamp and operation ID:

python3 "$CORE" capture plan --vault "$VAULT" "$VAULT/inbox/source.md"
python3 "$CORE" capture apply --vault "$VAULT" "$VAULT/inbox/source.md" \
  --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID"
# Set APPROVAL_SHA256 to the reviewed approved_plan_sha256 from the dry run.
python3 "$CORE" capture apply --vault "$VAULT" "$VAULT/inbox/source.md" \
  --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID" \
  --approved-plan-sha256 "$APPROVAL_SHA256" --apply

This preserves source bytes in create-only .raw/captured/ storage. It does not clean HTML, verify source metadata, or synthesize pages. Inspect the actual result and record extraction limitations. If already cleaned text is supplied, retain its known extractor/version and locator without inventing missing fields. Report the operation ID and exact changed paths. A repeated identical payload is a no-op; never overwrite immutable raw state.

Use operation-transactions.md for custom capture drafts. Read or analyze transiently when retention was not requested. Invoke wiki-ingest only as a distinct requested operation.

FAQ

Will it download the web page now?

No. The URL plan makes no network request, so nothing is fetched during planning.

Why can't it clean pages over the network yet?

The skill says network extraction stays unavailable until a verified adapter that enforces its rules is in place.

Which links does it accept?

Only HTTPS links to public addresses, without login details or sensitive query parameters.

Details

Original description by the author

Plan optional Defuddle extraction and retain already available local source files through reviewed filesystem capture. Use for defuddle, clean this URL, strip page clutter, readable Markdown from a web page, or preparing a web source for later wiki ingestion. Network extraction remains unavailable until an enforcing adapter is verified.

repo: AgriciDaniel/claude-obsidian

Popularity

GitHub stars
16k
Ranking position
#10806
License
MIT
Updated
10/25/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills