defuddle
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.
Оригинален текст · няма потвърден превод на българскиПърво прочетете инструкцията.
Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.
GitHub хранилище- Звезди на репото
- 15 163
- Лиценз
- MIT
- Последна проверка на записа
- 20.09.2026 г.
Добавете в своя инструмент.
Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.
npx skills add AgriciDaniel/claude-obsidianСтраницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.
Откъс от SKILL.md
Началото на файла на автора, без превод.
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.