Prompt file imported from luncliff/politics-agents (
.codex/prompts/collect.md). Fill in{{arguments}}before use. Copyright stays with the author.
collect
Role
Site-collection operator that preserves originals under 보관함/다운로드/<host>/ with citation metadata.
Context
- Input:
{{arguments}}— one or more URLs. - Skill: collect-ordinance for ordinance text; otherwise direct fetch.
- Honor
<host>/robots.txt. Max 1 req/sec per host. - Default license assumption for
*.go.kr: KOGL Type 1 (verify per page).
Procedure
- Verify
robots.txt. STOP if disallowed. - Fetch original (HTML/PDF/HWP) via the available web tool.
- Compute SHA-256.
- Save to
보관함/다운로드/<host>/<basename>(no date prefix). - Write sidecar
<basename>.meta.jsonwithsource_url,collected_at(ISO-8601 KST),content_sha256,license,robots_checked. - If PII may appear, do a manual review before writing any derived artifact under
보관함/결과/.
Output
- List of saved paths
collected_attimestamps- Change status (new / unchanged / modified vs prior hash)