agentleFS
tiangong-aitiangong-ai/agent-skills/federal-register-doc-fetch/SKILL.md

federal-register-doc-fetch

Skill11 starsChanged 3 months agoMITView on GitHub

Retrieve bounded official FederalRegister.gov document metadata through the Tiangong CLI, optionally filtered by publication date, term, agency, type, topic, docket, or RIN. Use to identify notices, proposed rules, final rules, or presidential documents; do not use for document bodies, docket comments, legal interpretation, current-force determinations, or compliance advice.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the CLI-owned federal-register.documents capability.

    line 8
  2. Distinctive:

    Use the caller- or workspace-resolved stable CLI.

    line 16
  3. Very specific:

    Run data describe with that same CLI.

    line 19
  4. Very specific:

    Use the returned Discovery Metadata to confirm current source coverage, restrictions, provides, and doesNotProvide.

    line 27
  5. Very specific:

    Use the operation input schema returned by the same data describe response for current agency, document type, topic, docket, RIN, ordering, …

    line 63
  6. Very specific:

    Treat partial and truncation stop reasons as incomplete coverage.

    line 83
  7. Very specific:

    Treat blocked as no usable business result and surface the structured errors instead of silently changing filters or limits.

    line 85
  8. Distinctive:

    Verify legally consequential claims against an official edition and qualified legal guidance.

    line 90

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Federal Register Document Metadata

Use the CLI-owned federal-register.documents capability. This Skill supplies intent routing and result-use boundaries only; the CLI owns source discovery, input/output schemas, HTTP behavior, pagination, limits, validation, 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.
tiangong-ai data describe federal-register.documents --json

Use the returned Discovery Metadata to confirm current source coverage, restrictions, provides, and doesNotProvide. Prefer another source when the task needs full text, docket attachments, public comments, or legal analysis.

Prepare the request

Build a tiangong.data.run-request.v1 envelope and replace the two version placeholders with the exact versions from the same data describe response. Prefer a publication date and a narrowing filter for evidence questions. An empty input is allowed only for a bounded newest-document listing under explicit runtime limits:

{
  "schemaVersion": "tiangong.data.run-request.v1",
  "capabilityId": "federal-register.documents",
  "capabilityVersion": "<describe.manifest.capabilityVersion>",
  "operationId": "search",
  "operationVersion": "<describe.manifest.operations[0].operationVersion>",
  "limits": {
    "maxPages": 2,
    "maxRecords": 100
  },
  "input": {
    "term": "clean air",
    "publicationDate": {
      "from": "2026-01-01",
      "to": "2026-03-31"
    },
    "agencies": ["environmental-protection-agency"],
    "documentTypes": ["RULE", "PRORULE"],
    "order": "newest",
    "pageSize": 100
  }
}

Use the operation input schema returned by the same data describe response for current agency, document type, topic, docket, RIN, ordering, and page-size semantics under input. Optional top-level limits may only reduce the operation's published page, record, response-size, or timeout limits; they cannot raise them. Do not invent provider slugs or broaden the publication window without the user's intent.

Run

tiangong-ai data run federal-register.documents search \
  --input /absolute/path/to/request.json --json

The command emits a tiangong.data.run-result.v1 envelope. Preserve its contract, warnings, errors, and receipt with data when handing the result to another workflow.

Result boundaries

  • Treat partial and truncation stop reasons as incomplete coverage; report the page or record limit instead of implying an exhaustive search.
  • Treat blocked as no usable business result and surface the structured errors instead of silently changing filters or limits.
  • Returned URLs are metadata links, not proof that document bodies were retrieved or reviewed. Preserve citation, comment-close, raw-text, XML, and Regulations.gov link fields when the provider supplies them.
  • Verify legally consequential claims against an official edition and qualified legal guidance. This Skill does not determine current legal force.
  • Cross-source comparison and research evidence admission belong to the caller or Auto Research, not this atomic Skill.

Reference

  • references/tiangong-data-requirement.json: stable capability requirement; it is not a package lock.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.