How to Build a Private Vertical Skill After Connecting an AI Assistant to Node-Based AIGC Tools
This article explains how to turn a content pipeline you have already validated into a reusable private vertical Skill instead of an ever-growing prompt. It covers the three-layer structure of a Skill (trigger, workflow, constraints), how metadata, the SKILL.md body, and resource files load at different times, how to write a description that fires on natural phrasing, how to order the SOP so compliance checks come first and writes come last, how to split references/assets/scripts, and how to apply least-privilege tool allowlists. A final checklist helps you judge whether your Skill is production-ready.
1. Define the Goal First: You Need a Reusable Private Vertical Skill, Not a Longer Prompt
Once people get a content creation pipeline running, their first instinct is usually to write a longer, more detailed prompt, hoping the model will execute to the same standard every time. That path ends in exploding maintenance cost: the longer the prompt, the more context every conversation consumes, and the model becomes more likely to drift at critical steps.
The right level of abstraction is to capture the flow you have already validated as a Skill. A private vertical Skill should contain three parts with clearly separated responsibilities:
- Trigger layer — a one-line name and description that let the model decide “when should I be used,” for example a spoken instruction like “turn this article into a 60-second short video.”
- Workflow layer — the fixed SOP, from copy extraction and shot breakdown to asset generation and final assembly, written into the body as the single authoritative set of steps to follow at execution time.
- Constraint layer — brand guidelines, visual style, and content restrictions: information you should not have to repeat every time. These belong in reference files as constraints, not as “results already written in this conversation.”
Mixing the three together is the most common reason beginners fail when building a Skill.
2. Layered Loading: Understand It Before You Design for It
Take the official documentation of a cloud provider as an example: enterprise Skills typically load in three layers, and that design directly determines what content goes where.
| Layer | Content | Loaded | Suggested Size |
|---|---|---|---|
| Metadata | name + description |
Always in context | Under ~100 words |
| Body | Main content of SKILL.md |
Only after the Skill is triggered | Under ~5,000 words |
| Resources | scripts/, references/, assets/ |
On demand | No hard limit |
This answers a frequent question: “Is the name and description preloaded all the time, and does the body only enter context after the trigger?” — Yes. Two key implications follow:
- Trigger words must live in the description. When the model decides whether to enable a Skill, all it has is the metadata; it cannot read an entire SOP first and then decide. If your description says only something vague like “video production assistant” and the user says “give me a short video script,” it very likely will not match at all.
- Do not stuff a long manual into the body. During execution after the trigger, the body needs step instructions, not an encyclopedia. Move detailed specifications to
references/so the model can retrieve them when needed.
3. Metadata Design: Make the Skill Fire on a Single Sentence
The description should answer two questions at once: what this pipeline is, and which spoken instructions should enable it.
A template you can adapt:
---name: short-video-pipelinedescription: Turns a long article into a 60-second vertical short video.Enable when the user says "make it a short video", "cut this intoa video", "give me a video version", and similar instructions.The flow covers key-point extraction, shot planning, asset retrieval,and final assembly.allowed-tools: Read, Grep, Write, Bash(node-pipeline:*)---
Breaking down the essentials:
- Cover action words broadly. Users will not speak the wording you preset. “Make it a video,” “give me a short video version,” and “help me cut this” should all count as valid triggers, and the description should reflect that semantic range of colloquial variants.
- Keep the pipeline boundary narrow. State explicitly that it runs “from copy to finished video,” so the model does not enable the whole pipeline when the user only wants a headline changed.
4. The Body SOP: Step Order Is Itself an Engineering Constraint
The body is not documentation; it is an executable process specification. A recommended way to organize the steps:
- Retrieve constraints first. The very first step reads the brand guidelines and restriction list (in
references/orassets/), so all subsequent generation happens inside a compliant frame rather than being patched afterward. - Then call tools. State clearly which wrapped script or node-based AIGC tool interface each step calls, including how the node graph is created and how parameters are passed.
- Write or publish last. Put saving, uploading, and publishing at the end of the flow, and explicitly require a self-check before execution.
An illustrative body excerpt:
## Execution Steps1. Read `references/brand-guidelines.md` and extract the styleconstraints and restricted items that must be followed this time;list them at the top of the execution plan.2. Extract the core information points from the source text, outputno more than N of them, each mapping to one shot.3. Call `scripts/run_pipeline.sh` to create nodes and start generation,filling node parameters from the template in `assets/`.4. After the video is rendered, run a compliance self-check and onlywrite to the output directory once no restricted items are found.
Why the order matters so much: putting constraint retrieval first turns “compliance checking” from human supervision into a built-in process step; putting the write last gives you a natural checkpoint and prevents half-finished output from polluting the output directory.
5. Resource Layering: What Belongs in Context and What Does Not
references/: specification documents the model must read during execution, such as a brand tone guide or shot specifications.assets/: files that “should not enter context,” such as brand visual templates, font packages, and node graph presets. These are input materials for the pipeline scripts; the model only needs the path, not the content.scripts/: wrapped invocation scripts. The model calls them with parameters and is not responsible for writing code on the spot.
The distinction in one sentence: what the model needs to “read” goes in references, what it only needs to “carry” goes in assets, and what it only needs to “call” goes in scripts.
6. Tool Allowlists: Least Privilege Is the Security Baseline for a Private Skill
allowed-tools is the official allowlist mechanism for least-privilege control. A few practical points:
- Do not grant unrestricted terminal access. A bare
Bashhands the entire machine to the model — an unnecessary exposure for an automated pipeline that creates nodes and executes commands. - The allowlist should cover only the operations actually needed. Read and search tools for retrieval, plus a parameter-restricted wrapped script call (the restricted form
Bash(some-script:*)), already cover the full “retrieve — call — write” loop. - If the Skill calls services through an external tool protocol, those tools must also appear in the allowlist, or execution will fail outright. This is the first checkpoint when troubleshooting “the Skill triggered but nothing runs.”
The official documentation also notes that when the model selects a Skill, it considers whether the tools the task requires fall inside the allowlist — how tightly you restrict permissions indirectly defines the Skill’s scope of responsibility, which is itself a design tool.
7. Acceptance: Is Your Private Skill Good Enough?
- The user triggers it with one colloquial sentence, with no need to recite a precise incantation;
- Only ~100-word-level metadata stays resident in context, not the whole SOP;
- Brand guidelines come from retrieval, not from pasting them into every conversation;
- Tool permissions are minimized, and script calls are auditable and rollback-able;
- The step order puts the compliance check first and the write action last.
Hit all five and you have made the jump from “hand-crafting prompts every time” to “owning a reusable private pipeline” — which is exactly the essential difference between a private vertical Skill and a one-off conversation.
