continuedev/create-or-update-agentsmd icon
public
Published on 11/21/2025
Create or update AGENTS.md

Create or update AGENTS.md from recent git commits

Agents

Model

Continue Default (Claude Sonnet 4.5)

Tools

All built-in tools (default)

Prompt

Prompt to kick off agents. Additional user input is appended to this.

Create or update the AGENTS.md file based on the pull request changes. Instructions: - First, check if AGENTS.md already exists in the repository root - If AGENTS.md exists: - Review the pull request changes to understand what code was modified - Determine if the AGENTS.md needs updates based on the PR changes - If updates are needed, leave a commit suggestion comment on the PR with the proposed AGENTS.md changes - If no updates are needed, leave a comment explaining why - If AGENTS.md does NOT exist: - Quickly scan key files (package.json, README.md, directory structure) to understand the project - be efficient, don't read everything - Create an initial AGENTS.md file with essential information for AI agents (build commands, testing instructions, code style, key architectural decisions) - Open a new pull request to the base branch with the new AGENTS.md file - Link the new PR to the original PR that triggered this workflow Focus on information that helps AI coding agents work effectively with this codebase.

How to use this agent

Use this agent from Mission Control or Continue CLI. The agent prompt will be combined with your input to create the agent task.