defuddle
Skill này làm gì
Skill này giúp chuẩn bị các trang web cho cơ sở tri thức bằng cách lên kế hoạch loại bỏ phần thừa và lưu bản sao dễ đọc. Skill dành cho người thu thập nguồn trực tuyến cho ghi chú của họ.
Khi nào nên dùng
- ✓Khi bạn muốn biến một trang web thành văn bản sạch, dễ đọc cho ghi chú của mình.
- ✓Khi bạn muốn giữ một bản sao cục bộ của file nguồn trước khi thêm vào cơ sở tri thức.
- ✓Khi bạn muốn biết một quá trình trích xuất web cần những gì, chẳng hạn quyền truy cập mạng và quy tắc chuyển hướng.
Liên kết skill
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/defuddle/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy lên kế hoạch làm sạch trang bài viết này thành văn bản dễ đọc cho ghi chú của tôi, và cho tôi biết nó cần quyền truy cập nào.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra liên kết là địa chỉ web công khai an toàn rồi viết một kế hoạch không gửi bất kỳ yêu cầu mạng nào. Nó cũng có thể lưu các file nguồn đã có sẵn trên máy tính của bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Nó có tải trang web ngay bây giờ không?
Không. Kế hoạch URL không thực hiện yêu cầu mạng nào, nên không có gì được tải trong lúc lên kế hoạch.
Vì sao chưa thể làm sạch trang qua mạng?
Skill nói việc trích xuất qua mạng vẫn chưa khả dụng cho đến khi có một adapter đã được kiểm chứng để thực thi các quy tắc của nó.
Nó chấp nhận những liên kết nào?
Chỉ liên kết HTTPS đến địa chỉ công khai, không có thông tin đăng nhập hay tham số truy vấn nhạy cảm.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 16k
- Vị trí xếp hạng
- #10806
- Giấy phép
- MIT
- Cập nhật
- 25/10/2026
Bình luận
- …
Thêm skill từ kho mã này
autoresearch
16kCho phép agent của bạn nghiên cứu một chủ đề trong giới hạn đã đặt và soạn báo cáo có trích dẫn. Kết quả web chỉ là bằng chứng, không tự vào ghi chú.
canvas
16kGiúp agent của bạn tạo và cập nhật bảng canvas trong Obsidian để chứa ghi chú, file, liên kết và nhóm. Hữu ích cho bản đồ và bố cục không gian.
obsidian-bases
16kGiúp agent của bạn thiết kế các chế độ xem Obsidian Bases hoạt động như cơ sở dữ liệu đơn giản, với bộ lọc, công thức và bố cục bảng hoặc thẻ.
obsidian-markdown
16kGiải thích định dạng Markdown mở rộng của Obsidian, như liên kết, nhúng, callout và thuộc tính, và giúp soạn các ghi chú dùng chúng.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.