yandex-direct

yandex-direct is a skill for Claude Code from VKirill/claude-lane-stack. It costs 246 tokens per session (6,072 once invoked), scanned A, original, MIT.

A reference guide for the Yandex Direct API, the programming interface for managing Yandex's online advertising campaigns. It covers the required software versions and supported campaign, keyword, ad, bid, and reporting operations.

In plain words
What is it for?
Use it to create or update campaigns, change bids and strategies, manage keywords and ads, handle moderation states, and retrieve advertising reports.
Why use it?
It gives an agent concrete instructions for working with campaign data and account states instead of relying on incomplete or outdated API knowledge.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the lane-stack plugin — 62 skills, 4 commands, 13 agents, 1 MCP server shipped together

Good fit Use it to create or update campaigns, change bids and strategies, manage keywords and ads, handle moderation states, and retrieve advertising reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vkirill/claude-lane-stack/yandex-direct
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add VKirill/claude-lane-stack --skill yandex-direct
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Made for: Claude Code.

Or install lane-stack, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 13 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yandex-direct

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/yandex-direct/github.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/yandex-direct)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/yandex-direct"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/yandex-direct/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yandex-direct

Your own site · 80×15
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/yandex-direct"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/yandex-direct.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 280
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 90
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 304
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 306
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00246 $0.06072
Opus 5.5 $0.00098 $0.02429
Sonnet 5.5 $0.00049 $0.01214
Haiku 4.5 $0.00025 $0.00607

Measured 1mo ago against content hash d673de870d7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yandex-direct scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lane-stack/skills/yandex/yandex-direct/SKILL.md · 315 lines

How it starts

The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Version Requirements

Primary pins:

  • Yandex Direct API: v5 (stable, JSON over HTTPS; api.direct.yandex.com/json/v5/{service})
  • Sandbox: api-sandbox.direct.yandex.com/json/v5/{service}
  • Python: 3.14.x
  • Node.js: 24.x (Active LTS)

Verify against current Yandex Direct release notes before production use.

Usage

Loaded automatically when its description matches the active task. Read the section you need, then follow the link to the relevant reference file for full detail.

Use this skill when

  • Programmatic campaign management in Yandex.Direct: create, update, suspend, archive via CampaignsService
  • Bulk bid updates and strategy switching via BidsService / KeywordBidsService
  • Loading keywords with negatives and operators via KeywordsService; tracking Status / State transitions (DRAFT/MODERATION/ACCEPTED/REJECTED)
  • Creating and moderating ads (AdsService): TextAd, DynamicTextAd, MobileAppAd, ImageAd, CpcVideoAd, SmartAdBuilderAd
  • Pulling statistics through the Reports API (TSV) with processingMode (online/offline/auto), 201/202 polling honoring Retry-After
  • Working from an agency account: passing Client-Login per client, spending agency units via Use-Operator-Units: true
  • Testing integration in the sandbox at api-sandbox.direct.yandex.com without burning real budgets
  • Building your own client / connector (Python httpx, Node.js fetch) with units accounting, retry on 5xx/transient codes, manual idempotency
  • Integrating into CRM/dashboard: pull account structure, adjust CPC from conversion signals, sync negative keywords

Do not use this skill when

  • Web traffic analytics and goals from the site → yandex-metrica (cascade marker)
  • SERP scraping, position tracking, snippet parsing → xmlstock (cascade marker)
  • Wordstat frequency and keyword competition → mutagen (cascade marker)
  • Google Ads / Google Ads API (different platform, different auction model) → google-ads cascade
  • myTarget / VK Ads / VKontakte advertising → vk-ads / mytarget cascade
  • Static on-site ad blocks, direct sales without auction
  • Plain stats viewing through UI — Direct API is only needed for automation and scale

Read the full file on GitHub · 315 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 315 lines · 246 tokens per session scan A d673de870d7c

Subscribe to this mod's changes

yandex-direct is a skill published in the GitHub repository VKirill/claude-lane-stack (122 stars, last pushed today), licensed MIT. It adds 246 tokens to every session and 6,072 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

eval-agents

Audit custom subagent definitions for Claude Code (.claude/agents/.md) and Codex (.codex/agents/.toml): loadability against the native schema, description overlap, model tier, tool scope, and headless-safe instructions. Use when onboarding to a project with agents, after adding or importing agents, or when the parent…

FlorianBruniaux/claude-code-ultimate-guide · 80 tokens

self-assessment

Interactive skill assessment with personalized learning path generation.

FlorianBruniaux/claude-code-ultimate-guide · 12 tokens

land-and-deploy

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

FlorianBruniaux/claude-code-ultimate-guide · 24 tokens

source-command-methodology-advisor

Analyzes your codebase and asks 3 targeted questions to recommend the right AI-assisted development methodology stack.

FlorianBruniaux/claude-code-ultimate-guide · 27 tokens

git-ai-archaeology

Analyze AI config evolution in a git repo. Use when mapping AI adoption history, finding when configs were first introduced, charting commit velocity by month, or identifying maturity phases in a project's AI tooling.

FlorianBruniaux/claude-code-ultimate-guide · 47 tokens