Genesis Energy Nzのロゴ

Genesis Energy Nz

組織
thecolab-ai
genesis-energy-nz

Get electricity use and usage costs from your Genesis Energy NZ account, with optional natural gas. Use for hourly readings and daily or period summaries.

概要

公開者thecolab-ai
リポジトリ.skills
スキル名genesis-energy-nz
スター
39
フォーク
9
同梱ファイル
7
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 7個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thecolab-ai/.skills.git /tmp/.skills
mkdir -p .claude/skills
cp -r /tmp/.skills/skills/genesis-energy-nz .claude/skills/genesis-energy-nz
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Genesis Energy NZ

See how much electricity you have used and the usage costs Genesis reports for your account. Get hourly readings, daily totals or a summary for a chosen period. Natural gas is available as an optional choice if you have it with Genesis.

What it retrieves

DataWhat you get
Electricity usekWh for each completed hour
Natural gas (optional)Hourly gas use and usage costs, where available
Usage costsThe NZD cost Genesis reports for those hours
SummariesDaily totals or a total for a chosen period of up to 31 days
Latest readingWhen the newest supplied hour started
CompletenessHow many requested hours were supplied or are still missing

Electricity example

Made-up data from the synthetic test fixture; no real account information:

Hour starting (NZ time)Electricity useUsage cost
1 Jan 2024, 00:000.10 kWhNZ$0.03
1 Jan 2024, 01:000.20 kWhNZ$0.06

Summary: 0.30 kWh and NZ$0.09 across 2 of the day's 24 hours. The latest reading starts at 01:00 NZDT. 22 hours are missing, so this is a partial total.

The same example as one record in the JSON results array:

json
{
  "start_date": "2024-01-01",
  "end_date": "2024-01-01",
  "timezone": "Pacific/Auckland",
  "expected_intervals": 24,
  "received_intervals": 2,
  "missing_intervals": 22,
  "coverage": "incomplete",
  "latest_interval_start": "2024-01-01T01:00:00+13:00",
  "observed_usage_kwh": "0.30",
  "observed_usage_cost_nzd": "0.09"
}

Usage costs cover the readings Genesis supplies. They are not a tariff quote or a complete bill; tax, fixed charges and discount coverage still need confirmation.

Optional gas

Commands read electricity only by default. Add --fuel gas to read natural gas instead; no electricity request is made for that invocation. Users without gas can use the default commands without any gas checks or configuration.

bash
python3 skills/genesis-energy-nz/scripts/cli.py summary --fuel gas --start 2024-01-01 --end 2024-01-01 --group range --json

Made-up gas example from the synthetic test fixture:

PeriodGas use (interpreted kWh)Usage costCoverage
1 Jan 20245.0 kWhNZ$0.452 of 24 hours; partial total

If Genesis returns no readings, totals are null and coverage is no_readings. A rejected gas account/date request returns an error (exit 7), never zero usage. That can mean the account has no supported gas service or that dates are beyond the latest available readings; try earlier dates or check the service in My Account.

If an earlier gas chunk was accepted and a later one is rejected, reading stops there and the accepted hours are returned with exit 0. meta.provider_unavailable_from gives the first rejected date; those hours stay missing, so coverage is incomplete or no_readings, not zero. This treats the rejection as the end of available gas readings, an upstream-client assumption not yet verified against a live account. A first-chunk rejection, or any other failure, still returns no rows. This does not affect separate electricity requests. No combined-fuel total is made.

Setup

Requires a Genesis account, Python 3.10+ and IANA timezone data. Uses only the Python standard library. This community skill connects to the Genesis My Account website endpoints.

Access and privacy

  • Use only when the user authorises reading their own Genesis account. The Genesis online services terms make the account holder responsible for authorised access, and Genesis may refuse access or change these website endpoints. This is not a Genesis-approved API.
  • The user supplies GENESIS_EMAIL and GENESIS_PASSWORD out of band through the environment. Do not ask them to paste credentials into chat or put them in command arguments, source files, logs, fixtures, or commits.
  • Both credentials are required. There is no separate developer API key or paid API subscription in this implementation; an accessible Genesis account is needed. Example variable names for a private environment file are GENESIS_EMAIL and GENESIS_PASSWORD; provision their values privately and never commit that file. The CLI does not automatically load environment files or existing application credentials.
  • Authentication goes directly to Genesis. Cookies and tokens are kept only in memory. No external proxy service, telemetry, disk cache or credential store.
  • Treat returned usage and costs as private household data. Avoid shared logs, issues and PRs; if saving output, use an owner-only path.
  • A challenge, rejected login, rate limit, changed schema or failed chunk stops the invocation. Do not automate CAPTCHA/MFA, repeatedly retry, or bypass controls.

Commands

After the user has privately populated the two environment variables:

bash
python3 skills/genesis-energy-nz/scripts/cli.py usage --start 2024-01-01 --end 2024-01-02 --json
python3 skills/genesis-energy-nz/scripts/cli.py summary --start 2024-01-01 --end 2024-01-31 --group day --json
python3 skills/genesis-energy-nz/scripts/cli.py summary --start 2024-01-01 --end 2024-01-31 --group range --json

Substitute the requested dates. Dates are inclusive in Pacific/Auckland, limited to 31 days per invocation, and cannot extend beyond today. Reads use inclusive two-date chunks, one second apart. Query on demand; do not poll more than hourly. Older date availability is controlled by Genesis and not guaranteed.

Both commands accept --fuel electricity|gas; omitting it selects electricity. usage returns completed hourly intervals. summary returns one record per NZ calendar day, or one for the whole range. Both accept --json; without it they print a coverage header and readable records. JSON meta.fuel identifies the selected fuel. The common repo runner also works.

Interpretation

  • usage_cost_nzd is the provider's costNZD for that interval. Genesis presents Energy IQ costs as estimated variable charges that exclude fixed fees, so these are not bill totals, tariff quotes, invoices or balances. GST and discount treatment have not been established.
  • The provider field kw is interpreted as interval kWh, following the upstream client. This applies to both fuels; gas units have not been independently established, so gas output adds meta.usage_unit: "kWh" with meta.usage_unit_status: "assumed_unverified". Confirm against My Account before relying on totals.
  • observed_* sums include only supplied completed intervals. Missing intervals never become zero. An empty period has null totals and no_readings.
  • Coverage compares received hours with the entire requested date range; provider lag and the unfinished part of today therefore remain missing. Report coverage, missing_intervals and latest_interval_start with any total.
  • The upstream endpoint implicitly selects a site. This version cannot list or select sites; use only where that default is the intended site.
  • Gas is opt-in natural gas only, not an LPG price feed. There are no invoice, payment, profile, tariff-change or generic endpoint commands.

Verification and resources

  • scripts/cli.py: canonical entrypoint; JSON uses the provenance helpers in scripts/provenance.py with static error messages and stable exit codes.
  • scripts/genesis.py: fixed-destination authentication, electricity reads and optional gas reads.
  • scripts/usage.py: strict field selection, intervals and NZ coverage handling.
  • scripts/test_contract.py and scripts/smoke_test.py: offline synthetic checks; neither authenticates or reads personal data, even when credentials are set.
  • tests/fixtures/: hand-authored synthetic data, never captured account responses.
  • Source notes: protocol, units, error and provenance details, licence attribution, and the current live-verification limitation.

同梱ファイル

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

よくある質問

AIスキル「Genesis Energy Nz」では何ができますか?

Get electricity use and usage costs from your Genesis Energy NZ account, with optional natural gas. Use for hourly readings and daily or period summaries.

TypingMindでGenesis Energy Nzを使うメリットは何ですか?

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

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

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

Genesis Energy Nzを使えるAIモデルはどれですか?

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

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

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

AIスキル「Genesis Energy Nz」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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