Skip to content

Instantly share code, notes, and snippets.

@unbelauscht
Created January 14, 2026 13:05
Show Gist options
  • Select an option

  • Save unbelauscht/a5aa40c603ecf5e0ca95b8131792a10f to your computer and use it in GitHub Desktop.

Select an option

Save unbelauscht/a5aa40c603ecf5e0ca95b8131792a10f to your computer and use it in GitHub Desktop.
doktorabc.com claude.ai skill

DoktorABC Catalog Search

Search the DoktorABC catalog for medical cannabis products.

Usage

/doktorabc-search <search_term> [filters]

Instructions

When invoked, execute a search against the DoktorABC catalog API using the provided search term and optional filters.

  1. Extract the search term from the arguments (default to "indica" if none provided)
  2. Parse any filter requirements from the user's request
  3. Execute the following curl command, replacing {SEARCH_TERM} and {FILTERS_JSON}:
curl -s 'https://search.doktorabc.com/catalog_search/de-DE/1378/{SEARCH_TERM}' \
  -X POST \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0' \
  -H 'Accept: */*' \
  -H 'content-type: application/json' \
  -H 'Origin: https://www.doktorabc.com' \
  --data-raw '{"filters":{FILTERS_JSON}}'

Filter Format

The filters object uses category names as keys with arrays of checkbox IDs as values.

Available Filters

Category Key Values Description
Genetics Genetik indica, sativa, hybrid Cannabis strain type
THC Content THC-Gehalt gte0-lte5, gte5-lte15, gte15 Low (<5%), Medium (5-15%), High (>15%)
CBD Content CBD-Gehalt gte0-lte5, gte5-lte15, gte15 Low (<5%), Medium (5-15%), High (>15%)
Service Type isPremium Premium, Regulär Premium (medication + prescription + delivery) or Regular (prescription only)

Filter Examples

No filters:

{"filters":{}}

Filter by genetics:

{"filters":{"Genetik":["indica"]}}

Filter by high THC:

{"filters":{"THC-Gehalt":["gte15"]}}

Multiple filters:

{"filters":{"Genetik":["indica","hybrid"],"THC-Gehalt":["gte15"],"CBD-Gehalt":["gte0-lte5"]}}

Premium products only:

{"filters":{"isPremium":["Premium"]}}

Response Structure

The API returns:

  • result: Array of matching products (up to 200)
  • searchSuggestion: Top suggested product with full details
  • translations: UI translation strings

Each product in result contains:

  • title: Product name
  • dosage_str: THC/CBD percentage (e.g., "28%/<1%")
  • catalog.genetic: Strain type
  • catalog.thc / catalog.cbd: THC/CBD values
  • catalog.description: HTML description
  • prices: Array of {quantity, price} objects
  • in_stock: 1 if available
  • url: Product page path

Display Guidelines

Present results showing:

  • Product name and genetics
  • THC/CBD content
  • Price range (lowest price)
  • Stock status
  • URL

Examples

/doktorabc-search indica
/doktorabc-search sativa Genetik:sativa THC-Gehalt:gte15
/doktorabc-search cannabis isPremium:Premium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment