Workshop

Prompt Engineering
for AgentSea

Mastering AI Communication for Healthcare Administration

AnyCompany Healthcare · Agentic AI Foundations on AWS

Module 1

Prompt Fundamentals
Deep Dive

The 4 pillars that determine 80% of output quality

The 80/20 Rule of Prompting

80% of prompt quality comes from 4 fundamentals:

1. Clarity

Say exactly what you mean. If a colleague would ask "what do you mean?" — your prompt needs work.

2. Context

Give the AI the background it needs. Without context, it guesses — dangerous in healthcare admin.

3. Role Assignment

Tell the AI who to be. A "compliance officer" focuses on different signals than a "procurement analyst."

4. Output Framing

Define what "done" looks like — format, length, structure, style.

Pillar 1: Clarity

VagueClear
"Summarize this report""Summarize this quarterly operations report in 5 bullet points, focusing on bed occupancy, staffing levels, and patient wait times"
"Help me with this data""Analyze this Excel of 200 vendor invoices and identify the top 5 by total amount"
"Write something about compliance""Draft a 200-word summary of the new MOH infection control circular requirements for ward administrators"

Rule of thumb: The more specific your prompt, the less the AI has to guess.

Pillar 2: Context

Without context:

"Is this vendor proposal acceptable?"
With context:

"This vendor provides medical equipment 
maintenance for 3 hospitals in Singapore. 
Contract value: $1.2M SGD/year. Current 
SLA compliance: 94%. Industry benchmark: 
97%. Is this proposal acceptable?"

Types of context: Domain · Data · Situational · Constraints

4 Types of Context

TypeWhat it tells the AIHealthcare example
DomainThe industry, sector, and business area"In the context of Singapore public healthcare procurement and equipment maintenance..."
DataThe specific numbers, records, or documents to analyze"Here is the vendor's performance report for the last 12 months: [data]"
SituationalWhy you need this now — the trigger or event"Contract renewal is due in 30 days" / "This vendor was flagged for SLA breach"
ConstraintsRules, limits, and requirements the output must follow"All amounts in SGD" / "Follow MOH procurement guidelines" / "PDPA compliant"

Rule of thumb: If you skip Domain context, the AI gives generic answers. If you skip Data context, it hallucinates. If you skip Situational context, it guesses your purpose. If you skip Constraints, it ignores your standards.

Context in Action: Vendor Assessment

[DOMAIN]
You are reviewing a medical equipment maintenance 
vendor for AnyCompany Healthcare's central region hospitals.

[DATA]
Vendor: MedTech Services Pte Ltd (ID: VN-2241)
Contract value: $1.2M SGD/year
SLA compliance: 94% (target: 97%)
Response time: avg 6.2 hours (target: 4 hours)
Incidents resolved: 342/380 within SLA
Outstanding issues: 3 critical equipment items overdue

[SITUATIONAL]
Contract renewal due in 30 days.
Procurement committee meets next Tuesday.

[CONSTRAINTS]
- All amounts in SGD
- Reference AnyCompany's vendor SLA policy (97% target)
- Use only the data provided above
- Include a GREEN/AMBER/RED performance rating

Pillar 3: Role Assignment

RoleWhat changes in the output
Compliance OfficerFocuses on regulatory requirements, flags policy gaps
Procurement AnalystEvaluates cost-effectiveness, vendor comparisons, value for money
HR Operations SpecialistFocuses on staff impact, leave policies, workforce planning
Finance ManagerNumbers, budget variances, cost trends, forecasting

Pro tip: Add experience level — "Senior Procurement Analyst with 10 years of experience in Singapore public healthcare, specializing in medical equipment contracts"

Pillar 4: Output Framing

DimensionExample
Format"Respond as a bullet list" / "Use a table"
Length"In exactly 3 sentences" / "Under 200 words"
Structure"Use sections: Summary, Findings, Recommendation"
Style"Write for a non-technical hospital administrator audience"
Constraints"Do not include personal opinions or clinical advice"

Output Framing in Action

Same question: "What happened with our vendor SLA performance this quarter?"

❌ No output framing

Vendor SLA performance has been declining this quarter. The compliance rate went from about 97% to 94% which is a notable decrease. There are several factors that could be contributing to this including staffing shortages at the vendor, increased equipment age, and higher service demand. The team should look into this further and consider issuing a performance notice. Overall, while the decrease is concerning, it's not yet at critical levels but should be monitored closely.

⚠ Wall of text. No structure. Vague recommendations. Key numbers buried.

✅ With output framing

Summary: SLA compliance dropped 97% → 94% (−3pp).

Root causes:
• Response time breach: avg 6.2hrs vs 4hr target
• 3 critical equipment items overdue >14 days

Actions:
• Issue formal performance notice — Procurement, 5 days
• Escalate critical items to vendor MD — Ops, immediate
• Prepare alternative vendor shortlist — Procurement, 2 wks

✓ Scannable. Key number upfront. Actions with owners & timelines.

All 4 Pillars Together

[ROLE] You are a Senior Procurement Analyst at a 
Singapore public healthcare organization.

[CONTEXT] Below is the data for a vendor under review.
Vendor: MedTech Services Pte Ltd (ID: VN-2241)
Service: Medical equipment maintenance (3 hospitals)
Contract value: $1.2M SGD/year
SLA compliance: 94% (target: 97%)
Response time: avg 6.2 hours (target: 4 hours)
Outstanding critical items: 3 overdue >14 days
Contract renewal: due in 30 days

[TASK] Produce a vendor performance assessment with a 
GREEN/AMBER/RED rating and renewal recommendation.

[OUTPUT] Format as:
1. Performance Rating (one sentence)
2. SLA Analysis (cite specific numbers)
3. Risk Assessment (impact on hospital operations)
4. Recommended Actions (numbered, with owners)
Use ONLY the data provided. All amounts in SGD.

Module 2

Chain-of-Thought
Reasoning

Making AI show its work — step by step

Why Chain-of-Thought?

Healthcare administration decisions require multi-step logic. CoT makes reasoning visible and auditable.

Without CoT

"Should we approve this 
budget request for $85K?"

Answer: "Yes, it seems reasonable."
(No reasoning shown)

With CoT

"Think through this step by step."

Annual budget: $2.4M
- Spent YTD: $1.8M (75%)
- Remaining: $600K
- Committed: $420K
= Available: $180K
Request: $85K (47% of available)
Priority: Critical equipment
✅ Approve — within threshold

CoT Techniques

TechniqueTriggerBest for
Zero-Shot CoT"Think step by step"Quick calculations, budget approvals
Few-Shot CoTProvide example with reasoningConsistent multi-step processes (leave assessment)
Step-Back"First identify key factors, then analyze"Policy compliance checks
Self-Consistency"Solve 3 ways, report majority"High-stakes vendor selection

Healthcare admin rule: Any decision that could be audited should use CoT — the reasoning trail is your documentation.

Zero-Shot CoT: Budget Approval

Just add "Think step by step" to any prompt — no examples needed.

❌ Without CoT

PROMPT: Department X requests $85K for new patient monitoring equipment. Annual budget is $2.4M, spent $1.8M YTD with $420K committed. Should we approve?
AI RESPONSE:
Yes, the budget request seems reasonable given the department's needs and available funding.

⚠ No math. No reasoning. Not auditable.

✅ With "Think step by step"

PROMPT: Same data as left. + "Think through this step by step."
AI RESPONSE:
Annual budget: $2.4M
− Spent YTD: $1.8M (75%)
= Remaining: $600K
− Committed: $420K
= Available: $180K
Request: $85K (47% of available)
Approve — within discretionary threshold

✓ Every step visible. Math auditable. Conclusion backed by evidence.

Few-Shot CoT: Leave Assessment

Provide one example with reasoning — the AI follows the exact same pattern.

Your prompt (with example)

PROMPT: Assess leave applications step by step.

EXAMPLE:
Staff A: 14 days annual leave, used 10, requests 5 days.
Step 1 — Balance: 14 − 10 = 4 days remaining ✅
Step 2 — Request vs balance: 5 > 4 available ❌
Step 3 — Coverage: No backup identified ❌
Step 4 — DECLINE: Insufficient balance. Suggest 4 days max.

NOW ASSESS:
Staff B: 14 days annual leave, used 6, requests 3 days. Backup: confirmed.

AI output (follows your pattern)

AI RESPONSE:
Step 1 — Balance: 14 − 6 = 8 days remaining ✅
Step 2 — Request vs balance: 3 ≤ 8 available ✅
Step 3 — Coverage: Backup confirmed ✅
Step 4 — APPROVE: All criteria met. 5 days remaining after approval.

Key insight: The AI copied your exact Step 1-4 format, applied the same criteria, and produced a consistent assessment — all from one example.

Step-Back: Policy Compliance Check

First identify principles, then apply them to the specific case.

Your prompt

PROMPT:
Before analyzing this MOH circular, first answer:
1. What are the 3 key requirements of MOH infection control guidelines?
2. What are common compliance gaps in hospital administration?

Now assess our current practices against those requirements:
Hospital: AnyCompany General (Central)
Current hand hygiene audit: 82% compliance
PPE stock: 14-day supply (policy: 30-day)
Staff training: 78% completed (target: 100%)
Incident reporting: avg 3-day delay (target: 24hrs)

AI response

STEP 1 — KEY REQUIREMENTS:
1. Hand hygiene compliance ≥90%
2. PPE stockpile ≥30-day supply
3. 100% staff training + 24hr incident reporting

STEP 2 — COMMON GAPS:
• Training completion lag • PPE supply chain delays
• Reporting culture barriers • Audit frequency

ASSESSMENT: 3 of 4 NON-COMPLIANT
• Hand hygiene: 82% < 90% target ❌
• PPE stock: 14-day < 30-day policy ❌
• Training: 78% < 100% target ❌
Priority: PPE stockpile (patient safety risk)

Why Step-Back works: The AI built a framework FIRST (requirements + common gaps), then applied it systematically — instead of jumping to "needs improvement."

Self-Consistency: Vendor Selection

Evaluate 3 ways, report the majority — for decisions where being wrong is costly.

Your prompt

PROMPT:
Evaluate this vendor proposal using 3 independent approaches:

1. Cost analysis (total cost of ownership vs budget)
2. Quality metrics (SLA history, certifications, references)
3. Risk assessment (financial stability, dependency, alternatives)

For each: conclude RECOMMEND / CONDITIONAL / REJECT

Final assessment = majority conclusion.
If approaches disagree → flag for committee review.

AI response

Approach 1 — Cost: $1.2M vs $1.0M budget (+20%). Premium justified by 24/7 coverage. → CONDITIONAL

Approach 2 — Quality: 94% SLA (below 97% target). ISO 13485 certified. 2 negative references. → REJECT

Approach 3 — Risk: Sole supplier for 3 hospitals. No viable alternative within 90 days. → CONDITIONAL

MAJORITY: 2/3 CONDITIONAL
Recommend: Renew with performance improvement plan. Begin parallel vendor search.

Why 3 approaches? Approach 2 alone would have rejected this vendor. But the risk assessment shows no alternative exists — the majority vote produces a pragmatic recommendation.

See the Difference: Leave Approval

❌ Without CoT

Prompt: "Should we approve this leave application?"

Yes, I would recommend approving this leave application. The staff member has been with the organization for a reasonable amount of time and their leave balance appears sufficient. There shouldn't be any major issues with coverage.

⚠ No reasoning shown, no balance check, not auditable, "appears sufficient" is not a metric

✅ With Chain-of-Thought

Prompt: "Think through each policy criterion step by step"

Step 1 — Balance: 14 − 6 = 8 days remaining ✅
Step 2 — Request: 3 days ≤ 8 available ✅
Step 3 — Coverage: Backup confirmed (Sarah L.) ✅
Step 4 — Blackout: Not during audit period ✅
Decision: APPROVE. All 4 criteria met.

✓ Every criterion checked, math shown, auditable, clear decision

Module 3

Role & Persona
Prompting

Same data, dramatically different insights — just by changing who the AI "is"

The Persona Formula

You are [TITLE] at [ORGANIZATION TYPE] 
with [X years] of experience in [SPECIALTY].
You are known for [CHARACTERISTIC]. 
When [SITUATION], you always [BEHAVIOR].

Conservative: Compliance Officer

"Senior Compliance Officer, 12 years in healthcare governance. Known for being thorough and risk-averse. When in doubt, recommends additional verification and escalation."

Growth: Operations Manager

"Operations Manager, 8 years in hospital administration. Known for finding efficiency gains. Always highlights process improvement opportunities alongside risks."

The last two fields matter most: CHARACTERISTIC and BEHAVIOR shape the AI's judgment calls. "Risk-averse" vs "efficiency-focused" produces completely different recommendations from the same data.

Persona in Action: Same Vendor, Different Eyes

Data: Vendor with 94% SLA (target 97%) + 3 critical items overdue + contract renewal in 30 days

🛡 Compliance Officer

RATING: RED — NON-COMPLIANT

Primary concern: SLA at 94% is below the 97% contractual threshold for 3 consecutive months. This constitutes a material breach under clause 8.2.

Patient safety risk: 3 critical equipment items overdue creates direct risk to patient care continuity. This must be escalated to clinical governance.

Recommendation:
• Issue formal breach notice immediately
• Escalate to clinical governance committee
• Begin alternative vendor procurement
• Do NOT renew without performance guarantees

📈 Operations Manager

ASSESSMENT: MANAGEABLE — IMPROVE, DON'T EXIT

Context: 94% SLA is below target but represents 342/380 incidents resolved on time. The 38 breaches cluster around after-hours calls — a staffing issue, not capability.

Switching cost: New vendor onboarding takes 6-9 months. During transition, SLA would drop further. Current vendor knows our equipment fleet.

Recommendation:
• Renew with enhanced after-hours SLA clause
• Add penalty/incentive structure (97% = bonus, <93% = penalty)
• Quarterly performance reviews (not annual)
• Resolve 3 critical items within 7 days as condition

Multi-Agent Framing

Get 3 perspectives in one prompt — no need to schedule 3 meetings.

Your prompt

PROMPT:
Evaluate this policy change (extending visiting hours from 8pm to 10pm):

💰 FINANCE MANAGER: Cost impact, staffing, overtime
🏥 CLINICAL OPERATIONS: Patient care, ward workflow, safety
⚖ COMPLIANCE: MOH guidelines, infection control, PDPA

Each: 3 concerns + Recommendation + 1 metric to monitor

Then: Balanced synthesis of all three views.

AI response (synthesis excerpt)

💰 FINANCE: "Additional 2hrs requires 12 extra security staff ($180K/year). Overtime for nursing: est. $95K/year. Recommend: phased pilot in 2 wards first."

🏥 CLINICAL OPS: "Extended hours improve family satisfaction (+15% in pilot studies). But disrupts medication rounds at 9pm. Recommend: quiet hours 9-9:30pm."

⚖ COMPLIANCE: "MOH allows flexible visiting. Infection control risk manageable with visitor screening. Must maintain patient rest periods per guidelines."

SYNTHESIS: Pilot in 2 wards with quiet period 9-9:30pm. Monitor patient satisfaction + staff overtime. Full rollout after 90-day review.

Why this works: Forces balanced analysis. No single perspective dominates. The synthesis is where the real insight lives.

Same Data, Different Audiences

Data: "Vendor SLA compliance dropped from 97% to 94% this quarter"

AudiencePersonaOutput style
Board"You are the COO presenting to the hospital board"Strategic, 5-minute read, risk framing
Ops Team"You are the Ops Manager briefing your team"Actionable, task-oriented, specific owners
MOH"You are Compliance Head responding to MOH inquiry"Formal, regulation-referenced, remediation plan
Staff"You are HR communicating to ward staff"Simple, reassuring, what-it-means-for-you

💡 Practice activity (10 min): Pick the same data point above. Write prompts for 2 different audiences. Compare how the tone, detail level, and recommendations change.

Module 4

Structured Outputs
& Grounding

Consistent formats, document grounding, and preventing hallucination

Why Structure Matters

Unstructured = Conversation

Different every time. Hard to compare. Can't feed into systems. Requires human parsing.

Structured = Form

Consistent format. Comparable across items. Scannable by busy stakeholders. Reusable template.

Healthcare admin use cases:

  • Vendor proposal extraction → comparison table
  • Meeting minutes → action items with owners
  • Budget variance analysis → exception report
  • Policy document review → compliance checklist

How to Get Structured Output

Tell the AI exactly what shape the output should take.

TechniquePrompt exampleWhat you get
Named sections"Use these sections: Summary, Findings, Recommendation"Same headings every time — scannable, comparable
Table format"Present as a table with columns: Vendor | Score | Risk | Action"Aligned data, easy to paste into Excel
Numbered actions"List 3 actions. Each: action, owner, deadline, priority (H/M/L)"Actionable items with accountability
Rating + justification"Give a GREEN/AMBER/RED rating. Justify in exactly 2 sentences."Consistent decision format across all reviews
Length control"Executive summary: max 3 sentences. Detail section: max 200 words."Right depth for the audience
Markdown output"Format with ## headings, bullet lists, and | tables"Clean, reusable, low-token format

Pro tip: Combine techniques — "Use sections: Summary (3 sentences), Performance Table (Metric | Actual | Target | Status), Actions (numbered, with owner and deadline)."

The Grounding Problem

Without grounding rules, the AI mixes its training data with your documents — and you can't tell which is which.

❌ Without grounding

  • Fills gaps with plausible fiction — invents policy details that aren't yours
  • Uses "typically" and "usually" — hedging that masks guessing
  • Mixes sources invisibly — your doc + training data, no way to tell
  • Never says "I don't know" — answers confidently regardless

✅ With grounding rules

  • Every claim traces to a source — citations after each statement
  • Admits gaps explicitly — "[NOT IN DOCUMENT]" instead of inventing
  • No outside knowledge — only the provided documents
  • Audit-ready output — supervisors can verify every claim

Why this matters in healthcare: If a staff member acts on AI-generated policy guidance that was hallucinated, your organization has no defense. Grounding rules make every AI output traceable to source documents.

The 4 Grounding Rules

Add these rules to any prompt where accuracy matters:

CRITICAL RULES:
1. Base your answer ONLY on the provided documents
2. After each claim, cite: [Doc Name, Section]
3. If not in documents: "Not available in 
   provided documents"
4. Do NOT use outside knowledge

DOCUMENTS:
[Doc 1: AnyCompany Leave Policy v4.1]
[Doc 2: MOH HR Guidelines 2024]

QUESTION: What is the maximum carryover for 
unused annual leave?

When to use on AgentSea: Policy lookups, compliance checks, vendor contract review, HR queries, budget guidelines — any task where the answer must come from YOUR documents uploaded to the session.

See the Difference: Policy Q&A

❌ Without Grounding

Prompt: "What is our leave carryover policy?"

Employees can typically carry over up to 5 days of unused annual leave to the next calendar year. Any leave beyond this is usually forfeited unless approved by management. Most Singapore healthcare organizations follow a use-it-or-lose-it policy with some flexibility for operational needs.

⚠ Sounds plausible but NONE of this may be in your actual policy. "Typically" and "usually" = hallucination.

✅ With Grounding

Prompt: "ONLY from provided documents" + policy doc uploaded

Per AnyCompany Leave Policy v4.1:
• Maximum carryover: 10 days [Section 5.2]
• Must be used by 31 March of following year [Section 5.3]
• [NOT IN DOCUMENT: management approval process for exceptions]

✓ Every claim cites a section. Admits what it doesn't know. No hallucination.

Module 5

AgentSea-Specific
Techniques

System prompts, skill selection, and healthcare guardrails

Writing System Prompts for AgentSea

A system prompt is a permanent instruction set that runs before every user message. It turns a generic AI into YOUR specialist agent.

## Role
You are a Procurement Assessment Specialist for AnyCompany Healthcare.
You have 10 years of experience in Singapore public healthcare procurement.

## Task
When given a vendor proposal document, you will:
1. Extract key commercial terms (price, SLA, duration, penalties)
2. Compare against our standard requirements
3. Produce a structured assessment with GREEN/AMBER/RED rating

## Rules
- Use ONLY information from the uploaded document
- All amounts in SGD
- Do NOT provide clinical or medical advice
- Do NOT include any patient identifiable information in outputs
- If information is missing, state "[NOT IN DOCUMENT]"
- Always recommend human review for contracts >$500K

## Output Format
Use these sections: Executive Summary | Commercial Terms Table | 
Risk Assessment | Recommendation | Next Steps

This system prompt + Document Analysis skill = a reusable vendor assessment agent that any team member can use by simply uploading a proposal.

Skill Selection: When to Use What

SkillUse when...Example tasks
📄 Document AnalysisYou need to READ and EXTRACT from uploaded filesVendor proposals, policy documents, financial reports, meeting transcripts
📝 Document GenerationYou need to CREATE new documents from instructionsReports, summaries, letters, email drafts, compliance checklists
📧 Outlook IntegrationYou need to work with EMAIL and CALENDAREmail triage, meeting summaries, follow-up drafts, calendar analysis

Combining skills: "Read this vendor proposal (Document Analysis) → Generate a comparison report (Document Generation) → Draft a follow-up email to the vendor (Outlook Integration)"

Guardrails for Healthcare

Every AgentSea system prompt for healthcare must include these safety rules:

🚫 Must NEVER

  • Provide clinical or medical advice
  • Include patient names, NRIC, or identifiable data in outputs
  • Make up policy details not in source documents
  • Approve expenditure without human review
  • Share confidential vendor pricing externally
  • Override PDPA data protection requirements

✅ Must ALWAYS

  • Cite source documents for every claim
  • Flag when information is insufficient
  • Recommend human review for high-value decisions
  • Use formal, professional tone
  • State "[REQUIRES HUMAN APPROVAL]" for actions >$50K
  • Comply with PDPA guidelines for data handling

Non-negotiable: These guardrails go into EVERY system prompt. They protect your organization, your patients, and your staff. Copy them as a starting template.

The System Prompt Template

Use this structure for every AgentSea agent you build:

## Role
You are [TITLE] for [ORGANIZATION]. You have [X years] 
experience in [SPECIALTY]. You are known for [TRAIT].

## Task
When given [INPUT TYPE], you will:
1. [First action]
2. [Second action]  
3. [Produce output]

## Rules (Guardrails)
- ONLY use information from uploaded documents
- Do NOT provide clinical/medical advice
- Do NOT include PII (names, NRIC, addresses) in outputs
- If data is missing: "[NOT IN DOCUMENT]"
- For decisions >$50K: "[REQUIRES HUMAN APPROVAL]"
- Comply with PDPA and MOH guidelines

## Output Format
[Specify exact sections, tables, ratings, length]

## Examples (Optional)
[Show one good output example for consistency]

This template = your Agent Design Canvas output. Fill in the blanks, deploy on AgentSea, and your team has a reusable specialist agent.

Hands-on

Prompt Engineering
Exercises

Apply everything you've learned — build a reusable prompt template

Choose Your Exercise

Exercise 1: Vendor Proposal Assessment

Best for: Procurement, operations, compliance

Techniques: Zero-Shot → Persona → Few-Shot → Structured → Grounding + Self-Critique → Meta-Prompting → Validation

Deliverable: Reusable template for GREEN/AMBER/RED vendor assessments on AgentSea

Exercise 2: Monthly Operations Report

Best for: Finance, administration, HR

Techniques: Zero-Shot → Step-Back → Audience Framing → Multi-Perspective → Structured + Length Control → Meta-Prompting → Validation

Deliverable: Reusable template for executive operations summaries on AgentSea

Open the workshop site → Prompt Engineering Exercises

Wrap-up

Best Practices &
Common Mistakes

Avoid the pitfalls, optimize your prompts, build your library

7 Prompt Mistakes Everyone Makes

MistakeWhy it hurtsQuick fix
The Kitchen SinkCramming 5 tasks into 1 promptOne task per prompt, chain results
The Blank CanvasNo examples = AI guesses your formatShow 1-2 examples of desired output
The Trust FallNo grounding = confident hallucinations"ONLY from provided documents"
The Vague Ask"Analyze this" — analyze what, how, for whom?Specify audience, format, length
The One-Shot WonderExpecting perfection on first tryPlan for 2-3 refinement turns
The Copy-Paste TrapUsing generic prompts without adapting to your contextAdd your domain, data, and constraints
The No-GuardrailsForgetting safety rules for healthcare contextAlways include PDPA + no-clinical-advice rules

The Draft-Score-Revise Loop

Don't accept the first output. Build a self-improving cycle into your prompt:

Step 1 — DRAFT: Write a vendor performance summary 
  using the data provided.

Step 2 — SCORE: Rate your draft on these criteria:
  - Completeness (0-5): All required sections?
  - Grounding (0-5): Every claim cites data?
  - Actionability (0-5): Specific next steps?

Step 3 — REVISE: If total < 12, rewrite to fix 
  the lowest-scoring area. Max 2 revisions.

Output only the final version.

Result: The AI self-corrects before you even read it. Teams using this pattern report 40-60% fewer revision cycles.

Break Big Tasks into Small Steps

Complex tasks fail when you ask for everything at once. Decompose instead:

❌ One Giant Prompt

"Read this 50-page vendor proposal, 
extract all commercial terms, compare 
to our requirements, identify risks, 
draft a recommendation memo, and 
create a comparison table with the 
other 2 vendors we're considering."

6 tasks = shallow work on each

✅ Chained Prompts

Prompt 1: "Extract all commercial 
  terms from this proposal into a table"
Prompt 2: "Compare these terms against 
  our standard requirements"
Prompt 3: "Identify the top 3 risks 
  and rate each HIGH/MED/LOW"
Prompt 4: "Draft a 1-page recommendation 
  memo for the procurement committee"

Each step gets full attention

Negative Constraints for Healthcare

Positive instructions tell the AI what to include. Negative constraints prevent common failure modes:

ProblemNegative constraint to add
AI provides medical advice"Do NOT provide clinical recommendations or diagnoses"
AI uses data not in your document"Do NOT reference any data outside the provided documents"
AI includes patient information"Do NOT include any names, NRIC, or identifiable patient data"
AI hedges everything"Do NOT use phrases like 'it depends' or 'generally speaking'"
AI writes too much"Do NOT exceed 300 words. Do NOT add a conclusion section"
AI invents policy details"If a policy detail is not in the document, write [NOT IN DOCUMENT]"

Pro tip: After your first test run, note what went wrong and add a "Do NOT" line for each issue. Your prompt improves with every iteration.

The Bottom Line

Your concernThe solution
"I don't want to write long prompts every time"Build the template once → deploy as AgentSea system prompt
"I'm not sure my prompt is good enough"Use Draft-Score-Revise loop to self-improve
"My team needs consistent outputs"System prompt + structured output = same format every time
"How do I know the AI isn't making things up?"4 Grounding Rules + "[NOT IN DOCUMENT]" pattern
"What about patient data and compliance?"Healthcare guardrails in every system prompt

The workflow: Learn techniques (today) → Build template (exercise) → Deploy as system prompt (AgentSea) → Reuse daily. You invest 20 minutes once, save hours every week.

Workshop Outcomes

  • Design prompts using the 4 pillars (Clarity, Context, Role, Output)
  • Apply Chain-of-Thought for auditable healthcare decisions
  • Create expert personas for different stakeholder audiences
  • Extract structured data and ground responses in documents
  • Write system prompts with healthcare guardrails for AgentSea
  • Select the right AgentSea skill for each task
  • Build reusable prompt templates — the foundation for your agents
  • Next: Agent Design Canvas — design your own AgentSea agent

Thank You

Next: Agent Design Canvas

Design Your Agent · Write the System Prompt · Deploy on AgentSea

💡 Think about: What task does your team do every week that could become an AgentSea agent?

AnyCompany Healthcare · Agentic AI Foundations on AWS