Mention a GitHub repo with @, and a new @ menu
Typing @ in the message box now opens a small menu instead of a flat list of files. Pick Files & Folders to mention a file or a whole folder, or Repos to mention a GitHub repository.
A mentioned repo is a reference for the agent. It gets the repo's address and a ready-made clone command, and looks at the code when it needs to. Private repos work too, with read-only access that lasts about an hour and is renewed on every turn.
How to use it
- Type @ in the message box, or press the @ button.
- Choose Repos. Your Slash projects are listed first, then the repos your GitHub account can reach.
- Pick one. It appears in your message as a chip with its name.
- To use a repo that isn't listed, paste its address after @, for example
@github.com/owner/repo, and pick the row that appears. - Type letters right after @ (for example
@comp) to search files and repos at once. - In Files & Folders, files you and the agent worked on in this chat are listed at the top under Recommended.
Good to know
- The agent can only read a mentioned repo. It cannot push to it.
- A private repo needs the Slash GitHub app installed on its account. Repos without it are greyed out with an Install app link.
- The five most recently mentioned repos in a chat keep working in later turns without mentioning them again.
- On your own computer (S/ASH Connect), the agent clones with your computer's git sign-in.
- You can mention repos in the box that starts a new session too. Files need a running session.