# Standard.site Hugo Integration

> Integrate standard.site lexicons into Hugo blogs for AT Protocol publishing and Bluesky rich previews.

Standard.site Hugo Integration is a paid AI agent skill on Agensi by JJ Halans, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [JJ Halans](https://www.agensi.io/creators/halans)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-10
- Security: scan passed (2026-10-10); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/standard-site-hugo-integration
- Tags: ai-agents, writing, social-media, hugo, atproto, bluesky, static-site-generator

## About this skill

Bluesky rich previews for Hugo blogs often fail because standard meta tags aren't enough for the AT Protocol. This skill implements the `standard.site` lexicons, syncing your Hugo posts directly to your Personal Data Server (PDS) so they appear natively in the ATmosphere.

### What it does
- **Lexicon Integration**: Implements `site.standard.publication` and `site.standard.document` records on your PDS.
- **Rich Previews**: Configures head partials to emit the required `at://` link tags for Bluesky's AppView crawler.
- **Automated Publishing**: Deploys a Node.js script to sync Hugo Markdown files to atproto records with idempotent hash checking.
- **Asset Handling**: Uploads post cover images and site icons as blobs, respecting the 1MB lexicon limits.
- **Theme Sync**: Maps Hugo site parameters to `basicTheme` hex colors for consistent branding across the AT Protocol.

### How it works
1. **Endpoint Resolution**: Resolves your DID to find the correct PDS service endpoint via PLC directory or `did.json`.
2. **Template Injection**: Modifies your Hugo head partials to include the `<link>` verification tags.
3. **Script Setup**: Configures a publishing script with `dotenv` for secure app password management.
4. **Content Sync**: Runs the sync process to write document records and update post frontmatter with AT-URIs.

### Frameworks & tools
Hugo, Node.js, AT Protocol (atproto), Bluesky, `gray-matter`, `dotenv`.

### Why this beats prompting it yourself
Manual integration often fails on AT Protocol specifics like TID rkey generation or missing `$type` fields in nested JSON objects which cause silent failures. This skill handles the PDS endpoint resolution and Go template `safeURL` escaping that standard AI prompts typically miss.

### Use cases
- Syncing a self-hosted Hugo blog to the ATmosphere for native Bluesky discovery.
- Enabling rich link previews for blog posts shared on Bluesky.
- Managing decentralized site metadata via a personal PDS.

### Known limitations
Does not handle DID/handle verification (DNS/well-known). Not suitable for CI/CD environments requiring repo-write-capable app passwords. Not compatible with non-Markdown Hugo content.

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Standard.site Hugo Integration skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Why do I need this if I already have OpenGraph meta tags on my Hugo site?

Standard meta tags often fail to render on Bluesky because the AT Protocol prioritizes PDS records. This skill implements the specific site.standard lexicons required for your Hugo posts to appear as native, rich-media objects within the ATmosphere.

### What specific files or assets are included in this skill purchase?

The package includes the Hugo head partial templates, a Node.js synchronization script for your PDS, and a configuration guide for environment variables. It provides everything necessary to bridge your local Markdown files with the AT Protocol.

### Will this process duplicate my posts or overwrite existing data on my PDS?

Yes, the synchronization script uses idempotent hash checking, meaning it only uploads new or modified posts and prevents duplicate records on your PDS. It also intelligently handles image blobs to ensure they stay within the protocol's 1MB limit.

### Which AI agents or development environments are compatible with this integration?

This skill is designed for any AI agent or developer environment with Node.js access and the ability to modify Hugo templates. It works best with agents that have file-system access to run the sync script and edit your theme’s partials.

### Are there any specific technical requirements or limitations I should be aware of?

Currently, this skill requires your Hugo content to be in Markdown format with standard frontmatter. It also assumes you have already completed your DID/handle verification (via DNS or .well-known) as it focuses specifically on content and lexicon syncing.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
