Logo Tmdl

Tmdl

Cộng đồngPhổ biến
data-goblin
tmdl

Direct TMDL file authoring and BIM-to-TMDL conversion for semantic models in PBIP projects. Automatically invoke when the user asks to "edit TMDL", "add a measure in TMDL", "TMDL syntax", "fix formatString", "fix summarizeBy", "TMDL indentation", "convert BIM to TMDL", "add a column description", "create a calculated column in TMDL", or mentions .tmdl file editing or BIM-to-TMDL migration.

Add to TypingMind

Tổng quan

Nhà phát hànhdata-goblin
Kho mãpower-bi-agentic-development
Tên kỹ năngtmdl
Sao
1K
Bản fork
149
Tệp đi kèm
55
Giấy phépGPL-3.0
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • 55 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 data-goblin công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Tmdl 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/data-goblin/power-bi-agentic-development/tree/main/plugins/pbip/skills/tmdl
  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/data-goblin/power-bi-agentic-development.git /tmp/power-bi-agentic-development
mkdir -p .claude/skills
cp -r /tmp/power-bi-agentic-development/plugins/pbip/skills/tmdl .claude/skills/tmdl
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 Tmdl 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ự nạp Tmdl 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 bạn có thể dùng Tmdl với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

TMDL Authoring

Expert guidance for authoring and editing TMDL (Tabular Model Definition Language) files directly in PBIP projects.

This skill is a last resort. Direct TMDL file editing lacks the validation, atomicity, and DAX query capabilities of the Tabular Editor CLI, Power BI MCP server, or the connect-pbid skill (TOM via PowerShell). Use those tools when available. TMDL editing is appropriate when:

  • Working with PBIP files in a Git repo without Power BI Desktop open
  • No Tabular Editor CLI or MCP server is installed
  • Making quick text-level fixes (descriptions, format strings, display folders) where a full tool chain is overkill

Direct TMDL editing does not validate DAX syntax, check referential integrity, or verify that property values are valid. Errors will only surface when the model is next loaded in Power BI Desktop or deployed via XMLA. Use the pbip-validator agent to check TMDL files for syntax issues, indentation errors, and referential integrity before opening in PBI Desktop.

When to Use This Skill

Activate only when the Tabular Editor CLI, Power BI MCP server, or connect-pbid skill are not available, and tasks involve:

  • Editing .tmdl files directly (measures, columns, tables, relationships)
  • Adding or modifying measure definitions in TMDL
  • Adding descriptions to columns, measures, or tables
  • Fixing summarizeBy or formatString values
  • Understanding TMDL syntax rules (indentation, quoting, property ordering)
  • Writing multi-line DAX in TMDL format
  • Understanding the difference between /// descriptions and // comments

Critical

  • /// (triple-slash) sets the Description property on the object that immediately follows it. A /// line must be immediately followed by a declaration (measure, column, table, etc.); never by a blank line or another ///. Use // for regular comments.
  • Indentation is semantic. TMDL uses whitespace indentation where depth equals nesting level (TMDL spec — Indentation). PBIP files use a single tab per level because Power BI Desktop and the TOM TmdlSerializer default to IndentationMode.Tabs. Spaces are also valid (IndentationMode.Spaces, default 4 per level), but be consistent within a file; mixed or incorrect indentation will break the model. Properties of a table are indented one level; properties of a column (which belongs to a table) are indented two levels.
  • Name quoting rules: Only quote names that contain spaces, special characters, or start with a digit. Simple names and underscore-prefixed names are unquoted. See the Name Quoting section for details.
  • M expressions and tables share a namespace. A name declared by expression <name> in expressions.tmdl and a name declared by table <name> in tables/*.tmdl collide; Power BI Desktop fails the load with 'duplicate member <name>'. Pick distinct names; the conventional fix is to suffix the M expression with Query or Source and have partitions reference it via source = #"<Name> Query". validate_pbip.py enforces this as an ERROR.

TMDL File Types

FileContentsLocation
model.tmdlModel configuration, ref table entries, query groups, annotationsdefinition/
database.tmdlCompatibility level, model IDdefinition/
relationships.tmdlAll relationships between tablesdefinition/
expressions.tmdlShared M expressions and parametersdefinition/
functions.tmdlDAX user-defined functions (reusable parameterized DAX)definition/
roles/<RoleName>.tmdlOne file per security role (RLS filters, role members, OLS)definition/roles/
perspectives/<Name>.tmdlOne file per perspective (object membership)definition/perspectives/
dataSources.tmdlLegacy data source definitions (if present)definition/
tables/<Name>.tmdlTable definition with columns, measures, hierarchies, partitionsdefinition/tables/
cultures/<locale>.tmdlLinguistic metadata and translationsdefinition/cultures/

Object Nesting Rules

Objects must be nested inside their correct parent. The validator enforces these rules:

ObjectAllowed Parent(s)
column, measure, hierarchy, partition, calculationGrouptable
levelhierarchy
calculationItemcalculationGroup
tablePermissionrole
columnPermissiontablePermission
perspectiveTableperspective
perspectiveColumn, perspectiveMeasure, perspectiveHierarchyperspectiveTable
linguisticMetadata, translationcultureInfo
dataAccessOptionsmodel
formatStringDefinitionmeasure, calculationItem
detailRowsDefinitionmeasure, table
alternateOfcolumn
memberrole
annotation, extendedPropertyany object (including queryGroup, function, member)
refmodel, table

Root-level objects (indent 0 only): model, database, table, relationship, role, cultureInfo, perspective, dataSource, expression, queryGroup, function.

Syntax Rules

Indentation

TMDL uses whitespace indentation where depth equals nesting level. PBIP files use a single tab per level (the TOM TmdlSerializer default), so all examples below use tabs:

tmdl
table Product                              // depth 0: top-level declaration
	lineageTag: abc-123                    // depth 1: table property

	measure '# Products' =                // depth 1: measure declaration
			COUNTROWS (                    // depth 3: DAX expression body (one deeper than properties)
			    VALUES ( Product[Name] )   // depth 3: continued
			)                              // depth 3: continued
		formatString: #,##0               // depth 2: measure property
		displayFolder: Measures            // depth 2: measure property
		lineageTag: def-456               // depth 2: measure property

	column 'Product Name'                  // depth 1: column declaration
		dataType: string                   // depth 2: column property
		lineageTag: ghi-789               // depth 2: column property
		summarizeBy: none                  // depth 2: column property
		sourceColumn: Product Name         // depth 2: column property

		annotation SummarizationSetBy = Automatic  // depth 2: column annotation

Key rules:

  • Use tabs in PBIP files (Power BI Desktop's default); see the Critical section above for the spaces alternative
  • Table-level objects (columns, measures, hierarchies, partitions) are at depth 1
  • Properties of those objects are at depth 2
  • Multi-line DAX expression bodies are always 2 levels deeper than the enclosing declaration (depth 3 for measures/columns inside a table; depth 2 for top-level functions; depth 4 for calculationItems)
  • Annotations are at the same depth as properties of their parent object, separated by a blank line

Descriptions (///)

Triple-slash sets the Description property on the next declaration. This is native TMDL syntax (not a Tabular Editor extension); the TMDL spec treats /// as first-class description support.

tmdl
/// Count of distinct products in the current filter context.
measure '# Products' =
		COUNTROWS ( VALUES ( Product[Product Name] ) )
	formatString: #,##0
	lineageTag: abc-123

Rules:

  • /// must be immediately followed by a declaration on the next line
  • No blank line between /// and the declaration
  • Multiple /// lines concatenate into a single description
  • /// applies to the next measure, column, table, hierarchy, or level

Common mistake:

tmdl
// WRONG: blank line between /// and declaration
/// This is a description.

measure 'My Measure' = 1

// WRONG: /// used as a separator comment
///
measure 'My Measure' = 1

// RIGHT: /// immediately before declaration
/// This is a description.
measure 'My Measure' = 1

// RIGHT: // used for regular comments
// This is just a comment, not a description.
measure 'My Measure' = 1

Comments (//)

Double-slash is a regular comment with no semantic effect:

tmdl
// This is a comment — it does not set any property
measure 'My Measure' = 1

Property Ordering

Properties should follow a consistent order, though TMDL is not strict about it. The conventional order is:

For columns: dataType, isHidden, isKey, displayFolder, lineageTag, summarizeBy, isNameInferred, sourceColumn, sortByColumn, then annotations.

For measures: DAX expression (on the = line or multi-line), formatString or formatStringDefinition, displayFolder, lineageTag, then annotations.

Name Quoting

When to Quote

Use single quotes around names that contain any of these characters:

  • Spaces: 'Product Name'
  • Dots: 'Sales.Amount'
  • Equals: 'Price = Target'
  • Colons: 'Date:Key'
  • Single quotes (escape by doubling): 'Customer''s Name'
  • Other special characters: 'Sales ($)', 'OTD % (Value)', '1) Selected Metric'
  • Names starting with a digit: '4) Selected Period'

When NOT to Quote

Do not quote names that are simple identifiers:

  • Product (simple word)
  • _Measures (underscore prefix, no spaces)
  • Date (simple word)
  • CgMetricQuantity (PascalCase, no spaces)

Examples

tmdl
table Product                    // unquoted: simple name
table _Measures                  // unquoted: underscore prefix
table 'Budget Rate'              // quoted: contains space
table 'Invoice Document Type'    // quoted: contains spaces
table '1) Selected Metric'       // quoted: starts with digit
table 'On-Time Delivery'         // quoted: contains space

Column Definitions

For complete column examples (basic, hidden, key, sortByColumn, description), see references/tmdl-file-examples.md. For full property reference, see references/column-properties.md.

Key column pattern:

tmdl
column 'Product Name'
	dataType: string
	displayFolder: 1. Product Hierarchy
	lineageTag: abc-123
	summarizeBy: none
	sourceColumn: Product Name

	annotation SummarizationSetBy = Automatic

Measure Definitions

Single-Line DAX

tmdl
measure '# Products' = COUNTROWS ( VALUES ( Product[Product Name] ) )
	formatString: #,##0
	displayFolder: Measures
	lineageTag: abc-123

Multi-Line DAX

Two syntaxes for multi-line DAX:

1. Indented block (most common) -- expression body indented two levels deeper than the declaration:

2. Triple-backtick block -- DAX enclosed in ``` fences, useful for expressions with complex indentation:

tmdl
measure Percentage = ```
		VAR _Total = CALCULATE( SUM ( 'Table'[Quantitative] ), REMOVEFILTERS ( ) )
		RETURN
		DIVIDE ( SUM ( 'Table'[Quantitative] ), _Total )
		```
	formatString: 0.0%;-0.0%;0.0%
	lineageTag: abc-123

Indented block syntax (standard approach) -- indented two extra tabs from the measure's parent (table) level:

tmdl
measure 'Actuals MTD' =
		CALCULATE (
		    [Actuals],
		    CALCULATETABLE (
		        DATESMTD ( 'Date'[Date] ),
		        'Date'[IsDateInScope]
		    )
		)
	formatString: #,##0
	displayFolder: 2. MTD\Actuals
	lineageTag: abc-123

Measure with Description

tmdl
/// Number of workdays elapsed month-to-date, considering only dates in scope.
measure '# Workdays MTD' =
		CALCULATE(
		    MAX( 'Date'[Workdays MTD] ),
		    'Date'[IsDateInScope] = TRUE
		)
	formatString: #,##0
	displayFolder: 5. Weekday / Workday\Measures\# Workdays
	lineageTag: abc-123

Measure with formatStringDefinition (Dynamic Format)

tmdl
measure 'Sales Target MTD vs. Actuals (%)' =
		Comparison.RelativeToTarget (
		    [Actuals MTD],
		    [Sales Target MTD]
		)
	displayFolder: 2. MTD\Sales Target
	lineageTag: abc-123

	formatStringDefinition =
			FormatString.Comparison.RelativeToTarget (
			    "SUFFIX",
			    1,
			    "ARROWS",
			    "",
			    ""
			)

Note: formatStringDefinition replaces formatString when the format is computed dynamically via a DAX expression (often a calculation group format function).

Other Object Types

For complete examples of calculated columns, roles (RLS/OLS), calculation groups, date table marking, hierarchies, partitions, relationships, shared expressions, and model configuration, see references/tmdl-file-examples.md.

Common Data Quality Patterns

summarizeBy Rules

Column TypeCorrect summarizeByReason
Keys (surrogate/natural)noneKeys are never aggregated
Attributes (names, codes, types)noneText attributes are never summed
DatesnoneDates are never summed
Boolean flagsnoneFlags are never summed
Additive numeric facts (amounts, quantities)sumDefault aggregation is SUM
Non-additive numeric facts (rates, percentages)noneCannot be meaningfully summed

Common fix pattern — changing summarizeBy: sum to summarizeBy: none for key columns:

tmdl
// Before (wrong - key column should not sum)
column 'Customer Key'
	dataType: int64
	isHidden
	lineageTag: abc-123
	summarizeBy: sum
	sourceColumn: Customer Key

// After (correct)
column 'Customer Key'
	dataType: int64
	isHidden
	lineageTag: abc-123
	summarizeBy: none
	sourceColumn: Customer Key

formatString Patterns

Data TypePatternExample
Integer#,##01,234
Decimal (2 places)#,##0.001,234.56
Percentage#,##0% or 0.00%85% or 85.00%
Currency$#,##0.00$1,234.56
Datemm/dd/yyyy or dd/mm/yyyy01/15/2024

PBI_FormatHint Annotation

Power BI Desktop may add a PBI_FormatHint annotation alongside formatString:

tmdl
column Amount
	dataType: decimal
	formatString: #,##0.00
	lineageTag: abc-123
	summarizeBy: sum
	sourceColumn: Amount

	annotation SummarizationSetBy = Automatic

	annotation PBI_FormatHint = {"isGeneralNumber":true}

Do not fight this annotation. Power BI tooling re-adds it automatically. When setting a formatString, leave any existing PBI_FormatHint in place. If Power BI re-adds a removed PBI_FormatHint, accept it.

Quick Reference

Property Cheat Sheet

For the complete property reference for every object type, see references/object-properties.md.

ObjectPropertyValuesNotes
ColumndataTypestring, int64, double, decimal, dateTime, boolean, binary, unknown, variant, automaticRequired for data columns
ColumnsummarizeBydefault, none, sum, min, max, count, average, distinctCountUse none for keys/attributes
Columntypedata, calculated, rowNumber, calculatedTableColumnColumn type variant
ColumnisHidden(flag, no value)Boolean flags: write the keyword alone on its own line
ColumnisKey(flag, no value)Marks the column as the table's key
ColumnisNullable(flag, no value)Column allows nulls
ColumnisUnique(flag, no value)Column values are unique
ColumnisNameInferred(flag, no value)Name inferred from source
ColumnisDefaultLabel(flag, no value)Default label for the table
ColumnisDefaultImage(flag, no value)Default image for the table
ColumnisDataTypeInferred(flag, no value)Data type inferred from source
ColumnisAvailableInMdx(flag, no value)Available in MDX queries
ColumnkeepUniqueRows(flag, no value)Keep unique rows
ColumnencodingHintdefault, hash, valueStorage encoding hint
Columnalignmentdefault, left, right, centerColumn alignment
ColumndisplayFolderfolder path stringUse \ for nesting: 1. Year\Quarter
ColumnsourceColumnsource column nameMust match the Power Query output column
ColumnsortByColumncolumn name referenceColumn to sort by (e.g., month name sorted by month number)
ColumnexpressionDAX expressionFor calculated columns
MeasureformatStringformat patterne.g., #,##0, 0.00%
MeasuredisplayFolderfolder path stringUse \ for nesting
MeasureformatStringDefinitionDAX expression blockDynamic format string (replaces formatString)
MeasureisHidden(flag, no value)Hide the measure
MeasureisSimpleMeasure(flag, no value)Simple implicit-style measure
MeasuredataCategorystringSemantic data category
Partitionmodeimport, directQuery, default, push, dual, directLakeStorage mode
PartitionsourceTypequery, calculated, none, m, entity, policyRange, calculationGroup, inferredSource type
RelationshipcrossFilteringBehavioroneDirection, bothDirections, automaticCross-filter direction
RelationshipsecurityFilteringBehavioroneDirection, bothDirections, noneRLS filter direction
RelationshipfromCardinality / toCardinalitynone, one, manyCardinality ends
RelationshipisActive(flag, no value)Active relationship
RolemodelPermissionnone, read, readRefresh, refresh, administratorRole permission level
ModeldiscourageImplicitMeasures(flag, no value)Disables implicit measures
ModeldefaultPowerBIDataSourceVersionpowerBI_V1, powerBI_V2, powerBI_V3PBI data source version
ModeldirectLakeBehaviorautomatic, directLakeOnly, directQueryOnlyDirect Lake mode
AlllineageTagGUIDUnique identifier, do not change existing values

Indentation Depth Summary

Rule: a multi-line DAX body is always 2 levels deeper than its enclosing object declaration.

ContextDepthTabs
Top-level declaration (table, relationship, expression)00
Table properties, column/measure/hierarchy declarations11
Column/measure properties, hierarchy levels22
DAX body for measure/column declared at depth 1 (inside table)33
Level properties33
DAX body for top-level function declared at depth 022
calculationItem inside calculationGroup (depth 1)22
DAX body for calculationItem at depth 244

Additional Resources

Reference Files

  • references/object-properties.md - Complete property reference for all 30+ TMDL object types with valid enum values for every property type (dataType, summarizeBy, modeType, crossFilteringBehavior, etc.)
  • references/column-properties.md - Column-specific property guide with summarizeBy rules, formatString patterns, PBI_FormatHint behavior
  • references/naming-conventions.md - SQLBI naming conventions, display folder conventions, measure table conventions, and calculation group naming
  • references/bim-to-tmdl.md - Converting between model.bim (TMSL) and definition/ (TMDL) via Tabular Editor CLI or TOM TmdlSerializer
  • references/tmdl-file-examples.md - Complete examples for every TMDL file type (model, database, expressions, relationships, roles, perspectives, tables, cultures) including backtick-enclosed expressions, field parameters, calculation groups, and date tables

Fetching Docs

To retrieve current TMDL reference docs, use microsoft_docs_search + microsoft_docs_fetch (MCP) if available, otherwise mslearn search + mslearn fetch (CLI). Search based on the user's request and run multiple searches as needed to ensure sufficient context before proceeding.

Example Model

  • examples/SpaceParts.SemanticModel/ -- Complete real-world TMDL model (SpaceParts) with 40 tables, 152 measures, 8 calculation groups, 8 RLS roles, 2 perspectives, DAX UDFs (functions.tmdl), shared M expressions, relationships, and cultures. Covers every TMDL file type. Key files to study:
    • definition/functions.tmdl -- DAX user-defined functions with parameters, types, and multi-line expressions
    • definition/tables/Z04CG1 - Time Intelligence.tmdl -- Calculation group with triple-backtick DAX
    • definition/tables/__Measures.tmdl -- Measures table with calculation group references
    • definition/tables/Invoices.tmdl -- Large fact table (51 measures, 18 columns)
    • definition/tables/Date.tmdl -- Calculated date table with 42 columns
    • definition/roles/Account Managers.tmdl -- RLS role with DAX filter expression
    • definition/relationships.tmdl -- 27 relationships including inactive
    • definition/expressions.tmdl -- Shared M/Power Query expressions and parameters
    • definition/perspectives/Measure Selection.tmdl -- Perspective definition

External References

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Direct TMDL file authoring and BIM-to-TMDL conversion for semantic models in PBIP projects. Automatically invoke when the user asks to "edit TMDL", "add a measure in TMDL", "TMDL syntax", "fix formatString", "fix summarizeBy", "TMDL indentation", "convert BIM to TMDL", "add a column description", "create a calculated column in TMDL", or mentions .tmdl file editing or BIM-to-TMDL migration.

Vì sao nên dùng Tmdl 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. Tmdl 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 Tmdl trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/data-goblin/power-bi-agentic-development/tree/main/plugins/pbip/skills/tmdl. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng 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 Tmdl?

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.

Có thể dùng Tmdl 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 Tmdl 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 Tmdl có miễn phí không?

Có. Kỹ năng này được data-goblin phát hành trên GitHub theo giấy phép GPL-3.0. 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇