Logo Kami

Kami

Cộng đồngPhổ biến
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.

Tổng quan

Nhà phát hànhtw93
Kho mãKami
Tên kỹ năngkami
Sao
11.8K
Bản fork
553
Tệp đi kèm
110
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 110 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được tw93 công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Kami trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/tw93/Kami/tree/main/plugins/kami/skills/kami
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Kami trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Kami ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Kami không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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).

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

và 50 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Kami làm được gì?

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.

Vì sao nên dùng Kami trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Kami là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Kami trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/tw93/Kami/tree/main/plugins/kami/skills/kami. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Kami?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Kami với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Kami với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Kami có miễn phí không?

Có. Kỹ năng này được tw93 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇