Bm Orient
Orient Claude from Basic Memory before substantial repo work by reading active tasks...
Install
npx skills add basicmachines-co/basic-memory --skill bm-orient -g -a claude-code -y- Repository
- basicmachines-co/basic-memory4.4k
- Category
- AI and agents
- Updated
- 3d ago
- License
- AGPL-3.0
- Context cost
- Lightabout 715 tokens
- Runs scripts
- No, instructions only
What it does
Orient Claude from Basic Memory before substantial repo work by reading active tasks, open decisions, recent checkpoints, and repo conventions. Use when resuming old work or when the user asks where things stand.
Orient From Basic Memory
Use this before substantial work in a repo, before resuming an old thread, or when the user asks where things stand. The SessionStart hook already briefs the start of a session; this is the deliberate mid-session version with deeper reads.
Steps
-
Resolve config: read the
basicMemoryblock with the same precedence the hooks use. For the user-level base, appendsettings.jsonto the literal value ofCLAUDE_CONFIG_DIRwhen that environment variable is present; do not trim it, expand~, or treat an empty value as unset. Use~/.claude/settings.jsononly when the variable is absent. Then the project's.claude/settings.jsonand.claude/settings.local.jsonoverride it per key. UseprimaryProject,secondaryProjects,recallTimeframe,sessionProfile,repository, andplacementConventions. If no config is present, continue against the default Basic Memory project and mention that setup has not been run. Scope queries toprimaryProjectby passing it asproject, including when it is anexternal_idUUID. -
Query the primary project with
bm_search:- active tasks:
filters={"type": "task", "status": "active"} - open decisions:
filters={"type": "decision", "status": "open"} - recent sessions:
filters={"type": "session"}, withsince=<recallTimeframe> - recent coding sessions:
filters={"type": "coding_session", "repository": "<configured repository>"}, withsince=<recallTimeframe>, whensessionProfileiscoding
- active tasks:

