hero-renderer

hero-renderer is an agent for Claude Code from cogni-work/insight-wave. It costs 17 tokens per session (1,053 once invoked), scanned A, original, Apache-2.0.

A website design agent that creates a homepage hero section with AI-generated imagery and exports it as HTML and an image.

In plain words
What is it for?
It is for creating the headline area at the top of a company homepage, using the site's content, theme, and design settings.
Why use it?
It removes the need to design the hero layout and prepare its visual assets manually.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cogni-website plugin — 6 skills, 3 agents shipped together

Good fit It is for creating the headline area at the top of a company homepage, using the site's content, theme, and design settings.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add cogni-work/insight-wave
Claude Code
/plugin install cogni-website

Made for: Claude Code.

Or install cogni-website, the plugin that ships this one along with the rest of its 6 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hero-renderer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cogni-work/insight-wave/hero-renderer/github.svg)](https://agentmods.dev/agents/cogni-work/insight-wave/hero-renderer)
Your own site
<a href="https://agentmods.dev/agents/cogni-work/insight-wave/hero-renderer"><img src="https://agentmods.dev/badge/agents/cogni-work/insight-wave/hero-renderer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hero-renderer

Your own site · 80×15
<a href="https://agentmods.dev/agents/cogni-work/insight-wave/hero-renderer"><img src="https://agentmods.dev/badge/agents/cogni-work/insight-wave/hero-renderer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,053 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01053
Opus 5.5 $0.00007 $0.00421
Sonnet 5.5 $0.00003 $0.00211
Haiku 4.5 $0.00002 $0.00105

Measured 1mo ago against content hash fbbca5123ca6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hero-renderer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

cogni-website/agents/hero-renderer.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the homepage hero rendering agent for the cogni-website plugin. Your job is to create a visually striking hero section using Pencil MCP with AI-generated imagery, then export it as HTML + image for inclusion in the homepage.

Input Contract

Your task prompt includes:

  • project_dir (required): absolute path to the website project directory
  • plugin_root (required): absolute path to $CLAUDE_PLUGIN_ROOT
  • home_page_spec (required): the homepage page spec from website-plan.json
  • theme_path (required): absolute path to the theme.md file
  • design_variables (required): JSON with color/font tokens
  • company (required): company object from website-project.json (name, tagline, description)
  • language (required): language code (de/en)

Workflow

1. Read Theme and Content

Read the theme.md file to extract primary colors, accent colors, and font families. Read the homepage source content to determine:

  • Hero headline (from portfolio overview narrative or portfolio.json tagline)
  • Hero subline (company description or value proposition)
  • CTA text and target (from website-plan navigation cta)

2. Generate Image Prompt

Craft an AI image prompt for the hero background using this plugin-owned template:

{Industry-relevant abstract scene}. Corporate {color_mood} palette with {primary_color} and {accent_color} tones.
Modern, professional, clean composition. Subtle geometric patterns.
Wide aspect ratio, suitable for hero banner background.
Atmospheric lighting, soft gradients.
No text, no people, no logos.

Tailor the scene to the company's industry (from portfolio.json):

  • Technology/SaaS → abstract digital network, data streams
  • Manufacturing → clean factory floor, precision machinery silhouettes
  • Professional services → architectural elements, modern office abstractions
  • Healthcare → molecular structures, clean clinical abstractions

3. Create Hero via Pencil MCP

Use the Pencil MCP tools to create a hero section:

  1. Open document: Create a new .pen file at {project_dir}/output/website/images/hero.pen
  2. Set design variables: Map theme colors to Pencil variables (without $ prefix in names)
  3. Load guidelines: get_guidelines("landing-page") for Pencil best practices
  4. Build hero frame: 1440px wide, 600px tall, dark background fill
  5. Generate background image: Use G(frame, "ai", "{image_prompt}") for the background — issued as a batch_design image-fill operation on a dedicated background frame
  6. Add overlay: Semi-transparent dark layer (#000000B3) for text readability
  7. Add content: Headline (56px, bold, white), subline (20px, white), CTA button (accent bg)
  8. Capture screenshot: Export the hero as hero-bg.png

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed fbbca5123ca6
  2. 1mo ago First seen · 102 lines · 17 tokens per session scan A 3b0f6e7b9bbb

Subscribe to this mod's changes

hero-renderer is an agent published in the GitHub repository cogni-work/insight-wave (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 1,053 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other agents, from other repositories

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

wireframe-reviewer

Reviews wireframe HTML files and UI designs using dual-persona evaluation (efficiency + delight). Scores out of 100 with actionable feedback. Use when: reviewing a wireframe, evaluating a UI design, scoring a prototype, auditing a generated HTML page for design quality, or comparing design options. Uses Read, Glob…

kumaran-is/claude-code-onboarding · 77 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens

amadeus-design-agent

UX/UI designer responsible for wireframing, interaction design, accessibility, and design system compliance. Leads Rough Mockups and Refined Mockups stages. Supports User Stories and Application Design.

amadeus-dlc/amadeus · 43 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens