Install
openclaw skills install dataify-yandex-searchUse this skill when the user wants to search Yandex
openclaw skills install dataify-yandex-search--preview and show the complete table to the user:python3 scripts/yandex_search.py --text "<search query>" --preview
DATAIFY_API_TOKEN is not available, stop and ask the user to provide a Dataify API token or register at Dataify Dashboard.python3 scripts/yandex_search.py --text "<search query>" --token "<token>"
Always show a complete field list before calling the API. Do not include Authorization in the table. The table must contain only these columns:
参数名当前值默认值说明The bundled script generates this table with:
python3 scripts/yandex_search.py --text "<search query>" --preview
Use these documented defaults when the user does not specify a field:
engine: yandexjson: 1yandex_domain: yandex.comlang: en when yandex_domain is yandex.comfamily_mode: 1fix_typo: truegroups_on_page: 20no_cache: falseNo documented default:
text: required from the user request.lr: leave unset unless the user specifies it.p: leave unset unless the user specifies it; page numbering starts from 0 when specified.Important corrections from the API example body:
family_mode: "0" as the default. The description default is medium, so use 1.no_cache: "true" as the default. The description says false is the default.--json: output format. Use 1 JSON, 2 JSON+HTML, 3 HTML, or 4 Light JSON.--yandex-domain: Yandex domain such as yandex.com, yandex.ru, ya.ru, yandex.kz, yandex.com.tr, or another supported domain.--lang: search language, for example en, ru, tr.--lr: country or region ID.--p: page number, starting from 0.--family-mode: safe search mode. Use 0 off, 1 moderate, 2 strict.--fix-typo: true or false.--groups-on-page: maximum result groups per page.--no-cache: true to bypass cache, false to use cache.--params-json: JSON object of raw field overrides for unusual requests. Use null to omit a defaulted field.For the full field list, read references/api_fields.md only when needed.
Preview parameters for a normal search:
python3 scripts/yandex_search.py --text "OpenAI latest news" --preview
After user confirmation, call the API:
python3 scripts/yandex_search.py --text "OpenAI latest news" --token "$DATAIFY_API_TOKEN"
Preview Russian Yandex, page 2, HTML output:
python3 scripts/yandex_search.py --text "artificial intelligence news" --yandex-domain yandex.ru --lang ru --p 1 --json 3 --preview