
ai-nate/miaosuan
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
庙算 miaosuan — open-source daily strategy-review harness for AI agents. The Seven Military Classics (武经七书) ship as the first doctrine pack.
概要
夫未战而庙算胜者,得算多也。——《孙子兵法·计篇》 "The general who wins the battle makes many calculations in his temple before the battle is fought." This is 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。 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.) Ask any LLM "analyze my company with Sun Tzu" and you get an essay. Essays don't run companies.
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