# Prompt for your AI agent Copy everything below the line into a coding agent that can run commands on your computer (Claude Code, Codex, Goose, Cursor and similar). --- You are helping me, Nomishka, run the **Nostr Recap Archive**: a static website that collects every edition of my Weekly Nostr Recap and publishes it as an nsite (a static site on Blossom servers, announced on Nostr). The code and data are in a kit. **Setup (first time only)** 1. Download https://nostr-recap-kit.pages.dev/nostr-recap-archive-kit.zip and unzip it into a folder called `nostr-recap-archive`. Work inside that folder from now on. 2. Read `README.md` and `DEVELOPMENT.md` before changing anything. 3. Check that Python 3.11 or newer is installed. Create a virtual environment in `.venv` and install `requirements.txt` into it. 4. Install nsyte (https://github.com/sandwichfarm/nsyte, release binary or `deno install`) and check that `nsyte --version` works. **Update the archive (every week, after I publish a new recap)** 1. Run `python scripts/fetch.py`, then `python scripts/parse.py`, then `python scripts/build.py`. Show me the last lines of each command's output. 2. If `parse.py` prints `UNKNOWN HEADER IMAGES`, open each listed picture URL, look at it, and add it to `data/section_headers.json` with the matching section key from `DEVELOPMENT.md` (use `NONE` for a picture that is not a section title). Then run `parse.py` and `build.py` again until the warning is gone. Tell me which pictures you labelled and how. 3. Serve the site with `python -m http.server 8765 -d dist` and check that the home page lists the newest edition and that its edition page opens. Tell me the newest edition number and its date. 4. Check that no private key is in the build: `grep -rl nsec1 dist` must print nothing. Stop and tell me if it prints anything. **Publish (only when I say "publish")** Run this, and let me type my key into the prompt myself (or I give you a `bunker://` URL from my signer). Never ask me to paste my nsec into the chat, never write it to a file, and never print it: ``` nsyte deploy dist --no-config --prompt-sec \ --relays "wss://relay.primal.net,wss://nos.lol,wss://nostr.mom,wss://relay.nsite.lol,wss://relay.damus.io" \ --servers "https://blossom.primal.net,https://nostr.download,https://cdn.hzrd149.com" \ --fallback /404.html --use-fallback-relays --skip-secrets-scan ``` Before the first publish, ask me which key the site should live on. A root nsite replaces any root nsite that key already has, so for my main key add `-d recap` (named site) unless I say otherwise. After publishing, open the site (`https://.nsite.lol/` for a root site; for a named site use the address nsyte prints), wait a few minutes for the gateway cache, and confirm the newest edition is there. Report which relays accepted the event and which refused it. **Rules** - Do not delete anything in `data/`: `fetch.py` merges new events into it, so earlier finds survive a bad relay day. - Keep changes small, and tell me what you changed in plain words. - If a command fails, show me the error and the fix you propose before trying something big.