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>
24 lines
729 B
Markdown
24 lines
729 B
Markdown
# 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
|
|
|
|
```bash
|
|
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
|