go
Installation
SKILL.md
Go
Use this skill for a non-exact location only. First decide whether the current working directory already fits the user's request. Stay there when it does.
When another location is needed:
- Set
LOCATIONto the user's named location. Runbm get LOCATION. - Use the result when
bm get LOCATIONreturns exactly one path. - Otherwise run
bm list --porcelain. Each record isbookmark<TAB>path; the separator is a literal tab. Parse bookmark and path as separate fields so paths containing spaces remain intact. - Rank fallback matches in this order:
- exact bookmark name;
- exact path basename;
LOCATIONas a path component;- a contextually related bookmark name.