Skip to content

LeoYeAI/agent-master-skills / skills/alphashop-sel-newproduct

alphashop-sel-newproduct

Verified

AlphaShop新品选品SKILL:基于关键词和商品筛选条件生成深度市场分析和新品推荐报告。 支持Amazon和TikTok平台的跨境电商选品,提供市场评级、竞争分析、新品推荐、热销品对比等功能。

FileKindSize
QUICKSTART.mdmarkdown2.3 KB
README.mdmarkdown2.4 KB
SKILL.mdskill md16.0 KB
_meta.jsonconfig305 B
references/api.mdmarkdown8.8 KB
requirements.txtmanifest30 B
scripts/selection.pyscript22.3 KB
test.shscript1.9 KB
#!/bin/bash
# alphashop-sel-newproduct Skill 测试脚本

echo "======================================"
echo "1688遨虾AI选品 Skill 测试"
echo "======================================"
echo ""

# 检查凭证
if [ -z "$ALPHASHOP_ACCESS_KEY" ] || [ -z "$ALPHASHOP_SECRET_KEY" ]; then
    echo "⚠️  未检测到 API 凭证"
    echo ""
    echo "请选择配置方式:"
    echo "  1) 手动输入(本次有效)"
    echo "  2) 使用 .env 文件"
    echo "  3) 退出"
    echo ""
    read -p "请选择 [1-3]: " choice

    case $choice in
        1)
            echo ""
            read -p "请输入 ALPHASHOP_ACCESS_KEY: " ALPHASHOP_ACCESS_KEY
            read -p "请输入 ALPHASHOP_SECRET_KEY: " ALPHASHOP_SECRET_KEY
            export ALPHASHOP_ACCESS_KEY
            export ALPHASHOP_SECRET_KEY
            ;;
        2)
            if [ -f ".env" ]; then
                echo "→ 加载 .env 文件..."
                source .env
                echo "✓ 凭证已加载"
            else
                echo "❌ .env 文件不存在"
                echo "   运行: cp .env.example .env 并编辑"
                exit 1
            fi
            ;;
        3)
            echo "退出"
            exit 0
            ;;
        *)
            echo "❌ 无效选择"
            exit 1
            ;;
    esac
else
    echo "✓ 检测到 API 凭证"
fi

echo ""
echo "======================================"
echo "开始测试"
echo "======================================"
echo ""

# 测试参数
KEYWORD="phone"
PLATFORM="amazon"
COUNTRY="US"

echo "测试参数:"
echo "  关键词: $KEYWORD"
echo "  平台: $PLATFORM"
echo "  国家: $COUNTRY"
echo ""

# 运行测试
python3 scripts/selection.py report \
    --keyword "$KEYWORD" \
    --platform "$PLATFORM" \
    --country "$COUNTRY"

echo ""
echo "======================================"
echo "测试完成"
echo "======================================"
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall