All articles

MCP skills: teach AI agents your business rules

Yapr4 min read
Table of contents

Ask an AI agent to "find overdue tickets," and you have handed it a policy decision disguised as a query. The tool's schema tells the agent which status and priority fields exist. Only your team knows what "overdue" actually means inside your business.

In Yapr, an app skill gives those business rules a permanent home. Each skill pairs a short description (which tells the AI client when to pick it up) with Markdown instructions and optional reference files. Instead of re-explaining your rules in every chat, you write them once, keep them versioned, and review them whenever a report looks off.

Write down the choices people usually make in their head

Take a fictional service team at Northwind Services. Every week they review aging tickets, with a tight four-hour threshold for Priority 1 issues and a five-day window for everything else. Tickets sitting in "Waiting on customer" and anything on the Monitoring board belong to separate queues and should stay out of the count.

Here is how their service manager turns those tribal rules into a reusable skill. The board names, statuses, and cutoffs are illustrative; swap in your own app's exact values before publishing.

# Weekly aging ticket review

Use this guidance when reviewing overdue service tickets for Northwind Services.

Discover the ticket search tool and read its schema before building filters.
Confirm the intended account if more than one connection is available.

Record the review time and time zone. Include open tickets only. Exclude
the Monitoring board and tickets in "Waiting on customer".

For Priority 1, use a cutoff of four elapsed hours before the review time.
For all other priorities, use five calendar days. Measure age from creation.
Flag missing or ambiguous creation times instead of guessing.

Follow the tool's paging rules. If you stop early, say why and report the
number of pages and records examined. Keep the report marked incomplete.

Group qualifying tickets by board, then assigned technician. Show the three
oldest first in each group, with ticket ID, age, priority, and status.
Show unassigned tickets separately.

Prepare the report for review. Do not create, update, or close tickets.

Look at how many silent failure modes those few lines eliminate: which connection to query, whether age starts at creation or last update, which boards to drop, how to handle missing timestamps, and how to sort the output. If your team measures business days instead of calendar days, define your working hours and holidays right in the skill too.

Publish one shared method your team can inspect

From Skills in Yapr, a workspace owner or admin can attach a skill to an app, preview the draft, and publish it when it is ready. Write the description like a clear trigger for the AI client, such as: "Review overdue service tickets using our age thresholds and exclusions." You can publish it to everyone with access to that app, or restrict it to selected groups.

Drafts stay visible only to admins until published, so you can tune a threshold without disrupting live work. Every save keeps a revision under History (up to 20 revisions per skill, with the live version and current draft always kept) so rolling back takes one click.

If a built-in or provider skill already gets you most of the way there, click Customize to branch your own workspace copy while the original continues updating independently. One detail to watch: applicable skills are additive and do not override each other, so check for conflicting instructions when combining your own rules with a built-in skill.

For personal experiments, members can save personal skills (when enabled for the workspace) that go live immediately for that user alone. Workspace admins can still view and remove personal skills, and neither workspace nor personal skills should ever hold credentials or real customer records. Use synthetic examples instead.

Test the skill on tricky cases, and separate guidance from access

After publishing, run the skill against a small sample you already know by heart. Check a Priority 1 ticket right past the four-hour mark, a standard ticket just under five days, and a ticket marked "Waiting on customer." Ask the agent to echo back the review time, the rules it applied, and whether it read all available pages.

When a result surprises you, a written skill makes debugging concrete: did the agent load the skill at all, did another skill contradict it, or did the app return a status name your instructions did not mention? Fix the gap and re-run the same sample.

Above all, keep one boundary crystal clear: skills are instructions, not permissions. That final line telling the agent not to close tickets describes the workflow you want. What actually stops an unintended change is Yapr's tool permissions and confirmation rules. Set those access controls for the risk you are willing to allow, even when a skill promises to stay read-only.

Pick one recurring question your team asks every week, write down the judgment calls your most experienced teammate already makes, save it as a skill, and test the first run together.

Keep reading

All articles