Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

gdelt-doc-searchgdelt DOC 搜索

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

256

周安装

11

GitHub Stars

5

下载量

90
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gdelt-doc-search(gdelt DOC 搜索)
来源仓库:https://github.com/tiangong-ai/skills
仓库路径:skills/gdelt-doc-search
安装命令:
npx skills add https://github.com/tiangong-ai/skills --skill gdelt-doc-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tiangong-ai/skills --skill gdelt-doc-search

简介

用于辅助文档内容的搜索与整理,提升信息检索效率。

  • 适合在多种宿主环境中快速定位相关文档片段。gdelt-doc-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 仓库安装,需确认权限范围和操作边界后再使用。
  • 建议结合原始 README 核验具体用法,避免触发不必要的联网或文件读写。
  • 使用前请检查维护状态,确保技能与当前宿主环境兼容。

SKILL.md

GDELT DOC Search

Core Goal

  • Execute atomic DOC API searches against https://api.gdeltproject.org/api/v2/doc/doc.
  • Support topic/domain retrieval via explicit query syntax.
  • Support both relative windows (timespan) and absolute UTC windows (STARTDATETIME, ENDDATETIME).
  • Return structured JSON envelopes and optionally write raw response bytes.
  • Keep runtime observable with structured logs and optional log file.

Required Environment

  • Configure runtime by environment variables (see references/env.md).
  • Start from assets/config.example.env.
  • Load env values before running commands:
set -a
source assets/config.example.env
set +a

Workflow

  1. Validate effective configuration.
python3 scripts/gdelt_doc_search.py check-config --pretty
  1. Run a relative-window DOC search.
python3 scripts/gdelt_doc_search.py search \
  --query '("climate change" OR pollution)' \
  --mode artlist \
  --format json \
  --timespan 1day \
  --max-records 50 \
  --pretty
  1. Run an absolute-window timeline query.
python3 scripts/gdelt_doc_search.py search \
  --query '("climate change" OR pollution) sourcecountry:us' \
  --mode timelinevolraw \
  --format json \
  --start-datetime 20260301000000 \
  --end-datetime 20260308000000 \
  --timeline-smooth 5 \
  --pretty
  1. Persist raw API payload to a file for downstream tools.
python3 scripts/gdelt_doc_search.py search \
  --query '(wildfire OR drought)' \
  --mode artlist \
  --format json \
  --timespan 1week \
  --output ./data/gdelt-doc/wildfire.json \
  --pretty

Built-in Robustness

  • Apply retry with exponential backoff on transient HTTP/network failures.
  • Respect Retry-After when present on retriable responses.
  • Throttle request frequency with a minimum interval between requests.
  • Validate query/time parameter combinations before remote calls.
  • Validate DOC constraints (MAXRECORDS<=250, TIMELINESMOOTH<=30).
  • Emit JSON results while writing operational logs to stderr and optional log file.

Scope Decision

  • Keep only DOC API retrieval in this skill.
  • Keep atomic operations only; do not add internal scheduler/polling loops.

References

  • references/env.md
  • references/gdelt-data-sources.md
  • references/gdelt-doc-search.md
  • references/gdelt-limitations.md
  • references/openclaw-chaining-templates.md

Script

  • scripts/gdelt_doc_search.py

OpenClaw Invocation Compatibility

  • Keep skill trigger metadata in name, description, and agents/openai.yaml.
  • Invoke in prompts with $gdelt-doc-search.
  • Keep the skill atomic: one query execution per invocation.
  • Use script parameters for retrieval conditions (--query, --mode, --format, --timespan or --start-datetime/--end-datetime).
  • If you need polling, let OpenClaw agent orchestrate repeated invocations externally (scheduler/loop), not inside this skill.

OpenClaw Prompt Templates

Use these templates directly in OpenClaw and only replace bracketed placeholders.

  1. Recon (config and endpoint check)
Use $gdelt-doc-search.
Run:
python3 scripts/gdelt_doc_search.py check-config --pretty
Return only the JSON result.
  1. Search (relative window)
Use $gdelt-doc-search.
Run:
python3 scripts/gdelt_doc_search.py search \
  --query '[QUERY_EXPRESSION]' \
  --mode [MODE] \
  --format json \
  --timespan [TIMESPAN] \
  --max-records [N] \
  --pretty
Return only the JSON result.
  1. Validate (absolute window and output persistence)
Use $gdelt-doc-search.
Run:
python3 scripts/gdelt_doc_search.py search \
  --query '[QUERY_EXPRESSION]' \
  --mode [MODE] \
  --format json \
  --start-datetime [YYYYMMDDHHMMSS] \
  --end-datetime [YYYYMMDDHHMMSS] \
  --output [OUTPUT_FILE] \
  --pretty
Check command exit code and bytes_written > 0.
Return JSON plus one-line pass/fail verdict.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.44%
按下载量换算34

Claude

29.16%
按下载量换算26

Cursor

20.27%
按下载量换算18

Gemini CLI

9.06%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills