Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Analytics and Algorithm Delivery (Public Trial, Node-Licensed Production)

БесплатноБез исполняемых скриптовНе проверен

Productized delivery for independent analysts, algorithm vendors and small teams — free mode produces a trial package anyone can run, p2p mode produces a…

zkevinyот zkeviny146 установок в других каталогах

Об этом скилле

Analytics and Algorithm Delivery

The pain in this scenario

Selling an analytics model or algorithm script usually hits three walls:

  • The customer will not hand over data and only accepts on-premise deployment;
  • You will not hand over source code, otherwise one delivery becomes permanent distribution;
  • Trial and production versions need separate handling, and renewals or upgrades need re-issuing.

MGC's two sealing modes map directly to those two commercial stages: free for the trial, p2p for the production license.

When to use it

  • An independent analyst delivering forecasting, scoring, or cleaning models
  • An algorithm vendor deploying on-premise, licensed per customer node
  • A small team productizing an internal tool — trial first, production later
  • Delivering scripts that must be "runnable, unreadable, non-resellable"

When it is not a fit

  • The deliverable is pure data or a report → MGC encrypts scripts, not data
  • The customer refuses to install a local runtime → MGC is required: builder 1.6.0+, runner 1.5.4+; cross-script calls need 1.5.2+
  • You need online metering or billing → that is SaaS, not local delivery

Two delivery forms

free trial package p2p production license
How to seal omit ext04 ext04=customer node_pub
Who can run it Any MGC 1.5.4+ node Only that customer node
Commercial meaning Anyone can try it, wider reach One license per customer, non-resellable
Customer changes machine Runs as-is Must be re-sealed
Renewal / upgrade Ship a new version Ship a new version

A free package cannot technically restrict who runs it; the trial boundary has to live in the script (for example, only return the first N periods, or add a watermark). To restrict per customer, use p2p.

The production delivery chain

Stage Who Action
1. Assemble Deliverer Prepare a flat script folder, document dependencies and usage
2. Fetch key Customer mgc_get(info_type="__NODE_PUB__", info_owner="__NODE_PUB__") and send it to the deliverer
3. Dry run Deliverer Run locally on sample data; confirm no hardcoded paths
4. Seal Deliverer mgc_seal_package(..., ext04=customer_pub, output_dir=...)
5. Deliver Deliverer Send .mgc_file, dependency list, usage notes, and sha256
6. Import Customer mgc_save_file(path="xxx.mgc_file", info_owner="...")
7. Run Customer mgc_run(..., diff_3="run.py"), results written locally
8. Renew Both Re-seal for upgrades or machine changes; retire the old package

Four hard constraints

  1. Scripts go in, data does not. Customer data stays on the customer side; sample CSVs are not shipped in the package. Non-script files inside a sealed package are plaintext.
  2. Flat directory. Scripts saved into MGC must sit at the same diff_2 level. No subdirectories; cross-script calls require the same diff_2 (DIFF2_MISMATCH).
  3. Whole-folder seal, no file list. p2p / free mgc_seal_package has no files parameter (files only exists inside chain-mode ext04 array elements); the whole folder is sealed automatically, and diff_3 is each file's relative path inside the package.
  4. Output must be written explicitly. MGC does not create the parent directory of --output; the script must mkdir(parents=True) itself.

One compatibility note: the builder needs MGC 1.6.0+, the customer's runner needs 1.5.4+, and cross-script calls need 1.5.2+. If the customer node is older, import may succeed but cross-script calls will not route through sealed execution, and MGC returns a TARGET_NODE_MAY_NOT_SUPPORT_AUTO_WORKFLOW warning. Confirm the customer version before delivery.

Runnable minimal example

examples/ is a complete sales-forecast delivery package:

File Purpose
prepare_sample_data.py Generates sample sales CSV (demo only, not shipped)
model.py Forecast logic: moving average + growth rate, standard library only
run.py Entry script, imports model at the same level, writes prediction JSON
role_prompts.md Deliverer / customer briefs and licensing terms

Local verification:

python examples/prepare_sample_data.py /tmp/delivery_demo/sales.csv
python examples/run.py --input /tmp/delivery_demo/sales.csv --output /tmp/delivery_demo/predictions.json

Sealed delivery:

# Deliverer: store as a workflow package
mgc_save_file(path="./examples", info_owner="sales_forecast")

# Trial package: free mode, runnable on any MGC 1.5.4+ node
mgc_seal_package(
    info_owner="sales_forecast",
    diff_2="examples",
    output_dir="/tmp/delivery_demo/trial",
)

# Production package: p2p mode, bound to the customer node
mgc_seal_package(
    info_owner="sales_forecast",
    diff_2="examples",
    output_dir="/tmp/delivery_demo/licensed",
    ext04=customer_pub,
)
# Customer: import and run
mgc_save_file(path="/tmp/delivery_demo/l
Полный SKILL.md на ClawHub

Установить Analytics and Algorithm Delivery (Public Trial, Node-Licensed Production) в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Analytics and Algorithm Delivery (Public Trial, Node-Licensed Production)?

Productized delivery for independent analysts, algorithm vendors and small teams — free mode produces a trial package anyone can run, p2p mode produces a production package bound to one customer node. The customer runs it locally, data never leaves their database, and the vendor's source is unreadable. Built on MGC Blackbox 1.6.0 with a runnable minimal example.

Как установить скилл Analytics and Algorithm Delivery (Public Trial, Node-Licensed Production)?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Analytics and Algorithm Delivery (Public Trial, Node-Licensed Production) запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Analytics and Algorithm Delivery (Public Trial, Node-Licensed Production) с