Runtime Targets
Runtime targets define how Lore renders package content for a specific AI platform.
Available Targets
| Target | Platform | CLI auto-detected from |
|---|---|---|
claude-code | Claude Code | CLAUDE.md |
cursor | Cursor | .cursorrules |
openai-agents | OpenAI Agents | AGENTS.md |
windsurf | Windsurf | .windsurfrules |
raw | Generic markdown | (fallback) |
Auto-Detection
The CLI detects the runtime by scanning for marker files in the project directory. To override:
lore pull m1cloud/azure-architect:1.0.0 --target cursorMCP Server Target Selection
For the MCP Server, targets are resolved in priority order:
- Explicit
targetparameter in the tool call LORE_TARGETenvironment variable on the server- Auto-detected from
clientInfo.namein the MCP handshake rawas the default fallback
Rendering
Rendering translates neutral package content into platform-specific artifacts. This is done by the CLI at pull time (never by the Registry).
The raw target returns the neutral markdown content without any platform-specific wrapping.