Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Slash commandkdeps asset

kdeps-commands-context

v2.0.0

kdeps command: context

set commands / shelf agent

PurposeShow current context window size

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.

  1. you type /name in kdeps
  2. the command runs: built in, or its declared stepscommands/context
  3. 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.

kdeps install commands/context

Also installs what it requires, when missing or older: tools/session_ops.

Pin a version with kdeps install commands/context@<version>.

Contents

order
200
/contextShow current context window size
/context <size>Set context window size (e.g. 32768 or 32k); restarts local servers

Shows or sets the session setting context. What it prints is the setting block below.

requires:
  tools/session_ops: ""
setting:
  key: context
  show: "Context window: {{.value}} tokens"
  set: '{{if eq .backend "ollama"}}Ollama num_ctx set to {{.value}} (applies to
    next request){{else}}Context window set to {{.value}} tokens{{end}}'
  invalid: "Usage: /context <size>  (e.g. 32768, 32k, 1m)"

Versions

VersionPublishedStatus
2.0.010/24/2026active
1.0.110/21/2026active
1.0.010/12/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
2.0.0
Published
10/12/2026

Tags

kdepscommand