360 Secure SkillHub
360 安全技能中心

Art Demo Page

该 Skill 把用户已提供的绘画步骤整理为免费页面清单,逐项确认后通过 Beatra 按步骤生成课堂美术演示静帧,并交付图片、尺寸、任务 ID 与净计费积分;不补造缺失步骤,也不评分学生作品。

beatra-ai
beatra-ai
热度 20.08
最近更新 2026-09-06 16:45:10
分类:创作依赖:代码执行 / 读写文件 / 第三方 API / MCP 服务应用场景:图像生成 / 模板 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add art-demo-set
Metadata
name
art-demo-set
description
Turn user-supplied drawing steps into one still per art demo page. This classroom art still studio lays out each step-by-step art demo from the supplied demo points. Use it for art demonstration stills, drawing step pages, and an art demo set.

Art Demo Pages

Make one classroom demo still per named step from facts the user already supplied. Use this Skill when an art lesson needs a step-by-step demo page set, not a four-to-eight product gallery and not a fund prospectus page.

Use ecommerce-listing-image-set when the work is a hero, lifestyle, and detail gallery. Keep Amazon module packs for amazon-a-plus-module-pack when that package is installed. Use fund-page-set when the work is one prospectus still per named page. Do not look up public posts for missing demo steps. Do not grade or score student work.

Collect supplied steps

Hard inputs are the exact lesson or demo title and the user-supplied step or demo points that will appear on the stills. Do not invent a missing step, a sample grade, a rubric score, or a completed student drawing to finish a page. Reuse destination (handout, board, screen), language, and must-keeps already in the conversation.

Ask only for facts that change the pages:

  • exact lesson or demo title;
  • the step titles the user wants printed;
  • the demo points the user has already approved for each step;
  • destination surface and language; and
  • an optional teacher sample still if the pages should match that look.

A scan or photo is a visual reference, not a source for missing steps. Uploading makes media available to Beatra and does not inspect it. When the host cannot view a file, keep the user's declared role for it.

Default to one still per named step. Several steps are several stills, each with its own fact list. Omit a line whose fact is missing and keep that gap on the plan so the user can add it later.

Plan the free page list

Write a labeled page list before any paid image. For each step record the printed lines, language, layout (title, body points, optional footer), canvas, and any optional reference role. That list is the free visible result. Planning is not approval.

Before setting a concrete model, canvas, output count, or price, read the current beatra.models.list card for text_to_image. Keep model as auto and count at 1 per step. A user who wants another candidate adds a distinct step and approves that new work.

Use beatra.images.edit only after the user accepts a page and asks for a local correction, with that accepted image as images[0].

Read art-demo workflow when writing the payload or recovering a task.

Confirm once, create by step

Planning is free. Before the first billable call, show one current production card and wait:

  1. Work — one classroom demo still per named step, a generate call (beatra.images.generate).
  2. Credits — the live text_to_image price just read. Do not reuse a remembered number.
  3. Count — one paid call per step still. Do not batch several steps into one count.
  4. Identity — one new opaque client_request_id per step. A changed prompt, fact line, file, model, or canvas mints a new ID.
  5. If we stop here — the labeled page list remains usable.
  6. If the balance is insufficient — relay the official message and its top-up URL exactly. Translate the prose; keep the URL. Do not retry until the user says they have topped up.

Submit once through bundled scripts/mcp_client.py. Poll beatra.tasks.get. Deliver actual bytes plus billing.net_charged_credits. Do not promise the prepaid estimate is the final charge.

After approval, submit each step once. Keep no more than two generation tasks in flight on one connection.

Review, deliver, and recover

Review printed lines against the confirmed page list. Report only the text the host can actually see. Treat generated small type as a review item, not as a graded sample.

Deliver the stills in step order, the page list, observed dimensions and formats, task IDs, resolved models, and returned billing.net_charged_credits. A focused correction is new paid work with its own card and ID.

After a returned task_id, poll that task. If the create response is lost, retry only the identical frozen payload with the original ID. If the task ID is missing, use beatra.tasks.list and verify candidates with beatra.tasks.get before another submit. Use beatra.tasks.cancel only when the user asks.

Execution

Invoke every remote Beatra operation only through this package's bundled scripts/mcp_client.py. Put the MCP tool name after call and send one JSON object on standard input.

python3 scripts/mcp_client.py call beatra.models.list
{"capability": "text_to_image"}
printf '%s' '{"prompt":"Create the approved classroom art demo page still for the named step. Print only the confirmed demo points.","model":"auto","count":1,"canvas":{"type":"preset","tier":"2K","aspect":"3:4"},"client_request_id":"opaque-art-demo-01"}' | python3 scripts/mcp_client.py call beatra.images.generate

Do not configure or call a host Beatra Connector, and do not use REST/OpenAPI as a fallback.

Account balance

When the user asks how many credits remain or whether a live estimate fits, call beatra.wallet.get. When they ask what was charged, call beatra.wallet.ledger. Both are read-only. Do not invent an account-balance or top-up tool. Do not make wallet.get a required step before every paid submit.

When a model card comes back carrying a top_up block, relay its tiers as the card lists them and in that order. Do not rank them, do not talk one down, and do not pick one for the user. Which tier suits them is their call, made on the wallet page with the whole list in front of them. Never quote a tier from memory.

References by task

Runtime and safe automatic updates

The bundled client silently checks for a newer release at most once every 24 hours per installation. When a newer version is available, it installs automatically without separate confirmation. It downloads only from the fixed official Beatra discovery and immutable CDN paths for this package, channel, and locale, verifies discovery data, archive, manifest, and every packaged file, and replaces only package-owned files.

Update checks, downloads, verification, replacement, rollback, and recovery fail open: the current installation remains usable and the original command continues. An update failure never authorizes retrying a paid image request. The setting persists for this installation. See automatic updates and safety.

python3 scripts/mcp_client.py update --auto off
python3 scripts/mcp_client.py update --auto on
python3 scripts/mcp_client.py update --check