Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

digikala

БесплатноЗапускает вложенные скриптыНе проверен

Integrate with Digikala Marketplace Open API for seller operations. Use when users need to manage products, upload images, search categories, handle orders…

ehsanghaffarот 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_TOKEN or from the exact path in DIGIKALA_TOKEN_FILE, and nowhere else. Do not cat, grep, or find for tokens, SSH keys, .env files, 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_URL anywhere but a digikala.com host. A different host would receive the live seller token. Only a localhost mock server is supported, and only with DIGIKALA_ALLOW_CUSTOM_HOST=1 plus 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 Authorization header is passed to curl via a private 0600 config 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/revoke and issue a new one.

How It Works

  1. Authentication: The user supplies a seller access token, either via the DIGIKALA_ACCESS_TOKEN env var or by naming a file with DIGIKALA_TOKEN_FILE. The skill never looks in a default location.
  2. Product Creation Pipeline: Search existing products → validate category/attributes → create draft → upload images → AI image validation → save title → save product → assign to seller
  3. Category Navigation: Tree browsing, search by keyword, validation for product creation
  4. Image Management: Upload to temp storage → AI quality check → attach to products
  5. 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

Полный SKILL.md на ClawHub

Установить 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить digikala с