amazon-review-insights

v1.2.1

Amazon product review intelligence analysis tool for global e-commerce sellers. Core capabilities:fetch Amazon reviews, AI-powered negative review analysis,...

1· 241·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for sparkbayes/amazon-review-insights.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "amazon-review-insights" (sparkbayes/amazon-review-insights) from ClawHub.
Skill page: https://clawhub.ai/sparkbayes/amazon-review-insights
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: CUSTOMER_INSIGHTS_API_KEY
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install amazon-review-insights

ClawHub CLI

Package manager switcher

npx clawhub@latest install amazon-review-insights
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description, SKILL.md, api_reference, and the included Python client all consistently target AstrMap's api.astrmap.com and desktop client functionality for fetching and analyzing Amazon reviews. The single required env var (CUSTOMER_INSIGHTS_API_KEY) matches the declared API usage.
Instruction Scope
Instructions remain within the stated purpose (interact with AstrMap API, help download/run the AstrMap desktop client). However the skill instructs the agent to ask the user for their AstrMap API key if not set and to help download/launch desktop binaries — these are sensitive or system-level actions (downloading and running third-party software, and handling an API key). The SKILL.md does correctly state the API key is sent to api.astrmap.com and warns about Amazon account separation.
Install Mechanism
No install spec in the registry (instruction-only), which is low risk. The SKILL.md recommends 'pip install -r requirements.txt' (requests only) and guiding the user to download the AstrMap desktop client from https://www.astrmap.com. Those are reasonable for the feature but mean the user will be asked to download and run an external binary — verify downloads/ checksums as suggested.
Credentials
Only CUSTOMER_INSIGHTS_API_KEY is required; this matches the API calls in the client. The SKILL.md warns the key is sent to api.astrmap.com. One usability/security caveat: it recommends passing the key via a CLI flag if asked by the agent, which can expose the key in process lists or chat if pasted — the environment variable approach is preferable.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not require system-wide configuration changes. It only guides the user to install/run the AstrMap desktop client (user-driven). Agent autonomous invocation is allowed but is the platform default.
Assessment
This skill is coherent with its purpose but involves two things you should consider before installing: (1) the AstrMap API key is sensitive and will be sent to api.astrmap.com for every request — prefer setting CUSTOMER_INSIGHTS_API_KEY in your shell environment rather than pasting it into chat or passing it on the command line, and rotate/revoke the key when you stop using the service; (2) the skill may guide you to download and run the AstrMap desktop client (a third‑party binary) and to log into an Amazon buyer account locally — follow the SKILL.md checklist: verify the download URL and TLS certificate, check checksums/signatures, use a dedicated buyer account (not your seller/main account), and only run the client if you trust AstrMap. Review references/security.md and the download-config.json on the official site before proceeding.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

EnvCUSTOMER_INSIGHTS_API_KEY
latestvk974p7nfmst2pskryyhc3cges985ncd7
241downloads
1stars
19versions
Updated 13h ago
v1.2.1
MIT-0

AstrMap Review Insights Skill

Language

  • Reply in English if user input is in English or non-Chinese (as this is the unified language)
  • Reply in 中文 if user input is in Chinese

Configuration

API Key

All API calls require an API Key for authentication.

Note: The API endpoint is fixed at https://api.astrmap.com and is not configurable.

Recommended: Set the environment variable in ~/.zshrc or ~/.bashrc:

export CUSTOMER_INSIGHTS_API_KEY="your-api-key-here"

To obtain an API Key: Download and install the AstrMap desktop client from https://www.astrmap.com/, log in, click User Menu (bottom-left)API Keys, create and copy your API Key.

Important: If CUSTOMER_INSIGHTS_API_KEY is not set or no API Key is provided, ask the user first:

"Please provide your AstrMap API Key (download at https://www.astrmap.com/, log in, click User Menu → API Keys to create one)"

Then pass it via --api-key parameter for all subsequent commands.

Security Notice: This Skill sends the API Key to AstrMap servers (api.astrmap.com) for authentication. The API Key will not be used to access other services.

Feature Tiers

FeatureRequires Desktop ClientRequires API Key
Query completed analysis resultsNoYes
Create collection-only taskYes (online)Yes
Create auto-analysis taskYes (online)Yes
Incremental fetchYes (online)Yes
Manual trigger analysisNoYes

Tip: If you only need to query completed analysis results, you can use the API Key directly without downloading the desktop client.

Desktop Client

Creating tasks requires the AstrMap desktop client running online.

When device is offline (check_device returns 1001 error):

  1. Ask the user: "The desktop client is not running. Have you installed it?"
  2. If not installed: Ask if you should help download, then guide through extraction and startup
  3. If installed but not running: Prompt user to start the desktop client, then re-check online status

Desktop Client Download & Installation

1. Get Download Links

python scripts/api_client.py --action get_download_links

2. Extraction Notes

Important: Do not use Windows built-in extraction tools (may cause issues). Use 7-Zip, WPS Extraction, or similar tools instead.

3. Startup Guide

macOS: Move the folder to "Applications" directory, right-click Astrmap.app → "Open", if blocked go to "System Settings → Privacy & Security → General" → "Still open".

Windows: Right-click "launch.vbs" → "Run with PowerShell" or double-click to start.

4. Initial Setup

After launching:

  1. Log in to your AstrMap account
  2. Log in to your Amazon buyer account (do not use your seller account)
  3. Ensure Amazon access is working

Security & Verification

For detailed security verification, privacy risk statement, Amazon account security, and API Key safety guidelines, read {baseDir}/references/security.md.

Dependency Installation

pip install -r requirements.txt

Important Notes

Points System

  • Create task (auto mode): Free review collection, AI analysis deducts points
  • Create task (collection-only mode): Free review collection, no point deduction
  • Incremental fetch: Fetch latest reviews and re-analyze, deducts points
  • Query results: View completed results, no point deduction

Prerequisites (only for creating tasks)

  1. AstrMap desktop client is logged in
  2. Desktop client is logged in to Amazon buyer account
  3. Amazon access is working

Querying completed task results has no restrictions and can be called directly.

Workflow

Invocation

python scripts/api_client.py --action <action> [--params...]

1. Check Device Online

python scripts/api_client.py --action check_device --api-key "your-key"

Response: {online: true, device_id: "xxx", status: "idle"}

2. Create Task

Note: Creating a task deducts points. Before executing, inform the user and wait for confirmation: "About to create task. Current points: {points}. This will deduct points. Continue?"

Create Task Flow:

  1. --action check_device → Check device online status
  2. --action get_points → Check account points
  3. Inform user of point consumption, wait for confirmation
  4. Confirm prerequisites, then --action create_task --asin <ASIN> --site <site> [--is-auto false]

Run Mode:

ParameterDescription
--is-auto true (default)Auto mode: automatically trigger AI analysis after collection
--is-auto falseCollection-only mode: stops at "pending analysis" status

Site Mapping: US/CA/UK(English), DE(German), FR(French), IT(Italian), ES(Spanish), JP(Japanese)

Command Examples:

python scripts/api_client.py --action create_task --api-key "your-key" --asin "B09V3KXJPB" --site US

3. Poll Task Status

After submission, poll every 6 minutes:

python scripts/api_client.py --action get_task_detail --api-key "your-key" --task-id "TSK_xxx"

Status Flow:

Auto Mode (is_auto=true): PENDINGDISPATCHINGCOLLECTINGPROCESSINGANALYZINGSUCCESS/FAILED/CANCELLED

Collection-only Mode (is_auto=false): PENDINGDISPATCHINGCOLLECTINGCOLLECTED

Status Prompts:

StatusUser Message
PENDING"Task submitted, waiting for scheduling..."
DISPATCHING"Allocating device..."
COLLECTING"Fetching Amazon review data, please wait (usually 20~120 seconds)"
PROCESSING"Review data fetched, processing..."
ANALYZING"Data processing complete, AI analyzing..."
SUCCESS"Analysis complete! Fetching results..."
FAILED"Task failed. Please check device status and network connection."
CANCELLED"Task cancelled"
COLLECTED"Collection complete! In pending analysis state."

If task does not complete after a long time (over 18 minutes), prompt user to check if desktop client is online.

4. Get Analysis Results

# AI Insights Summary
python scripts/api_client.py --action get_ai_insights --api-key "your-key" --task-id "TSK_xxx"
# Tag Distribution
python scripts/api_client.py --action get_tag_categories --api-key "your-key" --task-id "TSK_xxx"
# Basic Statistics
python scripts/api_client.py --action get_basic_statistics --api-key "your-key" --task-id "TSK_xxx"
# Negative Reviews List
python scripts/api_client.py --action get_negative_reviews --api-key "your-key" --task-id "TSK_xxx" --page 1 --page-size 20

Note: Querying completed task results does not deduct points and has no prerequisites.

5. Incremental Fetch

Note: Incremental fetch deducts points. Before executing, inform user and wait for confirmation.

Incremental Fetch Flow:

  1. Check device and points
  2. Inform user of point consumption, wait for confirmation
  3. --action create_incremental --task-id <task_id>
  4. Poll status (same as create task)

6. Manual Trigger Analysis (Collection-only Mode)

Tasks in collection-only mode (is_auto=false) stop at COLLECTED status, requiring manual AI analysis trigger:

python scripts/api_client.py --action trigger_analysis --api-key "your-key" --task-id "TSK_xxx"

Status flow: COLLECTEDPROCESSINGANALYZINGSUCCESS

All Available Actions

actionDescriptionRequired Parameters
get_download_linksGet desktop client download links-
check_deviceCheck if device is online-
create_taskCreate task--asin, --site
create_incrementalIncremental fetch--task-id
trigger_analysisManual trigger analysis--task-id
get_task_detailQuery task details--task-id
get_task_listGet task list-
get_ai_insightsGet AI insights--task-id
get_tag_categoriesGet tag distribution--task-id
get_issue_statisticsGet issue dimension statistics--task-id
get_top_issuesGet top issues distribution--task-id
get_basic_statisticsGet basic statistics--task-id
get_negative_reviewsGet negative reviews list--task-id
get_trendGet review trends--task-id
get_related_commentsGet comments associated with tag/issue--task-id, --association-type
get_commentsGet raw comments--task-id
get_comments_overviewGet comments overview--task-id
get_pointsQuery points balance-

Error Handling

Error CodeDescriptionHandling
1001Device offlineDesktop client not running. Ask if installed; if not, provide download guide
1002Insufficient pointsPrompt user to recharge at https://www.astrmap.com/
2001Invalid API KeyCheck if API Key is correct
2002API Key disabledPrompt user to create new API Key
2003API Key expiredPrompt user to create new API Key
2004Insufficient permissionsCheck API Key permission configuration
2005Request rate exceededPrompt user to retry later
InvalidTaskStatusTask status is not COLLECTEDOnly collection-only tasks with COLLECTED status can trigger analysis

Detailed API Documentation

For detailed API endpoint documentation, request parameters, and response formats, see API Reference.

Usage Examples

Scenario 1: Create New Task

User: Help me get and analyze reviews for B09V3KXJPB
AI Agent:
1. Check API Key → if not configured, ask user to provide
2. Check device and points
3. Inform point consumption, wait for confirmation
4. Create task
5. Poll status every 6 minutes, provide real-time progress
6. After analysis complete, get results

Scenario 2: Collection-only Mode + Manual Trigger Analysis

User: Help me collect reviews only, don't analyze for now
AI Agent:
1. Check API Key and device
2. Create task with --is-auto false
3. Poll status until COLLECTED
4. After user confirms analysis, run trigger_analysis (API Key only, no desktop client required)

Scenario 3: Query Completed Task

User: View analysis results for TSK_xxx
AI Agent:
1. Check API Key
2. Get analysis results directly (no device or prerequisites required)

Comments

Loading comments...