dzen
Publish articles and posts to Dzen.ru (Yandex Zen). Supports text, images, and videos. Requires session cookies and a CSRF token from a logged-in browser session.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ruslanlanket/dzenDzen Publisher
This skill allows you to programmatically publish content to Dzen.ru using a browser-mimic approach.
Setup
Dzen does not provide a public API for posting. This skill uses your active browser session.
1. Get Authentication Data
- Log in to dzen.ru in your browser.
- Open the Network tab in Developer Tools (F12).
- Go to dzen.ru/profile/editor.
- Find any request to
dzen.ru(e.g.,entry,list, or even the main page). - In the Headers tab:
- Find the
Cookieheader. Copy its value. - Find the
x-csrf-tokenheader. Copy its value.
- Find the
2. Create Config File
Create a file named dzen_config.json in the workspace with the following structure:
{
"cookies": {
"SESSION_ID": "your_session_id_from_cookies",
"zen_sso_checked": "...",
"...": "..."
},
"csrf_token": "your_csrf_token"
}
Usage
Publishing a Post
Use the publish.py script to create a post.
python3 scripts/publish.py --title "My Title" --text "My Content" --media image.jpg video.mp4 --config dzen_config.json
Supported Media
- Images:
.jpg,.jpeg,.png,.webp,.gif. - Videos:
.mp4,.mov,.avi,.mkv.
Media files are uploaded automatically before the final publication.
Tips
- Session Expiry: If the publication fails with a 403 error, your cookies or CSRF token may have expired. Refresh them from the browser.
- CSRF Token: Ensure the
X-Csrf-Tokenmatches the one in your config. It is mandatory for all POST requests.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ruslanlanket-dzen": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
vk
Manage VK.com (Vkontakte) community: post content (text, photos, videos) and handle messages. Use for automating community management via VK API.
lightrag
Search and manage knowledge bases using LightRAG API. Supports multiple servers, context-aware writing, and direct information retrieval. Use when the user wants to query a LightRAG-powered knowledge base or use it as context for tasks.
Pinterest API v5 integration. Allows creating and reading pins, managing boards, retrieving profile data and analytics. Use this skill when the user needs to automate Pinterest tasks or access account data.
threads
Взаимодействие с Threads API для публикации постов (текст, изображения), чтения постов и получения информации о профиле. Используйте, когда пользователю нужно работать с Threads через Graph API.
avito
Manage Avito.ru account, items, and messenger via API. Use for listing items, checking balance, reading chats, and getting account info.