kdeps-commands-autocontext
v2.0.0kdeps command: autocontext
set commands / shelf agent
PurposeShow or toggle auto-detecting command/file mentions in chat input
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the commands set, used in workflow and agent mode. Slash commands: the help and completion of the built-in ones, and declared commands that run other commands and prompts.
- you type /name in kdeps
- the command runs: built in, or its declared stepscommands/autocontext
- prompts go to the model; the output is shown
Loaded by: kdeps (agent loop), /update, kdeps run
In the code: kdeps (agent loop)agent.(*REPL).Runagent.declaredCommand
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install commands/autocontext@<version>.
Contents
- order
- 120
/autocontext [on|off]Show or toggle auto-detecting command/file mentions in chat inputShows or sets the session setting autocontext to one of onoff. What it prints is the setting block below.
setting:
key: autocontext
values:
- on
- off
show: "Auto-context detection: {{.value}}"
set: Auto-context detection {{if eq .value "on"}}enabled{{else}}disabled{{end}}.
invalid: 'Unknown option {{printf "%q" .arg}}. Valid: on, off.'
version: 2.0.0
name: autocontext
order: 120
usage:
- args: "[on|off]"
help: Show or toggle auto-detecting command/file mentions in chat input
# setting: the command shows or sets one session setting; the text is here.
setting:
key: autocontext # live session state; the choice persists across sessions
values: [on, off]
show: "Auto-context detection: {{.value}}"
set: "Auto-context detection {{if eq .value \"on\"}}enabled{{else}}disabled{{end}}."
invalid: 'Unknown option {{printf "%q" .arg}}. Valid: on, off.'
Versions
| Version | Published | Status |
|---|---|---|
| 2.0.0 | 10/24/2026 | active |
| 1.0.1 | 10/21/2026 | active |
| 1.0.0 | 10/12/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 2.0.0
- Published
- 10/12/2026