庙算 miaosuan —— 开源的每日战略评测工具,专为人工智能代理提供。武经七书作为首个教义包。
概览
夫未战而庙算胜者,得算多也。——《孙子兵法·计篇》 “战胜将军在庙中进行许多计算。” 这是另一套《孙子兵法》提示包。它是一个可运行的辅助工具——每日循环,阅读实际发生了什么,通过可插拔的战略学说进行解读,将所有洞察力强制投入行动,并将你停滞的决策压缩成30秒的决策卡。《武经七书》作为其首个教义包。 这**又一个兵法 prompt 包。它是一套真的在运转的 harness:每天读取真实发生的事 → 用可插拔的 doctrine 逐条解读 → 强制每条解读落到行动 → 把拖着的决策压成一张 30 秒拍板卡。武经七书是它出厂自带的第一套 doctrine。 当决策停滞超过3天时,安全带会停止分析,给你一个字回答: (示例完全虚构。注意它的作用:诚实的分诊——它告诉你今天不应强迫这个决定,并要求你说出真正需要的那个词。) 问任何一个法学硕士“用孙子法分析我的公司”,你就会得到一篇论文。论文不能管理公司。
概述(AI 翻译)
夫未战而庙算胜者,得算多也。——《孙子兵法·计篇》
“战胜将军在战斗前在神庙中进行许多计算。”
为AI代理提供的开源每日战略评审工具。 一个每天逼你拍板的开源战略复盘 harness。
这不是另一个《孙子兵法》提示包。它是一个运作中的引导——每日循环,阅读实际发生了什么,通过可插拔的战略教义进行解读,将所有洞察力强行融入行动,并将你停滞的决策压缩成30秒的决策卡。武经七书作为其首个战术包。
这不是又一个兵法 prompt 包。它是一套真的在运转的 harness:每天读取真实发生的事 → 用可插拔的 doctrine 逐条解读 → 强制每条解读落到行动 → 把拖着的决策压成一张 30 秒拍板卡。武经七书是它出厂自带的第一套 doctrine。
看起来什么样 / 长什么样
当决策停滞超过3天时,安全带会停止分析,给你一个字回答:
(示例完全虚构。注意它的作用:诚实的分诊——它告诉你今天不应强迫这个决定,并要求你说出真正需要的那个词。)
为什么是背带,而不是提示 / 为什么是 harness 不是提示
问任何一个法学硕士“用孙子法分析我的公司”,你就会得到一篇论文。论文不能管理公司。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
庙算 Miaosuan
夫未战而庙算胜者,得算多也。——《孙子兵法·计篇》
“The general who wins the battle makes many calculations in his temple before the battle is fought.”
An open-source daily strategy-review harness for AI agents. 一个每天逼你拍板的开源战略复盘 harness。
This is not another Art-of-War prompt pack. It is a working harness — a daily loop that reads what actually happened, interprets it through a pluggable strategic doctrine, forces every insight into an action, and compresses your stalled decisions into a 30-second decision card. The Seven Military Classics (武经七书) ship as its first doctrine pack.
这不是又一个兵法 prompt 包。它是一套真的在运转的 harness:每天读取真实发生的事 → 用可插拔的 doctrine 逐条解读 → 强制每条解读落到行动 → 把拖着的决策压成一张 30 秒拍板卡。武经七书是它出厂自带的第一套 doctrine。
What it looks like / 长什么样
When a decision stalls past 3 days, the harness stops analyzing and hands you this — answerable in one word:
(Example fully fictional. Note what it does: honest triage — it tells you this decision should NOT be forced today, and asks for the one word that actually is needed.)
Why a harness, not a prompt / 为什么是 harness 不是 prompt
Ask any LLM “analyze my company with Sun Tzu” and you get an essay. Essays don’t run companies. What compounds is a loop:
flowchart LR
A["1 · GATHERwindow activity"] --> B["2 · INTERPRETdoctrine lenses"]
B --> C["3 · FORCE每条解读必落所以应该 action"]
C --> D["4 · UPDATEfive rollingstrategy files"]
D --> E["5 · ESCALATEstalled decisions →30-second digest"]
E -->|"human repliesin one word"| A
随口问模型"用孙子兵法分析我的公司",你得到一篇作文。作文管不了公司。能复利的是上面这个循环——解读被强制落成行动,行动沉淀进滚动的战略文件,拖住的决策被压成 30 秒拍板卡,人的一个字又喂回下一轮。
What’s in the box / 包里有什么
| Path | What it is |
|---|---|
SKILL.md |
The daily strategy-review skill (Claude Code / OpenClaw compatible) |
templates/strategy/ |
The five rolling strategy files: 态势 · 主攻 · 未决 · 红线 · 变更记录 |
templates/digest.md |
The “N decisions · 30 seconds” decision card format |
doctrines/wujing/ |
★ Flagship pack: Seven Military Classics distilled into 35 operational lenses |
books/ |
The source layer: full per-chapter study notes of all seven classics (114 files) |
doctrines/ |
Plugin spec — write your own pack (Stoic? Munger? Boyd?) |
examples/ |
A full fictional worked example: daily review + decision digest |
docs/ |
Setup guides |
Quickstart (≤5 min)
Fastest path — let your agent install it. Clone the repo, open your coding agent in your workspace, and paste:
I cloned https://github.com/AI-Nate/miaosuan to ./miaosuan.
Install it: copy SKILL.md + doctrines/ + templates/ into this workspace's
skills location (.claude/skills/miaosuan/ for Claude Code), bootstrap
strategy/ from templates/strategy/, then walk me through filling in my
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add ai-nate/miaosuan