agentleFS
tiangong-aitiangong-ai/agent-skills/gdelt-web-ngrams-search/SKILL.md

gdelt-web-ngrams-search

Skill11 starsChanged 3 months agoMITView on GitHub

Find news article links containing literal words or short phrases in an explicit GDELT Web NGrams/TOC minute pair through the Tiangong CLI. Use for file-based topic discovery, including an explicitly selected alternative when DOC search is unavailable. Do not use for DOC query operators, sentiment timelines, full article text, relevance ranking, or complete time-range coverage from a single minute.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 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.

  • 2

    Very specific

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

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

    Use CLI-owned gdelt.web-ngrams.

    line 8
  2. Distinctive:

    Use the caller- or workspace-resolved stable CLI for both describe and run.

    line 14
  3. Distinctive:

    If unavailable, report the missing capability.

    line 16
  4. Distinctive:

    Read current Discovery Metadata and input/output schemas:

    line 18
  5. Very specific:

    Keep data, contract, summary, warnings, errors, and receipt together.

    line 51

≈ “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 Web NGrams Search

Use CLI-owned gdelt.web-ngrams; this Skill selects and explains the operation, without a second download, search, or join implementation.

Before running

  1. Read references/tiangong-data-requirement.json.
  2. Use the caller- or workspace-resolved stable CLI for both describe and run. Confirm that the capability and required operation contract majors exist. If unavailable, report the missing capability; do not assume every package with the same CLI version contains an unreleased candidate extension.
  3. Read current Discovery Metadata and input/output schemas:
tiangong-ai data describe gdelt.web-ngrams --json

Prepare and run

Select one explicit published UTC minute and literal phrases accepted by the current input schema. Replace the version placeholders from that same describe response. This historical minute is a documented sample, not a current-news default:

{
  "schemaVersion": "tiangong.data.run-request.v1",
  "capabilityId": "gdelt.web-ngrams",
  "capabilityVersion": "<describe.manifest.capabilityVersion>",
  "operationId": "search",
  "operationVersion": "<describe.manifest.operations[0].operationVersion>",
  "input": {
    "fileTimestamp": "2026-06-30T20:16:00Z",
    "phrases": ["disease", "diseases"],
    "match": "any"
  }
}
tiangong-ai data run gdelt.web-ngrams search \
  --input /absolute/path/to/request.json --json

Keep data, contract, summary, warnings, errors, and receipt together.

Selection and interpretation

  • Choose this operation for literal topic-to-article discovery. Switching from DOC is an explicit change of retrieval method, not an equivalent retry: do not translate DOC operators into phrases or invent DOC timelines.
  • Choose GKG for extracted themes/entities/document tone, Events for coded events, and Mentions for event-to-document linkage. Use only the layers the question needs; this Skill does not automatically invoke or join them.
  • A successful call covers only the requested file pair, not a complete day or all monitored news. The caller owns range enumeration and must retain missing minutes. Do not present a handful of available minutes as full-window coverage.
  • Distinguish successful zero matches from blocked file acquisition and partial validation. For truncation, report returned versus matched versus omitted records and resolve the limit before claiming exhaustive retrieval.
  • Identify documents by (fileTimestamp, documentId). Matched phrases indicate presence, not counts: overlapping quadgrams must not be summed into phrase frequencies. Article links and optional unvalidated image-reference text are provider metadata, not downloaded or verified content.
  • Full-text retrieval, longitudinal aggregation, persistence, and research evidence admission remain with the caller or Auto Research.

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.