Skip to content
VS Code extensionRuns on local modelsMIT

Commands and settings

Every command, chat shortcut and setting, with defaults, and which settings a repository is not allowed to change.

On this page

Chat commands

TypeWhat it does
/newStart a new chat
/compactSummarise the conversation to free context
/skillsList skills, their source and what they cost per request
/mcpList MCP servers, their state and their tools
/helpShow the commands
@Attach a file or folder to the message
EscStop the running agent

Command Palette

Open it with Ctrl+Shift+P.

CommandWhat it does
GBS Agent: New ChatStarts a fresh conversation
GBS Agent: Stop AgentStops the running agent
GBS Agent: Set API KeyStores a key in secret storage, bound to the current endpoint
GBS Agent: Clear Chat HistoryDeletes all stored chats for this workspace
GBS Agent: New SkillScaffolds a skill folder and opens it
GBS Agent: Open Skills FolderOpens your personal skills folder
GBS Agent: Reload SkillsRe-reads skills and asks again about repository skills
GBS Agent: Show MCP ServersLists MCP servers, their state and their tools
GBS Agent: Reload MCP ServersRestarts MCP servers and asks again about repository servers
GBS Agent: Show LogsOpens the log: requests, token usage, tool calls, errors

Settings

SettingDefaultPurpose
gbsAgent.providerollamaollama or openai (any OpenAI-compatible server)
gbsAgent.modeldeepseek-v4-flash:cloudThe main agent's model
gbsAgent.subagentModel(empty)A smaller model for exploration subagents
gbsAgent.permissionModeacceptEditsask, acceptEdits (Auto-edit) or auto (Full auto)
gbsAgent.ollama.baseUrlhttp://localhost:11434The Ollama server
gbsAgent.openai.baseUrlhttps://router.huggingface.co/v1The OpenAI-compatible server, local or cloud
gbsAgent.contextWindow32768The model's context size; sent to Ollama as num_ctx and used to decide when to compact
gbsAgent.maxOutputTokens8192Maximum tokens per response
gbsAgent.temperature0.2Sampling temperature
gbsAgent.maxSteps60Model calls per request before the agent pauses
gbsAgent.commandTimeoutSeconds120Default timeout for shell commands and MCP tool calls
gbsAgent.maxToolOutputChars20000Tool results longer than this are trimmed before the model sees them
gbsAgent.shell(empty)Shell for commands (default: cmd.exe on Windows, $SHELL elsewhere)
gbsAgent.skills.enabledtrueUse skills at all
gbsAgent.skillsPath(empty)Your personal skills folder (default: the extension's own folder)
gbsAgent.mcp.enabledtrueStart MCP servers and give their tools to the agent
gbsAgent.mcpServers{}MCP servers for every project, in .mcp.json format

Settings a repository cannot change

The provider, model, subagent model, endpoints, API key settings, permission mode, shell, skills path and MCP servers are read from your User settings only. A project's .vscode/settings.json cannot redirect your code to another server, run a different shell, or switch off approvals.

API keys belong in secret storage, through GBS Agent: Set API Key. The older gbsAgent.openai.apiKey and gbsAgent.huggingfaceToken settings still work but are deprecated, because they store the key as plain text.

Fixed limits

Some limits are part of the code rather than settings, because the right value does not depend on your model:

LimitValue
Lines read from a file at once1,000 (the model can ask for a range)
Subagents running at the same time4
Subagents per request12
Command output keptthe first 6,000 and last 14,000 characters
A stream that sends nothingaborted after 5 minutes
Retries on 429 or a gateway 5xx3, honouring Retry-After up to a minute
Skills listed in the prompt12
A skill's instructions / one reference file6,000 / 12,000 characters