| Cache-first подход для гигиены контекстного окна. метрика трафик, метрика конверсии, метрика отчёт.
npx skills add https://github.com/artwist-polyakov/polyakov-claude-skills --skill yandex-metrika
Работа с Yandex Metrika Reporting API v1. Отчёты по трафику, конверсиям, UTM-меткам, поисковым системам.
Требуется YANDEX_METRIKA_TOKEN в config/.env.
Инструкция: config/README.md.
lastsign (последний значимый источник). Спрашиваем пользователя при первом запуске. bash scripts/counters.sh
"О каком счётчике/сайте идёт речь?
Укажите ID, название или домен."
Если пользователь назвал сайт/домен — ищи через --search:
bash scripts/counters.sh --search "metallik"
Это grep по TSV (id + name + site), поэтому находит и по домену.
bash scripts/counter_info.sh --counter <ID>
bash scripts/goals.sh --counter <ID>
"Какие из этих целей являются конверсионными для вашего бизнеса?
[список целей из goals.sh]
Сохраню выбранные для будущих отчётов."
cache/counter_<id>/config.json: {
"attribution": "lastsign",
"conversion_goals": [
{"id": 12345, "name": "Заказ оформлен"},
{"id": 67890, "name": "Заявка отправлена"}
]
}
Общий паттерн вызова:
bash scripts/<script>.sh --counter <ID> --date1 YYYY-MM-DD [--date2 ...] [--group month] [--csv path]
| Script | Description | Special params |
|--------|-------------|----------------|
| counters.sh | Список счётчиков | --search "query" |
| goals.sh | Цели счётчика | — |
| counter_info.sh | Метаданные счётчика | — |
| traffic_summary.sh | Трафик по источникам | — |
| conversions.sh | Достижение целей | --goals "ID,ID" / --all-goals; по умолчанию из config.json |
| utm_report.sh | UTM-разбивка | — |
| search_engines.sh | Поисковые системы (organic) | — |
| ecommerce.sh | Покупки, выручка, средний чек | --currency RUB\|USD\|EUR; авто из counter_info |
| direct_clients.sh | Логины Директа | — |
| direct_costs.sh | Расходы Директа (ym:ad:*) | --direct-client-logins "login"; нет --group/--device/--source |
| comparison.sh | Сравнение двух периодов | --date1a/--date2a/--date1b/--date2b; --dimension, --metrics |
Не все скрипты поддерживают все общие параметры — см. Special params.
| Param | Required | Default | Values |
|-------|----------|---------|--------|
| --counter | yes | - | ID счётчика |
| --date1 | yes | - | YYYY-MM-DD |
| --date2 | no | today | YYYY-MM-DD |
| --group | no | - | day, week, month |
| --device | no | all | desktop, mobile, tablet |
| --source | no | all | organic, ad, referral, direct, social |
| --attribution | no | lastsign | lastsign, last, first |
| --limit | no | API default | число строк |
| --csv | no | - | путь для экспорта |
| --no-cache | no | - | пропустить кеш |
Кеш хранится в cache/:
counters.json + counters.tsv — все счётчикиcounter_<id>/info.json — метаданные (permanent)counter_<id>/goals.json + goals.tsv — целиcounter_<id>/config.json — атрибуция, конверсионные целиcounter_<id>/direct_clients.json — логины Директаcounter_<id>/reports/*.csv — результаты отчётовДля поиска по кешу: grep "text" cache/counters.tsv или rg "text" cache/.
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take artwist-polyakov/yandex-metrika from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.