Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

algo-price-dynamic算法价格动态

Agent Skill

algo-price-dynamic 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

392

周安装

16

GitHub Stars

124

下载量

125
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:algo-price-dynamic(算法价格动态)
来源仓库:https://github.com/asgard-ai-platform/skills
仓库路径:skills/algo-price-dynamic
安装命令:
npx skills add https://github.com/asgard-ai-platform/skills --skill algo-price-dynamic
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/asgard-ai-platform/skills --skill algo-price-dynamic

简介

algo-price-dynamic 实施动态定价机制,依据需求、库存、时间与竞争实时调整价格。

  • 常见于航空、酒店、网约车与电商平台,目标是在约束条件下最大化收入或利润。
  • 结合机器学习与运筹优化,支持 perishable inventory 与 surge pricing 系统设计。
  • 安装方式:GitHub 仓库;需部署监控系统防止价格剧烈震荡引发用户体验下降。
  • 注意:单次定价决策宜用 conjoint 或 Van Westendorp,频繁调价才适用动态模型。

SKILL.md

Dynamic Pricing

Overview

Dynamic pricing adjusts prices in real-time based on demand signals, time, inventory, and competitive conditions. Common in airlines, hotels, ride-sharing, and e-commerce. Objective: maximize revenue (or profit) subject to capacity/inventory constraints.

When to Use

Trigger conditions:

  • Pricing perishable inventory (hotel rooms, airline seats, event tickets)
  • Implementing demand-responsive pricing for e-commerce
  • Building surge pricing or time-based pricing systems

When NOT to use:

  • For one-time pricing decisions (use Van Westendorp or conjoint)
  • When price changes are impractical (regulated markets, long-term contracts)

Algorithm

IRON LAW: Dynamic Pricing Requires REAL-TIME Data
Stale data produces prices optimal for PAST conditions, not current ones.
Three data streams must be current:
1. Demand signal (bookings, searches, cart additions)
2. Inventory/capacity status
3. Competitive prices (where applicable)
Update frequency: minutes for ride-sharing, hours for hotels, daily for retail.

Phase 1: Input Validation

Collect: current demand indicators, remaining inventory/capacity, time until expiration/event, competitor prices, price floor/ceiling constraints. Gate: Real-time data feeds connected, business rules defined.

Phase 2: Core Algorithm

Rule-based: If demand > threshold, increase price by X%. Tiered rules by inventory level.

Demand-curve based: 1. Estimate demand curve at current conditions. 2. Find price that maximizes revenue = P × Q(P). 3. Apply inventory constraint: if capacity is scarce, price up; if excess, price down.

ML-based: Train model to predict demand at each price point given context features. Optimize over predicted demand curve.

Phase 3: Verification

Monitor: revenue per unit, booking pace, customer complaints, competitive position. A/B test new pricing rules. Gate: Revenue improved without significant volume loss or customer backlash.

Phase 4: Output

Return recommended price with reasoning and expected impact.

Output Format

{
  "recommended_price": 1200,
  "current_price": 999,
  "reasoning": {"demand_signal": "high", "inventory_remaining_pct": 15, "competitor_avg": 1100},
  "expected_impact": {"revenue_change_pct": 18, "volume_change_pct": -5},
  "metadata": {"strategy": "demand-curve", "update_frequency": "hourly"}
}

Examples

Sample I/O

Input: Hotel room, 3 days until date, 85% occupancy, average competitor price $150 Expected: Price above competitor ($160-170) due to high occupancy, short time horizon.

Edge Cases

InputExpectedWhy
Zero demandDrop to floor priceStimulate demand, recover some revenue
Last unit availablePrice near ceilingScarcity maximizes willingness to pay
Competitor flash saleDon't auto-match if unnecessaryAvoid price war; assess if your product differentiates

Gotchas

  • Customer fairness perception: Visible price discrimination (same product, different prices for different users) generates backlash. Segment by time, channel, or bundle — not by individual.
  • Price war spiraling: Automated competitive pricing can create a race to the bottom. Set absolute floors and rate-of-change limits.
  • Demand cannibalization: If customers learn prices drop later, they wait. This is the "strategic customer" problem — don't train customers to delay.
  • Regulatory risk: Dynamic pricing may violate anti-gouging laws during emergencies. Build in legal constraint rules.
  • A/B testing bias: Testing different prices creates revenue measurement challenges. The control group at the "wrong" price loses money by design.

References

  • For revenue management models (airline/hotel), see references/revenue-management.md
  • For fairness constraints in dynamic pricing, see references/fairness-constraints.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.87%
按下载量换算45

Claude

27.35%
按下载量换算34

Cursor

18.49%
按下载量换算23

Gemini CLI

9.23%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills