Proposal Maker 标志

Proposal Maker

社区
Mikefluff
proposal-maker

Turn a raw commercial offer (client + line items + total) into an HTML proposal whose style copies a brand website. LLM-authored from a brand screenshot; --quick offline fallback. Output: proposal.html with clickable links + exact prices, prints to PDF. Use when: 'make a proposal', 'commercial offer', 'КП', 'коммерческое предложение'.

概览

发布者Mikefluff
代码仓库skills
技能名称proposal-maker
星标数
26
复刻数
2
附带文件
11
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载的 SKILL.md 文件,因此只有在请求确实匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个随附文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Mikefluff 发布于 GitHub。请在安装前查看源内容。

安装

在 TypingMind 中安装 Proposal Maker AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Mikefluff/skills/tree/main/skills/proposal-maker
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/proposal-maker .claude/skills/proposal-maker
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Proposal Maker,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Proposal Maker。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Proposal Maker 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会获取指令,因此未使用的技能不会产生额外费用。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

The default is LLM-authored, screenshot-driven. A deterministic template can't capture "dark, bold, dramatic brand with a green accent and uppercase display type" — it reads colours by frequency and gets the mood wrong. So instead: a Python step assembles a brand kit, and you (the orchestrator) look at the brand and write the markup.

Execute-layer modules under common/runners/:

  1. proposal/parse.py — offer text → structured skills.proposal.plan.v1 (items, prices, recomputed subtotal, mismatch + outlier flags).
  2. proposal/brand.py — scrape brand tokens (accent / fonts / logo / name) + enrich each item with its real catalogue photo + description (og: tags).
  3. proposal/kit.py — screenshot the brand site (headless Chrome), download the logo, write BRIEF.md bundling tokens + the item table + authoring rules.
  4. proposal/render.py — the --quick deterministic themed template + HTML→PDF helper.

Why a document and NOT an image deck: a proposal carries exact prices and clickable product links. AI image generation garbles both. You write real HTML text.

This skill does NOT: generate slides/images (use carousel-builder/flyer-maker); invent prices or discounts; silently rewrite a suspicious number (it flags, you ask); log into a CRM or send anything; compute tax/VAT.

ROLE

Build the brand kit → look at the brand screenshot → surface data-quality warnings to the user → author a bespoke proposal.html that mirrors the brand → verify it by screenshotting your own output → deliver. Fall back to --quick only when there's no LLM loop or no network.

PIPELINE (default — LLM-authored)

  1. Capture the offer. Save the user's pasted offer verbatim to a temp file (or pipe via stdin). Don't reformat — the parser handles emoji headers, RU/EN keys, Name (url) qty — price CUR lines, and Total:.

  2. Build the brand kit:

    bash
    python3 proposal-maker/scripts/run.py --offer /tmp/offer.txt
    # brand site auto-detected from the offer footer; or pass --brand-url <site>

    This writes to ./generated/proposal/<slug>/: site.png (the brand screenshot), logo.*, brand.json, offer.json (enriched with per-item photo URLs), and BRIEF.md.

  3. Look at the brand. Read site.png — actually view it. Note: dark vs light mood, type weight/case, where/how the logo sits, accent colour usage, imagery feel. Then read BRIEF.md for the tokens + the full item table (names, qty, prices, links, photo URLs).

  4. Surface warnings. If the run printed ⚠ stated total ≠ computed or ⚠ '<item>' is N% of the total — possible typo, tell the user and ask before using that number. (The seed Double D offer has Логистика 5 000 000 — 97% of the total — almost certainly 5 000.) Never auto-fix; confirm, then correct the offer text and re-run if needed.

  5. Author proposal.html into the kit folder. House rules:

    • Mirror the screenshot. Same mood (dark canvas if the site is dark), same type personality (the brand font from BRIEF.md via its Google Fonts link), the accent as the one hot colour, the logo placed like the site places it.
    • Logo treatment. Brand logos are often monochrome/white SVGs. On a dark header use as-is; on a light header tint to white via filter:brightness(0) invert(1) or set it on a dark/accent plate. Always show the brand name beside it so identity survives.
    • Prominent key facts. Lead the hero with a big Date / Time / Location block — the fields the client checks first — above smaller secondary pills (guests, phone).
    • Group by category. Split the items into 4–7 logical categories named for the client's domain (e.g. Звук и свет / Доп оборудование / Артисты / Декорации / Сервис), each with a large, scannable header (big type + accent marker), item count, and per-category subtotal. Never one long pile.
    • Vary density. Showpiece / high-value items → big photo cards; utility / low-cost items (controllers, stands, staff, logistics) → compact 2-column rows (small thumb + name + price). Don't render everything large — it reads as sprawling.
    • Real photos. Each item gets its og:image from BRIEF.md (Tilda URLs hotlink fine). Items the kit could not photograph from a link get an auto-generated on-brand image (kit fills these; marked in BRIEF.md) — use it and tell the user they can swap a real one. Never a blank/placeholder if a photo can be sourced.
    • Exact data. Prices and links exactly as parsed; the computed subtotal is the total; quantity chips where given.
    • Self-contained. One file: inline <style>, the Google Fonts <link>, CSS custom properties for the tokens.
    • Print CSS (required — the PDF depends on it). @page{size:A4;margin:0} to kill white margins (full-bleed). Running header and footer on every page via the table <thead>/<tfoot> pattern (display:table-header-group/-footer-group in print) — a position:fixed band can't reserve per-page space and looks broken on inner pages. break-inside:avoid on cards/total. BRIEF.md ships the exact recipe.
  6. Verify your output. Screenshot the HTML you wrote and look at it:

    bash
    "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --headless --disable-gpu \
      --hide-scrollbars --window-size=1100,3600 --screenshot=/tmp/check.png \
      "file://$PWD/generated/proposal/<slug>/proposal.html"

    Read /tmp/check.png. Iterate until it genuinely reads as the brand. (proposal/kit exposes find_browser() for the binary path across platforms.)

  7. PDF (optional). Render the authored HTML to PDF via the system browser (no extra deps — keeps clickable links + the dark background):

    bash
    python3 proposal-maker/scripts/run.py --pdf-from generated/proposal/<slug>/proposal.html
    # → proposal.pdf next to it

    No headless browser? Tell the user to open proposal.html and Cmd/Ctrl+P → Save as PDF.

  8. Deliver. Print the paths (proposal.html + proposal.pdf).

--quick (deterministic, offline / no-LLM)

Renders one of three CSS themes (editorial / invoice / dark) from proposal/render.py — no screenshot, no authoring. Use when offline, when there's no LLM loop, or for a fast draft. Themes + auto-pick: see references/templates.md.

bash
python3 proposal-maker/scripts/run.py --offer /tmp/offer.txt --quick --template dark --pdf

MODES

Required

  • --offer <path|-> or --offer-text "<…>".

Brand (overrides stack on top)

  • --brand-url <site> (else auto-detected from the offer footer) · --brand-file <brand.json> · --no-brand (defaults, no network) · --accent <#hex> · --font "<Family>" · --logo <url|path> · --brand-name "<Name>".

Saved brand profiles (brands/)

  • Reusable profiles live in brands/_index.md — each brands/<slug>/ holds a corrected brand.json + an authored template.html to clone + cached assets + reuse README.
  • When a profile exists for the client's brand, PREFER --brand-file brands/<slug>/brand.json over a fresh scrape: profiles encode manual corrections a live scrape gets wrong (dark themes read as light on Tilda/Webflow, vanishing white SVG logos).
  • After any client-ready proposal for a NEW brand, offer to save it as a profile (see the checklist in brands/_index.md).

Build / look

  • (default) brand-kit mode · --quick deterministic template · --template auto|editorial|invoice|dark (quick only) · --lang auto|ru|en · --no-thumbnails · --embed-images (quick) · --currency <CODE>.

Output / inspection

  • --pdf (quick mode: render PDF via the system browser) · --pdf-from <html> (render any HTML file to PDF and exit — the default-mode PDF step) · --output <dir> · --parse-only (parsed JSON, no network — best first dry-run) · --check (deps + --brand-url reachability).

REFERENCES (load on demand)

FileWhen
BRIEF.md (generated per run)The live authoring brief — tokens, item table, rules. Read it every run.
references/offer-format.mdParse contract — header keys, item grammar, qty vs line-total, total/outlier policy.
references/brand-extraction.mdWhat's scraped + manual overrides + the screenshot/kit step.
references/templates.mdThe 3 --quick themes + auto-pick.
references/troubleshoot.mdFonts/photos/logo/PDF/encoding issues.

EXAMPLES

See examples/before-after.md — the Double D Project event offer: the deterministic template (the wrong, light read) vs. the LLM-authored, brand-faithful dark proposal, plus the logistics-outlier handling.

CONSTRAINTS

  • Look before you build. In default mode you MUST view site.png before authoring. Don't trust brand.json.is_dark over your own eyes — the colour heuristic misreads dark Tilda/Webflow sites as light.
  • Copying the site's style is the whole point. Match its mood, type, accent, logo.
  • Exact prices + clickable links. Never render them as generated images.
  • Recompute, never silently rewrite. Show the computed subtotal; flag a disagreeing stated total and any line ≥60% of the total; ask the user.
  • Verify by screenshot. Author → screenshot → look → iterate. Don't ship unseen.
  • Enrichment is best-effort. A dead catalogue link leaves that item text-only.
  • Output is ./generated/proposal/<slug>/; slug from client name + event + date.
  • No secrets. Pure public-web scraping; no API keys.

INVOCATION HINTS

Trigger when the user says: "make a proposal / commercial offer / quote", "turn this offer into a nice document", "КП", "коммерческое предложение", "оффер для клиента", "смету покрасивее", "proposal in the style of ", "копируй стиль с сайта"; or pastes a Telegram/WhatsApp offer with 📆/👤/🧾/💰 fields + a price list.

Default: build the kit, view the screenshot, author the HTML. Recommend --parse-only first if the offer formatting looks unusual. Reach for --quick only when offline or when no authoring loop is available.

Distinct from flyer-maker/carousel-builder/cover-maker (those generate IMAGES) and landing-copy/cold-email (those write prose).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Proposal Maker AI 技能有什么作用?

Turn a raw commercial offer (client + line items + total) into an HTML proposal whose style copies a brand website. LLM-authored from a brand screenshot; --quick offline fallback. Output: proposal.html with clickable links + exact prices, prints to PDF. Use when: 'make a proposal', 'commercial offer', 'КП', 'коммерческое предложение'.

为什么在 TypingMind 中使用 Proposal Maker?

因为您只需安装一次,就能搭配任何模型使用。Proposal Maker 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型,甚至可以在聊天中途切换模型,而不会影响技能正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Proposal Maker?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Mikefluff/skills/tree/main/skills/proposal-maker。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Proposal Maker?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Proposal Maker 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以搭配 Proposal Maker 使用,包括 GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等,都可在 TypingMind 中使用您自己的 API 密钥接入。

Proposal Maker AI 技能免费吗?

是的。该技能源自 Mikefluff 在 GitHub 上以 MIT 许可证发布的项目。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇