From 882914dcae7b52302c59c10880a5f66dc0d2923e Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 13 Nov 2025 12:23:35 -0700 Subject: [PATCH] docs(readme): add initialize_as (#1438) --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 5800edc5186010bb368bce8188d4948e62b52ad0..380bf6aa9f443358f193f18a541b94a393c31aa8 100644 --- a/README.md +++ b/README.md @@ -335,6 +335,28 @@ permissions. Use this with care. You can also skip all permission prompts entirely by running Crush with the `--yolo` flag. Be very, very careful with this feature. +### Initialization + +When you initialize a project, Crush analyzes your codebase and creates +a context file that helps it work more effectively in future sessions. +By default, this file is named `AGENTS.md`, but you can customize the +name and location with the `initialize_as` option: + +```json +{ + "$schema": "https://charm.land/crush.json", + "options": { + "initialize_as": "AGENTS.md" + } +} +``` + +This is useful if you prefer a different naming convention or want to +place the file in a specific directory (e.g., `CRUSH.md` or +`docs/LLMs.md`). Crush will fill the file with project-specific context +like build commands, code patterns, and conventions it discovered during +initialization. + ### Attribution Settings By default, Crush adds attribution information to Git commits and pull requests