agentleFS
tiangong-aitiangong-ai/agent-skills/epa-eis-records-fetch/SKILL.md

epa-eis-records-fetch

Skill11 starsChanged 3 months agoMITView on GitHub

Retrieve official U.S. EPA EIS Database result-table metadata through the Tiangong CLI. Use when a task needs Environmental Impact Statement titles, CEQ/provider IDs, document type, dates, agencies, state, detail links, or document-availability cues from a current common search or a precise search URL created in the official UI; do not use to claim linked documents were reviewed or to judge NEPA adequacy, legal sufficiency, environmental effects, compliance, or policy responsibility.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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 epa.eis-records/search operation.

    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, granularity, HTML/provider limitations, selection hints, provides, …

    line 27
  5. Very specific:

    Use openComment for the provider's current open-comment queue, last30Published for recently published records, last60Issued for recently …

    line 34
  6. Very specific:

    Use run-request limits only when intentionally lowering the manifest's search-page or record ceiling.

    line 69
  7. Very specific:

    Treat partial as a failed later search surface: retain successful records and report the missing search.

    line 85

≈ “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

EPA EIS Records Fetch

Use the CLI-owned epa.eis-records/search operation. This Skill supplies intent routing, search-selection guidance, and result-use boundaries only; the CLI TypeScript 7 runtime owns official endpoint validation, HTML parsing, schemas, limits, retries, deduplication, 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.
tiangong-ai data describe epa.eis-records --json

Use the returned Discovery Metadata to confirm current source coverage, granularity, HTML/provider limitations, selection hints, provides, and doesNotProvide. Do not rely on objective source facts copied from an older Skill revision.

Choose the search

  • Use openComment for the provider's current open-comment queue, last30Published for recently published records, last60Issued for recently issued records, or lastWeek for the provider's last-week view.
  • For a precise project or historical query, first build and review that search in the official EPA EIS Database UI, then copy its complete HTTPS search URL into searchUrls. The CLI rejects non-EPA origins and non-search paths.
  • Common searches run before explicit URLs, while each group preserves caller order. Use more than one only when the evidence need and coverage plan call for multiple provider result surfaces.
  • Empty or sparse output applies only to the selected search page. It is not proof that EPA, CEQ, another agency, or the real world has no relevant EIS.

Prepare the request

Build one tiangong.data.run-request.v1 envelope. Replace the version placeholders with the exact versions from the same data describe response and validate input against the current schema returned by data describe. The example demonstrates both selector types; remove the one not required for the task.

{
  "schemaVersion": "tiangong.data.run-request.v1",
  "capabilityId": "epa.eis-records",
  "capabilityVersion": "<describe.manifest.capabilityVersion>",
  "operationId": "search",
  "operationVersion": "<describe.manifest.operations[0].operationVersion>",
  "input": {
    "commonSearches": ["openComment"],
    "searchUrls": [
      "https://cdxapps.epa.gov/cdx-enepa-II/public/action/eis/search?search=Glen+Canyon&state=CO"
    ]
  }
}

Use run-request limits only when intentionally lowering the manifest's search-page or record ceiling. Do not place output paths, retry settings, a custom base URL, credentials, or document download instructions in input.

Run

tiangong-ai data run epa.eis-records search \
  --input /absolute/path/to/request.json --json

Preserve the complete tiangong.data.run-result.v1 envelope, including contract, warnings, errors, observations, and receipt, with data.

Result boundaries

  • Treat partial as a failed later search surface: retain successful records and report the missing search. Treat blocked as no usable result, including an unrecognized provider page after HTML drift.
  • Preserve page provenance, CEQ number, unique ID, document type, dates, agencies, state, detail URL, and download cues. Deduplication is by official identifiers; it does not establish that similarly titled records are the same project or action.
  • Download links and IDs are availability cues only. Do not claim any linked EIS, notice, comment letter, or attachment was downloaded, parsed, reviewed, or admitted as evidence.
  • Provider metadata does not decide NEPA adequacy, legal sufficiency, environmental effects, agency compliance, causality, policy responsibility, or report conclusions. Those require separately governed document acquisition and analysis.
  • HTML parsing, durable artifact placement, document acquisition, normalization, evidence admission, and cross-source synthesis remain outside this thin 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.