Install
openclaw skills install @zhuojiuya/analyze-amazon-reviewsFetch Amazon product reviews through the Reveyes task API, choose cost-aware sampling by user intent, reuse permanent tasks, perform evidence-grounded Voice...
openclaw skills install @zhuojiuya/analyze-amazon-reviewsUse the bundled deterministic pipeline for paid API access, normalization, statistics, evidence validation, and HTML rendering. Use model reasoning only for the semantic analysis between preparation and rendering.
对外接口 menu in the Reveyes system.REVEYES_API_KEY; do not paste it into prompts, reports, or source files.export REVEYES_API_KEY="your_api_key"
REVEYES_API_KEY, an explicit --env-file, or --prompt-api-key. Never print or embed it in generated files.fetch. Passing --confirm-max-points is the final execution guard.retrieve when the user supplies a permanent task_id. Inspect task-index.json before repeating an identical paid request.pre_deduct as reservation and actual_deduct as authoritative settlement. Keep points_per_page_at_plan with the run because pricing can change.Set the skill directory once:
SKILL_DIR=/absolute/path/to/analyze-amazon-reviews
Read scenario-routing.md, infer the closest scenario, and honor explicit filters or page counts. Default ambiguous product-health requests to health; never default to deep.
List current plans and configured costs:
python3 "$SKILL_DIR/scripts/review_pipeline.py" scenarios --points-per-page 3
python3 "$SKILL_DIR/scripts/review_pipeline.py" plan \
--asin B08N5KWB9H \
--marketplace US \
--scenario health \
--points-per-page 3 \
--output /absolute/output/plan.json
Show the plan summary to the user. Do not submit until the point limit is explicitly accepted, unless the user already supplied the exact mode/pages and explicitly said to execute without another confirmation.
Create new paid tasks:
python3 "$SKILL_DIR/scripts/review_pipeline.py" fetch \
--plan /absolute/output/plan.json \
--confirm-max-points 30 \
--output-root /absolute/output/reports
Reuse a permanent task without creating a paid task:
python3 "$SKILL_DIR/scripts/review_pipeline.py" retrieve \
--task-id TASK_ID \
--filter-star all_stars \
--sort-by recent \
--known-pages 1 \
--output-root /absolute/output/reports
Read reveyes-api.md before changing client behavior or diagnosing an API response. The client polls terminal status and explicitly paginates data.reviews beyond the API's default result page size.
Open RUN_DIR/analysis/index.json, then analyze every referenced batch. Read both:
Use a map-reduce workflow for large runs:
RUN_DIR/analysis/partials/.RUN_DIR/analysis/final-analysis.json.review_id values.Validate before rendering:
python3 "$SKILL_DIR/scripts/review_pipeline.py" validate-analysis --run-dir RUN_DIR
Fix all validation errors. Warnings may remain only when clearly disclosed in report limitations.
python3 "$SKILL_DIR/scripts/review_pipeline.py" render --run-dir RUN_DIR
The default report is one self-contained report.html with inline styles, charts, filters, and review evidence. It omits reviewer names, profile URLs, API keys, and task IDs. Add --include-media-links only when the user wants external image/video links in a shared report.
Return a clickable local file link. Upload only when the user explicitly requests publishing and specifies or authorizes a hosting destination. For private sharing, prefer signed object-storage URLs.
quote; put interpretation in a separate field.1001 through 1005; explain the mapped error.manifest.json after partial submission so permanent tasks can be resumed.pre_deduct implies a higher price than the plan, stop remaining submissions when the confirmed point limit would be exceeded.