fix(cli): simplify self-config tips

This commit is contained in:
Alex Alecu
2026-03-31 08:50:43 +03:00
parent 6ab706ac15
commit af83b19bec
@@ -80,31 +80,24 @@ const TIPS = [
"Switch to {highlight}Plan{/highlight} agent to get suggestions without making actual changes",
"Use {highlight}@agent-name{/highlight} in prompts to invoke specialized subagents",
"Press {highlight}Ctrl+X Right/Left{/highlight} to cycle through parent and child sessions",
"Create {highlight}kilo.json{/highlight} for server settings and {highlight}tui.json{/highlight} for TUI settings",
"Place TUI settings in {highlight}~/.config/kilo/tui.json{/highlight} for global config",
"Add {highlight}$schema{/highlight} to your config for autocomplete in your editor",
"Configure {highlight}model{/highlight} in config to set your default model",
"Override any keybind in {highlight}tui.json{/highlight} via the {highlight}keybinds{/highlight} section",
"Set any keybind to {highlight}none{/highlight} to disable it completely",
"Configure local or remote MCP servers in the {highlight}mcp{/highlight} config section",
"Kilo can {highlight}configure itself{/highlight} if you ask it",
"Ask Kilo to {highlight}add Supabase MCP globally{/highlight}",
"Ask Kilo to {highlight}create a review agent for this project{/highlight}",
"Ask Kilo to {highlight}add a plugin for desktop alerts{/highlight}",
"Ask Kilo to {highlight}set Claude Sonnet as my default model{/highlight}",
"Ask Kilo to {highlight}make my review agent read-only{/highlight}",
"Ask Kilo to {highlight}require approval before git push{/highlight}",
"Ask Kilo to {highlight}turn off auto-formatting{/highlight}",
"Ask Kilo to {highlight}block access to .env files{/highlight}",
"Ask Kilo to {highlight}turn off the F2 shortcut{/highlight}",
"Ask Kilo to {highlight}match my terminal theme{/highlight}",
"Ask Kilo to {highlight}disable sharing for all sessions{/highlight}",
"Ask Kilo to {highlight}add rules from docs/ai-rules.md{/highlight}",
"Ask Kilo to {highlight}enable tui.scroll_acceleration{/highlight} for smooth macOS-style scrolling",
"Ask Kilo to {highlight}save this workflow as a /command{/highlight}",
"Kilo auto-handles OAuth for remote MCP servers requiring auth",
"Add {highlight}.md{/highlight} files to {highlight}.kilo/command/{/highlight} to define reusable custom prompts",
"Use {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, {highlight}$2{/highlight} in custom commands for dynamic input",
"Use backticks in commands to inject shell output (e.g., {highlight}`git status`{/highlight})",
"Add {highlight}.md{/highlight} files to {highlight}.kilo/agent/{/highlight} for specialized AI personas",
"Configure per-agent permissions for {highlight}edit{/highlight}, {highlight}bash{/highlight}, and {highlight}webfetch{/highlight} tools",
'Use patterns like {highlight}"git *": "allow"{/highlight} for granular bash permissions',
'Set {highlight}"rm -rf *": "deny"{/highlight} to block destructive commands',
'Configure {highlight}"git push": "ask"{/highlight} to require approval before pushing',
"Kilo auto-formats files using prettier, gofmt, ruff, and more",
'Set {highlight}"formatter": false{/highlight} in config to disable all auto-formatting',
"Define custom formatter commands with file extensions in config",
"Kilo uses LSP servers for intelligent code analysis",
"Create {highlight}.ts{/highlight} files in {highlight}.kilo/tools/{/highlight} to define new LLM tools",
"Tool definitions can invoke scripts written in Python, Go, etc",
"Add {highlight}.ts{/highlight} files to {highlight}.kilo/plugin/{/highlight} for event hooks",
"Use plugins to send OS notifications when sessions complete",
"Create a plugin to prevent Kilo from reading sensitive files",
"Use {highlight}kilo run{/highlight} for non-interactive scripting",
"Use {highlight}kilo --continue{/highlight} to resume the last session",
"Use {highlight}kilo run -f file.ts{/highlight} to attach files via CLI",
@@ -113,34 +106,14 @@ const TIPS = [
"Use {highlight}kilo run --attach{/highlight} to connect to a running server",
"Run {highlight}kilo upgrade{/highlight} to update to the latest version",
"Run {highlight}kilo auth list{/highlight} to see all configured providers",
"Run {highlight}kilo agent create{/highlight} for guided agent creation",
'Use {highlight}"theme": "system"{/highlight} to match your terminal\'s colors',
"Create JSON theme files in {highlight}.kilo/themes/{/highlight} directory",
"Themes support dark/light variants for both modes",
"Reference ANSI colors 0-255 in custom themes",
"Use {highlight}{env:VAR_NAME}{/highlight} syntax to reference environment variables in config",
"Use {highlight}{file:path}{/highlight} to include file contents in config values",
"Use {highlight}instructions{/highlight} in config to load additional rules files",
"Set agent {highlight}temperature{/highlight} from 0.0 (focused) to 1.0 (creative)",
"Configure {highlight}steps{/highlight} to limit agentic iterations per request",
'Set {highlight}"tools": {"bash": false}{/highlight} to disable specific tools',
'Set {highlight}"mcp_*": false{/highlight} to disable all tools from an MCP server',
"Override global tool settings per agent configuration",
'Set {highlight}"share": "auto"{/highlight} to automatically share all sessions',
'Set {highlight}"share": "disabled"{/highlight} to prevent any session sharing',
"Run {highlight}/unshare{/highlight} to remove a session from public access",
"Permission {highlight}doom_loop{/highlight} prevents infinite tool call loops",
"Permission {highlight}external_directory{/highlight} protects files outside project",
"Run {highlight}kilo debug config{/highlight} to troubleshoot configuration",
"Use {highlight}--print-logs{/highlight} flag to see detailed logs in stderr",
"Press {highlight}Ctrl+X G{/highlight} or {highlight}/timeline{/highlight} to jump to specific messages",
"Press {highlight}Ctrl+X S{/highlight} or {highlight}/status{/highlight} to see config paths, MCP servers, and system info",
"Enable {highlight}tui.scroll_acceleration{/highlight} for smooth macOS-style scrolling",
"Toggle username display in chat via command palette ({highlight}Ctrl+P{/highlight})",
"Commit your project's {highlight}AGENTS.md{/highlight} file to Git for team sharing",
"Use {highlight}/review{/highlight} to review uncommitted changes, branches, or PRs",
"Run {highlight}/help{/highlight} to show the help dialog",
"Use {highlight}/rename{/highlight} to rename the current session",
"Press {highlight}Ctrl+Z{/highlight} to suspend the terminal and return to your shell",
"Doing something often? Ask Kilo to save it as a {highlight}/command{/highlight}",
]