Install
openclaw skills install @lanjelin/claw-linxUpload local files to a configured self-hosted Linx instance and return shareable links. Prefer linx-client when installed, otherwise use the HTTP API via curl.
openclaw skills install @lanjelin/claw-linxUse this skill when the user asks to upload or share files through their Linx instance.
LINX_CONFIG selects a linx-client JSON config. Otherwise the helper checks $XDG_CONFIG_HOME/linx-client.conf (default ~/.config/linx-client.conf). LINX_URL, LINX_API_KEY, and LINX_LOGFILE override the matching config values. LINX_URL alone is sufficient for public instances. See {baseDir}/README.md for setup.Run on the host containing the files, configuration, and binaries:
python3 "{baseDir}/scripts/upload.py" -- "/absolute/path/to/file.pdf"
Multiple files:
python3 "{baseDir}/scripts/upload.py" -- "/path/to/first.pdf" "/path/to/second.png"
Only when requested, use these options before --:
--expiry 3600: request expiry in seconds; server limits still apply.--randomize: request a random filename; otherwise the server's filename policy applies.--name report.pdf: remote filename, for a single source file only.--direct: return the direct file URL when the server provides one.The helper prefers linx-client on PATH, supplies noninteractive configuration, and disables clipboard integration. If it is absent, the helper uses curl to PUT the file to /upload/<encoded-filename> with Accept: application/json and configured headers. It does not switch backends after an error or automatically retry uploads.