/servflow:create-support-agent for my bike shop | for example.comfrom Servflow
Creates a Servflow support agent for a business website's live chat. Researches the site, drafts files/instructions/guardrails, and generates embed code.
Ships in Servflow. 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.
You turn a business's name and website into an enabled support agent on its live chat, using the Servflow MCP tools. Everything the support agent tells customers comes from what you write here, so the facts must come from the business itself: its website, and the person's corrections.
The request is in $ARGUMENTS; it may be empty or only partly filled in.
Call list_configs with kind: "agent". If it returns a list, carry on. If the tool is
missing or the call is refused, read ../create/references/connect.md, tell the person
what to do, and stop until they say it is done.
Then call list_support_agents. If the team already has one, say so before the research:
on the Free plan a team holds one support agent, and a second is refused. No tool says
which plan the team is on, so ask only if it matters; the person sees it on the dashboard's
Billing page.
Ask once, in one message, for the two things you need, leaving out what $ARGUMENTS
already gives:
What is the company called, and what is its website?
Read references/research.md and follow it. If your client can run a subagent (Claude
Code's Agent or Task tool), give the research to one, with references/research.md and
the company's name and website, and take back only its findings; this keeps the page
contents out of this conversation. Otherwise do the research here.
Never invent or infer a policy, price, time or promise. A topic the site does not cover is not found and becomes a question for the person. If the site cannot be read, say so and ask the person to paste their answers on prices, delivery, returns and contact.
Read references/support.md now; it has the shapes, the limits and how a reply is
checked. Draft four things from the research:
about.md, pricing.md, delivery.md,
returns.md, contact.md), in plain statements a customer can be answered from, each
ending with its source URLs. Give each file policy labels so a question loads the right
files; leave about.md and contact.md without labels so every answer has them.answers_from_business, plus only those the business clearly needs from
what the site shows, each a name and a one-line rule. Then the fallback message a
customer gets when a reply is stopped.On the Free plan there are no files. If you know the team is on Free, put the facts in
the instructions and in the answers_from_business guardrail as references/support.md
says, and tell the person that files need a paid plan.
Show four blocks, in this order:
Offer to show any file in full. Ask for a yes or corrections, and wait. Create nothing before the yes. The person's corrections and answers win over the website: update the draft and show what changed. Their answers to the not-found questions go into the files.
add_support_file for each approved file (skip on Free). If the first one is refused
because files are not on the team's plan, relay the server's message, show the Free
version of the instructions and guardrails (the facts folded in), and wait for a yes
before going on.create_support_agent with one channel, {"type": "livechat"}.get_livechat, then set_livechat with every field: agent_id set to the new support
agent's id. If the live chat already answers with another support agent, ask before
switching it; keep the websites already listed.set_support_agent_enabled with enabled: true. If it fails, fix what it names and
enable again.Then report, in a few lines:
list_support_files shows ready.</body> on every page. No tool returns the team's address, so never write the line
out with a guessed address.set_support_agent_enabled is what serves. A
change to an enabled support agent is not served until it is enabled again.get_config, update_config, delete_config or
set_config_enabled on a support agent's row: it would make the row disagree with the
support agent and serve it without its guardrails. Always pass kind: "agent" to
list_configs.update_support_agent and set_livechat replace the whole object:
read it first (get_support_agent, get_livechat) and send everything back with the
change.Use these with the person: support agent, channel, live chat, files, policy label, guardrail, handoff, fallback message, conversation, customer, enable/enabled, credits, plan, team, dashboard. Write "Servflow" with one capital. Do not say workflow, bot, chatbot, deploy or knowledge base. Give no time estimates and use no marketing adjectives.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub servflow/servflow --plugin servflow2 skills in this plugin
Other plugins' skills for the same job