ost
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOST
OST
Run a full Opportunity Solution Tree workflow from a single skill, backed by a lightweight graph database and CLI.
通过单一技能运行完整的Opportunity Solution Tree(OST)工作流,后台基于轻量级图数据库和CLI。
Entry Flow (Minimize File Loading)
入口流程(最小化文件加载)
Goal: Start a session, pick a workspace, and select or create an outcome.
- Ensure DB exists
- If is missing, initialize it:
.agr/ost.dbuv run python scripts/ost.py init --path .agr/ost.db
- Select workspace
- List workspaces:
uv run python scripts/ost.py workspace list
- If needed, create one:
uv run python scripts/ost.py workspace create \"<name>\"
- Select outcome
- List outcomes:
uv run python scripts/ost.py outcome list --workspace <name>
- If needed, create one:
uv run python scripts/ost.py outcome add --workspace <name> \"<title>\"
- Route to phase (load only the relevant file)
- Outcomes:
references/outcomes.md - Opportunities:
references/opportunities.md - Solutions:
references/solutions.md - Assumptions/Experiments:
references/assumptions.md
目标:启动会话,选择工作区,然后选择或创建一个成果。
- 确保数据库存在
- 如果不存在,初始化它:
.agr/ost.dbuv run python scripts/ost.py init --path .agr/ost.db
- 选择工作区
- 列出工作区:
uv run python scripts/ost.py workspace list
- 如有需要,创建工作区:
uv run python scripts/ost.py workspace create "<name>"
- 选择成果
- 列出成果:
uv run python scripts/ost.py outcome list --workspace <name>
- 如有需要,创建成果:
uv run python scripts/ost.py outcome add --workspace <name> "<title>"
- 跳转至对应阶段(仅加载相关文件)
- 成果:
references/outcomes.md - 机会:
references/opportunities.md - 解决方案:
references/solutions.md - 假设/实验:
references/assumptions.md
Data Model + Storage
数据模型与存储
Use a lightweight graph DB at with multi-workspace support.
The CLI manages nodes and edges; do not edit DB files manually.
.agr/ost.db使用位于的轻量级图数据库,支持多工作区。
由CLI管理节点和边;请勿手动编辑数据库文件。
.agr/ost.dbCLI
CLI
Use the CLI to read/write the OST graph. The CLI is expected to live in this skill’s directory and be run via .
scripts/uv runCommands (intended):
uv run python scripts/ost.py init --path .agr/ost.dbuv run python scripts/ost.py workspace listuv run python scripts/ost.py workspace create "<name>"uv run python scripts/ost.py outcome list --workspace <name>uv run python scripts/ost.py outcome add --workspace <name> "<title>"uv run python scripts/ost.py opportunity add --outcome <id> "<title>"uv run python scripts/ost.py solution add --opportunity <id> "<title>"uv run python scripts/ost.py assumption add --solution <id> "<title>"uv run python scripts/ost.py show --outcome <id>
If the CLI is not yet implemented, document the intended command and proceed with non-destructive guidance only.
使用CLI来读写OST图数据。CLI应位于该技能的目录下,通过运行。
scripts/uv run预期命令:
uv run python scripts/ost.py init --path .agr/ost.dbuv run python scripts/ost.py workspace listuv run python scripts/ost.py workspace create "<name>"uv run python scripts/ost.py outcome list --workspace <name>uv run python scripts/ost.py outcome add --workspace <name> "<title>"uv run python scripts/ost.py opportunity add --outcome <id> "<title>"uv run python scripts/ost.py solution add --opportunity <id> "<title>"uv run python scripts/ost.py assumption add --solution <id> "<title>"uv run python scripts/ost.py show --outcome <id>
如果CLI尚未实现,请记录预期命令并仅提供非破坏性指导。
Output Format
输出格式
undefinedundefinedOST Session
OST Session
Selected Workspace
Selected Workspace
- Name: ...
- Name: ...
Selected Outcome
Selected Outcome
- ID: ...
- Title: ...
- ID: ...
- Title: ...
Next Action
Next Action
- [What the user wants to do next]
- [What the user wants to do next]
Next Step
Next Step
- Load the relevant phase reference file
undefined- Load the relevant phase reference file
undefinedWhat NOT to Do
禁止操作
- Do NOT edit directly.
.agr/ost.db - Do NOT invent node IDs.
- Do NOT run destructive commands without explicit user intent.
- 请勿直接编辑。
.agr/ost.db - 请勿自行生成节点ID。
- 未经用户明确许可,请勿运行破坏性命令。