Design & Motion · skills.bayx.uk · 自产
artshop
Decorative painting design draft pipeline: single-sentence concept → structured order → structural draft → material draft → artist work order → scene mockup. All image generation strictly calls external image APIs (scripts/generate.py) or follows the 'prompt export + external generation + upload back' workflow; the in-session model only assists with parsing, assembly, and quality control, never generating pixels directly.
L4 High-Privilege · Graded auth & full auditV1 Commit-PinnedExecute CommandNetwork AccessWrite FileDual-pass Audit
Control levels describe skill capabilities and suggested control measures; they do not represent quality or safety certifications, nor do they dictate usability. Usage decisions rest entirely with users and administrators. Different agent hosts apply varying constraints; do not assume hosts provide automatic protection. Third-party skill copyrights belong to their original authors. Use at your own risk.
1How It Works & Mechanism
Prompts are assembled hierarchically and sequentially from L0 to L9; the model cannot invent its own layer order; rework only replaces layers specified in layer_map
SKILL.md分层组装:提示词 = L0→L9 有序拼接(scripts/assemble.py),禁止模型另写一整段诗意 prompt
assemble.py generates layers sequentially via functions such as _l0().._l5()
All visual categories undergo script-based enumeration validation; the model must not invent categories
scripts/schema.pydef validate(order: Order, feature_flag_figure: bool = False) -> list[str] def forbidden_re() -> re.Pattern
See scripts/schema.py and lexicons/palettes for enumerations
The sole channel for image generation is external image APIs (reading keys from environment variables); the xAI/grok channel has been hard-disabled
scripts/generate.pyXAI_API_KEY, GEMINI_API_KEY, FLUX_API_URL, FLUX_API_KEY, SD_API_URL, SD_API_KEY
generate.py declares GEMINI_API_KEY (nano banana/Gemini) and FLUX/SD endpoints; _xai raises an exception directly
State machine includes review gates: initial draft → structural draft → material draft all require user confirmation; programmatic QC checks are automated, visual checks are manual
SKILL.md评审门必须过:构图初稿、线稿与成品必须经用户确认才进入下一步
2Core Capabilities
01Parse a single-sentence concept into structured order slots (intent → Order JSON)
02Layered prompt assembly and budget control (assemble L0-L9 + budget)
03Chained generation and QC from structural draft to material draft (programmatic checks for aspect ratio, grayscale, color gamut, and hash)
04Generate artist work orders, scene mockups, and gallery notes (workfile/scene/gallery_note)
3External Dependencies
| Kind | Dependency / Endpoint |
|---|
| api | 外部图像生成 API |
4Recommended Governance & Evidence
Suggested Controls for Safe Operation
For Agent Runtime
Graded/per-use authorization, sandbox recommended
For Administrators
Approval workflow, rollback support, full audit
Evidence & Triggers (File Paths & Excerpts)
- scripts/: Executes local scripts or commands: scripts/cli.py main pipeline; local scripts such as qc/assemble/scene
- 网络端点: Declares external network access: External image generation APIs (GEMINI/FLUX/SD; invoked by generate.py)
- 本地工作目录: File I/O and artifact output: JSON and image files under the order directory orders/<id>/; local workspace file management
Audit Notes: Classified per site-wide standard: Reads image API keys and sends requests to third-party image services (incurring costs/consuming quota upon trigger), thus rated orange. This skill is self-developed and maintained by the author of skills.bayx.uk, with a risk profile distinct from third-party tools: keys are user-provided, and calls are triggered strictly by user commands.
5Second-Pass Verification
- [ok] generate.py 密钥读取点 — GEMINI_API_KEY 读取位于 nano_banana 分支,缺 key 抛 RuntimeError
- [ok] xAI 通道禁用声明 — generate.py 头注释:_xai 直接 raise;.env 已清 XAI_API_KEY
- [ok] orders/ 未随包发布 — 镜像包仅含 SKILL.md/scripts/references,不含订单工件与 .env
- [unlocatable] 独立第三方复核 — 自产 skill,未做第三方独立侦查;本页为作者自查记录
6Verdict & Scenarios
Role boundaries defined as the top hard rule: model never generates pixels directly, preventing unauthorized renderingLayered prompts + category enumerations + chained state machine transform the decorative painting pipeline into an auditable processBest for: Individuals or small studios using AI to produce decorative painting design drafts for painting workshops: AI generates the design drafts, and artists hand-paint according to the orders.
Not for: Users needing direct final artwork output or lacking external image API keys (image generation channels rely on external services/external generation).
Install Agent-Ready
① Verified Mirror 2026-09-09
Option A · Direct DownloadDownload artshop.tar.gzsha256: 1df7e5701abea3a1…
Option B · Copy Guide for AgentAgents automatically download and verify mirrors from this JSON guide.