bm-orient
FreeNo executable scriptsNot checkedOrient Claude from Basic Memory before substantial repo work by reading active tasks, open decisions, recent checkpoints, and repo conventions. Use when…
by basicmachines-co★ 4,799 GitHub starsAbout this skill
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
Always query
"type": "session"; include"type": "coding_session"for a coding profile only with the configuredrepositorymetadata filter. Never run an unscoped coding-session query; if the repository is missing, report that setup is incomplete. Merge and deduplicate the results, sort them newest first, and prefer the highest-signal checkpoint regardless of which producer wrote it.coding_sessioncarries schema-required, queryable Git context;sessioncovers general checkpoints and PreCompact captures. Do not query lifecycle trace:bm hook flusharchives it locally rather than promoting it into the graph.- active tasks:
Query configured
secondaryProjectsread-only for open decisions. Do not write to shared projects during orientation.Read the highest-signal hits before summarizing. Prefer notes that match the current repository, branch, Git SHA, pull request, named route, issue, or file path. For coding sessions, use structured metadata filters before text search.
Present a compact orientation:
- active work
- decisions that constrain the next move
- recent checkpoint cursor
- likely next action
- any missing setup or ambiguous project mapping
Keep the summary evidence-backed. Include permalinks for notes you rely on.
Install bm-orient in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the bm-orient skill do?
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.
How do I install the bm-orient skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the bm-orient skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic