ost
OST
Run a full Opportunity Solution Tree workflow from a single skill, backed by a lightweight graph database and CLI.
Entry Flow (Minimize File Loading)
Goal: Start a session, pick a workspace, and select or create an outcome.
- Ensure DB exists
- If
.agr/ost.dbis missing, initialize it:uv 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
Data Model + Storage
Use a lightweight graph DB at .agr/ost.db with multi-workspace support.
The CLI manages nodes and edges; do not edit DB files manually.
CLI
Use the CLI to read/write the OST graph. The CLI is expected to live in this skill’s scripts/ directory and be run via uv run.
Commands (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.
Output Format
## OST Session
### Selected Workspace
- Name: ...
### Selected Outcome
- ID: ...
- Title: ...
### Next Action
- [What the user wants to do next]
### Next Step
- Load the relevant phase reference file
What NOT to Do
- Do NOT edit
.agr/ost.dbdirectly. - Do NOT invent node IDs.
- Do NOT run destructive commands without explicit user intent.
More from kasperjunge/agent-resources
code-review
Use when reviewing code changes before committing, after implementing features, or when asked to review. Triggers on staged changes, PR reviews, or explicit review requests.
15brainstorm-solutions
Generate multiple viable solution options after research is complete, before converging on a single approach. Use when you need to explore the solution space, ask clarifying questions, and produce 3-5 distinct options to consider.
15commit-work
Use when work is complete and ready to commit. Triggers after code review passes, when asked to "commit", "save this", or "wrap up". Runs quality checks, updates changelog, creates commit.
14design-solution
Converge on a single recommended solution after brainstorming options. Use when you have multiple candidate approaches and need to analyze trade-offs, select one, and define decision criteria before planning.
14refactor-for-determinism
Design or refactor skills by separating deterministic and non-deterministic steps. Use when creating or improving skills, especially to move repeatable workflows into scripts/ and update SKILL.md to call them.
14enhance-docs
Use when documentation needs to be updated, clarified, or reorganized to better serve users' jobs-to-be-done with low cognitive load and high signal.
13