AI Cockpit is local-first — it lives on your machine. You can teach any AI assistant (Claude, ChatGPT, Gemini, or a local agent like Aider/Goose/opencode) a short, reusable brief so it understands your setup and can help you run, update, and deploy your Cockpit — including transferring files for you — without ever handling your passwords or credentials.
Give the agent one small, standing "working agreement" it reads every session. Keep that global note short — store bulky details as files in a single shared folder and let the agent load them only when a task needs them. One folder, referenced by pointer, works across every chat and every agent you use.
~/.claude/CLAUDE.md (user scope).For anything that needs your explicit permission (uploading files, running a script, installing
software, sudo), the agent prepares a script, shows it to you first, then opens it
in a terminal on your desktop. You supply any password there — the agent never sees it. Right before each
step it prints a highlighted banner telling you what is happening, where
(from → to), and why, so you always know what you are approving:
banner(){ printf '\n\033[1;30;43m %s \033[0m\n' "$*"; }
banner "UPLOAD index.html -> your-site/ (why: ship the latest fixes)"
sudo prompts you directly. Secrets never pass through the AI.
The template includes an optional section for your transfer tool (FTP/SFTP/rsync). You point the agent at the tool and tell it the config lives in a file you control; the agent guides the setup while you enter the host and credentials. Per-project config keeps one tool serving many sites.
Keep your shared folder on a partition that survives reinstalls. If it does, everything above keeps working — just hand the agent your filled-in brief again. If not, recreate the folder, reinstall your tooling, and re-paste the brief.