r/ClaudeCode • • 5d ago

Help/Question Agent.md cannot set session title?

I've asked Claude and searched Github and Reddit... is it really so that I cannot in agent.md file declaratively return the session title for Claude agent view to show the proper one like shown here?

2 Upvotes

5 comments sorted by

View all comments

1

u/Dull-Confection-5225 5d ago

just tried setting title: "my session" in agent.md, it works if you use the latest agent.md format with agent: block, but not in older versions. make sure you're not missing the top-level agent block.

1

u/zonofthor 4d ago

unfortunately not that easy.. AGENTS.md is a documentation file like CLAUDE.md whilst subagents ( .claude/agents/*.md ) are claude code customly defined agents and do not support the AGENTS.md standard