← Back to Skills Marketplace
phoenixlucky

尉缭子分析法 | Wei Liaozi Strategic Analysis

by Ethan Wilkins · GitHub ↗ · v1.5.2 · MIT-0
cross-platform ✓ Security Clean
218
Downloads
0
Stars
1
Active Installs
11
Versions
Install in OpenClaw
/install weiliaozi-skill
Description
尉缭子战略分析法。使用时机:(1) 用户需要结构化战略分析 (2) 想避免冲动决策 (3) 问"值不值得做/先做什么/对手会怎么反应" (4) 商业判断、竞争分析、谈判准备、项目取舍。框架:本质 → 条件 → 得失 → 先后 → 对手,按顺序想,不跳步。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install weiliaozi-skill
  3. After installation, invoke the skill by name or use /weiliaozi-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug weiliaozi-skill
Version 1.5.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 11
Frequently Asked Questions

What is 尉缭子分析法 | Wei Liaozi Strategic Analysis?

尉缭子战略分析法。使用时机:(1) 用户需要结构化战略分析 (2) 想避免冲动决策 (3) 问"值不值得做/先做什么/对手会怎么反应" (4) 商业判断、竞争分析、谈判准备、项目取舍。框架:本质 → 条件 → 得失 → 先后 → 对手,按顺序想,不跳步。 It is an AI Agent Skill for Claude Code / OpenClaw, with 218 downloads so far.

How do I install 尉缭子分析法 | Wei Liaozi Strategic Analysis?

Run "/install weiliaozi-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 尉缭子分析法 | Wei Liaozi Strategic Analysis free?

Yes, 尉缭子分析法 | Wei Liaozi Strategic Analysis is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 尉缭子分析法 | Wei Liaozi Strategic Analysis support?

尉缭子分析法 | Wei Liaozi Strategic Analysis is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 尉缭子分析法 | Wei Liaozi Strategic Analysis?

It is built and maintained by Ethan Wilkins (@phoenixlucky); the current version is v1.5.2.

💬 Comments