Files
claude-foundations/memory/script-start-claude.md
Paul O'Reilly c3a151a87b Backfill memory files for all existing scripts and skills
Creates MEMORY.md index and 10 memory files documenting:
- Scripts: context-load, start-claude, install-hooks, setup-formatters, git-status-report
- Skills: /log, /reflect-logs, /reflect, /distill-best-practices, /linter

Each file covers purpose, usage, how it works, and gotchas.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 12:10:47 +13:00

729 B

script: start-claude

Location: scripts/start-claude Symlinked to: ~/sbin/start-claude

Purpose

Wrapper that runs context-load and passes the result to the claude CLI via --append-system-prompt. This is the standard way to launch a Claude Code session with full project context.

Usage

start-claude [claude args...]

All arguments are forwarded to claude. If context-load produces no output, claude is launched without the extra system prompt.

How it works

  1. Locates context-load in the same directory as itself
  2. Runs it and captures stdout
  3. If non-empty, passes it as --append-system-prompt to claude
  4. Uses exec so the wrapper doesn't linger as a parent process