agentleFS
tiangong-aitiangong-ai/agent-skills/gdelt-mentions-fetch/SKILL.md

gdelt-mentions-fetch

Skill11 starsChanged 3 months agoMITView on GitHub

Retrieve bounded GDELT 2.0 Global Mentions rows through the Tiangong CLI from the latest snapshot or an exact UTC range. Use for mention-level provenance, confidence, and source linkage around coded events; do not use for article bodies, unique-article counts, event verification, polling, bulk archival mirroring, or causal claims.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use the CLI-owned gdelt.mentions 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, freshness, restrictions, provides, and doesNotProvide.

    line 27
  5. Very specific:

    Use the operation input schema returned by the same data describe response when choosing latest or range.

    line 53
  6. Distinctive:

    Treat each row as a machine-coded mention of an event record, not a verified event, independent endorsement, unique article, or causal …

    line 74
  7. Distinctive:

    Use the dedicated Events or GKG Skill for their row types.

    line 88

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

GDELT Mentions Fetch

Use the CLI-owned gdelt.mentions capability. This Skill supplies intent routing and result-use boundaries only; the CLI owns source discovery, input/output schemas, HTTP and archive handling, 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 gdelt.mentions --json

Use the returned Discovery Metadata to confirm current source coverage, freshness, restrictions, provides, and doesNotProvide. Do not substitute facts remembered from an older Skill revision.

Prepare the request

Build a tiangong.data.run-request.v1 envelope. Replace the two version placeholders with the exact versions from the same data describe response. This example selects a bounded range of source snapshots:

{
  "schemaVersion": "tiangong.data.run-request.v1",
  "capabilityId": "gdelt.mentions",
  "capabilityVersion": "<describe.manifest.capabilityVersion>",
  "operationId": "fetch",
  "operationVersion": "<describe.manifest.operations[0].operationVersion>",
  "input": {
    "mode": "range",
    "startDateTime": "2026-03-01T12:00:00Z",
    "endDateTime": "2026-03-01T12:45:00Z",
    "maxFiles": 4
  }
}

Use the operation input schema returned by the same data describe response when choosing latest or range. Range bounds do not need to align to a 15-minute boundary: selection starts with the first published snapshot at or after the inclusive lower bound and stops at the inclusive upper bound. maxFiles selects the earliest bounded snapshots from a larger window and must be treated as truncation, not complete window coverage. Do not round timestamps, widen a range, or increase a safety limit without the caller's approval.

Run

tiangong-ai data run gdelt.mentions fetch \
  --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 each row as a machine-coded mention of an event record, not a verified event, independent endorsement, unique article, or causal evidence.
  • Confidence, tone, mention type, and character offsets are provider-derived metadata. Do not reinterpret them as factual certainty or human judgment.
  • A source URL is lineage metadata, not an article body. Repeated mentions or URLs require explicit downstream counting and deduplication rules.
  • The capability returns normalized in-memory rows and execution metadata. It does not create a durable ZIP mirror, expose the master file list, or perform polling and incremental state management.
  • Preserve each file's SHA-256, ZIP/CRC validation metadata, row counts, and capped validation issues. Invalid UTF-8 or non-16-column rows are omitted locally while valid rows from the same snapshot remain usable.
  • Surface partial, truncation warnings, archive-validation failures, and empty results. Never reinterpret them as complete absence of mentions.
  • Use the dedicated Events or GKG Skill for their row types; this Skill must not invoke or combine other feeds automatically.
  • Cross-source comparison, persistence, scheduling, and research evidence admission belong to the caller or Auto Research.

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.