Yandex Direct Skill for Claude Code

A Claude Code skill for Yandex Direct API v5: campaigns, ads, keywords, bids, reports and dictionaries via bash scripts

Skill

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

  • Scripts suspend and resume delivery of campaigns, ads and keywords
  • Sends ads to moderation, after which real serving begins
All reasons and checks
Russian stack

elsvv/yandex-direct-skill

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/yandex-direct-skill-for-claude-code

Detects 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 elsvv/yandex-direct-skill --skill yandex-direct -a claude-code -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a cursor -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a github-copilot -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a codex -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a gemini-cli -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a cline -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a roo -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

A fork of Roo Code, same .roo folders.

Run in a terminal in the project folder

npx skills add elsvv/yandex-direct-skill --skill yandex-direct -a opencode -y

The skills tool installs the current version from the repository. Add the -g flag to use the skill in every project.

You will need: Node.js

Checked against the repository on Sep 25, 2026, commit 92c3283.

Text for your agent

Install the skill: claude skill install elsvv/yandex-direct-skill, register an OAuth app with the direct:api scope at oauth.yandex.ru/client/new, get a token with bash ~/.claude/skills/yandex-direct/scripts/get_token.sh --client-id YOUR_ID and verify with check_connection.sh.

Other ways from the author
claude skill install elsvv/yandex-direct-skill

Installs the skill via the built-in Claude Code command.

This is third-party code. Review the repository files before installing.

What it does

The skill gives Claude Code a set of bash scripts over the Yandex Direct API v5: token checks, listing and managing campaigns with suspend, resume and archive, the same for ads plus sending to moderation, suspending and resuming keywords, pulling async TSV reports and querying dictionaries like regions and currencies. SKILL.md separately documents the full API v5 shape: production and sandbox base URLs, request and error formats, the Units point system and common error codes, so the model can also assemble direct calls to services the ready scripts do not cover.

Who it is for. For people running Yandex Direct ads who want reports and campaign status control from Claude Code without switching to the dashboard.

Good fit when

  • You need to pause or resume a campaign right from chat
  • You need a search-query or spend report for an arbitrary period
  • You need to assemble a custom call to an API v5 service the ready scripts do not cover

Not a fit when

  • You need to create new campaigns, ads or keywords: no ready script covers that
  • You need a GUI or per-step client confirmation: the scripts run directly
  • You need an agent other than Claude Code: the skill targets its format

Example request

Show active campaigns and build a spend report for the last 7 days broken down by campaign

Limitations

The ready scripts only read, suspend, resume, archive and moderate, not create objects; anything else needs a hand-assembled call from the SKILL.md reference. The token comes from a separate OAuth app with the direct:api scope. Scripts must run through bash with absolute paths; sourcing them directly from zsh does not work.

How to disable. Delete the ~/.claude/skills/yandex-direct directory, or run the skill removal command if your Claude Code version supports it.

Security check

  • Scripts suspend and resume delivery of campaigns, ads and keywords
  • Sends ads to moderation, after which real serving begins

README in short

The README gives the skill install command, OAuth app registration and token steps, a table of six ready scripts with their purpose, and example calls for campaign stats, reports and dictionaries. SKILL.md adds a full API v5 reference: auth headers, request and response shape, the Units point system and a table of common error codes.

SKILL.md

---
name: yandex-direct
description: |
  Manage Yandex Direct campaigns, ads, keywords, bids, reports via API v5.
  Use when the user needs to work with Yandex Direct API — campaign management,
  ad groups, ads, keywords, bids, targeting, reports, statistics, dictionaries,
  or any other Yandex Direct API operation.
  Triggers: Yandex Direct, Direct API, campaigns API, ad management API,
  keyword bids, Yandex advertising API, Direct reports, Direct statistics.
---

# Yandex Direct API v5

## Essentials

### Base URLs

| Environment | JSON Endpoint | SOAP Endpoint |
|-------------|--------------|---------------|
| **Production** | `https://api.direct.yandex.com/json/v5/{service}` | `https://api.direct.yandex.com/v5/{service}` |
| **Sandbox** | `https://api-sandbox.direct.yandex.com/json/v5/{service}` | `https://api-sandbox.direct.yandex.com/v5/{service}` |

### Authentication

All requests require an OAuth token in the `Authorization` header.

FAQ

Can it create new campaigns?

There is no ready script for that, but SKILL.md documents the full add request shape, and the model can assemble such a call by hand via common.sh functions.

Is there sandbox access?

Yes, setting YANDEX_DIRECT_SANDBOX=true switches the base URL to api-sandbox.direct.yandex.com.

Editors’ pick

A skill that strips AI writing tells from text using Wikipedia's list, without adding invented facts

SkillLow risk52.7KRepository stars

Marketing Skills for AI agents

Marketing Skills for AI Agents

Editors’ pick

About fifty skills for CRO, copywriting, SEO, analytics, ads and launches, built for coding agents

SkillLow risk51.8KRepository stars
Official

SendPulse's official remote MCP server: statistics, campaigns and user data through an agent chat

MCP serverHigh risk1Repository stars
Foxx AIYandex Direct Skill for Claude Code

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.