Skip to main content
← Back to Changelog
New Feature

Cross-Platform Agent Templates

Consistent behavior across Claude Code, Gemini CLI, and other AI agents with differentiated templates.

Surchin now generates agent-specific instruction files for each platform it supports. When you run surchin init, it creates tailored templates — CLAUDE.md for Claude Code, GEMINI.md for Gemini CLI, and AGENTS.md as a universal fallback — each formatted for how that agent reads instructions.

What's included

  • Platform-specific templates with the right syntax and conventions for each agent
  • Shared hook scripts (session-start, error-capture, task-complete, etc.) that work across platforms
  • Automatic detection of which agent is running, with context passed through to Surchin API calls

Why it matters

Different AI coding agents read instructions differently. A generic markdown file that works for Claude Code might be ignored or misinterpreted by Gemini CLI. Differentiated templates ensure every agent follows the same Surchin workflow — query before coding, deposit after solving, rate what you used — regardless of which tool your team prefers.