본문으로 건너뛰기
cccskills
무료GitHub에 공개

web-source-bundler

Captures web sources and compiles deterministic Markdown reference bundles with metadata and checksums. Use when asked to capture URLs, research web links, bundle search results, or archive web pages into an LLM-ready reference document.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Playwright
설치 방법 보기

포함된 파일(1)

  • SKILL.md5.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Web Source Bundler

Capture URLs, file lists, or search results into deterministic, verifiable Markdown reference bundles with SHA-256 provenance using web-source-bundler.

Installation & Setup

web-source-bundler requires Python 3.10+ and Playwright.

  1. Install from GitHub repository:

    pip install git+https://github.com/AndrewBrown-USDA/web-source-bundler.git
    

    (Or if developing locally within the repository workspace: pip install -e .)

  2. Install Playwright browser binaries:

    python -m playwright install chromium
    

Both web-source-bundler and source-bundler CLI entrypoints are available once installed.

Execution Workflow

  1. Extract source inputs from user prompt:
    • Explicit URLs: https://...
    • URL list files (plain text .txt with one URL per line)
    • Search result lists (JSON containing url or link, title, and optional snippet)
  2. Determine execution options:
    • Output destination: --out <dir> (defaults to ./source-bundle-<timestamp>)
    • Interactive prompt: --interactive if user requested manual selection
    • Artifacts: --no-screenshot, --no-pdf, --include-raw-html
    • Data privacy: --redact-pattern "<regex>" if sensitive tokens/PII are mentioned
    • Link indexing: --include-links-table if an appendix of all extracted links is requested
  3. Run web-source-bundler command:
    • Direct URLs:
      web-source-bundler urls https://example.com https://another.com --out ./bundle
      
    • URL list file:
      web-source-bundler file urls.txt --out ./bundle
      
    • Search results JSON:
      web-source-bundler search-results results.json --out ./bundle
      
  4. Inspect output bundle:
    • Read manifest.json to verify capture status and review any reported errors.
    • Reference combined.md for conversational grounding and reference citation by Source ID (e.g., Source 001).
  5. Report summary to the user:
    • State the bundle ID, output path, count of captured sources, and cite the primary contents from combined.md.

Deterministic Artifact Layout

A complete bundle follows this directory structure:

source-bundle-20260918-120000/
+-- manifest.json              # Provenance metadata, capture config, and error logs
+-- combined.md                # Single consolidated reference file for AI prompts
+-- checksums.sha256           # SHA-256 hashes of all files in bundle
+-- sources/
    +-- 001/
    |   +-- metadata.json      # Source metadata, HTTP status, and timings
    |   +-- readable.md        # Clean Markdown with YAML front matter
    |   +-- rendered.html      # Rendered DOM HTML
    |   +-- ast.json           # Block AST of extracted text
    |   +-- screenshot.png     # Full-page screenshot (if enabled)
    |   +-- page.pdf           # Vector PDF printout (if enabled)
    |   +-- raw.html           # Raw HTTP body (with --include-raw-html)
    |   +-- response_headers.json # HTTP headers (with --include-raw-html)
    +-- 002/
        +-- metadata.json
        +-- readable.md

Combined Markdown (combined.md)

combined.md joins all sources into one document for AI prompts:

# Source Bundle

Bundle ID: source-bundle-20260918-120000
Created: 2026-09-18T12:00:00Z
Tool: web-source-bundler 0.1.0

Use this document as the reference source bundle. Cite material by source ID.

---

## Source 001: Example Domain

- Input URL: https://example.com
- Final URL: https://example.com/
- Fetched: 2026-09-18T12:00:05Z
- SHA-256 readable Markdown: sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

### Content

---
source_id: 001
title: "Example Domain"
input_url: https://example.com
final_url: https://example.com/
fetched_at: 2026-09-18T12:00:05Z
http_status: 200
---

Example Domain

This domain is for use in illustrative examples in documents.

Anti-Patterns to Avoid

Anti-PatternWhy It's BadFix
Ad-hoc unchecksummed scrapingMisses dynamic JS rendering, screenshots, and PDFsInstall and run web-source-bundler with headless Playwright
Silent error swallowingCorrupts audit records and leads to hallucinated sourcesCheck manifest.json and report any failed URLs
Omitting Source ID citationsLoses verifiable traceability back to original web sourceAlways cite findings by Source ID (e.g. Source 001) from combined.md
Unstructured output dumpsFragile for downstream LLM reasoning and indexingAlways output standardized manifest.json and combined.md

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Distills enduring architectural decisions and design rationale from wave orchestration plans or historical git changes into structured, tracked Architecture Decision Records (ADRs). Use pre-wave to resolve active architectural constraints or post-wave to record enduring decisions in docs/decisions/.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Create and maintain AGENTS.md files for project onboarding and grounding. Use when initialized in a new project, when project structure changes significantly, or when creating subfolder-level AGENTS.md files for complex monorepos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Audit and update an arbitrary codebase to follow the Code.mil federal open-source licensing model (MIT with 17 U.S.C. Section 105 disclaimers and INTENT.md), including CRAN/R package DESCRIPTION setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Migrates ArcPy and ArcGIS Pro workflows to explicit, testable open-source Python geospatial workflows. Use when removing ArcPy dependencies, porting geoprocessing scripts, or documenting ArcGIS behavior that will not be migrated.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

caveman

무료

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes - Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

AndrewBrown-USDA/aigb-skills-usda72026년 10월 22일 업데이트

AndrewBrown-USDA의 스킬 모두 보기

이 스킬의 문제 신고