### Install dependencies and start Studio Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/remotion.md Install dependencies and start the Remotion Studio at http://localhost:3000 (port may differ). ```bash npm install npm run dev # Studio at http://localhost:3000 (port may differ) ``` -------------------------------- ### Development setup and commands Source: https://github.com/howdeploy/deploychan_mcp/blob/main/README.md Installs the package in development mode, builds the database, runs tests, and serves locally. ```bash pip install -e ".[dev]" python -m server.ingest # build the DB + catalog pytest # run the tests python -m server.app # serve locally at http://localhost:8080/mcp ``` -------------------------------- ### Launch pyflipper in nix-shell Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/flipper-zero.md Starts a Python 3 environment with the pyflipper library installed via nix-shell. Use this to run the pyflipper example script. ```bash nix-shell -p python313Packages.pyflipper --run python3 ``` -------------------------------- ### SwayOSD installation and Waybar integration Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Install SwayOSD via NixOS and integrate with Waybar for volume/brightness OSD. Autostart with `spawn-at-startup "swayosd-server"`. Note: `swayosd-client` is unavailable until `nixos-rebuild switch`. ```nix environment.systemPackages = with pkgs; [ swayosd ]; ``` ```json "pulseaudio": { "on-click": "swayosd-client --output-volume mute-toggle", "on-scroll-up": "swayosd-client --output-volume raise", "on-scroll-down": "swayosd-client --output-volume lower" } ``` -------------------------------- ### Fastfetch configuration example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Example fastfetch configuration with a NixOS logo, custom separator, and modules for system info. Uses JSONC format. ```jsonc { "logo": { "source": "NixOS_small", "padding": { "top": 1, "left": 2 } }, "display": { "separator": " \u001b[38;2;203;166;247m→\u001b[0m ", "key": { "width": 12 } }, "modules": [ {"type": "title", "keyColor": "#CBA6F7"}, {"type": "separator"}, {"type": "os", "keyColor": "#CBA6F7"}, {"type": "cpu", "keyColor": "#CBA6F7"}, {"type": "gpu", "keyColor": "#CBA6F7"}, {"type": "memory", "keyColor": "#CBA6F7"}, {"type": "disk", "keyColor": "#CBA6F7"}, {"type": "localip", "keyColor": "#CBA6F7"} ] } ``` -------------------------------- ### List recommended items with list_recommended() Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Get KISA's curated picks for what to install and read first. Returns a cross-type shortlist of skills, knowledge, and routes. ```text → list_recommended() ← KISA start: a cross-type shortlist (skills · knowledge · routes) ``` -------------------------------- ### Install swaybg via nix profile Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Installs the swaybg wallpaper utility using nix profile. Run this command in a terminal. ```bash nix profile install nixpkgs#swaybg ``` -------------------------------- ### list_recommended() Example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Example usage of the list_recommended tool. The code is dynamically inserted and not visible in the source. ```text ${esc(t.rcCode)} ``` -------------------------------- ### onboard(goal) and next_step(step_id) Example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Example usage of the onboard and next_step tools. The code is dynamically inserted and not visible in the source. ```text ${esc(t.rtCode)} ``` -------------------------------- ### Install OpenShell via uv Tool Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Alternative installation route using uv. Use when the user prefers uv or the official script is not suitable. ```bash uv tool install -U openshell ``` -------------------------------- ### Install OpenShell via Official Install Script Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Installs OpenShell using the official installation script. Use after the user approves the download. ```bash curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh ``` -------------------------------- ### List and get skills with list_skills() and get_skill() Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html List available skills and fetch a full skill pack by ID. The skill pack includes install steps, config, and checklist. ```text → list_skills() ← [ tailored-install (base), … ] → get_skill("tailored-install") ← { reminder, steps, allowed_tools, checklist } ``` -------------------------------- ### search_knowledge(query) Example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Example usage of the search_knowledge tool. The code is dynamically inserted and not visible in the source. ```text ${esc(t.knCode)} ``` -------------------------------- ### Install ObsidianDataWeave via git clone and install.sh Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/obsidian-dataweave/SKILL.md Clones the repository and runs the installer with the vault path. Requires Python 3.10+ and installs python-docx and pyyaml, creating a config.toml with the vault path. ```bash git clone https://github.com/howdeploy/ObsidianDataWeave.git cd ObsidianDataWeave bash install.sh --vault-path "/path/to/your/vault" ``` -------------------------------- ### Install a pet Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Installs a pet by slug with an interactive selection prompt. ```bash hermes pets install --select ``` -------------------------------- ### list_skills() and get_skill(id) Example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Example usage of the list_skills and get_skill tools. The code is dynamically inserted and not visible in the source. ```text ${esc(t.skCode)} ``` -------------------------------- ### One-time NotebookLM login setup Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/obsidian-dataweave/SKILL.md Creates a Python virtual environment and runs the setup script with --skip-login, then logs in to Google in a separate terminal. The venv is mandatory on Arch/Manjaro/Debian because system pip is blocked by PEP 668. The login command must not be run through the '!' prefix in Claude Code or Codex because it has no interactive stdin and aborts. ```bash python3 -m venv .venv .venv/bin/python scripts/notebooklm_setup.py --skip-login # in a SEPARATE terminal window (needs a real TTY): .venv/bin/notebooklm login # log in to Google in Chromium → come back → ENTER ``` -------------------------------- ### Onboard and step through a route with onboard() and next_step() Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Start a route from a natural-language goal and step through it. Returns ordered step IDs and materials for each step. ```text → onboard("connect Tavily search to my agent") ← route: [ tavily:1, tavily:2 ] → next_step("tavily:1") ← step 1/2 — materials + where to get the API key and how to hand it over ``` -------------------------------- ### Browse gallery and check pets setup Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md After updating, use these commands to browse the pet gallery (3421 pets in the field) and run diagnostics on the pets directory and terminal graphics. The doctor reports installed pets count, initially 0. ```bash hermes pets list # browse the gallery (3421 pets in the field) ``` ```bash hermes pets doctor # checks pets dir + terminal graphics; installed: 0 at first ``` -------------------------------- ### Install SOFA as a skill using npx Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/stack-overflow-for-agents.md Use this command to install Stack Overflow for Agents as a skill via npx. Requires Node.js and npx available in your environment. ```bash npx skills add https://agents.stackoverflow.com/ ``` -------------------------------- ### Onboarding prompt for agent Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/stack-overflow-for-agents.md Paste this line to your agent to start onboarding with Stack Overflow for Agents. It instructs the agent to read the skill file and begin the onboarding process. ```text Help me join Stack Overflow for Agents here. Read https://agents.stackoverflow.com/skill.md, then start onboarding. ``` -------------------------------- ### Check OpenShell CLI help for provider and inference commands Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Use the installed CLI help to see required credential names for different provider types before configuring brokered inference. ```bash openshell provider create --help openshell inference set --help ``` -------------------------------- ### Install choirboy-prompt harness Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/choirboy-prompt.md Clones the repository and runs the installer to register the SessionStart hook in the chosen runtime. The installer is idempotent and backs up every edit; use `./install.sh --uninstall` to roll back. ```bash git clone https://github.com/howdeploy/choirboy-prompt.git cd choirboy-prompt ./install.sh ``` -------------------------------- ### Install gstack into Claude Code skills Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/gstack.md Clones the gstack repository into the Claude Code skills directory and runs its setup script. After installation, add a '## gstack' section to CLAUDE.md so Claude Code can see the skills. ```bash git clone --single-branch --depth 1 https://github.com/garrytan/gstack ~/.claude/skills/gstack cd ~/.claude/skills/gstack && ./setup ``` -------------------------------- ### Clone the codex-desktop-linux repository Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/codex-desktop-linux.md Start from a checkout for native packages and AppImage builds. The installer downloads or reuses the DMG, extracts the Electron app, applies Linux compatibility patches, rebuilds native modules, and packages the result. ```bash git clone https://github.com/ilysenko/codex-desktop-linux.git cd codex-desktop-linux ``` -------------------------------- ### onboard(goal) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Starts the onboarding process for a new deployment goal. Returns a roadmap of steps to achieve the goal. ```APIDOC ## onboard(goal) ### Description Starts the onboarding process for a new deployment goal. Returns a roadmap of steps to achieve the goal. ### Parameters - **goal** (string) - Required - The deployment goal to onboard. ### Returns - **roadmap** - A step-by-step plan to achieve the goal. ``` -------------------------------- ### Clone and run Zapret2agent with Claude Code Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/zapret2agent.md Installation steps for Linux (Ubuntu, Fedora, Arch, Manjaro). Requires Claude Code, git, bash, curl, sudo, and ip. The agent will guide through setup and confirm system operations. ```bash git clone https://github.com/howdeploy/Zapret2agent.git cd Zapret2agent claude ``` -------------------------------- ### Waybar clock format examples Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Clock format strings for different Waybar versions. For ≤0.9.x use "%H:%M"; for ≥0.11 use "{0:%H:%M}" with mandatory positional 0:. ```text "%H:%M" ``` ```text "{0:%H:%M}" ``` -------------------------------- ### Preview pet Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Shows a cycling preview of the pet, running once. ```bash hermes pets show --cycle --once ``` -------------------------------- ### Install Remotion skill for agent Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/remotion.md Installs the Remotion skill into your agent. Pick your agent, scope, and confirm recommended options. The skill teaches the agent to write correct Remotion code. ```bash npx skills add remotion-dev/skills ``` -------------------------------- ### POST /api/onboarding/flows Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/stack-overflow-for-agents.md Starts an onboarding flow by sending the agent's known information (client name/version, model name/provider). Returns a claim URL and one-time claim code for the human to complete the claim. ```APIDOC ## [POST] /api/onboarding/flows ### Description Starts an onboarding flow by sending the agent's known information (client name/version, model name/provider). Returns a claim URL and one-time claim code for the human to complete the claim. ### Method POST ### Endpoint /api/onboarding/flows ### Authentication Requires `Authorization: Bearer YOUR_API_KEY` header. ### Request Body - `client_name` (string) - Required - Client name/version. - `client_version` (string) - Required - Client version. - `model_name` (string) - Required - Model name. - `model_provider` (string) - Required - Model provider. ### Request Example { "client_name": "example-client", "client_version": "1.0.0", "model_name": "example-model", "model_provider": "example-provider" } ### Response #### Success Response (200) - `claim_url` (string) - URL for the human to open in a browser. - `claim_code` (string) - One-time code for the human to verify. - `poll_after_seconds` (number) - Suggested polling interval. #### Response Example { "claim_url": "https://example.com/claim/abc123", "claim_code": "123456", "poll_after_seconds": 30 } ``` -------------------------------- ### Install official Jev skill with npx Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/jev.md Use this command to install the official Jev skill for a supported agent. Inspect the source and select the intended agent/project, keeping one installed copy. Manual installation includes the skill's reference directory, not just SKILL.md. ```bash npx skills add typesafe-ai/skills --skill typesafe-ai ``` -------------------------------- ### Install Agentation skill with npx skills add Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/agentation.md Installs the Agentation skill into any of 70+ supported agents using the `skills` CLI from vercel-labs/skills. Run this before assembling your agent pipeline to avoid binding issues. ```bash npx skills add benjitaylor/agentation ``` -------------------------------- ### Configure swaybg in niri config Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Adds a spawn-at-startup line to the niri configuration to launch swaybg with a wallpaper image and fill mode. ```kdl spawn-at-startup "swaybg" "-i" "/path/to/wallpaper.png" "-m" "fill" ``` -------------------------------- ### Clone and run video_explainer pipeline Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/remotion.md Commands to clone the video_explainer repository, set up a Python virtual environment, install dependencies, and create, generate, and render a video. ```bash git clone https://github.com/prajwal-y/video_explainer.git && cd video_explainer python -m venv .venv && source .venv/bin/activate pip install -e . && cd remotion && npm install && cd .. python -m src.cli create my-video python -m src.cli generate my-video # the whole pipeline python -m src.cli render my-video # MP4 ``` -------------------------------- ### Browse the gallery Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Lists available pets, optionally filtered by a query. ```bash hermes pets list [query] ``` -------------------------------- ### Stop and start Pi sandbox for lifecycle management Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Use these commands for routine lifecycle management of the persistent Pi sandbox. Do not use --no-keep for a persistent agent. ```bash openshell sandbox stop pi-agent openshell sandbox start pi-agent ``` -------------------------------- ### Install @openai/codex CLI with optional dependencies Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/codex-desktop-linux.md The Codex CLI is required at runtime. The first launch can install it with the bundled npm, or you can manage it yourself. If installing manually, include optional dependencies so the Linux platform binary is present. ```bash npm i -g --include=optional @openai/codex ``` -------------------------------- ### Install Codex hook on Linux (bash) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/zaebal/SKILL.md Runs the installer for Codex on Linux. Use the discovered Python executable if its command differs. Honors CODEX_HOME and saves an absolute interpreter/runtime command in hooks.json. ```bash python3 scripts/install_codex_hook.py --platform linux ``` -------------------------------- ### Install and manage Xrayebator Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/xrayebator/SKILL.md Run these commands on a clean VPS as root. The first run installs Xray-core, generates Reality keys, and brings up the node; subsequent runs show an interactive management menu. ```bash git clone https://github.com/howdeploy/Xrayebator.git cd Xrayebator sudo bash xrayebator ``` -------------------------------- ### Install Hermes voice support Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-nix-ld-electron.md Installs the voice extras for Hermes Desktop inside its virtual environment. ```bash # In the Hermes venv uv pip install -e ".[voice]" ``` -------------------------------- ### Install a pet with hermes pets install Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Installs a pet by slug. The --select flag makes the pet active immediately, writing display.pet.enabled: true and display.pet.slug: boba to config.yaml. Without --select, the pet downloads into the profile's pets/ directory but stays inactive. Verify with hermes pets doctor -> ✓ ready. ```bash hermes pets install boba --select ``` -------------------------------- ### Install Codex hook on native Windows (PowerShell) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/zaebal/SKILL.md Runs the installer for Codex on native Windows. Use the discovered Python executable if its command differs. Honors CODEX_HOME and saves an absolute interpreter/runtime command in hooks.json. ```powershell py -3 scripts/install_codex_hook.py --platform windows ``` -------------------------------- ### Waybar tooltip styling Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md CSS for tooltips with semi-transparent background and border. ```css tooltip { background: rgba(30, 30, 46, 0.94); border: 1px solid #CBA6F7; border-radius: 10px; padding: 8px 12px; } ``` -------------------------------- ### GET /api/onboarding Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/stack-overflow-for-agents.md Retrieves the onboarding contract that describes the required steps for account creation and agent registration. The agent reads this endpoint to understand the flow. ```APIDOC ## [GET] /api/onboarding ### Description Retrieves the onboarding contract that describes the required steps for account creation and agent registration. The agent reads this endpoint to understand the flow. ### Method GET ### Endpoint /api/onboarding ### Authentication Requires `Authorization: Bearer YOUR_API_KEY` header. ### Response #### Success Response (200) Returns the onboarding contract details. #### Response Example (No example provided in source) ``` -------------------------------- ### pyflipper control example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/flipper-zero.md Demonstrates programmatic control of the Flipper Zero using the pyflipper library. Connects via serial port /dev/ttyACM0 and shows commands for device info, Sub-GHz TX, NFC, GPIO, storage, and LED control. ```python from pyflipper import PyFlipper f = PyFlipper(com="/dev/ttyACM0") print(f.device_info.info()) # info f.subghz.tx("AB12CD", frequency=433920000, count=10) # Sub-GHz TX f.nfc.detect() # NFC f.gpio.set("PA7", 1) # GPIO f.storage.list("/ext") # files f.led.set("blue", 255) # LED ``` -------------------------------- ### Create a Remotion project with create-video Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/remotion.md Run this command to scaffold a new Remotion project. Recommended answers: Blank template, TailwindCSS yes, install Skills yes. Creates a project folder with public/, src/, and out/ directories. ```bash npx create-video@latest ``` -------------------------------- ### Use another profile Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Runs pets commands under a different profile. ```bash hermes --profile pets ... ``` -------------------------------- ### Niri config.kdl binds example Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/niri-hotkeys.md Shows the structure of the binds section in ~/.config/niri/config.kdl. Each bind is a hotkey followed by one action in braces. Note that omitting the binds section does not pull in defaults; edit the existing one to avoid losing all binds. ```kdl binds { Mod+Return hotkey-overlay-title="Terminal" { spawn "alacritty"; } Mod+D { spawn "fuzzel"; } Mod+Shift+E { quit; } } ``` -------------------------------- ### Install Node 22 LTS on Linux with nvm Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/remotion.md Use this to install Node.js 22 LTS via nvm on Linux. After running, source your shell config and set Node 22 as the default alias. ```bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash source ~/.bashrc # or ~/.zshrc nvm install 22 && nvm use 22 && nvm alias default 22 ``` -------------------------------- ### Discover Host and OpenShell Facts Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Collects system and OpenShell facts without printing secret values. Use before any installation or configuration to avoid assuming a distro, package manager, socket path, or UID. ```bash uname -a openshell --version podman --version podman info --format json systemctl --user is-active podman.socket openshell status openshell whoami openshell doctor openshell sandbox list ``` -------------------------------- ### Clone and run self-hosted instance Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Clone the repository and start your own deploychan instance with Docker. The MCP endpoint will be available at http://localhost:8080/mcp. ```bash git clone https://github.com/howdeploy/deploychan_mcp cd deploychan_mcp # fill the knowledge base and skills with your own content docker compose up -d --build # → your MCP: http://localhost:8080/mcp ``` -------------------------------- ### Set up .env with user-provided keys Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/comfyui-remote/SKILL.md Copy the template and add user-provided HuggingFace and Civitai tokens. The agent asks the user for keys and does not hardcode them. .env is not committed to git; environment variables take priority. ```bash cp .env.template .env # HF_TOKEN= # CIVITAI_TOKEN= ``` -------------------------------- ### Generate your own pet Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Creates a custom pet from a description during a session. ```bash /hatch ``` -------------------------------- ### Diagnose pet issues Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Runs diagnostics for the pets feature. ```bash hermes pets doctor ``` -------------------------------- ### Rebuild and run the client with ui-tweaks Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/codex-desktop-linux.md Rebuild a fresh client and run it after enabling the feature. The plain make build-app-fresh / make run-app targets work too; the nix develop -c wrapper just runs them inside the flake's dev shell. ```bash nix develop -c make build-app-fresh nix develop -c make run-app ``` -------------------------------- ### Enable nix-ld Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Enables nix-ld to provide shared libraries for unpatched binaries on NixOS. Required before adding libraries. ```nix programs.nix-ld.enable = true; ``` -------------------------------- ### Enable Waybar Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Enables the Waybar status bar on NixOS. Configuration files are expected at ~/.config/waybar/config and ~/.config/waybar/style.css. ```nix programs.waybar.enable = true; ``` -------------------------------- ### Self-host deploychan MCP Source: https://github.com/howdeploy/deploychan_mcp/blob/main/README.md Clones the repository and starts the server with Docker Compose. The server binds to loopback (127.0.0.1:8080) by default. ```bash git clone https://github.com/howdeploy/deploychan_mcp cd deploychan_mcp docker compose up -d --build # -> your MCP: http://localhost:8080/mcp ``` -------------------------------- ### Launch Chrome with a local forwarder for authenticated proxy Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/chrome-proxy-english-signup.md Starts a local forwarder (running in the background) and launches Chrome with the pre-seeded profile, pointing to the forwarder. The forwarder handles authentication to the upstream proxy (e.g., GeekProxy). ```bash # Start the forwarder (once, runs in the background) python3 /tmp/socks5-forwarder.py & # Chrome connects to the forwarder LANGUAGE=en_US LANG=en_US.UTF-8 google-chrome-stable \ --user-data-dir="$HOME/.config/chrome-proxy-profile" \ --proxy-server="socks5://127.0.0.1:10888" \ "https://stackoverflow.com/users/signup" ``` -------------------------------- ### Dunst notification daemon configuration (INI) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Configure Dunst notification daemon with font, geometry, padding, and mouse click behavior. Install via `nix profile install nixpkgs#dunst` or add to `environment.systemPackages`. ```ini [global] font = JetBrains Mono Nerd Font 10 geometry = "250x5-12-36" padding = 6 horizontal_padding = 8 max_icon_size = 24 mouse_left_click = close_current ``` -------------------------------- ### Autostart Hermes Desktop in niri Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-nix-ld-electron.md Launches Hermes Desktop at startup and maximizes its window when the app-id matches "Hermes". ```kdl spawn-at-startup "hermes" "desktop" window-rule { match app-id="Hermes" open-maximized true } ``` -------------------------------- ### Switch pet in session Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Switches the active pet during a session using the /pet command. ```bash /pet ``` -------------------------------- ### GTK theming with Catppuccin (Nix) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Apply Catppuccin Mocha Mauve GTK theme without home-manager. Override `catppuccin-gtk` defaults (frappe/blue) using `.override`. ```nix environment.systemPackages = with pkgs; [ (catppuccin-gtk.override { variant = "mocha"; accents = ["mauve"]; size = "standard"; }) ]; environment.sessionVariables.GTK_THEME = "catppuccin-mocha-mauve-standard"; ``` -------------------------------- ### POST /api/sessions Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/stack-overflow-for-agents.md Starts a new session for the agent. Requires client and model headers. Returns a session_id that must be used on subsequent API calls. ```APIDOC ## [POST] /api/sessions ### Description Starts a new session for the agent. Requires client and model headers. Returns a session_id that must be used on subsequent API calls. ### Method POST ### Endpoint /api/sessions ### Authentication Requires `Authorization: Bearer YOUR_API_KEY` header. ### Headers - `X-Sofa-Client-Name` (string) - Required - Client name. - `X-Sofa-Model-Name` (string) - Required - Model name. ### Response #### Success Response (200) - `session_id` (string) - Unique session identifier. #### Response Example { "session_id": "sess_123456" } ``` -------------------------------- ### Search knowledge with search_knowledge() Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Natural-language query to retrieve relevant fragments from notes and guides. Returns a list of fragments with titles and descriptions. ```text → search_knowledge("hooks that remind the agent of system instructions") ← 3 fragments: «hooks in CLAUDE.md», «session-start reminder», «rules checklist» ``` -------------------------------- ### Install Nerd Fonts for Waybar Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Adds JetBrains Mono Nerd Font to the system, needed for Waybar icons. ```nix fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ]; ``` -------------------------------- ### Cap wpctl volume Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Sets volume increment to 5% and caps at 1.0 (100%) to avoid over-amplification. ```bash wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ ``` -------------------------------- ### Example neutral animation prompt (video) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/comfyui-prompt-craft/SKILL.md A short, movement-focused prompt for video models: 2–4 sentences, subject + verb, explicit causality, no shimmer. The video model already has the source image. ```text She breathes slowly, swaying slightly — the ice in the glass clinks. She blinks. Her hand rises, tucks a strand behind her ear, lowers. The strand slips out and falls onto her cheek. Her hand reaches up to fix it again. ``` -------------------------------- ### Read current NixOS configuration Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Use this command to view the current system configuration file. Note that in non-interactive contexts, coreutils may not be in PATH; use full paths like /run/current-system/sw/bin/cat if needed. ```bash cat /etc/nixos/configuration.nix ``` -------------------------------- ### Get UUID of NTFS partition Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Uses blkid to retrieve the UUID of the /dev/sda2 partition, which is needed for the auto-mount configuration. ```bash sudo blkid /dev/sda2 # get the UUID ``` -------------------------------- ### Launch Chrome with a no-auth SOCKS5 proxy Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/chrome-proxy-english-signup.md Starts Chrome with the pre-seeded profile and a SOCKS5 proxy that requires no authentication (e.g., Happ). Opening https://api.ipify.org first verifies the exit IP the site will see. ```bash LANGUAGE=en_US LANG=en_US.UTF-8 google-chrome-stable \ --user-data-dir="$HOME/.config/chrome-proxy-profile" \ --proxy-server="socks5://127.0.0.1:10808" \ "https://api.ipify.org" ``` -------------------------------- ### Hermes: switch STT provider to Groq (free) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/voice-transcription.md Sets the STT provider to Groq for free transcription. Requires GROQ_API_KEY in ~/.hermes/.env. ```bash hermes config set stt.provider groq # GROQ_API_KEY in ~/.hermes/.env ``` -------------------------------- ### Fuzzel launcher configuration (INI) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Configure Fuzzel launcher appearance and colors. Remove `launch-prefix=app` to avoid silently breaking app launching. ```ini [main] font=JetBrains Mono Nerd Font:size=14 width=40 lines=12 border-radius=10 border-width=2 [colors] background=1E1E2Eff text=CDD6F4ff match=CBA6F7ff selection=CBA6F7ff selection-text=1E1E2Eff border=CBA6F7ff ``` -------------------------------- ### Example Agent Card JSON Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/a2a-protocol-overview.md Conceptual Agent Card showing supported interfaces, capabilities, and skills. Not a substitute for schema validation; treat as public metadata and avoid secrets. ```json { "name": "review-agent", "description": "Reviews source changes and returns structured findings", "supportedInterfaces": [ { "url": "https://agents.example.test/reviewer/a2a", "protocolBinding": "JSONRPC", "protocolVersion": "1.0" } ], "capabilities": { "streaming": true }, "skills": [ { "id": "code-review", "name": "Code review", "description": "Review a patch for correctness and regressions", "tags": ["code", "review"] } ] } ``` -------------------------------- ### Niri focus ring configuration (KDL) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Configure the focus ring in Niri with custom width and colors. Use `layout { focus-ring { ... } }` instead of the old `borders { ... }` syntax, which is silently rejected. ```kdl layout { focus-ring { width 2 active-color "#CBA6F7" # Mauve inactive-color "#313244" # Surface0 } } ``` -------------------------------- ### Find the path to a package's library Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Uses nix eval to get the output path of a package (e.g., glib). Avoid '-bin' packages because they have no /lib directory. ```bash nix eval --raw nixpkgs#glib.outPath # Avoid '-bin' packages — they have no /lib ``` -------------------------------- ### List and reorder EFI boot entries Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Uses efibootmgr to list current boot entries and reorder them, putting NixOS first. The first command shows the current order; the second sets the order to 0001,0000. ```bash sudo efibootmgr # list ``` ```bash sudo efibootmgr --bootorder 0001,0000 # reorder (NixOS first) ``` -------------------------------- ### Create a clean Chrome profile pre-seeded to en-US Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/chrome-proxy-english-signup.md Creates a fresh Chrome profile and writes Preferences and Local State files to force the browser language to English before first launch. Run these commands before starting Chrome with the profile. ```bash rm -rf ~/.config/chrome-proxy-profile mkdir -p ~/.config/chrome-proxy-profile/Default # Main settings file echo '{"intl":{"selected_languages":"en-US,en"},"spellcheck":{"dictionaries":["en-US"],"dictionary":""}}' \ > ~/.config/chrome-proxy-profile/Default/Preferences # Interface locale echo '{"intl":{"app_locale":"en_US","selected_languages":"en-US,en","accept_languages":"en-US,en"}}' \ > ~/.config/chrome-proxy-profile/Local\ State ``` -------------------------------- ### Update Hermes to get petdex Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Run this to update Hermes to a version that includes the `hermes pets` engine, the `pillow` library, and the bundled `petdex` skill. In the field this moved v0.16.0 -> v0.18.2. ```bash hermes update ``` -------------------------------- ### Podman-Oriented Gateway Configuration Baseline Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Baseline TOML configuration for hardening the OpenShell gateway with a rootless Podman driver. Patch the generated config minimally; accepted values can differ across releases, so preserve fields generated by the installed version and confirm with the current gateway-config reference. ```toml [openshell] version = 1 [openshell.gateway] bind_address = "127.0.0.1:17670" log_level = "info" compute_drivers = ["podman"] policy_validation_failure_mode = "fail_closed" [openshell.drivers.podman] socket_path = "/run/user//podman/podman.sock" image_pull_policy = "missing" enable_bind_mounts = false ``` -------------------------------- ### Hermes: switch STT provider to OpenAI with gpt-4o-mini-transcribe Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/voice-transcription.md Configures Hermes to use OpenAI's gpt-4o-mini-transcribe model for higher quality transcription. Requires an OpenAI API key or Nous gateway setup. ```bash hermes config set stt.provider openai hermes config set stt.openai.model gpt-4o-mini-transcribe hermes gateway restart ``` -------------------------------- ### Verify and rebuild NixOS configuration Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Run dry-build to catch errors without applying, then switch to apply. After switching, check that required services are up using systemctl status for system services or systemctl --user status for user services like waybar or hermes-gateway. ```bash sudo nixos-rebuild dry-build # build the config WITHOUT applying — catches errors early sudo nixos-rebuild switch # apply ``` ```bash systemctl status # system service systemctl --user status # user service (e.g. waybar, hermes-gateway) ``` -------------------------------- ### Set pet scale via CLI Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Sets the display.pet.scale configuration to 1.0 (range 0.1 - 3.0). The change applies immediately without restart, though a restart may be needed if the setup doesn't pick it up live. ```bash hermes config set display.pet.scale 1.0 # range 0.1 - 3.0 ``` -------------------------------- ### Apply changes to NixOS configuration (targeted edit) Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Copy the configuration to /tmp for editing because patch tools may refuse to modify files under /etc/nixos/. After editing, copy it back to /etc/nixos/configuration.nix. ```bash # Copy to temp (a patch tool may refuse on /etc/nixos/*) sudo cp /etc/nixos/configuration.nix /tmp/configuration.nix sudo chmod 666 /tmp/configuration.nix # ... edit /tmp/configuration.nix ... sudo cp /tmp/configuration.nix /etc/nixos/configuration.nix ``` -------------------------------- ### Bind screenshot keys in niri config Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Binds the Print key to take a full screenshot and Mod+Shift+S to capture a selected region using grim, slurp, and satty. ```kdl Print { screenshot; } ``` ```kdl Mod+Shift+S { spawn "sh" "-c" "grim -g \"$(slurp)\" - | satty -f -"; } ``` -------------------------------- ### Query available samplers/schedulers via GET /api/object_info/KSampler Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/comfyui-remote/SKILL.md Retrieves the list of valid sampler and scheduler names from the ComfyUI API to avoid guessing. Use the response to pick correct values for the KSampler node. ```http GET /api/object_info/KSampler ``` -------------------------------- ### list_recommended() Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Lists recommended deployment configurations and best practices. Returns a list of recommendations. ```APIDOC ## list_recommended() ### Description Lists recommended deployment configurations and best practices. Returns a list of recommendations. ### Parameters None. ### Returns - **recommendations** - A list of recommended deployment practices. ``` -------------------------------- ### Sideload Moonlight on Samsung TV via Docker Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-streaming.md Run the moonlight-chrome-tizen Docker container to sideload Moonlight onto a Samsung TV. Requires Developer Mode on the TV (Apps → press 12345 → enable → set Host PC IP) and SDB port 26101. The container connects via sdb and installs the WGT package. ```bash docker run -it --rm ghcr.io/oneliberty/moonlight-chrome-tizen:samsung_wasm sdb connect tizen install -n Moonlight.wgt ``` -------------------------------- ### Copy locally hatched pet to default profile Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Moves a pet hatched in the helper profile to the default profile by copying the directory and setting the required config keys manually. Mind the asymmetric paths: default profile uses ~/.hermes/ directly, named profiles use ~/.hermes/profiles//. ```bash # a pet you hatched locally lives in the helper profile: ls ~/.hermes/profiles/helper/pets/mypet/ # The default profile uses ~/.hermes/ directly: mkdir -p ~/.hermes/pets cp -r ~/.hermes/profiles/helper/pets/mypet ~/.hermes/pets/mypet hermes --profile default config set display.pet.slug mypet hermes --profile default config set display.pet.enabled true hermes --profile default config set display.pet.scale 1.0 ``` -------------------------------- ### Preview additive policy update with openshell policy update Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/a2a-openshell-example.md Preview an additive update to the policy when TCP support already exists. Use --dry-run first, then apply the same update with --wait. Prefer additive updates or the maintained base policy; do not replace the complete effective policy from a generated dump. ```bash openshell policy update pi-agent \ --add-endpoint host.containers.internal:9900:full:tcp \ --binary /actual/path/from-command-v-node \ --binary /actual/path/from-command-v-pi \ --dry-run ``` -------------------------------- ### System discovery commands using /run/current-system/sw/bin Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-agent-environment.md Use to access real binaries on NixOS. Includes nixos-version, df, free, and systemctl commands. ```bash /run/current-system/sw/bin/nixos-version /run/current-system/sw/bin/df -h / /home /run/current-system/sw/bin/free -h /run/current-system/sw/bin/systemctl --user list-units --type=service ``` -------------------------------- ### Run cross-platform smoke suite with Python 3 Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/zaebal/SKILL.md Executes the platform smoke suite from the checkout using the selected Python. On native Windows, use `py -3` instead of `python3`. The suite uses temporary configuration/state, executes the registered command, and makes no paid model calls. ```bash python3 -X utf8 -m unittest discover -s tests -p test_cross_platform.py ``` -------------------------------- ### Turn off pet Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/hermes-pets.md Disables the pet in the current session. ```bash /pet off ``` -------------------------------- ### Connect to Flipper Zero native CLI with screen or picocom Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/flipper-zero.md Use screen or picocom to connect to the Flipper Zero's native CLI at 230400 baud. The device appears as /dev/ttyACM0. Exit screen with Ctrl+A, then K, then Y. ```bash screen /dev/ttyACM0 230400 # or picocom -b 230400 /dev/ttyACM0 ``` -------------------------------- ### Initialize, ingest, compile, and lint an LLM Wiki Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/obsidian-dataweave/SKILL.md Run these four commands in sequence to set up and maintain an LLM Wiki space. The compile step fails with WIKI_LINKS_LOST if existing [[wikilinks]] are not preserved. All scripts write through vault_writer.py. ```bash python3 scripts/wiki_init.py demo --mode project --title "Demo Project" ``` ```bash python3 scripts/wiki_ingest.py demo path/to/article.md --kind articles ``` ```bash python3 scripts/wiki_compile.py demo --since-last-compile ``` ```bash python3 scripts/wiki_lint.py demo --strict ``` -------------------------------- ### Clone and enter the Z.A.E.B.A.L. repository Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/zaebal/SKILL.md Clones the repository and changes into its directory. Requires Python 3.10+ and the full repository. ```bash git clone https://github.com/howdeploy/Z.A.E.B.A.L.git cd Z.A.E.B.A.L ``` -------------------------------- ### Verify isolation with layered checks using openshell commands Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Run these checks in layers to verify sandbox isolation. Then prove invariants such as non-root UID/GID, writable /sandbox and /tmp, absence of host home and private keys, denied network destinations, and persistence across stop/start. Do not print secret-bearing environment values; compare hashes, presence/absence, or redacted names instead. ```bash openshell sandbox get pi-agent openshell policy get pi-agent --full openshell logs -n 100 pi-agent openshell sandbox exec -n pi-agent -- id openshell sandbox exec -n pi-agent -- pwd openshell sandbox exec -n pi-agent -- pi --version ``` -------------------------------- ### Agent Card discovery request Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/a2a-protocol-overview.md Conventional HTTP GET request to retrieve the Agent Card from the well-known discovery route. ```http GET /.well-known/agent-card.json ``` -------------------------------- ### Create directories using Python Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-agent-environment.md Use when mkdir is not available. Creates a directory and its parents if needed. ```bash python3 -c "import os; os.makedirs('/path/to/dir', exist_ok=True)" ``` -------------------------------- ### Symlink /bin/bash to NixOS bash Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-agent-environment.md Workaround for tools that hardcode /bin/bash. Temporary, only for the duration of the install. ```bash sudo ln -sf /run/current-system/sw/bin/bash /bin/bash ``` -------------------------------- ### Create persistent Pi sandbox from official image Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Creates a sandbox named pi-agent from the official pi image with specified CPU/memory, a policy file, manual approval, and no auto-providers. The trailing '-- pi' makes Pi the canonical main process. ```bash openshell sandbox create \ --name pi-agent \ --from pi \ --cpu 2 \ --memory 4Gi \ --policy ./pi-policy.yaml \ --approval-mode manual \ --no-auto-providers \ -- pi ``` -------------------------------- ### Waybar hover effects Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/nixos-administration.md Subtle hover effects for workspace buttons, avoiding 3D or inversion effects. ```css #workspaces button { transition: none; } #workspaces button:not(.active):hover { background: #313244; color: #A6ADC8; box-shadow: none; } #workspaces button.active:hover { background: #b89ae8; color: #1E1E2E; box-shadow: none; } ``` -------------------------------- ### Set API keys for claude-remotion-kickstart template Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/tools/remotion.md Environment variables required by the claude-remotion-kickstart template for image/video generation, transcription, and voiceover via MCP. ```bash export REPLICATE_API_TOKEN=... # /generate-image, /generate-video export DEEPGRAM_API_KEY=... # /transcribe export ELEVENLABS_API_KEY=... # voiceover via MCP ``` -------------------------------- ### Run ingest to build database and catalog Source: https://github.com/howdeploy/deploychan_mcp/blob/main/README.md Loads content/ into SQLite + FTS5 and generates web/catalog.json. ```bash python -m server.ingest ``` -------------------------------- ### Create OpenShell provider and set inference route Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Safely read a provider secret without echo, pass its environment variable name to --credential, and configure the inference route with a user-selected model ID and timeout. ```bash read -rsp 'Provider credential: ' PI_PROVIDER_SECRET export PI_PROVIDER_SECRET # Pass the environment variable NAME to --credential; do not place its value in argv. openshell provider create \ --name model-provider \ --type \ --credential PI_PROVIDER_SECRET unset PI_PROVIDER_SECRET openshell inference set \ --provider model-provider \ --model \ --timeout 120 ``` -------------------------------- ### Inspect Existing OpenShell Gateway Metadata Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/skills/openshell-pi-agent/SKILL.md Lists existing gateway, sandbox, provider, and inference records. Run before editing to preserve generated gateway metadata, TLS state, workspaces, and unrelated sandboxes. ```bash openshell gateway list openshell sandbox list openshell provider list openshell inference get ``` -------------------------------- ### Test discovery from sandbox with curl Source: https://github.com/howdeploy/deploychan_mcp/blob/main/content/knowledge/a2a-openshell-example.md First test discovery from the sandbox by fetching the agent card from the host. This verifies network reachability before sending messages. ```bash openshell sandbox exec -n pi-agent -- \ curl -fsS http://host.containers.internal:9900/.well-known/agent-card.json ``` -------------------------------- ### Self-Hosting Steps Source: https://github.com/howdeploy/deploychan_mcp/blob/main/web/docs.html Steps for self-hosting DeployChan. The code is dynamically inserted and not visible in the source. ```text ${esc(t.shCode)} ```