generate-cover

generate-cover is a skill for Claude Code, Codex from JOINCLASS/ai-ceo-framework. It costs 30 tokens per session (793 once invoked), scanned A, original, MIT.

A code-based tool for making book cover images with HTML and CSS, then capturing them as screenshots in Playwright, a browser automation tool.

In plain words
What is it for?
It helps create JPG covers for ebooks, including the title, subtitle, author, colours, and layout.
Why use it?
It avoids needing a separate design application and produces a cover image from code and the book's details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create JPG covers for ebooks, including the title, subtitle, author, colours, and layout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joinclass/ai-ceo-framework/generate-cover
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JOINCLASS/ai-ceo-framework --skill generate-cover
Clone the repo
git clone --depth 1 https://github.com/JOINCLASS/ai-ceo-framework

Made for: Claude Code, Codex.

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 generate-cover

README.md
[![agentmods](https://agentmods.dev/badge/skills/joinclass/ai-ceo-framework/generate-cover/github.svg)](https://agentmods.dev/skills/joinclass/ai-ceo-framework/generate-cover)
Your own site
<a href="https://agentmods.dev/skills/joinclass/ai-ceo-framework/generate-cover"><img src="https://agentmods.dev/badge/skills/joinclass/ai-ceo-framework/generate-cover/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 generate-cover

Your own site · 80×15
<a href="https://agentmods.dev/skills/joinclass/ai-ceo-framework/generate-cover"><img src="https://agentmods.dev/badge/skills/joinclass/ai-ceo-framework/generate-cover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 793 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.00030 $0.00793
Opus 5.5 $0.00012 $0.00317
Sonnet 5 $0.00006 $0.00159
Haiku 4.5 $0.00003 $0.00079

Measured today against content hash db51af779bba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade A, and why

generate-cover 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 today.

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.

skills/generate-cover/SKILL.md · 118 lines

How it starts

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

/generate-cover -- Book Cover Image Generation Skill

Design covers with HTML+CSS and render via Playwright screenshot. Fully code-based, no external tools.

Specifications

  • Size: 1600x2560px (standard ebook ratio 1:1.6)
  • Format: JPG (cover.jpg)
  • Output: {book-slug}/cover.jpg

Design Guidelines

  • Background: Dark gradient (e.g., #1e3a8a -> #0f172a)
  • Title: White, bold, large
  • Subtitle: White, slightly smaller
  • Accent: Orange line (#f97316) or brand color
  • Author: White, positioned at bottom
  • Overall feel: Technology x Professional

Customize colors and style to match .company/steering/brand.md if available.

Workflow

  1. Get title and subtitle from the book's config file
  2. Design cover in HTML+CSS (1600x2560px viewport)
  3. Save as temporary HTML file
  4. Launch Playwright headless browser -> open HTML -> screenshot
  5. Save as JPG
  6. Delete temporary HTML

HTML Template Structure

<!DOCTYPE html>
<html>
<head>
<style>
  body {
    margin: 0;
    width: 1600px;
    height: 2560px;
    background: linear-gradient(180deg, #1e3a8a 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: white;
    text-align: center;
    padding: 120px;
    box-sizing: border-box;
  }
  .accent-line {
    width: 200px;
    height: 6px;
    background: #f97316;
    margin: 60px 0;
  }
  .title {
    font-size: 96px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
  }
  .subtitle {
    font-size: 48px;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.4;
  }
  .author {
    position: absolute;
    bottom: 120px;
    font-size: 42px;
    font-weight: 300;
    opacity: 0.7;
  }
</style>
</head>
<body>
  <div class="title">{TITLE}</div>
  <div class="accent-line"></div>
  <div class="subtitle">{SUBTITLE}</div>
  <div class="author">{AUTHOR}</div>
</body>
</html>

Prerequisites

Read the full file on GitHub · 118 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. today First seen · 118 lines · 0 tokens per session scan A db51af779bba

Subscribe to this mod's changes

generate-cover is a skill published in the GitHub repository JOINCLASS/ai-ceo-framework (55 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 793 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-26.

Related

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-visual-qa

Audits already-rendered UI — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI implementation to find typography, overflow, responsive, routing, data-viz, browser-output, or native-shell defects, or to compare a render…

daymade/claude-code-skills · 99 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

waitlist-page

A simple waitlist page for collecting email addresses from people interested in a new product or early-access release.

nexu-io/html-anything · 25 tokens