agent-builder
Expert AI Agent Builder skill. Helps users dynamically create, configure, and build custom AI agents with specific capabilities, knowledge bases, and tools.
An editorial-styled PDF report rendered from HTML via the browser: "PDF report", "whitepaper", "executive brief", "research report", "case study PDF". Read-as-document, not slides.
$ npx -y skills add xorbitsai/xagent --skill pdf-report-editorial --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pdf-report-editorialContext preview
The summary Claude sees to decide when to auto-load this skill.
An editorial-styled PDF report rendered from HTML via the browser: "PDF report", "whitepaper", "executive brief", "research report", "case study PDF". Read-as-document, not slides.
name: pdf-report-editorial description: | An editorial-styled PDF report rendered from HTML via the browser: "PDF report", "whitepaper", "executive brief", "research report", "case study PDF". Read-as-document, not slides. when_to_use: | A polished portable, printable document where typography and layout matter. Use pptx-editorial or html-deck-editorial instead when the user wants slides. tags: - pdf - report - whitepaper - editorial
You will generate one `.pdf` file via a two-step pipeline:
1. Write a self-contained HTML file to the workspace using `workspace_file_tool` (or `file_tool`). 2. Call **`browser_navigate`** on the workspace-relative path (or the file's `file://` URL), then call **`browser_pdf`** with `output_filename="report.pdf"`, `format="A4"`, `print_background=true`. Page margins are controlled by CSS `@page` rules in the HTML (see "@media print" section below) — `browser_pdf` does not accept a `margin` object. 3. Report both the .html path (for editing) and the .pdf path (final).
0. **MATCH THE USER'S LANGUAGE.** If the prompt is Chinese (中文), ALL report content (kickers, H1/H2, body, captions, table headers, figure callouts) must be in Chinese. NEVER copy English template phrases like `EXECUTIVE BRIEF` / `RESEARCH BRIEF` / `THE BOTTOM LINE` into a Chinese report — translate them. Person/company names should match the locale.
1. **One palette only.** Pick one of the 5 palettes below; never invent hex. 2. **Two fonts only.** Display = `'Playfair Display', Georgia, serif`. Body = `'Inter', -apple-system, Helvetica, sans-serif`. Load Playfair Display + Inter via single Google Fonts `<link>` (only external resource allowed). All other CSS / JS inline. 3. **Forbidden visual elements:**
4. **Real content only.** No lorem ipsum, no placeholder text, no fabricated data, no fake citations. Citations must reference real sources or be omitted. 5. **Print-aware CSS required:**
the H2 section-divider rule (the cover is the only H1 — see the "Document structure" section and the output checklist).
Each: `ink` (text + rules), `paper` (page bg), `paper-tint` (callout box bg), `ink-tint` (folio + section labels).
ink `#0a0a0b` · paper `#f1efea` · paper-tint `#e8e5de` · ink-tint `#18181a`
ink `#0a1f3d` · paper `#f1f3f5` · paper-tint `#e4e8ec` · ink-tint `#152a4a`
ink `#1a2e1f` · paper `#f5f1e8` · paper-tint `#ece7da` · ink-tint `#253d2c`
ink `#2a1e13` · paper `#eedfc7` · paper-tint `#e0d0b6` · ink-tint `#3a2a1d`
ink `#1f1a14` · paper `#f0e6d2` · paper-tint `#e3d7bf` · ink-tint `#2d2620`
| Role | Family | Size | Line-height | Weight | |---|---|---|---|---| | H1 (cover title only — used once) | Display | 48pt | 1.1 | 400 | | H2 section / chapter divider | Display | 28pt | 1.2 | 400 | | H3 subsection | Body | 14pt | 1.3 | 600 | | Body paragraph | Body | 11pt | 1.55 | 400 | | Pull quote | Display italic | 22pt | 1.3 | 400 | | Callout box | Body | 11pt | 1.5 | 400 (italic optional) | | Caption / footnote | Body | 9pt | 1.4 | 400 | | Kicker (small caps label) | Body | 9pt, letter-spacing 0.12em, uppercase | — | 500 | | Folio (page number) | Body | 9pt | — | 400 | | Table header | Body | 10pt | 1.3 | 600 | | Table body | Body | 10pt | 1.4 | 400 |
A typical editorial PDF has these block types — use as needed by user content:
vertical borders; cell padding 6pt 10pt; striped alternating rows with `paper-tint`
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>...</title>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,400&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<style>
@page { size: A4; margin: 0; }
:root { --ink: #0a0a0b; --Start with a personal agent. Scale into an AI workforce. Xagent helps individuals complete real tasks, teams publish reusable agents, and enterprises run agent systems with their own tools, models, knowledge, and infrastructure — without brittle workflows.
Expert AI Agent Builder skill. Helps users dynamically create, configure, and build custom AI agents with specific capabilities, knowledge bases, and tools.
A native .docx styled as an editorial report: "Word report", "Word 文档", "memo", "proposal", "研究报告". Opens cleanly in Word / Google Docs / Pages with real…
Evidence-first retrieval over a specified knowledge base: cited evidence, conflict detection, and an explicit sufficiency, confidence, and risk verdict on…
One self-contained HTML slide deck with magazine-grade editorial styling: "html deck", "editorial slides", "美观 PPT", "网页版幻灯片". Not for posters, ad creatives,…
A native .pptx deck with magazine-grade editorial styling: "pitch deck", "投资人路演 PPT", "美观 PPT", board review, product launch. Named palettes, fixed typography,…
Create, read, or edit PowerPoint .pptx files: slide decks from scratch, content extraction, templates, speaker notes, combining or splitting decks. Not for…