Victoriametrics Docsのロゴ

Victoriametrics Docs

組織
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

概要

公開者VictoriaMetrics
リポジトリskills
スキル名victoriametrics-docs
スター
62
フォーク
9
同梱ファイル
1
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/VictoriaMetrics/skills/tree/main/plugins/docs/skills/victoriametrics-docs
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

TypingMindでVictoriametrics Docsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Victoriametrics Docsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVictoriametrics Docsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/VictoriaMetrics/skills/tree/main/plugins/docs/skills/victoriametrics-docsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

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

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

Victoriametrics Docsで使えるAIモデルの数に制限はありますか?

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

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

はい。VictoriaMetricsがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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