Skills

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
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

  1. Resolve config: read the basicMemory block with the same precedence the hooks use. For the user-level base, append settings.json to the literal value of CLAUDE_CONFIG_DIR when that environment variable is present; do not trim it, expand ~, or treat an empty value as unset. Use ~/.claude/settings.json only when the variable is absent. Then the project's .claude/settings.json and .claude/settings.local.json override it per key. Use primaryProject, secondaryProjects, recallTimeframe, sessionProfile, repository, and placementConventions. If no config is present, continue against the default Basic Memory project and mention that setup has not been run. Scope queries to primaryProject by passing it as project, including when it is an external_id UUID.

  2. 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"}, with since=<recallTimeframe>
    • recent coding sessions: filters={"type": "coding_session", "repository": "<configured repository>"}, with since=<recallTimeframe>, when sessionProfile is coding
Read the whole SKILL.md on GitHub

More in AI and agents