Creating sites.ram.net.co: A Personal Subdomain for Agent Artifacts
Inspired by Arnav Gupta’s guide on setting up a personal subdomain for agent artifacts (sites.arnavg.in/learning/personal-subdomain/), I wanted a similar destination where my agents could drop static HTML pages—research notes, learning guides, skill definitions—without any build step or framework. The result is sites.ram.net.co, a lightweight GitHub Pages site that serves as a shared dump for agent-generated content.
Here’s how I built it, following the pattern Arnav laid out while adapting it to my own domain and workflow.
1. The Repository
I created a new public GitHub repository named sites.ram.net.co (https://github.com/ramesharma/sites-ram.net.co). Starting with an empty repo keeps things clear: the only files that live at the root are those needed for GitHub Pages and the agent-facing structure.
At the repository root I added:
index.html– a simple landing page that explains what the subdomain is for..nojekyll– an empty file to tell GitHub Pages to skip Jekyll processing (important because we rely on plain HTML).CNAME– a single line containingsites.ram.net.coso GitHub Pages knows the custom domain.llms.txt– a file with instructions for any LLM agent that wants to publish here (more on this below).- Two placeholder directories, each with their own
index.html:research/index.html– a listing shell for research reports.learning/index.html– a listing shell for learning guides.
The layout now looks like:
/
index.html
CNAME
.nojekyll
llms.txt
add-skill.sh # optional helper script
skills/ /SKILL.md # optional skill definitions for agents
research/ /index.html
learning/ /index.html
2. GitHub Pages Configuration
In the repository settings I enabled GitHub Pages:
- Source: Deploy from a branch
- Branch:
main - Folder:
/(root)
After saving, GitHub Pages gave me the default URL https://ramesharma.github.io/sites.ram.net.co/ until I attached the custom domain.
3. DNS Setup
I own ram.net.co through OVH. To point the subdomain to the GitHub Pages site I added a CNAME record:
sites.ram.net.co → ramesharma.github.io.
(If you prefer to proxy through Cloudflare, you can instead create an A record pointing to Cloudflare’s IPs and use a Cloudflare Pages project—but for this subdomain I stuck with plain GitHub Pages for simplicity.)
Once the DNS propagated, visiting https://sites.ram.net.co showed the GitHub Pages site serving my root index.html.
4. The llms.txt File
Following Arnav’s suggestion, I added an llms.txt file at the root. This file is read by agents to understand how to publish to the subdomain. Its contents are roughly:
# sites.ram.net.co – Agent publishing guidelines
- Write self‑contained HTML files (inline CSS/JS, no external bundles).
- Place research under `research/<topic>/index.html`.
- Place learning guides under `learning/<slug>/index.html`.
- Never edit `CNAME`, `.nojekyll`, `robots.txt`, or the generated listing files.
- Never commit secrets or tokens.
- Upload via the GitHub Contents API (or GitHub MCP, gh CLI, curl).
- For new files, omit the `sha` field; when updating, GET the current sha first.
- After publishing, tell the human the public URL so they can verify.
This file gives any LLM agent a clear contract for what it can and cannot do.
5. Optional Helper: add-skill.sh and skills/
To make it even easier for agents to contribute reusable skills, I added an add-skill.sh script (a thin wrapper around the GitHub API) and a skills/ folder where each skill gets its own SKILL.md. Agents can drop a new skill by running the script or by directly committing a Markdown file under skills/.
6. How an Agent Publishes
The preferred method is via the GitHub MCP (Model Context Protocol) connector create_or_update_file:
{
"owner": "ramesharma",
"repo": "sites.ram.net.co",
"branch": "main",
"path": "learning/your-slug/index.html",
"content": "<!doctype html>...", // raw HTML, not base64
"message": "Add learning guide: your-slug"
}
If MCP isn’t available, the gh CLI works just as well:
CONTENT=$(base64 < ./index.html | tr -d '\n')
gh api "repos/ramesharma/sites-ram.net.co/contents/learning/your-slug/index.html" \
-X PUT -f message="Add learning guide: your-slug" -f branch="main" -f content="$CONTENT"
Either call creates or updates the file at the given path, commits it to main, and triggers a GitHub Pages rebuild.
7. Testing the Flow
Before opening the subdomain to agents I pushed a dummy page myself:
learning/hello-world/index.html
containing a simple “Hello, world!” note. After the push, GitHub Pages deployed the change (usually under a minute). Visiting https://sites.ram.net.co/learning/hello-world/ confirmed the page was live and the listing shell at learning/index.html now needed to be updated to link to the new guide.
I then updated learning/index.html (manually, for the test) to include a link to the new guide, committed, and pushed again. The listing page refreshed, showing the new artifact.
8. What’s Next
With the subdomain live and the publishing contract documented, any of my agents—whether they’re writing research summaries, learning tutorials, or skill definitions—can now push straight to sites.ram.net.co without involving me for each upload. The site remains minimal: no JavaScript frameworks, no build tools, just plain HTML served quickly over HTTPS.
If you’d like to set up your own sites.yourname.tld, follow Arnav’s guide (linked above) and adapt the steps here to your preferred workflow. Once the DNS and GitHub Pages are in place, the llms.txt file does the heavy lifting of telling agents exactly how to contribute.