Agent skill · tiangong-ai
regulationsgov-attachments-fetch
Download bounded public attachment files for exact Regulations.gov comment IDs through the Tiangong CLI. Use when selected regulatory comments have supporting files that must be acquired locally with source lineage, SHA-256 hashes, byte counts, and a manifest; do not use for comment search, arbitrary URL download, file safety certification, text extraction, stance analysis, legal interpretation, or evidence synthesis.
What it needs
About 3k tokens when loaded.
What this skill does
Regulations.gov Attachments Fetch Use the CLI-owned regulations-gov.attachments/download operation. This Skill supplies intent routing, explicit-ID selection, local-directory discipline, and result-use boundaries only. The CLI TypeScript 7 runtime owns the official API contract, credential injection, endpoint restrictions, schemas, limits, downloads, transactional file writes, partial results, and receipts. Before running 1. Read references/tiangong-data-requirement.json. 2. Use the caller- or workspace-resolved stable CLI. The requirement declares compatible capability and operation contract majors; it does not select a package build. 3. Run data describe with that same CLI. Continue only when the capability ID and required contract majors match, and copy the exact current capability/operation versions from that response into the run request. Use the returned Discovery Metadata to confirm current coverage, granularity, limits, selection hints, provides, and doesNotProvide. Do not rely on source facts copied from an older Skill revision. Select comments and attachments Start from exact public comment IDs selected by the user or by the regulationsgov-comments-fetch or regulationsgov-comment-detail-fetch workflow. This operation does not search comments, dockets, or documents. Omit attachmentIds to select every attachment returned for those comments, or supply an exact allowlist when only reviewed attachment IDs are needed. Set maxFiles and maxTotalBytes deliberately. The CLI also applies the lower manifest/runtime limits and reports bounded or missing coverage. Configure REGGOVAPIKEY only in the environment. Never place it in argv, request JSON, a URL, or the artifact directory. Create a dedicated, empty, existing directory and use its absolute path for --artifact-dir. The CLI refuses symlink directories and existing target filenames; it never returns the absolute directory in the result or receipt. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills tiangong-ai/regulationsgov-attachments-fetch