Back to the introduction

See what AI can do.

Maya asks to return a coat. Follow her message through the shop’s apps to see how the owner gets a draft they can check.

Connect the shop’s tools, write skills that use them, and put those skills into a workflow. Give an agent a goal and let it run the workflow when it fits the job.

See the coat return from start to finish

01 / Model

Start with a draft you can check.

A model is the part of an AI app that does a job like writing a reply or making a picture. ChatGPT is an app you open. GPT is a family of models that ChatGPT can use.

From question to reply

“Can I return my coat?”

You type a question. The app passes those words to the model.

Builds an answer

The model reads your question and any other details you give it. It uses both to work out what to write.

“I can help check that.”

The model gives you words you can use. You still need the store’s rules and the order date to say whether this return is allowed.

You ask

“Can I return my coat?”

The model drafts

“I can help check that.”

How it writes

The model has learned patterns from examples of writing. It uses the words and facts you give it to build a reply a little at a time. Give it Maya’s message and it can write a first draft.

Why start with a draft?

A first draft gives you something to edit. Check any facts before you send it. If you haven’t given the model your return rules or Maya’s purchase date, it may guess.

Four model names you might see

Think of Ford’s F-150 and F-350. Both are trucks, but you’d pick one based on what you need to haul. Give two AI models the same return policy and customer message. Which draft would you rather edit?

  • GPT OpenAI

    Write an email

    Give it a shipping update. Ask it to write “Your order is on its way.”

    About GPT
  • Claude Anthropic

    Sum up a document

    Give it meeting notes. Ask for a short list of what the team decided.

    About Claude
  • Gemini Google

    Read a photo

    Give it a photo of a shop sign. Ask what the sign says.

    About Gemini
  • GPT Image OpenAI

    Make a picture

    Ask for a drawing of a blue mug. The result is an image.

    About GPT Image

02 / Business knowledge

Give answers that match your shop.

Business knowledge is the information your team uses to do its job. Your opening hours, price list, and return rules are all examples.

What changes when AI has the return rule?

“Can I return my coat?”

AI can ask for the purchase date. It needs the shop’s rule before it can tell Maya when she can return the coat.

What it has

A return question

What it can ask

“When did you buy it?”

“Returns within 30 days.”

AI can tell Maya the usual rule. It needs her purchase date to check whether 30 days have passed.

What you add

The store allows returns within 30 days

What it can say

“Our usual return window is 30 days.”

How to give AI your facts

Keep your shop rules somewhere the team can find them, like a shared folder. Paste the rule into the chat or let AI look it up. Update that copy when the rule changes.

Why your facts matter

What would an experienced teammate check before promising Maya a return? They’d look up her purchase date and check whether the shop makes an exception for holiday gifts. Write down the exceptions your team knows by heart.

03 / Knowledge graph

Pull up the right customer and order.

A knowledge graph is a map of how records relate. Think of the links like a telephone switchboard. Start with Maya’s message, follow it to Order 418, then look up the rule for the coat she bought.

Follow the links from Maya’s message

Maya

Maya sent the message. Her email or customer number can help you find the account it came from.

Order 418

Open Order 418 to see what Maya bought and when she bought it.

Coat

The order shows which coat Maya bought. If coats and shoes have different return rules, you know which rule to check.

How to follow the map

Start with the message. Follow the order number to the order, then read what Maya bought and when. Check the return deadline in the shop’s rules. You can draw those links on paper.

Why the links help

Maya may have bought two coats on different days. Linking her message to Order 418 helps you check the right purchase. A second brain uses links to help you find related pages later.

04 / Second Brain

Give your team a place to find answers.

Think of a second brain as your business’s own Wikipedia. Write down the things your team knows by heart, like when you make an exception to the return policy. Link that note to the pages where people would look for it.

Follow one shop note

The shop manager sends a note

Holiday return note · Nov 9
Coats bought as holiday gifts from November 1 to December 24 can be returned through January 15.

You save the note. The AI reads it and leaves the original as written. See the answer this note supports.

What changed on each page?

The blue words work like links on Wikipedia. Click a page name to jump to it.

Returns

Before the note

Most items can be returned within 30 days.

After the note

Most items can be returned within 30 days.

For the holiday exception, see Holiday Gifts.

Holiday Gifts

Before the note

This page doesn’t exist yet.

After the note

Gift coats bought Nov 1–Dec 24 can be returned through Jan 15.

See Returns for the usual rule.

Source · Holiday return note, Nov 9

Someone asks a question later

Question

“I bought a coat as a gift on November 20. Can I return it on January 10?”

Answer

“Yes. November 20 is between November 1 and December 24, and January 10 is before the January 15 deadline.”

[1] Holiday return note · Nov 9

The AI starts on Returns, follows its link to Holiday Gifts, and uses the dates there. Click [1] to check the original note yourself.

How to keep it up to date

When a shop rule changes, save the original note. Ask the AI to update the pages it affects and link back to the note. Have it point out when two notes disagree so you can check which rule to keep.

Why keep the links?

Next time someone asks about a gift, the team can start at Returns and follow the link to Holiday Gifts. The page gives them the rule and the original note shows where it came from. Keep the notes as files you own so you can take them with you if you switch AI tools.

Read Andrej Karpathy’s LLM Wiki idea for a way to use AI to keep those pages up to date.

05 / Tools

Let AI look things up in your apps.

A tool lets AI use an app to look something up or take an action. Reading Maya’s order and sending her a reply are two different permissions. You can give AI the first and keep the second with your team.

Three tools, three different jobs

Find when Maya bought it

The order tool looks up what Maya bought and when. It reads the order without changing it.

Look up

Order 418

Record found

Coat · Bought November 20

Count the days

A calculator counts the days between two dates. The shop’s rule tells you whether that’s too late to return the coat.

Give the calculator

Nov 20 to Jan 10

It returns

51 days

Deliver the approved reply

Once you’ve checked the draft and approved it, the email tool can send it to Maya.

How AI uses a tool

Give it a tool that can read your orders. It passes in the number 418 and gets back the item and the date. It can then use those details in a draft.

Why set limits on each tool?

You can let AI look up an order while keeping the send button with a person. If the order tool can’t open Order 418, have the AI tell you what it couldn’t check.

06 / Skills

Save an SOP your AI can reuse.

A skill is a standard operating procedure, or SOP, saved for your AI. It tells the assistant how to do a recurring job: what to read, which steps to follow, what a good result looks like and when to ask you.

Without saved directions, “make me a content brief” leaves the assistant to work out an approach each time. One brief might start with audience research; another might jump straight to captions. A skill gives it the same method to return to, so you can standardize the work.

You still review the result. The skill makes your process reusable; it does not guarantee identical wording or a mistake free answer.

See how it worksA skill is your saved SOP
  1. 01

    When to use it

    “Review this client account.”

    A clear name and description
  2. 02

    How to do it

    Read tasks. Apply the rule. Check status.

    Inputs · Decisions · Checks
  3. 03

    What to return

    A review with task links and gaps.

    A consistent, checkable result

Reuse the same method, checks and format each time. Read changing facts from their current sources.

Saved directions for answering returns

Date and shop rules

Find the order date and read the current return rules before you say whether the return is allowed.

A short draft reply

Use two or three sentences. Say what you found and give the customer one clear next step.

Saved direction

Give the customer one next step

Draft follows it

“Please send me your order number.”

Something is missing

If you can’t find the order or the rules seem to disagree, ask a person to review it.

How to write a skill

Write the directions you would give a new teammate. For returns, ask it to check the date, write two or three sentences, and end with one clear next step. Add a good reply it can learn from.

Why save the directions?

You stop having to explain the job from scratch. The assistant can reuse your checks, order of work, brand rules and output format. If it keeps missing the customer’s next step, improve that instruction in the skill.

Build and test your first skill

Give each part a clear job

PartWhat it suppliesAccount-review example
SourceFactsTask status and due time
SkillMethodRead open tasks, apply the approved overdue rule, report evidence
App connection / MCPAvailable information and actionsRead the selected account’s task records
Routine / automationWhen to runWeekdays at the agreed time
ReviewWhether the result is supported and an action is authorizedOpen the record before deciding to contact the lead

Build the first version from a successful task

  1. Do one account review manually with the assistant. Correct its sources, rule and output.
  2. Ask it to save the working method. Give the skill a narrow name and a description that says when it applies.
  3. Keep changing client facts in their source records. Put durable decision rules and source selection instructions in the skill.
  4. Run it by name, check the output and revise the skill when you find a repeatable error.
Turn the account review process we just checked into a skill. Include its trigger, required account and approved rule, current source selection, decision steps, output and validation. Flag stale sources, conflicting rules and unavailable access. Return a draft report with record links. Keep customer contact outside this review task. Show me the skill before installing it.

Try it in Codex or Grok Bot

Codex: ask $skill-creator to build the skill. A local skill is a folder with a SKILL.md file containing a name, description and instructions. Repository skills can live in .agents/skills/. Mention the skill by name to test it deliberately. Official skill setup guide.

Grok Bot: ask it to save the checked process as a named skill. Verify that the intended bot has the skill and the relevant app access. Add a routine after you have tested the work. Official skills and routines guide.

The method can carry across products. Check each product’s format, tools and access when moving it; saving a skill in one place does not install it in the other.

Download the Codex starter skill. Unzip it, review it, then have Codex place the agency-account-review folder in your project’s .agents/skills/ directory. Choose your real account, sources and rule before running it.

Test decisions, not just formatting

Open the practice records and answer key. You will find one overdue open task, one completed task, one future task, an unavailable account, a duplicate record and two conflicting rules.

Check that it flags only the overdue task, preserves unknown coverage, reports the conflict and avoids counting duplicates twice. Give it a similar request outside the skill’s scope to check that the description is narrow enough.

When is it ready to schedule?

You can repeat the review on changed inputs, explain each decision from its evidence, and recognize a failed or partial run. Name who reviews the report, where failures go and how to stop the routine. A polished report alone does not prove the process works.

Download the editable skill diagram · Download the learning kit

07 / Workflows

Keep routine jobs from slipping through.

A workflow puts steps and skills in order and tells them when to run. When a return message comes in, the workflow can run the return reply skill, then hand the draft to the shop owner for review.

A workflow for return messages

A return message arrives

A new return request starts the workflow.

Check the order and rules

Use the same rule each time. If the order number is missing, ask for it. If the order is found, check the date against the policy.

If the order number is missing

No number in the message

Then the workflow

Asks for the order number

Give the draft to a person

If you have the facts, have AI write a reply. Give a person the reply and the facts so they can check it.

How to set the steps

Decide what starts the job and what to do next. For a return, use the order number to look up the purchase. If the number is missing, ask for it. If the facts are there, prepare a draft.

Why use a workflow?

When three returns come in at once, each can follow the same shop rules and get to the person who checks replies. You can set it up so every draft waits for review.

08 / Agents

Look into a problem that has no set steps.

Give an agent a goal, the tools it may use, and any workflows it can run. It can decide what to check next and which workflow fits. For Maya’s return, it can run the reply workflow once it finds the right order, or ask you for help if the records disagree.

One goal, two possible next steps

Open the order

The agent can use the number to find the coat and the date. Then it can check the current policy and prepare a draft.

It finds

Order number in a past message

It chooses

Open the order record

Ask a person

The agent can show both dates and where it found them. A person can decide which date to use.

It finds

Two different return dates

It chooses

Show both dates to a person

How it picks the next step

If it finds an order number in a message, it can open that order. If two records show different dates, it can bring both to you and ask which one to use.

Why use an agent?

Sometimes you don’t know where the answer is. Give the agent permission to check the order and past messages. Tell it to stop once it has a draft or needs you to make a decision.

From Maya’s question to the reply

Each app has a piece of the story. Connect them and the shop can see the whole return in one place.

  1. A message comes in

    “I bought a coat as a gift on November 20. Can I return it on January 10?”
  2. AI brings the facts together

    Inbox
    Maya wants to bring the coat back on January 10.
    Orders
    Order 418 shows she bought it on November 20.
    Shop rules
    Holiday gifts bought Nov 1–Dec 24 can come back by January 15.
  3. You see what needs your attention

    Your dashboard shows Maya’s message, the purchase date, and a reply ready to check. If the order date is missing, it can flag that so you know what to look up.

  4. Maya gets her reply

    You check the draft and send it.

    “Yes, you can return your coat on January 10. Bring it back by January 15.”

The same idea can help you spot unanswered messages, overdue bills, or appointments that still need a reminder.

Further reading