To engineer context means to give an AI the right , at the right , for the right .
To engineer context means to plan, design, build, or skillfully arrange the information, instructions, tools, or memory an AI works with, using technical principles, so it can do a job well on your behalf.
1 / 5 · A skill gives the Agent a way to work. Context gives it something to work with. The Agent gains context by reading files stored locally, accessing the internet or by accessing platforms.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
CRM
Contacts
Activity
Deals
Mail
● ● ●
Finder · Customer Knowledge
SKILL.md
How to get up to speed on a customer
sales
OKF bundle · datasets, tables, metrics
tools
SKILL.md
Editor
Preview
--- name: customer-knowledge description: Get up to speed on a customer. ---
# Get to know the customer
1. Confirm the customer in CRM. 2. Review past orders and recent Mail. 3. Keep useful facts, dates and record links. 4. Update the customer's memory.md.
## Find the right sources
Start with [sales/index.md](sales/index.md). Read its summaries before opening more files.
✻Reading SKILL.md…
2 / 5 · Context engineering is how the Agent knows what it needs to know when it needs to know it. Here, SKILL.md orients the Agent and guides it towards the files it might need for the job.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
CRM
Contacts
Activity
Deals
Mail
Customer Knowledge
sales / index.md
Editor
Preview
# Sales knowledge
## Customer information
- [Customer records](customer-records.md) Find the account, its orders and contact address.
- [Order history](orders.md) Understand purchases, payment and delivery status.
- [Correspondence](correspondence.md) Find recent conversations using the CRM contact.
## Saved customer notes
- [Customers](customers/) Pick up an earlier investigation, then check for updates.
Finder · Customer Knowledge / sales
customer-records.md
orders.md
correspondence.md
✻Scanning sales/index.md…
3 / 5 · Every word the Agent reads costs tokens. One way to structure information is to allow the Agent to do what humans naturally do to be resourceful and that is to scan broadly before reading deeply.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
CRM
Contacts
Activity
Deals
Mail
● ● ●
CRM · Account & orders
Accounts
Contacts
Deals
Activity
MH
Main Street Hardware
Owner: Maya · Cash account · Active
Overview
Orders 2
Notes
Files
Order
Date
Payment
Fulfilment
ord_204
22 Oct
Paid
Collected
ord_219
12 Nov
Paid
Delivered
Recent activity
12 Nov · Order 219 delivered
acct_1042 · Checked 19 Nov 2026
● ● ●
Mail · Latest correspondence
Search: Main Street Hardware
INBOX / 2 RESULTS
Repeat our last order? · 18 Nov
Repeat our last order?
MH
Main Street Hardware to Sales · 18 Nov, 09:18
Can you repeat our last order, 219? Please confirm whether it can arrive by Friday.
4 / 5 · The Agent gathers context from the places that matter: customer data in the CRM, recent correspondence in Mail and relevant files. It brings the useful parts together, keeping their sources and dates.
Account owner: Maya. Two paid orders. Latest email asks to repeat ord_219. Friday delivery is not yet confirmed.
Records
Account · Order 204 · Order 219 Receipt email · Latest email
Next time
Check CRM and Mail for updates.
Finder · main-street-hardware
memory.md
Saved
Read this next time. Then check the linked records.
AgentTwo paid orders. They've asked to repeat order 219, but Friday delivery isn't confirmed. Saved to memory.md.
5 / 5 · Context engineering is also about memory: deciding what to use now, what to save and what to check again. The Agent writes a short memory.md with useful facts and links back to the records.
tools / What tools make possible
To equip an Agent with tools means to give it the right
capabilities
, with the right
access
, for the right
job
.
Tools are functions an Agent can call to search, read, calculate or make changes. Each call supplies inputs, performs an operation and returns a result. Choosing the tools and defining their permissions determines what the Agent can do on your behalf.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
Read
Glob
Grep
Write
Edit
NotebookEdit
Bash
PowerShell
Monitor
WebFetch
WebSearch
Agent
SendMessage
Explore agent
Task tracking
Scheduling
Plan mode and worktrees
Outside services
Workflow
Skill
Talking to you
Slash command
1 / 1 · Tools give the Agent a way to act. It can find and read files, make changes, run commands, search the internet and work with other systems. Click around to explore what each tool does.
workflows / 01 OF 05 / Give the work a structure
A workflow connects individual actions into a job.
A workflow defines how steps connect. Each step hands a tool its input, waits for the result and lets that result decide what comes next. The engineering is in the sequence, the checks and the points where a person takes over.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
Mail
msg_905 · 18 Nov
Repeat our last order
Main Street Hardware → Sales
Can you repeat our last order, 219? Please confirm whether it can arrive by Friday.
sales/orders.md
## Order 204 · 22 Oct · Paid
- Wall filler 1 kg × 30
## Order 219 · 12 Nov · Paid
- Exterior paint 5 L × 12 P-105
- Paint roller 230 mm × 24 R-230
## Order 231 · 20 Nov · Quote
- Masking tape 48 mm × 60
You
Main Street Hardware wants order 219 again, by Friday. Can you sort it out?
Agent
On it. Here's the plan, one tool at a time:
✓ 1 Read the order
○ 2 Check stock
○ 3 Make Friday work
○ 4 Reply and remember
→Grep("219", "orders.md")
←12 paint · 24 rollers
1 / 5 · Main Street Hardware wants order 219 again, delivered by Friday. The Agent turns that into a workflow: a short plan of steps, each done by a tool. It starts with what it already knows, reading memory.md and the lines of order 219.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
Mail
msg_905 · 18 Nov
Repeat our last order
Main Street Hardware → Sales
Can you repeat our last order, 219? Please confirm whether it can arrive by Friday.
bash · stock
$ stock check --order 219
checking Main warehouse…
P-105 paint 5 L need 12 have 40 ok
R-230 roller 230 need 24 have 20 short 4
done in 2.4 s
Agent
I handed Bash the stock check and waited for it. It's back: the paint is in stock, but we're four rollers short for Friday.
✓ 1✓ 2○ 3○ 4
→Bash("stock check --order 219")
⏳Waiting on Bash · 2.4 s
←rollers: need 24, have 20
2 / 5 · Each step hands a tool its input, then the Agent waits. Bash runs the stock check for order 219, and nothing moves until it answers. The answer feeds back into the main flow: the paint is in stock, but the rollers are four short.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
Mail
msg_905 · 18 Nov
Repeat our last order
Main Street Hardware → Sales
Can you repeat our last order, 219? Please confirm whether it can arrive by Friday.
web search
Rollmaster R-230 trade lead time
rollmaster.co.za › trade
Trade orders and delivery times
Stock items ship in 5 working days.
Stock · Bellville warehouse
Item
In stock
Next truck
P-105 paint 5 L
8
Thu 26 Nov
R-230 roller 230
30
Mon 30 Nov
helper→"Check Bellville for R-230"
←30 in stock · truck Monday
Agent
Four short changes the plan. I sent a helper to Bellville and searched the supplier at the same time, and waited for both. Bellville has 30, but its truck comes Monday. The supplier needs five working days.
→WebSearch("R-230 lead time")
⏳Waiting on the helper and the search
←5 working days
3 / 5 · Four short changes the plan. The Agent sends a helper to check the Bellville warehouse and searches the supplier's lead time at the same time, then waits for both answers. Bellville has the rollers, but they can only arrive on Monday.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
Mail
msg_905 · 18 Nov
Repeat our last order
Main Street Hardware → Sales
Can you repeat our last order, 219? Please confirm whether it can arrive by Friday.
Agent → Maya
This one is your call, Maya. Order 219 is four rollers short for Friday. How should it ship?
Everything on Monday
Friday, four rollers short
Split: Friday now, the last four Monday
Maya
Split it. Friday for what we have, the last four rollers on Monday.
→Ask(Maya, 3 options)
⏳Waiting on Maya · 6 min
←split: Friday + Monday
4 / 5 · Some decisions belong to a person. The Agent puts the options to Maya, the account owner, and waits for her answer. She chooses to send what is in stock on Friday and the last four rollers on Monday.
Finder
File
Edit
View
Go
Window
Help
Thu 19 Nov 09:41
Mail
msg_905 · 18 Nov
Repeat our last order
Main Street Hardware → Sales
Can you repeat our last order, 219? Please confirm whether it can arrive by Friday.
Mail · Sent
✓ sent 10:14
Re: Repeat our last order
Sales → Main Street Hardware
Order 219 is confirmed. The paint and 20 rollers arrive this Friday. The last four rollers arrive on Monday 30 November. Maya
main-street-hardware / memory.md
✓ saved
# Decisions
- 26 Nov · 219 split: Fri + Mon (Maya)
# Next time
- Mon 08:00 · check Bellville truck left
MON
30
Check the Bellville truck left
Mon 30 Nov · 08:00 · booked by the Agent
Agent
Done. Order 219 is split: the paint and 20 rollers arrive Friday, the last four Monday. Main Street Hardware has its reply, Maya's decision is in memory.md, and I'll check the Bellville truck on Monday at eight.
✓ 1✓ 2✓ 3✓ 4
✓Edit("orders.md") · split
✓Mail.send(reply) · sent
✓Edit("memory.md") · saved
✓Schedule("Mon 08:00") · booked
5 / 5 · Finished means the order is split into two deliveries, Main Street Hardware has its reply, memory.md records Maya's decision and a check is booked for Monday morning. Every step went out with its input and came back with a result.