Local Context Review
python scripts/_session_debug.py is a local diagnostics helper for the 成交商品特征分析 Skill skill. It may inspect agent_context, env. Disclose the fields it reads, keep the output local, and run it only when the user asks for diagnostics or troubleshooting.
成交商品特征分析 Skill
功能
分析成交商品的品类、价格带、颜色、包型、上市时间等特征分布及环比变化。
使用
from analyze import analyze as deal_profile_analyze
result = deal_profile_analyze(
store_id="416759_1714379448487",
from_date="2026-03-01",
to_date="2026-03-26",
store_name="正义路60号店"
)
API
analyze(store_id, from_date, to_date, store_name)- 主分析函数
数据源
/api/v1/store/dashboard/bi
输出
- 品类特征分布及环比
- 价格带特征分布及环比
- 包型特征分布及环比
- 颜色特征分布及环比
- 上市时间特征分布及环比
- 综合分析结论