gdelt-doc-search
Skill11 starsChanged 3 months agoMITView on GitHub
Search GDELT DOC 2.0 through the Tiangong CLI for bounded article metadata, timeline aggregates, or tone-distribution bins using linted GDELT query syntax and optional split domain filters. Use for news-source discovery and trend reconnaissance; do not use for article bodies, raw GDELT event/GKG/mention rows, representative media measurement, fact verification, sentiment ground truth, or causal inference.
In this repository62 other files it gives its agents.
- AGENTS.mdAGENTS.md
- academic-paper-downloadSkill
- airnow-hourly-obs-fetchSkill
- ai-tech-fulltext-fetchSkill
- ai-tech-rss-fetchSkill
- ai-tech-summarySkill
- apply-environmental-thinkingSkill
- bluesky-cascade-fetchSkill
- convert-image-to-jpgSkill
- dify-knowledge-base-searchSkill
- dify-knowledge-base-uploadSkill
- document-granular-decomposeSkill
- domain-onboardingSkill
- eceee-news-fulltext-fetchSkill
- email-imap-appendSkill
- email-imap-fetchSkill
- email-imap-full-fetchSkill
- email-smtp-sendSkill
- epa-eis-records-fetchSkill
- federal-register-doc-fetchSkill
- fetch-abstract-to-kbSkill
- fetch-meta-from-kbSkill
- fetch-meta-to-kbSkill
- figshare-data-downloadSkill
- gdelt-events-fetchSkill
- gdelt-gkg-fetchSkill
- gdelt-mentions-fetchSkill
- gdelt-web-ngrams-searchSkill
- github-contribution-period-analysisSkill
- nasa-firms-fire-fetchSkill
- notebooklmSkill
- openaq-data-fetchSkill
- open-meteo-air-quality-fetchSkill
- open-meteo-flood-fetchSkill
- open-meteo-historical-fetchSkill
- regulationsgov-attachments-fetchSkill
- regulationsgov-comment-detail-fetchSkill
- regulationsgov-comments-fetchSkill
- remove-similar-imageSkill
- river-outfall-status-visualizerSkill
- sustainability-fulltext-fetchSkill
- sustainability-rss-fetchSkill
- sustainability-summarySkill
- synology-file-stationSkill
- tiangong-auto-researchSkill
- tiangong-auto-research-workbuddySkill
- tiangong-kb-course-fulltext-fetchSkill
- tiangong-kb-course-searchSkill
- tiangong-kb-edu-searchSkill
- tiangong-kb-esg-searchSkill
- tiangong-kb-ingestSkill
- tiangong-kb-patent-searchSkill
- tiangong-kb-report-searchSkill
- tiangong-kb-sci-searchSkill
- tiangong-kb-textbook-searchSkill
- tsinghua-graduate-thesisSkill
- usbr-project-records-fetchSkill
- usbr-rise-fetchSkill
- use-thuenv-presentation-styleSkill
- usgs-water-iv-fetchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the CLI-owned gdelt.doc-search capability.
- Distinctive: line 15
Use the caller- or workspace-resolved stable CLI.
- Very specific: line 18
Run data describe with that same CLI.
- Very specific: line 22
If either does not report available, stop before constructing a request and report its exact reasonCode, description, and resume criteria.
- Very specific: line 31
Use the returned Discovery Metadata to confirm current source coverage, freshness, restrictions, provides, and doesNotProvide.
- Very specific: line 61
Use the operation input schema returned by the same data describe response to select a supported mode and its mode-specific fields.
- Distinctive: line 89
Treat article-list results as source metadata and links, not downloaded article bodies, verified claims, or independent evidence units.
- Distinctive: line 91
Treat timelines, tone, language, and source-country outputs as automated aggregates whose meaning depends on the selected mode.
- Distinctive: line 101
Use a dedicated GDELT Events, GKG, or Mentions Skill when structured feed rows are required: GKG supplies document annotations, Events …
≈ “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.
Files
GDELT DOC Search
Use the CLI-owned gdelt.doc-search capability. This Skill supplies intent
routing and result-use boundaries only; the CLI owns source discovery,
input/output schemas, HTTP behavior, limits, validation, and receipts.
Before running
- Read
references/tiangong-data-requirement.json. - Use the caller- or workspace-resolved stable CLI. The requirement declares compatible capability and operation contract majors; it does not select a package build.
- Run
data describewith 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. - Immediately inspect
manifest.availabilityanddiscovery.availability. If either does not reportavailable, stop before constructing a request and report its exactreasonCode, description, and resume criteria. Do not bypass suspension with a direct provider request. Route to GDELT Web NGrams only when the caller accepts its different literal phrase-search semantics.
tiangong-ai data describe gdelt.doc-search --jsonUse 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 requests an
article list for one bounded absolute UTC window:
{
"schemaVersion": "tiangong.data.run-request.v1",
"capabilityId": "gdelt.doc-search",
"capabilityVersion": "<describe.manifest.capabilityVersion>",
"operationId": "search",
"operationVersion": "<describe.manifest.operations[0].operationVersion>",
"input": {
"query": "(\"climate change\" OR pollution) sourcecountry:us",
"mode": "artlist",
"absoluteWindow": {
"from": "2026-03-01T00:00:00Z",
"to": "2026-03-07T23:59:59Z"
},
"maxRecords": 75,
"sort": "hybridrel"
}
}Use the operation input schema returned by the same data describe response to select a
supported mode and its mode-specific fields. Use at most one time-window form;
omitting both uses the provider default window. Never silently widen a supplied
window or pass arbitrary DOC parameters absent from the schema.
The CLI lints every effective query before network access. Wrap boolean OR
groups in parentheses and use exactDomains (domainis:) or domains
(domain:), never site: or inurl:. Repeated domains become separate
bounded batches. Set continueOnQueryError only when a partial merged result is
useful and retain batchQueries plus queryErrors.
Run
tiangong-ai data run gdelt.doc-search search \
--input /absolute/path/to/request.json --jsonThe 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
- Persistent DOC throttling is unavailable retrieval, not zero coverage. When
literal topic discovery fits the task, consider the separately described
gdelt-web-ngrams-searchSkill as an explicit change of retrieval method. It does not support DOC operators or reproduce DOC aggregate timelines. - Treat article-list results as source metadata and links, not downloaded article bodies, verified claims, or independent evidence units.
- Treat timelines, tone, language, and source-country outputs as automated aggregates whose meaning depends on the selected mode; do not compare unlike measures or infer causality from them.
- In
tonechart,articleCountis the count assigned to a tone bin, not the tone score itself and not a public-sentiment estimate. - GDELT source coverage and automated extraction can be uneven. Do not treat counts, tone, or rankings as representative measurements of public opinion, media prevalence, event truth, or sentiment ground truth.
- Surface
partial, truncation warnings, and empty results. Never reinterpret them as complete absence of coverage. - Use a dedicated GDELT Events, GKG, or Mentions Skill when structured feed rows are required: GKG supplies document annotations, Events supplies coded events, and Mentions links events to documents. This Skill must not invoke or combine them automatically, and their statistics are not interchangeable with DOC.
- Cross-source comparison, full-text acquisition, persistence, polling, 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.
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
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.

