Kami 标志

Kami

社区热门
tw93
kami

Typeset professional documents with Kami templates: resumes, one-pagers, white papers, letters, portfolios, and slide decks. Use when asked to 做 PDF / 排版 / 简历 / 一页纸 / PPT / slides, or to create a Kami landing page. Not for auditing or restyling an existing product site.

概览

发布者tw93
代码仓库Kami
技能名称kami
星标数
11.8K
复刻数
553
附带文件
110
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 110 个附带文件

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

  • 开源

    由 tw93 发布于 GitHub。请在安装前查看技能的源文件。

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

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

技能指令

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

kami · 紙

紙 · かみ means paper in Japanese.

Good content deserves good paper. Use Kami’s templates and layout rules to create documents and landing pages with serif fonts, warm backgrounds, and ink-blue accents.

Part of Kaku · Waza · Kami - Kaku writes code, Waza drills habits, Kami delivers documents.

Commands and paths below are relative to this skill's directory. Keep the document in the user's working directory and call the scripts from there by their full path (python3 <skill>/scripts/build.py ...); relative file arguments resolve from your working directory first.

Update check (non-blocking). At the start of a task, run bash scripts/check-update.sh. It keeps a local daily marker and, at most once a day, reads Kami's latest published GitHub Release; it uploads no document or task content and stays silent when offline or sandboxed. When it prints a line about a newer Kami, relay it and continue.

Brand profile. If ~/.config/kami/brand.md (or the legacy ~/.kami/brand.md) exists, read references/brand-profile.md and apply it. Precedence: explicit prompt > editorial judgment > habit notes > frontmatter defaults > built-in defaults. The profile fills gaps silently and never overrides the current conversation. When the user names another project as the visual reference, run the style scan in the same file.

1 · Lock the contract

Before creating or changing an output, lock six things: language, template, output formats, page or length target, visual acceptance, and the verification command. Infer them from the request, then state the contract to the user in one short line in their language (template, length, formats, the figures you plan, any missing material) and continue without waiting. If they push back, adjust.

Question budget. Infer first. Ask at most once, in one compact question with at most two parts, and only when two or more of purpose, audience, hard constraints, or success are genuinely unresolvable, or two templates genuinely both fit. Otherwise take the smallest reasonable assumption and report it at the end.

Route by the artifact's current state:

Current taskModeContract
New document or substantial restructuringNew documentLock the contract, write content.json with brief + content, then fill and deliver
Text replacement, translation, or factual correction in an existing artifactContent-onlyPreserve CSS and layout unless the new copy proves a fit defect
User supplies a render or screenshot and rejects how it looksVisual repairTreat the render as the brief; follow «Feedback protocol»
Standalone generated illustration, cover, social card, or redrawGenerated assetLock the semantic brief before pixels (references/diagrams.md section 11); preserve accepted parts across iterations

Use the nearest existing template and check. Do not add a template, shared CSS layer, dependency, script flag, or optional mode unless the request cannot be met without it.

Language

User languageHTML templatesSlides (PDF default)Slides (PPTX, only when an editable deck is requested)Slides (Marp)
Chinese (primary)*.htmlslides-weasy.htmlslides.pyslides-marp.md
English*-en.htmlslides-weasy-en.htmlslides-en.pyslides-marp-en.md
Japanese (best-effort)*.html, JP Mincho firstslides-weasy.htmlslides.pyslides-marp.md
Korean*-ko.htmlslides-weasy-ko.htmlslides-en.py only if PPTX is requiredslides-marp.md
Other (best-effort)CJK or EN path by script coverageslides-weasy.html or -enslides.py / slides-en.pyslides-marp.md or -en

Japanese, Korean, and other languages need a visual pass on the page images before shipping. Reference docs are shared English specs.

Document type

User saysDocumentCN templateEN templateKO template
"one-pager / 方案 / 执行摘要 / exec summary"One-Pagerone-pager.htmlone-pager-en.htmlone-pager-ko.html
"white paper / 白皮书 / 长文 / 年度总结 / technical report"Long Doclong-doc.htmllong-doc-en.htmllong-doc-ko.html
"formal letter / 信件 / 辞职信 / 推荐信 / memo"Letterletter.htmlletter-en.htmlletter-ko.html
"portfolio / 作品集 / case studies"Portfolioportfolio.htmlportfolio-en.htmlportfolio-ko.html
"resume / CV / 简历 / 履歴書"Resumeresume.htmlresume-en.htmlresume-ko.html
"slides / PPT / deck / 演示"Slidesslides-weasy.htmlslides-weasy-en.htmlslides-weasy-ko.html
"个股研报 / equity report / 估值分析 / investment memo / 股票分析"Equity Reportequity-report.htmlequity-report-en.htmlequity-report-ko.html
"更新日志 / changelog / release notes / 版本记录"Changelogchangelog.htmlchangelog-en.htmlchangelog-ko.html
"landing page / 落地页 / 官网 / product page / 产品页"Landing Pagelanding-page.htmllanding-page-en.htmllanding-page-ko.html

When two cells both fit, decide from the signals before asking:

SignalDocument
1 page for investors, recruiters, or an executive summaryone-pager
1 page of formal correspondence (sales, hiring, resignation, memo)letter
Exactly 2 pages of career narrative with project bulletsresume
3-6 visual-heavy pages showcasing projectsportfolio
6-15 pages of sustained argument, low visual densitylong-doc
Presentation flow, one assertion per slideslides
Metrics dashboard plus thesis plus price or risk viewequity-report
Version-by-version release factschangelog
Product showcase, pricing, screenshots, FAQ for a browserlanding-page

Ask only in cases like "1.5 pages of career story, heavy visuals" (resume or portfolio?) or "2 pages of exec summary with metric tiles" (one-pager or equity-report?).

  • Changelog vs. release notes: the changelog template is a styled document. GitHub release notes are a separate deliverable; use /write.
  • Landing page: screen-first HTML, no PDF. Fill the {{PLACEHOLDER}} values and comment blocks and save a ready-to-serve file. Companion files (landing-page-*.example) and the production site mode (docs, help, releases, legal pages, or more than two locales) live in references/design.md Section 11. Keep project-specific release artifacts, payment providers, appcast rules, and private local paths out of Kami.
  • Diagrams inside a document come from assets/diagrams/ (eighteen types), not a template. references/diagrams.md section 1 picks the type; extract the <svg> block into a <figure>. The same file owns architecture boards, diagrams maintained in the user's repo, charts chosen from data (pick and embed them without asking), and generated raster illustrations.
  • Slides: read references/deck-preflight.md before drafting.

2 · Sources, materials, and content

Source check. When the document names a company, product, person, release date, version, funding round, metric, market fact, or technical spec, work from primary sources, note source and date for the facts that drive it, and ask when sources conflict (references/writing.md «5. Sources before phrasing»). Skip it for personal drafts where the user supplied everything.

Material check. A branded subject needs what makes it recognizable: logo, product image or current UI screenshot, and brand colors when the document is branded (references/writing.md «6. Materials serve recognition»). When the request names no logo but the brand profile has one, fill the commented .brand-logo slot in one-pager / portfolio / slides-weasy (expand ~ to an absolute path; leave the slot commented if the file is missing). An explicit logo in the current request always wins.

Gap report. Everything the template needs that the input lacks, missing facts and missing materials alike, goes into one compact table shown once, with one question only when a missing item would change the deliverable. Inside the document, mark a gap as [DATA NEEDED: what]. Never fill a gap with a guess, a stock image, an approximated logo, or an invented value.

Distill. Unless the content already maps one-to-one onto the template sections or the user said to use it as-is, distill it. Every factual claim, number, date, name, source, and material reference from the input must land in a template section or in the gap report.

Content IR (new documents). Write the distilled content and the locked contract to content.json next to the working HTML before filling. Read references/schemas/<type>.json first: its $comment notes carry the per-field quality bar. The envelope is strict: only type, lang (cn, en, ko, zh-TW, ...), brief, and content.

json
{
  "type": "resume",
  "lang": "cn",
  "brief": {
    "audience": "Hiring manager for a senior product role",
    "job": "Earn an interview by proving scope and outcomes",
    "template": "resume",
    "formats": ["html", "pdf"],
    "page_target": 2,
    "narrative": "Scope first, then evidence, then fit",
    "required_facts": ["team size", "measured outcomes"],
    "required_assets": [],
    "acceptance_checks": ["two pages", "all atomic facts survive"],
    "preserve": [],
    "explicit_deviations": []
  },
  "content": { ... }
}

type is a schema name in references/schemas/ (one-pager, letter, resume, long-doc, portfolio, slides, equity-report, changelog, landing-page). For a visual repair, add target, evidence, and preserve to brief. Validate before layout with python3 scripts/build.py --check-content content.json and fix errors by fixing the content (or asking for the fact), never by loosening structure. Short atomic values (names, metrics, dates, bullets) must survive into the document verbatim; values over 80 characters may be rephrased.

3 · Read the right amount

Read the lowest tier that covers the task. The templates already carry every token and component, so a new document does not need the full design spec.

TaskRead
Content-only changeCHEATSHEET.md
Layout tweak within specCHEATSHEET.md + the template
New documentthe template + CHEATSHEET.md + references/schemas/<type>.json + the references/writing.md sections for that type («Per-document strategies», «Quality bars by document type»); open references/design.md only for the component or rule you are about to change
Resume+ references/resume-writing.md
Slides, long-doc, portfolio, equity-report, changelog+ references/writing.md «Page density»
Slides+ references/deck-preflight.md and the references/design.md section 8 «Deck Recipe» it points to
Diagramreferences/diagrams.md; references/mermaid.md when the source is Mermaid text
Company, product, market, or branded subjectreferences/writing.md sections 5-6
Rendering bug, font issue, overflowreferences/production.md Part 4 (and the design spec if CSS is the cause)
Reviewing an AI-generated draftreferences/anti-patterns.md

4 · Fill the template

  • Copy the template into the working directory; never write HTML from scratch. CSS stays untouched during a content fill. A layout change stays within spec, and a real style change moves references/design.md and the sibling templates together, never one file.
  • Meet the quality bar for the type in references/writing.md «Quality bars by document type»: a resume bullet needs action, honest scope, and an observable result; an equity report needs variant perception and quantified catalysts; slides need assertion titles. Structure is necessary, not sufficient.
  • Do not invent metrics, financial data, or statistics; do not describe stock images as placeholders; do not pad slots (three real projects do not become five). Avoid the patterns in references/anti-patterns.md.
  • Tables separate rows with whitespace first and neutral hairlines second; decoration earns its place only by encoding data, state, grouping, or a relationship (references/design.md «Table (kami-table)» and «Subtractive rule»).
  • Resume: run the recruiter pass in references/resume-writing.md before building.
  • Mathematics is strict LaTeX: author formulas only as inline \( ... \) or display \[ ... \] in rendered body text, never as Unicode approximations, ASCII fractions, screenshots, or raw TeX on the page. --deliver renders them to MathJax SVG in place; it needs Node.js 20 or 22+ and bash scripts/ensure_mathjax.sh once.
  • Code blocks with class="language-*" are highlighted when optional Pygments is installed; without it they render monochrome.

Fill the four metadata placeholders in <head>; WeasyPrint writes them into the PDF:

CNENRule
{{作者}}{{AUTHOR}}Resume, letter, portfolio: the person's name from the document. Others: leave it, the build infers it from git config user.name, then KAMI_AUTHOR
{{摘要}}{{DESCRIPTION}}One sentence (≤150 chars) from the first two paragraphs
{{关键词}}{{KEYWORDS}}3-5 keywords from the title and section headings
{{文档标题}} etc.{{DOC_TITLE}} etc.From the H1 or .header .title

Keep <meta name="generator" content="Kami"> as is.

Output formats. Do not ask; decide from context. Any document: HTML + PDF (PDF is the deliverable, HTML the source). Slides: HTML + PDF, plus PPTX only when an editable deck is requested. "分享 / 发朋友圈 / share / post / preview": add PNG. "嵌入 / 插图 / embed in another doc": PNG only. Landing page: the static HTML file. An explicit format request overrides all of this.

5 · Deliver

One command finishes a document. Run it from the document's directory, fix every ERROR, and re-run until it reports READY:

bash
python3 scripts/build.py --deliver filled.html content.json

It checks the HTML (placeholders, strict math rendered in place, Markdown residue, template style, content coverage), renders the PDF next to it, then checks the PDF (page contract, resume balance, the font that actually drew CJK text, residue, density, orphans) and exports page images. WARN lines point at where to look, not at failures. GAP lines are the [DATA NEEDED] markers you must report.

Then do the part no script can: open every page image and walk the printed checklist. One hit means a whole-document sweep for that class of issue. If the host cannot view images, send the image paths and the checklist to the user instead of skipping the pass. A missing CJK serif shows no fallback boxes, only a heavier, flatter page, which is why the font gate exists; never call a CJK document visually verified without it.

Other surfaces:

  • Landing pages and any browser surface: --deliver checks the HTML only. Screenshot the responsive matrix in every shipped locale before calling it done (references/design.md «Responsive screenshot verification»); do not wait for the user to ask about mobile.
  • Editable PPTX: python3 scripts/build.py --verify slides (or slides-en) and --check-rhythm.
  • Missing dependencies or fonts: python3 scripts/build.py --doctor reports what is installed; bash scripts/ensure-fonts.sh recovers CJK fonts (the commercial TsangerJinKai02 never ships inside the skill package). Render failures and their fixes: references/production.md Part 4.

Fresh review. After READY and the image pass, review once from the contract rather than from your own rationale: reread brief, the coverage result, and the page images; check every acceptance item and preserve boundary; fix P0/P1 findings, each tied to the page or element that proves it. Use an isolated reviewer when the host has one.

Definition of done. The closing message gives:

  1. The path of every deliverable, in every promised format.
  2. The --deliver verdict and page count against the contract.
  3. Every [DATA NEEDED] gap and every assumption you made, listed.
  4. The visual verdict stated honestly: when page images could not be inspected, say "build verified, visuals unconfirmed", not "done".

Feedback protocol

When the user gives visual feedback ("looks off", "太挤了", "not elegant"), inspect the current render before asking them to choose a value. The render is the evidence; the user's negative label is the acceptance signal.

  1. Name the concrete defect in one sentence: page or surface, viewport or state, and whether it is density, hierarchy, alignment, type, color, cropping, or text fit.
  2. Lock the repair boundary: target is allowed to change; preserve names the adjacent pages, sections, content, and shared tokens that must stay stable. Ask only when two plausible targets would produce materially different artifacts.
  3. Make the smallest content, geometry, spacing, typography, crop, or token change that fixes the defect. Never hide a content problem by shrinking type first.
  4. Verify the affected matrix rather than one screenshot:
    • PDF: target page, neighboring pages, total page count, font result, and every locale or template variant reached by a shared token.
    • Screen: the breakpoint, tablet, and baseline matrix in references/design.md «Responsive screenshot verification»; every shipped locale; affected default, focus/selected, loading, empty/error, and transition states only when the surface has them.
    • PPTX: editable source plus a rendered PDF or opened-deck inspection.
    • Generated asset: target slot at its smallest display size plus sibling assets in the same deliverable.

Never say "I'll adjust the spacing" without naming the exact property and its new value.

Escalate after two rounds. If the same element is still not approved after two adjustment rounds, stop nudging values and produce one comparison artifact: the current state plus 2-3 labeled variants (A/B/C) of the same content in the product's actual frame and background, changing only the compared property. For choices with no objective criterion (typeface, accent color, logo), start there: a specimen sheet of up to 5 labeled half-page blocks with identical title-plus-paragraph content. After the pick, apply it everywhere and rebuild what it touches in the same round.

When not to use this skill

  • The user explicitly wants Material, Fluent, or a Tailwind default: a different design language.
  • Dark, cyberpunk, or futurist aesthetics (this is deliberately anti-future).
  • Saturated multi-color palettes (this has one accent).
  • Cartoon, animation, or illustration style (this is editorial).
  • Dynamic web app UI (this is for print and static documents).

附带文件

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

还有 50 个文件。

常见问题

Kami AI 技能有什么作用?

Typeset professional documents with Kami templates: resumes, one-pagers, white papers, letters, portfolios, and slide decks. Use when asked to 做 PDF / 排版 / 简历 / 一页纸 / PPT / slides, or to create a Kami landing page. Not for auditing or restyling an existing product site.

为什么在 TypingMind 中使用 Kami?

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

如何在 TypingMind 中安装 Kami?

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

哪些 AI 模型可以使用 Kami?

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

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

数量不限。只要模型支持技能,您就可以将它与 Kami 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Kami AI 技能免费吗?

是的。tw93 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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