Add reader vorlagen (permissions, MCP, hooks, plugins, team AGENTS), humanizer skill, and adaptionen for ki-codex; refresh chapters 00–18, resource-path justfile, and dist PDF with full illustration set.
104 lines
3.0 KiB
TOML
104 lines
3.0 KiB
TOML
# Beispiel-Ausschnitte — ~/.grok/config.toml (User) bzw. team-sharebare
|
||
# Teile in <repo>/.grok/config.toml (Project: vor allem MCP, Plugins, permission).
|
||
#
|
||
# Keine echten Secrets. Stand: Juli–Aug 2026 (CLI 0.2.x) — Keys können driften.
|
||
# Source of Truth: grok models / User-Guide Configuration; nur Overrides setzen.
|
||
|
||
# ---------------------------------------------------------------------------
|
||
# User-global (häufig in ~/.grok/config.toml)
|
||
# ---------------------------------------------------------------------------
|
||
|
||
[cli]
|
||
# auto_update = true
|
||
|
||
[models]
|
||
# default = "grok-4.5" # grok models = Source of Truth
|
||
# web_search = "grok-4.5"
|
||
|
||
[ui]
|
||
# permission_mode = "ask" # ask | auto | always-approve | …
|
||
# default_selected_permission = "allow_once" # sicherer Start der Prompt-Zeile
|
||
# remember_tool_approvals = false
|
||
# simple_mode = true
|
||
# vim_mode = false
|
||
# screen_mode = "fullscreen" # oder minimal
|
||
# show_thinking_blocks = true
|
||
|
||
[features]
|
||
# telemetry = false
|
||
# codebase_indexing = true
|
||
# remote_fetch = true # false in air-gap
|
||
# lsp_tools = false
|
||
|
||
[session]
|
||
# auto_compact_threshold_percent = 85
|
||
# load_envrc = true
|
||
|
||
[tools]
|
||
# respect_gitignore = false
|
||
|
||
[memory]
|
||
# enabled = false
|
||
|
||
[subagents]
|
||
# enabled = true
|
||
|
||
# Fremde Claude-/Cursor-Skills/MCP still abschalten (wenn sie spuken):
|
||
# [compat.claude]
|
||
# skills = false
|
||
# rules = false
|
||
# hooks = false
|
||
# mcps = false
|
||
#
|
||
# [compat.cursor]
|
||
# skills = false
|
||
# rules = false
|
||
# hooks = false
|
||
# mcps = false
|
||
|
||
# ---------------------------------------------------------------------------
|
||
# MCP — Schema: [mcp_servers.<name>] (NICHT [[mcp.servers]])
|
||
# User: ~/.grok/config.toml · Project: .grok/config.toml (nach Folder-Trust)
|
||
# Secrets als ${VAR}, nie hardcoded committen. Details: vorlagen/config.mcp.toml
|
||
# ---------------------------------------------------------------------------
|
||
|
||
# [mcp_servers.github]
|
||
# command = "npx"
|
||
# args = ["-y", "@modelcontextprotocol/server-github"]
|
||
# env = { GITHUB_PERSONAL_ACCESS_TOKEN = "${GITHUB_TOKEN}" }
|
||
# enabled = true
|
||
# startup_timeout_sec = 120
|
||
|
||
# [mcp]
|
||
# max_output_bytes = 40000
|
||
|
||
# ---------------------------------------------------------------------------
|
||
# Permissions — oft project-commitbar in .grok/config.toml
|
||
# Siehe vorlagen/config.permissions.toml und Kapitel 13
|
||
# ---------------------------------------------------------------------------
|
||
|
||
# [permission]
|
||
# allow = [
|
||
# "Bash(pytest *)",
|
||
# "Bash(git status *)",
|
||
# "Bash(git diff *)",
|
||
# ]
|
||
# deny = [
|
||
# "Bash(rm -rf *)",
|
||
# "Bash(curl *)",
|
||
# "Bash(wget *)",
|
||
# "Read(**/.env)",
|
||
# "Read(**/.env.*)",
|
||
# "Read(**/secrets/**)",
|
||
# ]
|
||
|
||
# ---------------------------------------------------------------------------
|
||
# Hooks in TOML (additiv zu ~/.grok/hooks/*.json und .grok/hooks/)
|
||
# ---------------------------------------------------------------------------
|
||
|
||
# [[hooks.PreToolUse]]
|
||
# matcher = "Bash|run_terminal_command"
|
||
# hooks = [
|
||
# { type = "command", command = "/opt/guard/pretooluse.sh", timeout = 10 },
|
||
# ]
|