autopilot
Writes a configuration file that makes AI editors automatically call memory hooks at session open, after every fix, and before close, ensuring persistent context.
Instructions
Generate a CLAUDE.md / copilot-instructions.md that makes any AI self-managing forever. Writes a configuration file to disk — will overwrite an existing file at the target path. No auth required beyond a valid instance_id. The generated file instructs Claude, Cursor, Copilot, Windsurf, or Gemini to automatically call session_start at window open, learn_from_attempts after every fix, and session_end before closing — without being asked. Returns the generated file content as a string and the path where it was written. Use style="minimal" for just the three hooks; style="full" for the complete ruleset with examples. One command. Every AI. Always on. Use setup_ai_memory instead if you want an interactive one-shot setup that also creates an instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | UUID of the cache instance | |
| editor | No | Target editor (default: claude) | |
| project_name | No | Your project name (used in generated instructions) | |
| style | No | minimal = just the hooks, full = full ruleset with examples (default: full) |