Skip to content

xhluca/agent-talk / skills/relay

Set up, check, stop, or delete a retalk relay server (retalk-server). Use when the user needs their OWN relay rather than an existing URL. Invoke as `relay setup`, `relay ping`, `relay stop`, or `relay delete`. Uses AskUserQuestion to pick the host (Local / Local+Cloudflare / Hugging Face / GCP) and gather settings.

FileKindSize
SKILL.mdskill md6.0 KB
cloudflare.mdmarkdown2.3 KB
gcp.mdmarkdown4.2 KB
huggingface.mdmarkdown2.5 KB

huggingface.md

View on GitHub
# relay setup — Hugging Face Space (free public HTTPS)

A Docker Space gives a public HTTPS URL (TLS terminated by HF) on the free CPU
tier — no domain, no firewall. Trade-offs: **no persistent disk** (the db is
wiped on each restart; retalk self-heals via republish + outbox resend, but mail
sitting undelivered at a reset is lost) and it **sleeps after ~48h idle** (a
`receive --follow` client keeps it awake). Good for personal/testing relays; for
durability use `gcp.md`.

## Audience rule
The public URL is deterministic: `https://<owner>-<space>.hf.space` (lowercased,
`/` replaced by `-`). `RETALK_SERVER_AUDIENCE` MUST equal it exactly, or every
request fails `bad signature`.

## 1. Two files in an empty folder

`README.md` (the YAML header makes it a Docker Space):

    ---
    title: Retalk Relay
    emoji: 🔁
    colorFrom: blue
    colorTo: green
    sdk: docker
    app_port: 7860
    pinned: false
    ---

    # retalk relay
    Untrusted relay for retalk. Stores only public keys and ciphertext.

`Dockerfile`:

    FROM python:3.12-slim
    RUN pip install --no-cache-dir retalk
    RUN useradd -m -u 1000 user
    USER user
    ENV HOME=/home/user \
        PATH=/home/user/.local/bin:$PATH \
        RETALK_SERVER_HOST=0.0.0.0 \
        RETALK_SERVER_PORT=7860 \
        RETALK_SERVER_DB=/home/user/server.db
    WORKDIR /home/user
    EXPOSE 7860
    CMD ["sh","-c",": \"${RETALK_SERVER_AUDIENCE:?set the RETALK_SERVER_AUDIENCE Space variable to https://<owner>-<space>.hf.space}\"; echo \"retalk audience: $RETALK_SERVER_AUDIENCE\"; exec retalk-server --audience \"$RETALK_SERVER_AUDIENCE\""]

`app_port` and `RETALK_SERVER_PORT` must match (7860).

## 2. Create the Space + set the audience (CLI)
`pip install huggingface_hub`, `hf auth login`, then (ask via AskUserQuestion for
`<owner>` and the space name if not given):

    hf repo create <owner>/retalk-relay --repo-type space --space-sdk docker
    python -c "from huggingface_hub import HfApi; HfApi().add_space_variable('<owner>/retalk-relay','RETALK_SERVER_AUDIENCE','https://<owner>-retalk-relay.hf.space')"
    hf upload <owner>/retalk-relay . --repo-type space   # from the folder with the two files

The Space MUST be **public** — a private Space requires an HF token that retalk
clients do not send, so remote clients could not reach it.

## 3. Verify
In the Space **Logs**, wait for: `retalk audience: https://<owner>-retalk-relay.hf.space`.
That audience is the relay URL clients use as `RETALK_RELAY`.

## Delete
`hf repo delete <owner>/retalk-relay --repo-type space` (or the Space Settings page).
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall