شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها thecolab-ai على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Genesis Energy Nz في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/thecolab-ai/.skills/tree/main/skills/genesis-energy-nz
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Genesis Energy Nz في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Genesis Energy Nz تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Genesis Energy Nz بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Genesis Energy Nz على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Genesis Energy Nz عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Genesis Energy Nz في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/thecolab-ai/.skills/tree/main/skills/genesis-energy-nz. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Genesis Energy Nz؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Genesis Energy Nz؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Genesis Energy Nz معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Genesis Energy Nz مجانية؟

نعم. نشرها thecolab-ai على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇