Yandex Direct full-cycle skill
yandex.direct
A skill for running Direct: Wordstat demand research, Unified Performance Campaigns, combinatorial ads, moderation, Metrika and safe dry-run API payloads
High risk
We rate an entry high when the tool writes to external systems, handles money, production databases or secrets, or runs arbitrary commands. The CLI installs it only with your consent.
Why this level
- The script can perform real writes to Direct with the --execute flag, including creating ads and campaigns
- It requires a Direct token with access to the live account
- Review the payload in preview mode first and confirm campaigns are created stopped
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/yandex-directDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a claude-code -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .claude/skills
cp -R "$tmp/skills/yandex-direct" .claude/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a cursor -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .agents/skills
cp -R "$tmp/skills/yandex-direct" .agents/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a github-copilot -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .github/skills
cp -R "$tmp/skills/yandex-direct" .github/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a codex -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .agents/skills
cp -R "$tmp/skills/yandex-direct" .agents/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a gemini-cli -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .agents/skills
cp -R "$tmp/skills/yandex-direct" .agents/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .devin/skills
cp -R "$tmp/skills/yandex-direct" .devin/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Formerly Windsurf.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a cline -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .cline/skills
cp -R "$tmp/skills/yandex-direct" .cline/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a roo -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .roo/skills
cp -R "$tmp/skills/yandex-direct" .roo/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
A fork of Roo Code, same .roo folders.
Run in a terminal in the project folder
npx skills add shelpakovzhenya-art/yandex.direct --skill yandex-direct -a opencode -yThe skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.
Without third-party tools, from commit 6ed96d5
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .agents/skills
cp -R "$tmp/skills/yandex-direct" .agents/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .agents/skills
cp -R "$tmp/skills/yandex-direct" .agents/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Run in a terminal in the project folder
tmp=$(mktemp -d)
git clone --filter=blob:none --no-checkout https://github.com/shelpakovzhenya-art/yandex.direct.git "$tmp"
git -C "$tmp" sparse-checkout set --no-cone /skills/yandex-direct/
git -C "$tmp" checkout 6ed96d5babda57d85600b70823a532e92c73e40e
mkdir -p .agents/skills
cp -R "$tmp/skills/yandex-direct" .agents/skills/yandex-directCommands for macOS and Linux, on Windows run them in Git Bash.
Install the skill with npx skills add shelpakovzhenya-art/yandex.direct, set Wordstat and Direct tokens in .env.local, and invoke it with Use $yandex-direct.
Other ways from the author
npx skills add shelpakovzhenya-art/yandex.directThe quick-install command from the README.
This is third-party code. Review the repository files before installing.
What it does
The $yandex-direct skill guides an agent through the full Direct advertising cycle: gathers demand via Wordstat v2 with associations and seasonality, keeps measured data separate from hypotheses, designs Unified Performance Campaign structure splitting Search, YAN, brand and remarketing, generates combinatorial ResponsiveAd creatives (up to 7 headlines and 3 texts), checks moderation and landing-page match, builds a measurement plan via Metrika goals, CPA and ad spend ratio, and designs A/B tests. The yandex_direct_toolkit.py script can call the Wordstat and Direct APIs directly with no third-party Python packages, but every call defaults to preview: an actual write to Direct needs the --execute flag and a separate confirmation token printed by the preview.
Who it is for. For PPC specialists who want to run a Direct launch from demand research to live ads through an agent, with a checkpoint at every step.
Good fit when
- You need the full cycle: demand, campaign structure, ads, moderation, measurement
- You need explicit confirmation before every live write to Direct
- You need combinatorial ResponsiveAd creatives for API v501
Not a fit when
- You need a strictly read-only audit with no chance of real writes: writes are part of this skill's design
- You lack Wordstat v2 and Direct API tokens: without them the skill only gives advice, not real data
Example request
Gather demand data for greenhouse installation in the Moscow region, design a Unified Performance Campaign and prepare combinatorial ads without publishingLimitations
Wordstat tokens (YANDEX_SEARCH_API_KEY, YANDEX_FOLDER_ID) and a Direct token (YANDEX_DIRECT_TOKEN) must be set up separately and never committed. Paid Wordstat calls and live writes to Direct each require their own confirmation token. The skill does not guarantee sales or beating competitors; it only strengthens the controllable parts: demand quality, relevance and iteration speed.
How to disable. Delete the skills/yandex-direct folder from your agent's skills directory.
Security check
- The script can perform real writes to Direct with the --execute flag, including creating ads and campaigns
- It requires a Direct token with access to the live account
- Review the payload in preview mode first and confirm campaigns are created stopped
README in short
The bilingual README describes ten skill modes: demand research, intent checking, competitor analysis, Unified Performance Campaign architecture, combinatorial ads, landing pages, moderation, Metrika and optimization, A/B testing, and safe API access. It shows install via npx skills add, example toolkit-script runs for package validation and payload building, required environment variables, and verification commands via unittest.
SKILL.md
--- name: yandex-direct description: >- Планирует, создает, проверяет и оптимизирует кампании Яндекс Директа: Wordstat-семантика, интенты, ЕПК, комбинаторные объявления, минус-фразы, посадочные, Метрика, эксперименты и безопасные API-пакеты. Использовать для запуска, аудита или масштабирования Яндекс Директа; не использовать как обещание гарантированных продаж. --- # Yandex Direct Growth Engine Управляй не кликами, а проверяемой экономикой: целевые конверсии, прибыль, маржа, ДРР/CPA и качество лидов. Не обещай результат, который зависит от аукциона, оффера, сайта или внешнего спроса. ## Неподвижные правила - Перед исследованием установи продукт, географию, тип клиента, целевое действие, маржу/допустимый CPA, бюджет, URL и факты, которые можно подтвердить на сайте. - Не выдумывай частотность, цены, сроки, отзывы, рейтинги, гарантии и преимущества. - Перед live-записью покажи точный payload, окружение, объекты, бюджет и последствия; получи отдельное явное подтверждение. Создавай новые кампании остановленными. - Не меняй ставки, бюджеты, стратегии, статусы и минус-фразы live-аккаунта как побочный эффект аудита. Чтение аккаунта не разрешает запись.
FAQ
Can the skill publish a campaign right away?
No, all Wordstat and Direct calls default to preview; a live write needs the --execute flag and a separate confirmation token.
Are third-party Python packages needed?
No, the yandex_direct_toolkit.py script calls Wordstat v2 and the Direct API directly.
Related
Official DataLens (Yandex) skills for Claude Code, Codex and OpenCode: SDK, HTML reports and RLS resolution
A Yandex Metrika MCP server generated from the API spec: 108 methods, 10 tools declared by default, transparent filters and response metadata
An open MCP server and agent skill set for SEO: keyword research, competitors, backlinks and site audits powered by DataForSEO
A Claude Code plugin for SEO audits: technical SEO, E-E-A-T, schema, local and AI search via parallel subagents