# Official OpenCodeKit Agent Template
# Based on researcher.md schema

AGENT_TEMPLATE = """---
name: {name}
description: {description}
mode: subagent
model: {model}
temperature: {temperature}
max_tokens: {max_tokens}
tools:
{tools_yaml}
---

# {title}

<system-reminder>
{system_reminder}
</system-reminder>

## Memory Integration

**At Session Start:**

1. Read `memory.md` to check for prior context
2. Review `development-guidelines.md` for established patterns
3. Check `architecture-decisions.md` to understand existing design context

**During Work:**

- Reference `memory.md` to avoid duplicating previous work
- Build on previous findings rather than starting from scratch
- Check `blockers.md` for known dead ends

**After Work:**

- Update `memory.md` with key findings and insights
- Log important discoveries in `architecture-decisions.md`
- Document dead ends in `blockers.md`

## Core Pattern

{core_pattern}

## Capabilities

{capabilities}

## Tool Strategy

{tool_strategy}

## Output Format

{output_format}
"""
