Duckdb Local Analytics And Devのロゴ

Duckdb Local Analytics And Dev

コミュニティ
vaquarkhan
duckdb-local-analytics-and-dev

DuckDBを使ったローカル分析と開発のワークフローについて、AIエージェントをガイドします。モデルのローカルでのプロトタイプ作成、変換処理の検証、データの問題の迅速な再現、または大規模なデータウェアハウスを使わない軽量な分析ツールの構築に使用します。

Add to TypingMind

概要

公開者vaquarkhan
リポジトリdata-engineering-agent-skills
スキル名duckdb-local-analytics-and-dev
スター
60
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vaquarkhan/data-engineering-agent-skills.git /tmp/data-engineering-agent-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-agent-skills/skills/duckdb-local-analytics-and-dev .claude/skills/duckdb-local-analytics-and-dev
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

関連するリクエストがあるとすぐに、モデルが自動的にDuckdb Local Analytics And Devを読み込みます。

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

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

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

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

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

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

スキルの指示

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

DuckDB Local Analytics And Dev

Overview

Use this skill when DuckDB is the fastest path to local analytical iteration. It helps agents build reproducible local workflows that accelerate development without confusing prototype convenience for production architecture.

When to Use

  • prototyping data models and transformations locally before deploying to a warehouse
  • reproducing production data issues with sample datasets
  • running analytical queries during development without remote infrastructure
  • building lightweight CLI tools, validators, or test harnesses
  • validating dbt models locally with dbt-duckdb adapter
  • creating proof-of-concept demonstrations with embedded analytics

Do not use this when the workload requires production durability, concurrent access, or distributed processing. DuckDB is a development and prototyping accelerator, not a production warehouse replacement.

Workflow

  1. Define the purpose and scope of the local workflow. Include:

    • what question or validation is this workflow answering?
    • what sample data is needed and where does it come from?
    • is this a one-time investigation or a repeatable development workflow?
    • what is the promotion path to production if the prototype succeeds?
  2. Set up reproducible data inputs.

    • use sample files (CSV, Parquet, JSON) checked into the repository or downloaded by script
    • document how sample data was generated or extracted
    • keep sample sizes representative but small enough for fast iteration
    • use DuckDB's ability to read Parquet, CSV, and JSON directly without import steps
    • for sensitive data: use anonymized or synthetic samples only
  3. Write transformations that map cleanly to production equivalents.

    • use standard SQL that translates to the target warehouse dialect
    • avoid DuckDB-specific functions unless the workflow stays local permanently
    • structure queries in the same layered pattern (staging → intermediate → marts) as production
    • when using dbt-duckdb: use the same model structure and tests as the production adapter
    • document which DuckDB-specific features would need replacement in production
  4. Validate results locally with assertions and contract checks.

    • run row count checks, null assertions, and key uniqueness tests
    • compare output against expected results or golden files
    • use DuckDB's SUMMARIZE and descriptive statistics for quick sanity checks
    • integrate with the project's validation framework (Great Expectations, Cuallee, or custom)
  5. Document the production promotion path.

    • what must change before this prototype runs in production?
    • list DuckDB-specific assumptions: single-node, in-process, file-based storage
    • define the target platform (Snowflake, BigQuery, Redshift, Spark) and dialect differences
    • identify features that need distributed execution (large joins, window functions at scale)
    • make promotion a conscious decision, not an accident
  6. Keep the local workflow maintainable.

    • include a Makefile or script that runs the full local workflow from scratch
    • pin DuckDB version in requirements to prevent drift
    • clean up temporary databases between runs
    • document expected execution time so developers know what's normal
    • retire local workflows that no longer serve a purpose

Common Rationalizations

RationalizationReality
"DuckDB is so fast, we can just use it in production."DuckDB is single-process and file-based. Production workloads need concurrency, durability, and operational tooling that DuckDB does not provide.
"The local prototype is basically the same as production."Local prototypes skip authentication, network, concurrency, and scale concerns. The gap between local and production must be explicitly documented.
"We don't need sample data management — just point at production files."Pointing at production data from local machines creates security and size problems. Curated samples are safer and faster.
"It works locally so it will work in the warehouse."DuckDB SQL is largely standard but not identical to Snowflake, BigQuery, or Redshift dialects. Promotion requires testing on the real target.

Red Flags

  • local DuckDB workflow is treated as production without a promotion plan
  • sample data includes real PII or production secrets
  • DuckDB-specific functions are used without documenting production equivalents
  • no Makefile or script to reproduce the workflow from scratch
  • local workflow runs against full production-scale files on a laptop
  • prototype models are deployed to production without validation on the target platform
  • temporary DuckDB databases accumulate without cleanup
  • DuckDB version is not pinned, causing inconsistent results across team members

Verification

  • The purpose and scope of the local workflow are documented
  • Sample data is reproducible, appropriately sized, and free of sensitive content
  • SQL transformations use standard patterns that map to the target production platform
  • Local assertions and contract checks validate correctness
  • The production promotion path is documented with explicit dialect differences
  • A Makefile or script reproduces the full workflow from a clean state
  • DuckDB version is pinned and consistent across the team

よくある質問

AIスキル「Duckdb Local Analytics And Dev」では何ができますか?

DuckDBを使ったローカル分析と開発のワークフローについて、AIエージェントをガイドします。モデルのローカルでのプロトタイプ作成、変換処理の検証、データの問題の迅速な再現、または大規模なデータウェアハウスを使わない軽量な分析ツールの構築に使用します。

TypingMindでDuckdb Local Analytics And Devを使うメリットは何ですか?

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

TypingMindにDuckdb Local Analytics And Devをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/vaquarkhan/data-engineering-agent-skills/tree/main/skills/duckdb-local-analytics-and-devを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Duckdb Local Analytics And Devを使えるAIモデルはどれですか?

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

Duckdb Local Analytics And Devで使えるAIモデルの数に制限はありますか?

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

AIスキル「Duckdb Local Analytics And Dev」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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