← 返回 Skills 市场
尉缭子分析法 | Wei Liaozi Strategic Analysis
作者
Ethan Wilkins
· GitHub ↗
· v1.5.2
· MIT-0
218
总下载
0
收藏
1
当前安装
11
版本数
在 OpenClaw 中安装
/install weiliaozi-skill
功能描述
尉缭子战略分析法。使用时机:(1) 用户需要结构化战略分析 (2) 想避免冲动决策 (3) 问"值不值得做/先做什么/对手会怎么反应" (4) 商业判断、竞争分析、谈判准备、项目取舍。框架:本质 → 条件 → 得失 → 先后 → 对手,按顺序想,不跳步。
安全使用建议
This skill appears coherent and safe: it only builds a structured system prompt + local SKILL.md and uses local regex routing to optionally force a historical persona for specific Qin/Chu‑Han queries. Before installing or enabling broadly: (1) if you rely on the historical persona, test sample prompts to ensure the router matches exactly the cases you expect (regexes can overtrigger for short keywords); (2) confirm your host enforces its own safety/policy checks because the skill injects a large system prompt and enforces a required opening phrase for historical mode; and (3) avoid using the skill to generate operational or potentially harmful instructions — the SKILL.md itself warns it is for analysis only. No credentials or network accesses are requested, so there is no obvious exfiltration risk from the packaged files.
功能分析
Type: OpenClaw Skill
Name: weiliaozi-skill
Version: 1.5.2
The skill bundle provides a structured strategic analysis framework based on the ancient Chinese text 'Wei Liaozi'. The included Node.js logic (src/router.js and src/prompts.js) is used to programmatically route user queries to either a modern analytical mode or a historical persona mode based on keyword matching. The SKILL.md instructions are well-defined and include explicit safety cautions advising the agent that the framework is for analysis only and must not be used to generate guidance for illegal, corrupt, or harmful conduct. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description (Wei Liaozi strategic analysis) match the implemented artifacts: SKILL.md defines a five‑lens analysis and the code provides routing and prompt construction to implement that. There are no unrelated env vars, binaries, or config paths requested.
Instruction Scope
SKILL.md and the built instruction overlay explicitly require a historical first‑person persona for certain late Warring States / Qin/Chu‑Han prompts (must begin with “臣缭以为”). The router and prompt builder concatenate the overlay and full SKILL.md into the system message (expected behavior). Minor caution: the router uses regexes that may overmatch (e.g., short tokens like 'wei', 'han', or common English words) and so can accidentally route some prompts into historical_persona mode; test inputs if precise behavior matters.
Install Mechanism
No install spec is declared (instruction-only from the platform perspective). The package contains Node source and local file reads (fs.readFileSync of SKILL.md), but there is no remote download, no extraction, and no automatic installation of external artifacts.
Credentials
No environment variables, credentials, or config paths are required. The skill does not request secrets or access to unrelated services.
Persistence & Privilege
always is false and the skill does not modify other skills or system settings. The code reads local files only and returns prompt/material for model invocation; it does not persist credentials or change host configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install weiliaozi-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/weiliaozi-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.5.2
Removed the old compatibility field name from README examples to avoid ClawHub static-scan false positives. Kept instructions as the documented host-facing field for ClawHub routing integration. Added direct historical route matches and tests for short prompts such as 秦灭亡, 楚汉相争, and 张良韩信与尉缭关系. Bumped the project version to 1.5.2.
v1.5.1
Follow user language in historical mode, rename prompt overlay to instruction layer, and document trusted local instruction generation.
v1.5.0
Add Node-based routing layer, ClawHub request preparation, and historical persona route controls.
v1.4.2
v1.4.2: publish latest local version
v1.4.1
v1.4.1: publish latest local version
v1.3.0
v1.3.0: publish latest local version
v1.1.2
v1.1.2: ClawHub marketplace description update
v1.1.1
v1.1.1: ClawHub description update — full English description for marketplace listing
v1.1.0
v1.1.0: 补全 package.json keywords;SKILL.md 新增 version/language 双语标记;references/ 完善;README.md 更新推送流程
v1.0.1
- Added full bilingual (Chinese-English) documentation for all analysis steps, clarifying framework and prompts.
- Expanded explanations and section prompts to aid both Chinese and English users.
- Updated usage notes, workflow, output format, and example links to support bilingual output.
- Revised skill description to be concise and bilingual.
- No code changes—documentation only.
v1.0.0
weiliaozi-skill v1.0.0
- Initial release of 尉缭子战略分析法 Skill.
- Provides a structured five-step framework for strategic analysis: 本质, 条件, 得失, 先后, 对手。
- Guides users through clear work steps, from problem definition to simulating competitor reactions.
- Offers output formatting instructions and quick judgment options.
- Includes detailed style guidelines and common pitfalls to avoid.
元数据
常见问题
尉缭子分析法 | Wei Liaozi Strategic Analysis 是什么?
尉缭子战略分析法。使用时机:(1) 用户需要结构化战略分析 (2) 想避免冲动决策 (3) 问"值不值得做/先做什么/对手会怎么反应" (4) 商业判断、竞争分析、谈判准备、项目取舍。框架:本质 → 条件 → 得失 → 先后 → 对手,按顺序想,不跳步。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 218 次。
如何安装 尉缭子分析法 | Wei Liaozi Strategic Analysis?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install weiliaozi-skill」即可一键安装,无需额外配置。
尉缭子分析法 | Wei Liaozi Strategic Analysis 是免费的吗?
是的,尉缭子分析法 | Wei Liaozi Strategic Analysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
尉缭子分析法 | Wei Liaozi Strategic Analysis 支持哪些平台?
尉缭子分析法 | Wei Liaozi Strategic Analysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 尉缭子分析法 | Wei Liaozi Strategic Analysis?
由 Ethan Wilkins(@phoenixlucky)开发并维护,当前版本 v1.5.2。
推荐 Skills