Logo Victoriametrics Docs

Victoriametrics Docs

Tổ chức
VictoriaMetrics
victoriametrics-docs

Look up VictoriaMetrics, VictoriaLogs, VictoriaTraces, operator, vmanomaly, Helm chart and VictoriaMetrics Cloud documentation before naming a command-line flag, an HTTP API path, or a LogsQL/MetricsQL construct. Use when about to state that a flag or endpoint exists, when a user asks what a flag does, or when a previous answer may have invented an API path. Triggers on: command-line flag, CLI flag, what flag, flag does, API path, HTTP endpoint, does this endpoint exist, MetricsQL function, LogsQL pipe, LogsQL filter, operator flag, is this documented, where are the docs, VictoriaMetrics documentation.

Add to TypingMind

Tổng quan

Nhà phát hànhVictoriaMetrics
Kho mãskills
Tên kỹ năngvictoriametrics-docs
Sao
62
Bản fork
9
Tệp đi kèm
1
Giấy phépApache-2.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ộ.

  • 1 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 VictoriaMetrics 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 Victoriametrics Docs 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/VictoriaMetrics/skills/tree/main/plugins/docs/skills/victoriametrics-docs
  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/VictoriaMetrics/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/docs/skills/victoriametrics-docs .claude/skills/victoriametrics-docs
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 Victoriametrics Docs 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 Victoriametrics Docs 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 Victoriametrics Docs 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.

VictoriaMetrics documentation lookup

Confirm a flag, an API path or a query construct against the published documentation before naming it. An invented flag reads exactly like a real one, so a reader cannot tell the difference without checking.

Critical rules

  • Check before you name. Do not write a flag or an endpoint and then verify it.
  • NOT FOUND is an answer. Report that the term is undocumented. The lookup may list similar documented terms under it. Each one is a different term: name it as a correction only with its own citation, and never present it as the term the user asked about.
  • UNKNOWN is not an answer. Some pages, or the page index, did not load, so the term may be on one of them. Investigate before you answer: check that docs.victoriametrics.com is reachable and run the lookup again. If only some pages fail, open those pages directly; the script lists each one with its error. Never report the term as undocumented.
  • NOT FOUND with a topic covers only that section. Before you call a term undocumented, make sure the topic was right, or run the lookup again without one.
  • Quote the lines the lookup printed, and cite the link above them. That link carries the section anchor, so it opens at the section the claim came from. A claim without it is a guess. Do not cite a bare page URL when the lookup gave you an anchored one.
  • /flags on a running instance is not a list of available flags. It returns only the flags an operator set explicitly, so it answers how this instance is configured and nothing more.
  • A skill that already carries an API reference wins for its own endpoints. Use this one for flags, for products those skills do not cover, and for anything their reference omits.

Usage

find prints the lines that contain a term, under a link to their section. topics lists the sections a lookup can be limited to.

bash
# Which sections can a lookup be limited to?
python3 <skill_base_dir>/scripts/vmdocs.py topics

# Does this flag exist, and what does it do?
python3 <skill_base_dir>/scripts/vmdocs.py find "-retentionPeriod"

# Does this API path exist?
python3 <skill_base_dir>/scripts/vmdocs.py find "/select/logsql/hits"

# A LogsQL pipe, limited to the VictoriaLogs section
python3 <skill_base_dir>/scripts/vmdocs.py find "block_stats" "victorialogs"

A topic must be a name that topics prints, such as victorialogs or operator. Any other topic exits 2 and prints the list, so never guess one.

A term starting with - or / is treated as a flag or an API path. Every page of the topic, or of the whole site without one, is searched before the lookup says NOT FOUND.

Many flags exist in more than one product. Pass the product's section as the topic to check one of them, or the VictoriaMetrics pages, which come first, fill the output:

bash
python3 <skill_base_dir>/scripts/vmdocs.py find "-storageNode" "victorialogs"

Terms match whole. -search.maxUnique does not match -search.maxUniqueTimeseries, so a truncated or invented name stays NOT FOUND. Flags and paths also match case: -storagenode is not -storageNode. For a flag or a path, up to three similar documented terms follow, with citations: longer terms that start with the input first, then near spellings.

A path still matches when the page prints it with a routing prefix or a sub-path. When the path on the page is longer than the term, a matched in line shows it, so /query found inside /api/v1/query reads as that path and not as an endpoint of its own.

A definition comes before mentions: a flag in a flags section such as #common-flags, or a section named after the term, such as #rate or #stats-pipe.

Exit code 1 with NOT FOUND means the term does not appear in the documentation. Exit code 2 means a usage error, such as a topic that topics does not list. Exit code 3 with UNKNOWN means some pages could not be fetched, so the lookup cannot prove the term is absent. The script lists the pages that failed.

Reading the output

A hit is a link to the section, then the matching line with one line on each side. Cite the link, quote the lines (long lines shortened here):

$ vmdocs.py find "-retentionPeriod" victorialogs
https://docs.victoriametrics.com/victorialogs/#common-flags
The maximum allowed disk usage percentage (1-100) for the filesystem that contains ...
-retentionPeriod value
Log entries with timestamps older than now-retentionPeriod are automatically deleted; ...

A miss states what was searched, then any close documented terms. Each is a different term:

$ vmdocs.py find "-retentionPeriods" victorialogs
NOT FOUND: -retentionPeriods is on none of the 39 pages of the victorialogs section.
Similar documented terms, each a different term:
-retentionPeriod https://docs.victoriametrics.com/victorialogs/#common-flags

A failure says the answer is unknown, what to do, and which pages failed with which error:

UNKNOWN: 15 of 15 pages could not be fetched, and the term may be on one of them.
Do not report the term as undocumented. Check that docs.victoriametrics.com is
reachable, then run the lookup again. If only some pages fail, open them directly.
https://docs.victoriametrics.com/victoriatraces/  (HTTP Error 503: Service Unavailable)

To answer a question

The script matches terms, not questions. Turn the question into the terms it depends on:

  1. Pick the literal terms: flags, HTTP paths, component names, LogsQL or MetricsQL keywords.
  2. Run find for each term, with the product's section from topics when the question names a product.
  3. Answer only from the lines the lookup printed, and cite the link above each one. A term that comes back NOT FOUND is not part of the answer.

What the script does

It reads https://docs.victoriametrics.com/llms.txt, the published index of documentation pages, and adds the pages that only sitemap.xml lists, such as the VictoriaLogs and VictoriaTraces root pages. It loads those pages in parallel, converts them to text and prints the matching lines with one line of context. A lookup stops loading after 90 seconds and reports the pages it did not reach as UNKNOWN, so it always answers inside an agent's shell time limit. Each hit is printed under the link to the section it came from, built from the heading anchor above the match. Text above the first heading has no anchor, so its hit carries the bare page URL.

Fetched pages are cached under the system temporary directory, per user, for six hours, so the first lookup is slow and later ones are fast. Nothing is written into the repository or the user's project.

Standard library only. No installation step.

What it is good for

Flags, HTTP API paths and MetricsQL/LogsQL constructs, across VictoriaMetrics, VictoriaLogs, VictoriaTraces, the operator, vmanomaly, the Helm charts and VictoriaMetrics Cloud. A term matches whole, so a truncated or invented name stays NOT FOUND and is not confirmed by a longer real one.

Limits

  • The lookup needs network access to docs.victoriametrics.com.
  • It reports what the published documentation says. Where the documentation is wrong or incomplete, so is the answer.
  • It searches the current documentation, which describes the latest release. An older instance may not have a flag the lookup finds.
  • A cached page can be up to six hours old.

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 Victoriametrics Docs làm được gì?

Look up VictoriaMetrics, VictoriaLogs, VictoriaTraces, operator, vmanomaly, Helm chart and VictoriaMetrics Cloud documentation before naming a command-line flag, an HTTP API path, or a LogsQL/MetricsQL construct. Use when about to state that a flag or endpoint exists, when a user asks what a flag does, or when a previous answer may have invented an API path. Triggers on: command-line flag, CLI flag, what flag, flag does, API path, HTTP endpoint, does this endpoint exist, MetricsQL function, LogsQL pipe, LogsQL filter, operator flag, is this documented, where are the docs, VictoriaMetrics do...

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/VictoriaMetrics/skills/tree/main/plugins/docs/skills/victoriametrics-docs. 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 Victoriametrics Docs?

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 Victoriametrics Docs 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 Victoriametrics Docs 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 Victoriametrics Docs có miễn phí không?

Có. Kỹ năng này được VictoriaMetrics phát hành trên GitHub theo giấy phép Apache-2.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 👇