Using @Symbols in custom commands & agent mode?

Hello!

Does anyone knows if it’s possible to use context @Symbols inside custom commands and/or the agent custom mode? I couldn’t find anything about it.

Thanks in advance.

Hey, the @symbol functionality will work with file and folder references like @files, @folders, @currentFile, etc. However, other symbols like @docs and other symbols won’t work in custom commands - only @symbols related to the file system are supported.

It’s worth noting that in custom commands you can also call MCP servers, browse links, and search through the codebase. In such cases, there’s often no need to use @symbols since their functionality is limited in this context. Instead, you can simply describe in your own words what exactly needs to be done - for example, “find all functions in the project” or “analyze the structure of the src folder” or “run mcp server”.

You can check out more details about custom commands in the docs:

1 Like

thanks @deanrie