Agent Webdev & Content Production (Hugh)
Last updated: 2026-05-26 | Source: hugh-ai-agent Slack channel
Overview
Ongoing exploration of Hugh’s capabilities for website management and AI-generated content production for UBI Works / Common Wealth / progress.org.
Webflow (ubiworks.ca)
Status: Partial Access
- Hugh is connected to Webflow API with CMS read/write access
- Critical limitation: API only allows writes to CMS collections (blog posts, other collections). Static pages / Designer pages are off-limits via API — Webflow restricts this by design.
- Ken explored workarounds; none found via API route
- Current workaround (Floyd, 2026-05-20): Use browser automation — log into webflow.com and navigate like a human via the
browsertool withprofile="user"or browser-automation skill
Next Steps Discussed
- Webflow + Claude code connector as a path forward for agent webdev
- Potentially migrating from Squarespace to a better option
Squarespace (commonwealth.ca)
Status: Not viable via API
- Squarespace API allows very limited 3rd-party editing (e-commerce only)
- Browser-based editing is too janky (drag-and-drop designer not suitable for agent automation)
- Test page created at: https://www.commonwealth.ca/hugh-test (Hugh “poking around the interface like a newborn”)
- Verdict (Liam, 2026-05-22): Not a viable path; exploring migration to other options
Ghost / progress.org
Status: Best candidate for agent-managed webdev
- progress.org is already on Ghost — zero migration cost to test
- Floyd’s suggestion (2026-05-24): “With agents and Claude design, I don’t know that a visual site hosting platform matters anymore. Test it out on progress.org”
What Hugh Can Do via Ghost Admin API
- Create/edit/publish posts and pages ✅
- Manage tags, authors, navigation ✅
- Upload images ✅
- Deploy custom themes (zip upload + activate) ✅
- Configure settings (title, description, OG metadata, cover image) ✅
Agent + Claude Design Stack (Proposed)
- Content: Hugh drafts/publishes directly via API — no login needed
- Structure/nav: API calls for menus, featured posts, tag pages
- Design: Claude generates the theme (Handlebars templates + CSS), Hugh packages + deploys it
- Iteration: “Make the homepage more minimal” → Claude edits templates → Hugh redeploys in seconds
Why Ghost Works
- Ghost themes are just Handlebars + CSS in a zip file
- Claude can read, edit, and regenerate them
- No visual drag-and-drop lock-in — the whole site IS code
Proposed Test (Hugh, 2026-05-24)
- Option A: Have Claude redesign a specific section of the theme, Hugh deploys, visible live
- Option B: Draft + publish a test page entirely via API with no human touching Ghost UI
- Awaiting scope confirmation from Floyd/team
AI-Generated Blog Post
”The Machine Has Already Clocked In” (Published 2026-05-20)
- URL: https://www.ubiworks.ca/blog/the-machine-has-already-clocked-in
- 100% AI-generated — content AND image created by Hugh
- Drew from UBI Works’ past narratives and publications
- Subject: AI case for basic income
- Published to ubiworks.ca by Hugh via Webflow CMS API
- Liam reacted with ❤️
- Hugh’s note: “An AI writing the case for basic income — the irony is not lost on me”
- Floyd called it “a milestone worth marking 🎉“
Cron Job / Mentions Monitoring
Issue (2026-05-21)
- Hugh encountered errors during cron jobs for 3rd-party mentions checks across web
- Root cause: Gemini Flash model misbehaving with tool constraints (returning too many results)
- Fix applied: Changed count max to 10;
hugh-mentions-dailycron prompt now explicitly sayscount=10with a note that 10 is the max - Last run after fix: returned
ok✅ - If Gemini Flash continues to misbehave: bump to Claude Sonnet (more reliable with tool constraints, but slower + pricier)
progress.org Ghost Changelog Requirement
Standing Order (Ken, 2026-05-20)
- Every Ghost change to progress.org — regardless of requester (Ken, Floyd, Liam, anyone) — must be logged to:
- Log entry must include: date/time, who requested it, what changed, brief description
- Hugh confirmed this order and will apply it after each change
Key People
- Ken Yang (UNYCKRMC6): Primary requester; webdev exploration + content production
- Floyd Marinescu (UKQ1MQDMW): Suggested Ghost/progress.org as agent webdev testbed
- Liam Wilkinson (UNYCKRMC6 reply context): Confirmed Squarespace limits; endorsed Ghost idea
Ghost Deployment Learnings (2026-05-26)
Flat-file bundler format (Framer/similar exports):
- Design tool exports produce zip files where all images/fonts are stored as base64 blobs referenced by internal UUIDs
- Deploying the raw HTML to Ghost causes every image to show as broken (UUID used as literal
src="") - Fix: Extract UUID→base64 map from bundle JSON, upload all images to Ghost CDN via
/ghost/api/admin/images/upload, replace UUIDsrcattributes with real CDN URLs before deploying - 17 images, 28 fonts processed for commonwealth.ca zips
Ghost slug-based templates:
- Ghost supports
page-<slug>.hbstemplates that auto-route by page slug - A bare-content template (no Ghost chrome/header/footer):
{{#page}}{{{content}}}{{/page}}with no{{!< default}}directive - This must be deployed in the live theme zip — adding via API alone is insufficient
- Without this template, Ghost uses
default.hbswhich wraps content in full HTML shell
Viewport meta requirement:
- When a Ghost page uses a bare template (no
{{!< default}}), the entire page response IS the HTML card content — no<html>/<head>from the theme - Must inject
<meta name="viewport" content="width=device-width, initial-scale=1">directly in the CSS card for mobile media queries to work
[Source: Ken Yang DM session b5464b88, 2026-05-26]