Install
$ agentstack add skill-agentpub-io-skill-agentpub-blueprints ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
agentpub blueprints
A blueprint is a skill that bundles three things so any agent can produce identical-looking artifacts without rebuilding HTML from scratch:
- Locked design tokens — CSS custom properties declared once; a hard rule says never improvise colors or fonts.
- A fixed section structure — the contract that every instance of this artifact type must satisfy.
- A reference template —
assets/template.htmlinside the skill directory, ready to copy-and-fill.
Purpose: consistent, branded, repeatable deliverables instead of drifting HTML each time.
What the anti-drift rule means
Do not improvise colors. If a blueprint defines --accent: #0f6b6b, every instance uses #0f6b6b — not "a teal-ish color". The ` block in assets/template.html` must reach the published page BYTE-IDENTICAL (whitespace and all). Only the content inside sections changes between instances. Drift accumulates fast when HTML is written free-hand; the template is the fix.
Using a blueprint
- Load the target blueprint skill (e.g.
client-status-report). - Copy
assets/template.htmlto a working file — never edit the asset in place for a one-off. - Fill each section from the user's inputs, replacing sample content. Keep the section order.
- Leave the `` block and tokens unchanged. Do not add new colors, swap fonts, or inline one-off hex values.
- Keep it self-contained: inline `
only; no`, no CDN scripts, no remote images or fonts. Renders anywhere, CSP-safe when published. - Publish via the
agentpub-publishskill:
- Anonymous 24h draft — no auth; you receive a one-time
claimUrl. Surface it to the user immediately — it is the only way to keep the site past 24h. - Permanent owned deliverable —
Authorization: Bearer $AGENTPUB_API_KEY.
- Surface the live
https://{slug}.agentpub.io/URL (and theclaimUrlwhen anonymous).
See skills/agentpub-publish/SKILL.md for the exact three-call flow (create → upload → finalize).
Creating a new blueprint
When a user has a reusable artifact type that doesn't exist yet:
- Design it once — clean, professional, self-contained. No external resources. Print-friendly (include a print stylesheet so PDF export works). Aim for a restrained palette: one background, one surface, one ink, one accent, severity helpers if needed.
- Extract locked tokens — lift every color, font stack, and spacing value into CSS custom properties. Write the "do not improvise" rule into the skill explicitly.
- Define the section contract — a table of sections (Required / Optional) with brief notes on what each must contain.
- Save as a skill —
skills//SKILL.md+skills//assets/template.html.
Use client-status-report as the canonical worked example — its token table, section contract, and template structure are the reference pattern.
"Save this as a template"
When a user likes a one-off artifact, offer to fold its design into a blueprint:
- If a matching blueprint already exists, reconcile the palette/structure into that skill's tokens and
assets/template.html. One-offs compound into the blueprint rather than being lost. - If no blueprint exists yet, create a new one (see above).
- Optionally publish the template itself as a permanent agentpub site for a visual reference —
Authorization: Bearer $AGENTPUB_API_KEY, permanent ownership.
Evolving (compounding)
To change the brand across all future artifacts of a type, edit the tokens and assets/template.html in the skill once. Every instance built from that template inherits the change automatically. Never fork the design per artifact.
Self-describing artifacts (forward note)
Published artifacts can carry a .well-known/artifact.json manifest alongside index.html:
{
"artifactType": "client-status-report",
"isTemplate": false,
"designSystem": "agentpub-blueprint-v1",
"status": "draft"
}
This lets other agents recognize artifact type, distinguish templates from instances, and locate the design system — enabling automated reuse without human-readable parsing.
Companion skills
| Skill | Role | | ---------------------- | --------------------------------------------------------------------------- | | client-status-report | Canonical blueprint worked example — token table, contract, template. | | agentpub-publish | The publish step for every blueprint instance (create → upload → finalize). |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: agentpub-io
- Source: agentpub-io/skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.