Add initial configuration, startup script, and system prompt for CLI assistant

This commit is contained in:
2025-05-03 15:16:45 -07:00
parent 8eb52be357
commit 6b54d44806
4 changed files with 224 additions and 0 deletions

179
.bots/cyclo/config.json Normal file
View File

@@ -0,0 +1,179 @@
{
"model_provider": "openai",
"model_name": "gpt-4o",
"temperature": 0.7,
"description": null,
"tags": [],
"api_key": "ENV:OPENAI_API_KEY",
"command_permissions": {
"allow": [
"kubectl explain",
"kubectl get",
"kubectl cluster-info",
"kubectl config view",
"kubectl config current-context",
"kubectl config use-context",
"kubectl config set-context",
"kubectl top",
"kubectl describe",
"kubectl logs",
"kubectl auth",
"kubectl events",
"kubectl diff",
"kubectl wait",
"kubectl kustomize",
"kubectl api-resources",
"kubectl api-versions",
"kubectl version",
"ls",
"dir",
"pwd",
"cd",
"find",
"locate",
"which",
"whereis",
"type",
"file",
"stat",
"du",
"df",
"cat",
"less",
"more",
"head",
"tail",
"strings",
"xxd",
"hexdump",
"grep",
"egrep",
"fgrep",
"rg",
"ag",
"ack",
"echo",
"printf",
"wc",
"sort",
"uniq",
"cut",
"tr",
"sed",
"awk",
"jq",
"yq",
"fmt",
"nl",
"column",
"paste",
"join",
"fold",
"expand",
"unexpand",
"date",
"cal",
"uptime",
"w",
"whoami",
"id",
"groups",
"uname",
"hostname",
"lsb_release",
"env",
"printenv",
"set",
"locale",
"ps",
"top",
"htop",
"pgrep",
"jobs",
"lsof",
"ip",
"ifconfig",
"netstat",
"ss",
"ping",
"traceroute",
"dig",
"host",
"nslookup",
"whois",
"curl",
"wget",
"nc",
"telnet",
"apt-cache",
"dpkg:-l",
"rpm:-q",
"pacman:-Q",
"brew list",
"brew info",
"npm list",
"pip list",
"gem list",
"conda list",
"version",
"help",
"git",
"git status",
"git log",
"git show",
"git diff",
"git ls-files",
"git branch",
"git tag",
"git remote",
"git config:-l",
"git config:--list",
"docker ps",
"docker images",
"docker volume ls",
"docker network ls",
"docker inspect",
"xargs:grep *",
"xargs",
"tar:-tf",
"tar:--list",
"unzip:-l",
"unzip:-v",
"gzip:-l",
"zip:-sf"
],
"deny": [
"shutdown",
"reboot",
"poweroff",
"halt",
"umount",
"mkfs",
"fdisk",
"parted",
"apt-get install",
"apt-get remove",
"apt-get purge",
"apt install",
"apt remove",
"apt purge",
"yum install",
"yum remove",
"yum update",
"pacman:-S",
"pacman:-R",
"pacman:-U",
"nano",
"vim",
"vi",
"emacs",
"pico",
"ed"
],
"ask_if_unspecified": true
},
"system_prompt_path": null,
"name": "cyclo",
"emoji": "🤖",
"init_cwd": "/data/repos/sovereign-cloud"
}