@-mentions

Type @ in the planner to attach files, symbols, folders, git context, errors, or specific code ranges to your prompt.

How it works

Type @ anywhere in the composer. A floating picker opens with six categories:

GlyphCategorySyntax
๐Ÿ“„File@file:path/to/file.py
๐Ÿ”ฃSymbol@symbol:function_name
๐Ÿ“Folder@folder:path/to/dir
๐ŸŒฟGit@git:status / @git:diff / @git
โš Error@error:latest / @error
โœ‚Code range@code:path:120-180

Type to filter. Arrow keys to navigate. Enter to insert.

The mention renders as a chip in the composer ([@file:auth.py]). At send time, KrowForge resolves the chip โ€” pulls the file content, the symbol's body, the git diff, etc. โ€” and prepends that resolved context to the model's prompt.

File mentions

@file:services/auth.py injects the entire file content (up to 50 KB per mention).

Files you've recently mentioned float to the top of the picker with a โ˜… glyph.

Multiple file mentions in the same task are deduped automatically.

Symbol mentions

@symbol:validate_user searches the symbol index for matching functions/classes. Up to 8 matches are listed with file:line. Selecting one injects the symbol's source body ยฑ 18 context lines.

Folder mentions

@folder:routes/ walks the folder, skips ignored directories (node_modules, .git, etc.), and injects up to 24 textlike files (8 KB each, 50 KB total per mention).

Git mentions

  • @git:status โ€” output of git status --short.
  • @git:diff โ€” output of git diff (unstaged changes, 40 KB cap).
  • @git (no qualifier) โ€” both.

Only works in workspaces that have a .git directory.

Error mentions

  • @error:latest โ€” the most recent error frame from the run buffer.
  • @error โ€” same as above.

Useful for the pattern: "I just got this error. Why?"

Code range mentions

@code:services/auth.py:120-180 injects exactly those lines.

The picker has a two-step UI: pick the file first, then a range slider showing the file's line count. Live preview of the selected lines.

Caps & dedup

  • Per-mention cap: 50 KB (file/folder), 40 KB (git), 8 KB ร— 24 (folder fan-out).
  • Per-task total cap: enforced by the budget estimate. Mentions that would push past the cap are flagged red.
  • Identical mentions deduplicate (one file mentioned twice = one inject).

When mentions are most valuable

  • "Refactor @file:services/auth.py to use bcrypt" โ€” gives the agent the exact file.
  • "What does @symbol:validate_user do, and where is it called?" โ€” agent gets the symbol body + can grep for callers.
  • "Why is @error:latest happening?" โ€” agent gets the actual error.
  • "Update tests for the changes in @git:diff" โ€” agent sees what just changed.