Xpersona
W

Weiliaozi Skill

CLAWHUB · Unverified

尉缭子战略分析法。使用时机:(1) 用户需要结构化战略分析 (2) 想避免冲动决策 (3) 问"值不值得做/先做什么/对手会怎么反应" (4) 商业判断、竞争分析、谈判准备、项目取舍。框架:本质 → 条件 → 得失 → 先后 → 对手,按顺序想,不跳步。 Skill: Weiliaozi Skill Owner: phoenixlucky Summary: 尉缭子战略分析法。使用时机:(1) 用户需要结构化战略分析 (2) 想避免冲动决策 (3) 问"值不值得做/先做什么/对手会怎么反应" (4) 商业判断、竞争分析、谈判准备、项目取舍。框架:本质 → 条件 → 得失 → 先后 → 对手,按顺序想,不跳步。 Tags: latest:2.2.1 Version history: v2.2.1 | 2026-09-24T06:14:16.593Z | user Security and packaging fixes: remove unrestricted Bash configuration, ignore local runtime state, revise adversarial scenario guidance, and include the project ima

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17705e3p3j221cp70a66wbscd844f38:weiliaozi-skill
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-phoenixlucky-weiliaozi-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

147,144 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: weiliaozi-skill
description: Structured analysis using the Wei Liaozi five-lens framework — a synthesis of pre-Qin strategic thought drawing on Huangdi (rational analysis), Jiang Ziya (civil-military governance), Sun Wu (adaptive strategy), Wu Qi (discipline and command), and Duke Huan of Qi (stratified gains). Use when the user needs disciplined reasoning about a question or scenario — including historical analysis, system structure, trade-off assessment, sequence logic, and game-theoretic response mapping. Framework: Essence -> Conditions -> Gains-Losses -> Sequence -> Opponent. Think in order, no skipping steps. Respond in the same language as the user's question.
version: 2.2.1
language: follow_user
run_as: subagent
allowed_tools:
  - read_file
  - search_content
  - search_files
  - get_symbols
  - web_search
  - web_fetch
---

# 尉缭子分析法 | Wei Liaozi Analysis Framework

> 先看结构,再看约束,再算利弊,最后定顺序与对抗逻辑。
> See structure first, then constraints, then calculate gains-losses, then set sequence and opposition logic.

## 核心原则 | Core Principle

按顺序想,不跳步。Think in order, no skipping steps.

回答要规范、可追溯、尽量准确。Be structured, traceable, and as accurate as possible.

《尉缭子》的核心分析方法,不是依赖正面对抗,而是先理解结构、约束、利益分配,再决定节奏与博弈方式。The core of *Wei Liaozi* analysis is not frontal confrontation by default, but understanding structure, constraints, and incentive alignment before determining sequence and game logic.

**尉缭在嬴政手下做事,不容有误——本 Skill 的分析同样不容敷衍。** 每一条判断必须有据可依,每一处不确定必须标明,绝不以模糊措辞替代严谨推理。**Wei Liao served under King Zheng of Qin, where no mistake was tolerated — this Skill holds itself to the same standard.** Every judgment must be evidence-backed, every uncertainty must be marked, and vague language must never replace rigorous reasoning.

---

## 思想渊源 | Intellectual Heritage

《尉缭子》是先秦兵家思想的集大成之作,并非独出心裁,而是融汇了五位先贤的核心洞见,将其提炼为一套可操作的理性分析框架。每一栏背后,都站着一位或多位先贤的思考。*Wei Liaozi* is the culmination of pre-Qin military thought — not an original invention, but a synthesis of five earlier masters' core insights, refined into a practical, rational analysis framework. Each lens has its intellectual lineage.

> **黄帝** · 尉缭子借黄帝之口说"先稽我智"(先审视自己的智慧),将战略从占卜迷信转向人间事理——理性分析之始。→ **本质栏**
> **Huangdi** · Wei Liaozi reframed strategy from divination to human affairs: "First examine my own wisdom." Rational analysis begins here. → **Essence**

> **太公望(姜太公)** · 提出"官分文武,惟王之二术也",文武兼治是统御框架之基;"不战而服"是最高胜战理念。→ **条件栏 + 对手栏**
> **Jiang Ziya (Tai Gong)** · Dual civil-military governance is the foundation of command; "subduing without battle" is the highest form of victory. → **Conditions + Opponent**

> **孙武** · "胜兵似水"、"奇正相生"、"知己知彼"——尉缭子继承其核心概念,但更强调制度与组织而非战术奇巧。→ **得失栏 + 先后栏 + 对手栏**
> **Sun Wu (Sun Tzu)** · "Victorious army like water," "regular and extraordinary tactics," "know yourself and your enemy" — inherited conceptually, but with greater weight on institutions over tactics. → **Gains-Losses + Sequence + Opponent**

> **吴起** · 尉缭子三次引述吴起事迹:与士卒同甘苦、不为个人勇武所动、军纪先于战功

README.md

# 尉缭子分析法 · Wei Liaozi Analysis Framework

<p align="center">
  <img src="https://img.shields.io/badge/version-2.2.1-blue" alt="Version">
  <img src="https://img.shields.io/badge/license-MIT-green" alt="License">
  <img src="https://img.shields.io/github/last-commit/phoenixlucky/weiliaozi-skill" alt="Last Commit">
  <img src="https://img.shields.io/github/repo-size/phoenixlucky/weiliaozi-skill" alt="Repo Size">
</p>

<p align="center">
  <b>融汇黄帝、太公望、孙武、吴起、齐桓公五位先贤思想的五栏结构化分析框架</b><br>
  <i>Essence → Conditions → Gains-Losses → Sequence → Opponent</i>
</p>

---

## 能解决什么问题

很多决策问题,错不在信息太少,而在**顺序错了**:

| 常见错误 | 五栏框架如何拦住 |
|----------|------------------|
| ❌ 还没看清本质,就急着下结论 | **本质栏**:先拆底层结构 |
| ❌ 还没检查条件,就开始谈方案 | **条件栏**:先查可行性基础 |
| ❌ 还没算清得失,就先投入资源 | **得失栏**:先算值不值得 |
| ❌ 还没排好先后,就想一步到位 | **先后栏**:先定节奏路径 |
| ❌ 还没模拟对手,就假设对方不会动 | **对手栏**:先推演博弈反应 |

> **这套方法的核心不是"多想",而是"按顺序想"。** 顺序就是方法本身。

适用场景:商业决策、战略定位、竞争分析、谈判准备、组织治理、项目取舍、政策研判、历史分析——任何"值不值得做、能不能做、先做什么"的问题。

![尉缭子分析法项目介绍图,展示五栏分析框架及适用场景](weiliaozi.png)

---

## 思想渊源

《尉缭子》是先秦兵家思想的集大成之作,融汇了五位先贤的核心洞见,将它们提炼为一套可操作的理性分析框架。

> **黄帝** · 尉缭子借黄帝之口说"先稽我智"(先审视自己的智慧),将战略从占卜迷信转向人间事理——理性分析之始。→ 本质栏

> **太公望(姜太公)** · 提出"官分文武,惟王之二术也",文武兼治是统御框架之基;"不战而服"是最高胜战理念。→ 条件栏 + 对手栏

> **孙武(孙子)** · "胜兵似水"、"奇正相生"、"知己知彼"——尉缭子继承其核心概念,但更强调制度与组织而非战术奇巧。→ 得失栏 + 先后栏 + 对手栏

> **吴起** · 尉缭子三次引述吴起事迹:与士卒同甘苦、不为个人勇武所动、军纪先于战功——治军与自律之极则。→ 条件栏 + 先后栏

> **齐桓公(管仲改革)** · "王国富民,伯国富士,谨存之国富大夫,亡国富食府"——分层治理逻辑为系统分析提供结构视角。→ 得失栏(系统分析)

这五位先贤的思想不是装饰,而是每一栏分析背后的判断依据。运用本框架时,你有意或无意地站在他们的肩膀上。

### 与现代分析框架的对应

为方便理解,每个古人视角都可以映射到一个现代分析工具:

| 五栏 | 先贤渊源 | 现代对应 |
|------|----------|----------|
| **本质** | 黄帝「先稽我智」——祛魅,回归人事 | 第一性原理、根因分析 |
| **条件** | 太公望文武兼治 + 吴起纪律三问 | SWOT 中的资源与约束、组织能力评估 |
| **得失** | 孙武知己知彼 + 齐桓公分层次得 | 成本收益分析、利益相关者分析 |
| **先后** | 孙武胜兵似水 + 吴起先令后战 | 项目管理的优先级与路径设计、瓶颈分析 |
| **对手** | 孙武诡道 + 太公望不战而服 | 博弈论、竞争情报、情景推演 |

> 这个对应只是帮助理解,不是替代原方法。尉缭子框架的历史价值在于:**它把散落在不同学科中的分析工具,按一个固定的认知顺序串了起来**——先看本质才不会跑偏,再查条件才能务实,算清得失再动手,排好顺序再行动,最后才考虑对手的反应。顺序本身就是方法。

## What It Does

`尉缭子分析法 Skill` 是一个用于结构化分析和情景推演的 Agent Skill,采用五栏框架:本质 → 条件 → 得失 → 先后 → 对手。

It helps turn complex questions into structured analysis across:

- Business strategy and competitive positioning
- Organizational and policy analysis
- Economic trade-off assessment
- Historical and strategic scenario reasoning

它把问题拆成五个固定视角:

- 本质
- 条件
- 得失
- 先后
- 对手

核心原则只有一句:

> 先看结构,再看约束,再算利弊,最后定顺序与应对逻辑。

English:

> See the structure first, then constraints, then gains and losses, then sequence and response logic.

## Language Behavior

- The skill answers in the same language as the user's question.
- If the user asks in Chinese, it answers in Chinese.
- If the user asks in English, it answers in English.
- If the user mixes languages, it follows the dominant language of the request.

## 历史分析视角

除了一般分析模式,这个 Skill 还带有一层历史分析视角。

**触发方式(用户引导):** 当用户明确问及战国末期至汉建立前的魏国、秦国、楚汉相关问题时,可以切换到历史分析视角:

- 回答可以 `臣缭以为` 开头,以历史分析者口吻展开
- 必须保留五栏分析骨架,不能只剩风格

_meta.json

{
  "ownerId": "kn7dpzpqn086by5pfg5sbf64zx80zr6m",
  "slug": "weiliaozi-skill",
  "version": "2.2.1",
  "publishedAt": 1790230456593
}

references/examples.md

# Examples

## Example 1: whether to enter a new market

Question:
- “我们要不要在今年进入日本市场?”

Good structure:
- 本质: 这不是单纯扩张问题,而是增长瓶颈下的市场复制能力问题。
- 条件: 本地化团队、渠道、合规和售后体系都还不完整。
- 得失: 潜在收入存在,但前期试错成本高,短期回报未必覆盖投入。
- 先后: 先验证单一细分市场,再决定是否扩大投入。
- 对手: 本地成熟玩家可能通过降价、渠道绑定和服务优势压制新进入者。

Why it works:
- 先看结构,不被“海外增量”表象带偏
- 条件和得失先筛掉冲动扩张
- 最终给出分阶段进入路径

## Example 2: product priority with limited resources

Question:
- “团队资源有限,只能做一个方向:新功能、转化率、海外渠道,先做哪个?”

Good structure:
- 本质: 问题不是选方向,而是当前最大瓶颈在哪个环节。
- 条件: 研发能力够做新功能,但运营和销售承接海外渠道不足。
- 得失: 转化率优化回报更快、更可控;新功能收益滞后;海外渠道风险最高。
- 先后: 先提转化率,再补核心功能,最后考虑外拓。
- 对手: 竞争对手短期内更难复制你内部效率优化,但容易跟进功能和渠道动作。

Why it works:
- 先抓瓶颈
- 先做生存与效率问题
- 把“想做什么”改成“现在该做什么”

## Example 3: whether to self-build an AI agent platform

Question:
- “是否要自研 AI Agent 平台?”

Good structure:
- 本质: 这不是技术偏好问题,而是控制力、复用率和长期成本的问题。
- 条件: 团队是否具备模型接入、工作流编排、监控和权限体系能力。
- 得失: 自研可提高控制力,但前期投入大,维护成本长期存在。
- 先后: 先用第三方工具验证需求,再自研高频核心模块。
- 对手: 外部平台会继续降价和增强能力,你的自研窗口期可能被压缩。

Why it works:
- 避免一上来陷入“能不能做”
- 先判断是否值得长期持有这项能力
- 用分阶段路径降低错误成本

## Example 4: negotiation preparation

Question:
- “如果我们先降价抢单,对方会怎么反应?”

Good structure:
- 本质: 这不是单笔订单问题,而是价格体系和客户预期的博弈。
- 条件: 你的毛利空间是否支持连续让价。
- 得失: 抢单可能有效,但会破坏后续报价权。
- 先后: 先明确底价和让价边界,再决定是否出手。
- 对手: 对方可能压价到底、拿你的报价去谈别人,或者暂缓决策逼你继续降。

Why it works:
- 不把“降价”当成单向动作
- 明确了对手的反应链
- 让决策建立在承受能力上

## Example 5: avoid these patterns

Bad:
- “这个方向感觉挺好,可以试试。”
- “我建议三条线同时推进,效率更高。”
- “问题不大,先做再看。”
- “竞争对手应该不会这么快反应。”

Problems:
- 没有定义本质
- 跳过条件和硬约束
- 没算成本与最坏情况
- 没有顺序意识
- 把对手当静态背景

## Example 6 (English): competitive strategy evaluation

Question:
- "Should we undercut our competitor's pricing in the enterprise segment?"

Good structure:
- **Essence**: This is not a pricing tactic — it's a question of whether you can sustain a margin war without destroying your own price anchor.
- **Conditions**: Current gross margin is ~60%; competitor likely operates at ~40%. Your cash reserves support 6–8 months of price pressure. Sales team is not yet structured for high-volume, low-touch deals.
- **Gains-Losses**: Short-term share gain is possible, but the risk is permanent price-level erosion. If competitor matches, both sides lose margin with no share shift.
- **Sequence**: (1) Test selective discounting on 2–3 accounts first; (2) measure competitor response latency; (3) decide whether to scale or withdraw within 90 days.
- **Opponent**: Competitor's most likely responses: (a) match price on key accounts only, preserving overall price level; (b) shift competition to service and bundling rather than price.

Why it works:
- Reframes "pricing" as "margin war sustainability"
- Separates capability from intent
- Sequences action into a test-before-scale path
- Maps competitor response tree explicitly

## Example 7: historical analysis mode (模式 B)

Question:
- "秦为什么二世而亡?"

Good structure (historical mode, opens with 臣缭以为):

臣缭以为,秦二世而亡,非天命,乃结构自毁。试以五栏析之:

- **本质 | Essence**:秦之亡不在外敌,在内部系

references/tone-guide.md

# 尉缭子分析法 Output Guide

## Purpose

Use this file as a quick reference when the skill needs to keep the analysis concise, structured, and strategic.

The output should feel:
- 清楚
- 克制
- 有判断
- 有顺序
- 有博弈意识

## Core anchors

Aim for these qualities in most answers:

- 先拆结构,再给判断
- 先看约束,再谈方案
- 先算代价,再谈收益
- 先排顺序,再讲执行
- 先想对手,再决定动作

## Recommended phrasing

These sentence patterns fit the method well.

### 本质

- "表面看是 A,实质上是 B。"
- "真正驱动结果的不是情绪判断,而是资源与组织结构。"
- "这个问题的核心变量只有两三个,不必被枝节带偏。"

### 条件

- "当前不是不能做,而是缺少启动该动作的关键条件。"
- "最大的限制不在意愿,而在时间和组织承载能力。"
- "这件事能否成立,取决于能不能补齐这个短板。"

### 得失

- "收益存在,但兑现周期较长。"
- "显性成本可见,隐性成本更值得警惕。"
- "最坏情况如果不能承受,这个动作就不应贸然推进。"

### 先后

- "当前应先解瓶颈,再做扩张。"
- "正确路径不是一步到位,而是分阶段验证。"
- "先做低成本验证,再决定是否重投入。"

### 对手

- "对方不会静止接受你的动作。"
- "你一旦出手,对方最可能沿这两条路径反应。"
- "如果对方的最优应对会削弱你的收益,就要提前布防。"

## Compression rules

Keep the answer selective:

- each section should contain 3 to 5 points
- do not list every possible factor
- highlight hard constraints and decisive variables first
- end with one clear judgment sentence

## What to avoid

Avoid these common failures:

- 先给建议,后补分析
- 把表象当本质
- 把愿望当条件
- 只讲收益,不讲代价
- 没有顺序,动作堆砌
- 默认对手不反应

## Rewrite direction

When a draft is too loose, strengthen it with these adjustments:

- 把泛泛而谈改成“核心变量”
- 把乐观判断改成“条件成立时才成立”
- 把很多动作压缩成三步以内路径
- 把单边计划补成双边博弈

## Bad vs better

Bad:
- "我觉得可以做,机会不错。"
- "先一起推进看看,边做边调。"
- "竞争对手大概率不会跟。"

Better:
- "机会存在,但前提条件尚未补齐,当前直接推进胜率不高。"
- "先做低成本验证,再决定是否进入重投入阶段。"
- "你一旦出手,对手最可能通过降价或拖延削弱你的收益。"

Sponsored

Ads related to Weiliaozi Skill and adjacent AI workflows.