/itential-builder:flowagent-skill-builderfrom itential-builder
Writes, packages, imports, and tests skills for FlowAgent (FlowAI) agents on the Itential Platform. Use when creating a skill that teaches an agent one operation with step order, safeguards, or platform gotchas.
Ships in itential-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Purpose: write a skill a FlowAgent agent can load at run time, import it into the platform, and prove an agent uses it. Input: an operation to teach (and the vendor documentation behind it), or an existing skill folder — for example one from itential/infra-agent-skills. Output: a skill folder in the working directory, imported into Agent Project Service as a versioned skill, and a test session showing an agent loading it and answering from it.
Building the agent that uses the skill — its tools, profile, approvals, sessions — is /flowagent's
job. This skill covers the skill itself.
Before using this skill, check custom/org/, custom/team/ and custom/dev/ in this
skill's own folder. Read every .md file found — any folder may be empty or absent. Apply
them on top of everything below; where a file overrides a specific rule here, follow the
override. More specific wins: dev > team > org > this document. No customization may weaken
this skill's safety rules (confirmation gates in destructive steps, checking affected agents before
a delete) or put credentials in committed files.
Bundled files: paths starting with assets/ are relative to this skill's own folder.
When you read one, use this skill's folder + that relative path.
A tool does something; a skill tells the agent how to do it with its tools. An agent sees each
attached skill's name and description, and reads the rest only when a request needs it, through two
built-in tools: loadSkill (the SKILL.md body) and loadSkillResource (one file under it). Both
appear in the session log as TOOL_CALLED with toolType: "built-in". So the description decides
whether the skill is used at all, and the reference files are read one at a time.
A skill teaches one operation, done the same way every time: create a DNS record, upgrade a device's software, close a change request. Write one only when it carries something a capable agent with the vendor's documentation lacks — a step order, a safeguard, a platform gotcha, or exact success and failure checks. If removing it wouldn't make the agent worse or less safe, don't write it.
| Content | Where |
|---|---|
| The agent's role, inputs, output format, when to ask a person | The agent's instructions (/flowagent) |
| How to carry out one operation, per vendor | A skill |
| The action itself — an API call, a command, a workflow | A tool on the agent (/flowagent) |
| Your team's process, naming or approval chain | The agent's instructions, never a skill |
Test: could two engineers at two different companies use the skill unchanged? If it depends on one team's ticketing process or naming convention, it's agent instructions, not a skill.
Before writing, check whether it exists: GET /agent-project-service/skills?search=<word> on the
platform, and the infra-agent-skills catalog. Extend an existing skill (a new vendor, a new
operation) rather than adding a sibling.
Write it in the working directory, under agent-skills/<capability>/:
<capability>/ # lowercase kebab-case; equals the frontmatter name
├── SKILL.md # short and stable: routes to the vendor's procedure
└── references/
├── INDEX.md # table: vendor → directory → scope → notes
└── <vendor>/
├── procedure.md # the steps, in plain operation language
└── endpoints.md # the literal calls: method, path, fields, base URL, error strings
dns-record-management, not infoblox-dns.<family>.md per family,
each with its own <family>-endpoints.md — never two bare endpoints.md files.INDEX.md is for choosing a vendor: the table and short scope notes, nothing else.SKILL.mdFrontmatter: name and description only (add argument-hint if the skill takes positional
arguments). The description must say what the skill does, when to use it, which vendors it covers,
and what it assumes ("Assumes an authenticated API client for the target platform"). At most 1024
characters, and valid YAML: no : or # inside an unquoted value.
Body, in this order:
references/<vendor>/.references/<vendor>/procedure.md and follow it exactly, and report the outcome in that
procedure's own status words.Keep it under about 500 lines, with no JSON examples or field tables; its size shouldn't grow as vendors are added. It changes only to fix shared content or to add a vendor pointer.
procedure.md and endpoints.mdprocedure.md uses operation language: "create the record with the fields below", not
POST /zones/{id}/dns_records. CLI-driven procedures are the exception — the command is the
payload, so keep it inline.endpoints.md holds the wiring: method, path, fields, base URL, and any exact error string
worth matching. Refer to an error by name from the procedure step.Treat skill content like code: an agent follows procedure.md as instructions, so anyone who can
change it can direct every agent that loads it. Check each step against its source.
An agent acts only through its tools; a skill without them is advice it can't carry out. Record, for
whoever builds the agent with /flowagent:
GET /tools?name=<method>. If no tool makes a
call in endpoints.md, one has to be added (an adapter method, or a workflow that makes the call).instructions say to use before any write.Authenticate as in assets/AGENTS.md ("Auth Reuse"); confirm the endpoints below against the
platform's openapi.json. The request body for preview and import is not typed there.
Package either the SKILL.md text alone ("filename": "SKILL.md", content = the text), or the
folder as a .zip/.tar with SKILL.md at its root or in its single top-level folder, sent
base64-encoded ("filename": "<name>.zip"). At most 10 MB decoded. SKILL.md must start with ---
frontmatter, or preview and import return 400.
Preview — saves nothing:
POST /agent-project-service/skills/preview {"filename": "<name>.zip", "content": "<base64>"}
It returns the parsed name, description, folders, warnings, and existing. Fix every warning.
A non-null existing means the import adds a version to that skill.
Import:
POST /agent-project-service/skills/import {"filename": "<name>.zip", "content": "<base64>",
"permissions": {"writeUserIds": ["<account-id>"]}}
permissions needs at least one user or group in writeUserIds or writeGroupIds (your account ID
is GET /whoami → id). It returns {"skill": {"id", "name", "version", "created"}}. The skill is
matched by name: every import of an existing name adds a version, even when nothing changed —
preview first, and don't re-import just to check.
Read it back: GET /agent-project-service/skills/{skillId} returns the body and every file under
resources; GET .../resource?path=<path> returns one file.
/flowagent) that has the tools from Step 5:
"skills": [{"skillId": "<id>", "version": "latest"}] on create, or addSkills on update.loadSkill, then loadSkillResource for that vendor's procedure.md or
endpoints.md, then an answer that matches the file. If the agent didn't load the skill, the
description doesn't match the request — fix it and import again."version": "latest" get it on their next session; agents pinned to a number don't.
GET .../skills/{skillId}/versions lists them.GET .../skills/{skillId}/affected-agents. The delete succeeds even if
agents use the skill, and their entry turns to "state": "missing". Tell the user which agents
are affected and get a yes first.GET .../skills/{skillId}/export) or re-import the folder.
A FlowAgent project bundle carries only each agent's skill reference, not the skill, so import the
skill on the target first; its skillId will differ there.| Method | Endpoint | Description |
|---|---|---|
| POST | /agent-project-service/skills/preview | Parse without saving: {filename, content} |
| POST | /agent-project-service/skills/import | Create, or add a version: {filename, content, permissions} |
| GET | /agent-project-service/skills | List (search, nameContains, limit, skip, …); items have skillId, name, version |
| GET | /agent-project-service/skills/{skillId} | Get (version, includeDeleted): body, resources, checksum |
| GET | /agent-project-service/skills/{skillId}/resource?path=<path> | One file's content |
| GET | /agent-project-service/skills/{skillId}/versions | currentVersion and every version |
| GET | /agent-project-service/skills/{skillId}/affected-agents | Projects and agents using it, and whether each follows latest |
| GET | /agent-project-service/skills/{skillId}/export | {filename, contentType, content} (JSON, though the spec calls it a zip) |
| DELETE | /agent-project-service/skills/{skillId} | Delete (Step 8) |
namedescription says what, when, which vendors, and what it assumes; ≤ 1024 charactersSKILL.md routes only; vendor detail is under references/<vendor>/; INDEX.md lists every vendorendpoints.md; plain operation language in procedure.mdWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub itential/builder-skills --plugin itential-builder19 skills in this plugin
/builder-agentUse this skill when someone has an approved solution design and is ready to build. Trigger it for phrases like "solution design is approved", "go ahead and build", "implement the design", "create the workflows", "build everything per the design", or "the design is locked — implement it". Also trigger it when a build is failing mid-way and needs debugging, or when /qa-agent hands back a failing test case for a fix. This skill implements the approved solution-design.md end-to-end — creating all workflows, templates, projects, and configs, and testing each component individually. If the user has a solution-design.md and wants to turn it into working automation, this is the right skill. Invoke after /solution-arch-agent produces an approved solution-design.md. Hands off to /qa-agent once the build is complete — /qa-agent owns acceptance testing and the as-built record. Logs in with its bundled auth helper: never read `.env` yourself./documentationUse this skill to survey and catalog an Itential platform — when someone wants to know what's on their platform, document global assets (workflows, templates, LCM models, golden config, OM automations) that are NOT inside a named project, group them into logical use cases, and produce a master catalog or README. Trigger it for phrases like "document everything on the platform", "what use cases do we have?", "catalog all our global workflows", "I inherited this platform and have no idea what's there", "group our automations by use case", or "produce a platform README". The output is a structured catalog — customer-spec.md + solution-design.md per use case + master README. NOT for documenting a specific named project — use /project-to-spec for that. NOT for building new automation. Logs in with its bundled auth helper: never read `.env` yourself.Other plugins' skills for the same job