360 Secure SkillHub
360 安全技能中心

PDF Document Generation

该 Skill 通过 Python SDK 调用 CellCog 云端服务,用一段任务提示词生成排版精美的专业文档:默认输出 PDF,明确要求时输出可编辑 DOCX,覆盖简历、求职信、合同、NDA、报告、提案、发票、证书、宣传册等,并可指定内容要点、结构与设计风格。

cellcog
cellcog
热度 74.12
最近更新 2026-08-24 10:05:38
分类:创作依赖:代码执行 / 第三方 API / 内部调用大模型应用场景:文案创作 / 报告撰写 / 法律文档 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pdf-document-generation-cellcog
Metadata
name
pdf-document-generation-cellcog
description
AI PDF document generation powered by CellCog — PDF and DOCX output. Resumes, contracts, reports, proposals, invoices, certificates, NDAs, letters, brochures, legal documents, cover letters, and professional documents. Research-backed content with professional design.
metadata
{"openclaw":{"emoji":"📄","os":["darwin","linux","windows"],"requires":{"bins":["python3"],"env":["CELLCOG_API_KEY"]}}}
author
CellCog
homepage
https://cellcog.ai
dependencies
["cellcog"]

PDF Document Generation - Professional Documents Powered by CellCog

Deep reasoning. Accurate data. Beautiful design. The three things every great document needs — and most AI gets wrong.

Professional document generation — PDF by default, native DOCX on request. Deep research fills content from minimal prompts. Resumes, contracts, reports, proposals — delivered in minutes.

How to Use

For your first CellCog task in a session, read the cellcog skill for the full SDK reference — file handling, chat modes, timeouts, and more.

OpenClaw (fire-and-forget):

result = client.create_chat(
    prompt="[your task prompt]",
    notify_session_key="agent:main:main",
    task_label="my-task",
    chat_mode="agent",
)

All agents except OpenClaw (blocks until done):

from cellcog import CellCogClient
client = CellCogClient(agent_provider="openclaw|cursor|claude-code|codex|...")
result = client.create_chat(
    prompt="[your task prompt]",
    task_label="my-task",
    chat_mode="agent",
)
print(result["message"])

Output Formats

CellCog generates professional documents in multiple formats:

PDF (Default for Ambiguous Requests)

When you say "create a report" or "make a document" without specifying a format, CellCog generates PDF — perfect typography, layouts, and design with full creative control.

DOCX (First-Class Support)

When you explicitly request DOCX ("create a Word document", "make a .docx"), CellCog generates native Word directly — editable, compatible with Microsoft Word and Google Docs, great for collaborative workflows where multiple people contribute.

Just ask for DOCX and you'll get it. No need to justify why you want an editable format.


What Documents You Can Create

Resume & Career Documents

Build your professional story:

  • Resume/CV: "Create a modern resume for a software engineer with 5 years of experience"
  • Cover Letter: "Write a compelling cover letter for a product manager position at Google"
  • LinkedIn Summary: "Create a professional LinkedIn summary that highlights my transition from finance to tech"
  • Portfolio: "Build a portfolio document showcasing my UX design projects"

Example prompt:

"Create a modern, ATS-friendly resume for:

Name: Sarah Chen Title: Senior Product Manager Experience: 7 years in B2B SaaS

Work history:

  • Stripe (2021-present): Led payments platform, grew revenue 40%
  • Slack (2018-2021): Launched enterprise features
  • Microsoft (2016-2018): Associate PM on Azure

Education: Stanford MBA, UC Berkeley CS

Clean, professional design with blue accents."

Business Documents

Professional business materials:

  • Proposals: "Create a consulting proposal for a digital transformation project"
  • Invoices: "Generate an invoice template for my freelance design business"
  • Business Letters: "Write a formal partnership inquiry letter"
  • Quotes & Estimates: "Create a detailed quote for website development services"
  • Meeting Minutes: "Format these meeting notes into professional minutes"

Example prompt:

"Create a business proposal for 'CloudMigrate' consulting services:

Client: Acme Corp Project: AWS cloud migration Timeline: 6 months Budget: $150,000

Include: Executive summary, scope of work, timeline, team bios, pricing breakdown, terms.

Professional, corporate design."

Reports & Analysis

Data-driven documents:

  • Business Reports: "Create a quarterly business review report"
  • Research Reports: "Format my research findings into a professional report"
  • Analysis Documents: "Create a competitive analysis document"
  • White Papers: "Build a white paper on AI in healthcare"
  • Case Studies: "Create a customer case study showcasing ROI"

Example prompt:

"Create a Q4 2025 business report:

Title: Quarterly Performance Review Company: TechStart Inc.

Key metrics:

  • Revenue: $2.1M (up 35% YoY)
  • Customers: 150 (up from 98)
  • Churn: 5% (down from 8%)

Include charts and executive summary. Corporate professional style."

Legal & Finance Documents

Formal agreements and contracts:

  • Contracts: "Create a freelance services agreement"
  • NDAs: "Generate a mutual non-disclosure agreement"
  • Terms of Service: "Draft terms of service for my SaaS app"
  • Privacy Policies: "Create a GDPR-compliant privacy policy"
  • MOUs: "Create a memorandum of understanding between two companies"

Example prompt:

"Create a freelance contractor agreement:

Client: Acme Corp Contractor: Jane Smith (Web Developer) Project: E-commerce website redesign Duration: 3 months Payment: $15,000 (50% upfront, 50% on completion)

Include: Scope, deliverables, payment terms, IP ownership, confidentiality, termination clauses.

Professional legal formatting."

Creative & Marketing Documents

Eye-catching marketing materials:

  • Brochures: "Create a tri-fold brochure for our fitness studio"
  • Flyers: "Design a promotional flyer for our summer sale"
  • One-Pagers: "Create a product one-pager for sales team"
  • Media Kits: "Build a media kit for our startup"
  • Catalogs: "Create a product catalog with 20 items"

Example prompt:

"Create a product one-pager for 'TaskFlow' project management software:

Headline: Finally, a PM tool that doesn't suck Key features: AI task prioritization, Slack integration, real-time collaboration Pricing: $12/user/month Call to action: Start free trial

Modern, bold design. Blue and white color scheme."

Education & Training Documents

Learning materials:

  • Lesson Plans: "Create a lesson plan for teaching Python basics"
  • Training Manuals: "Build an employee onboarding manual"
  • Worksheets: "Create practice worksheets for algebra"
  • Course Outlines: "Design a 12-week data science curriculum"
  • Study Guides: "Create a study guide for AWS certification"

Events & Planning Documents

Event materials:

  • Invitations: "Create elegant wedding invitations"
  • Event Programs: "Design a conference program booklet"
  • Agendas: "Create a workshop agenda document"
  • Itineraries: "Build a detailed travel itinerary"
  • Certificates: "Create achievement certificates for our hackathon"

Forms & Certificates

Official documents:

  • Certificates: "Create a course completion certificate"
  • Awards: "Design employee of the month award"
  • Badges: "Create digital badges for our training program"
  • Forms: "Design a customer feedback form"

Choosing Mode & Tier

Scenario Recommended
Reports, guides, standard documents chat_mode="agent" (defaults to the "flash" tier)
High-stakes documents where persuasion and narrative craft matter (investor proposals, white papers) chat_mode="agent", chat_tier="max"

The flash tier is the default and handles most document generation well — fast and economical. Upgrade to chat_tier="max" when quality disappoints or the work is genuinely complex: just re-run the same prompt with chat_tier="max".

Agent Team (chat_mode="team") is reserved for deep research — don't use it for document generation.


Tips for Better Documents

  1. Provide the content: Don't say "write about my experience" - provide actual details, numbers, and facts.

  2. Specify structure: "Include: Executive summary, problem, solution, timeline, pricing" gives clear direction.

  3. Design preferences: "Modern and minimal", "Corporate professional", "Bold and colorful" - describe what you want.

  4. Brand elements: Mention colors, logos (upload them), or reference existing brand guidelines.

  5. Audience context: "For investors", "For enterprise clients", "For students" changes tone and detail level.

  6. Choose your format: PDF is the default for polished output. Request DOCX when your team needs to edit or customize the document.


If CellCog is not installed

Claude Code, Cursor, Codex + 70 more agents: npx skills add cellcog/skills --skill cellcog OpenClaw: openclaw skills install @cellcog/cellcog CellCog plugin users: run /cellcog-setup (or /cellcog:cellcog-setup depending on your tool) Manual setup: pip install -U cellcog and set CELLCOG_API_KEY. See the cellcog skill for SDK reference.