digikala
БесплатноЗапускает вложенные скриптыНе проверенIntegrate with Digikala Marketplace Open API for seller operations. Use when users need to manage products, upload images, search categories, handle orders…
от ehsanghaffar699 установок в других каталогахОб этом скилле
Digikala Marketplace API Skill
This skill enables Claude to work with the Digikala Marketplace Open API (seller.digikala.com) — Iran's largest e-commerce platform's seller API with 274 endpoints covering product management, categories, orders, shipments, finance, and more.
⚠️ Important Safety Notice
This skill interacts with a LIVE production marketplace. Several operations are state-changing and affect your actual seller account:
| Operation | Impact | Confirmation Required |
|---|---|---|
save-product |
Creates/updates live product visible to customers | ✅ Yes (script prompts) |
assign |
Adds product to your seller inventory | ✅ Yes (script prompts) |
brand-request |
Submits brand registration for manual review | ✅ Yes (script prompts) |
save-title |
Updates product title on marketplace | ⚠️ Review before running |
upload-* |
Uploads images to Digikala servers | ⚠️ Review files before upload |
Read-only operations (safe to run anytime): search, suggest, be-seller, validate-*, get-*, draft-count, auto-title, get-attributes, tree, ai-check
Tool Scope & Boundaries
Capabilities this skill requires
| Capability | Why it is needed |
|---|---|
| Shell (bash) | The scripts are bash |
| Outbound net | seller.digikala.com only, for the Digikala API |
| File read | One image file the user explicitly names for upload |
| File write | A 0600 private temp dir for the auth header, removed on exit |
Nothing beyond this is used. No package installs, no sudo, no writes outside
the temp dir, no calls to any host other than Digikala.
The skill must not, on its own initiative:
- Read, list, or search the filesystem for credentials. The token comes from
DIGIKALA_ACCESS_TOKENor from the exact path inDIGIKALA_TOKEN_FILE, and nowhere else. Do notcat,grep, orfindfor tokens, SSH keys,.envfiles, or shell profiles. - Print, log, echo, or include the token in any output, message, commit, or file. Never echo it back to the user — refer to it as "the token".
- Run a state-changing command without showing the user exactly what will change and getting their go-ahead first.
- Point
DIGIKALA_BASE_URLanywhere but adigikala.comhost. A different host would receive the live seller token. Only alocalhostmock server is supported, and only withDIGIKALA_ALLOW_CUSTOM_HOST=1plus a throwaway token. - Upload a file the user has not named and confirmed.
Out of scope by design. Digikala's API also covers orders, shipments, finance, customer service, and seller identity/PII (addresses, business documents, warehouse details). This skill does not call those. If a request needs them, say so and let the user decide — they are high-impact, often regulated, and outside the product-listing workflow this skill was built for.
Working With the Token
The access token is a live seller credential: it can read business data and mutate the storefront. Treat it accordingly.
- Ask the user to provide it. Do not go looking for it.
- Never display it. Do not echo it, print it into a command that gets logged, paste it into a report, or write it to a file.
- The scripts keep it out of the process table (the
Authorizationheader is passed tocurlvia a private0600config file, never as an argument) and delete that file on exit. - Do not log full API responses containing customer or order data into files that persist.
- If a token is ever exposed — pasted into chat, committed, or shared — tell the
user to revoke it via
POST /auth/revokeand issue a new one.
How It Works
- Authentication: The user supplies a seller access token, either via the
DIGIKALA_ACCESS_TOKENenv var or by naming a file withDIGIKALA_TOKEN_FILE. The skill never looks in a default location. - Product Creation Pipeline: Search existing products → validate category/attributes → create draft → upload images → AI image validation → save title → save product → assign to seller
- Category Navigation: Tree browsing, search by keyword, validation for product creation
- Image Management: Upload to temp storage → AI quality check → attach to products
- Scope-Based Access: Each endpoint requires specific scopes (product, order, finance, etc.)
API Reference
Base URL: https://seller.digikala.com/open-api/v1/
Headers Required:
Content-Type: application/json
Authorization: Bearer <access_token>
Rate Limits: 429 response with reset_time header when exceeded
Key Endpoints b
Установить digikala в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл digikala?
Integrate with Digikala Marketplace Open API for seller operations. Use when users need to manage products, upload images, search categories, handle orders, or automate seller workflows on Digikala (Iran's largest e-commerce platform). Trigger phrases "Digikala API", "seller.digikala.com", "marketplace API", "Iran e-commerce", "product creation Digikala", "Digikala seller panel".
Как установить скилл digikala?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл digikala запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic