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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 110個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    tw93がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルKamiをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでKamiを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にKamiを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Kamiは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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個のファイルがあります。

よくある質問

AIスキル「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.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Kamiを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Kamiは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもKamiを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Kami」は無料ですか?

はい。tw93がGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇