# 安装 margin-analyzer

- 类型: Skill 技能
- 说明: Analyzes unit economics by product or service using PayPal merchant insights and QuickBooks cost data, benchmarks against inflation and cost changes, and shows pricing-scenario data (e.g. "a 5% increase historically correlates with ~3% volume drop"). Surfaces analysis only — does not recommend a price. Use when the user asks about raising prices, pricing, margin analysis, what to charge, whether costs are eating into profit, or how a price change might affect their business. Trigger even if the user doesn't say "margin" explicitly — phrases like "am I making enough?", "should I charge more?", or "my costs are going up" all call for this skill.

- 仓库: https://github.com/anthropics/knowledge-work-plugins

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "margin-analyzer" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md
2. 保存为 ~/.claude/skills/margin-analyzer/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "margin-analyzer" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md
2. 保存为 ~/.codex/skills/margin-analyzer/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "margin-analyzer" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md
2. 保存为 ~/.cursor/skills/margin-analyzer/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p '~/.claude/skills/margin-analyzer' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md' -o '~/.claude/skills/margin-analyzer/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/margin-analyzer' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md' -o '~/.codex/skills/margin-analyzer/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/margin-analyzer' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md' -o '~/.cursor/skills/margin-analyzer/SKILL.md'
```
