Initialize Claude Project History Session
cph_session_initLoads the current session context with active tasks, blockers, and decisions to orient you at the start of a Claude Code session.
Instructions
CALL THIS FIRST at the start of every Claude Code session.
Returns the minimum context needed to orient yourself: active tasks, open blockers, and decisions relevant to the files you're currently working on.
This is the ONLY tool you need to call proactively. Everything else is on-demand.
Args:
workflow_id: The workflow for this project (from CLAUDE.md)
cwd: Current working directory (pass process.cwd() equivalent)
depth: How much context to load minimal = active tasks + open blockers only (~300 tokens) standard = + relevant decisions (~600 tokens, DEFAULT) deep = + teammate activity + patterns (~1200 tokens)
Returns: SessionContext with workflow state, active work, open blockers, relevant decisions, and a hint.
After calling this, DO NOT call workflow_summary, task_list, or decision_list unless the user explicitly asks. Pull individual records on demand with their ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Workflow ID from CLAUDE.md | |
| cwd | No | Current working directory for git context | |
| depth | No | standard |