pub const TUTORIAL_WORKFLOWS: &str = r#"
## Integration Workflows
Subcog integrates with Claude Code through hooks:
### Available Hooks
1. **SessionStart**: Injects relevant context
2. **UserPromptSubmit**: Detects capture signals
3. **PostToolUse**: Surfaces related memories
4. **PreCompact**: Auto-captures before compaction
5. **Stop**: Session summary and sync
### Configuration
Add to `~/.claude/settings.json`:
```json
{
"hooks": {
"SessionStart": [{ "command": "subcog hook session-start" }],
"UserPromptSubmit": [{ "command": "subcog hook user-prompt-submit" }],
"Stop": [{ "command": "subcog hook stop" }]
}
}
```
### MCP Server
For Claude Desktop:
```json
{
"mcpServers": {
"subcog": {
"command": "subcog",
"args": ["serve"]
}
}
}
```
"#;