Vòng lặp task (The Task Loop)

Gặp gỡ Claude CoworkCơ bản25 phút

Trước khi đi sâu vào chi tiết, hãy nhìn vào mental model: mọi Cowork task đều theo cùng 1 loop 4 bước. Khi thuộc loop này, bạn có thể áp dụng cho bất kỳ task gì — từ sort folder đơn giản đến build financial model phức tạp.

Bạn sẽ học được
  • Mô tả task cho Cowork rõ đủ để nhận plan hữu ích (công thức I-T-O)
  • Steer approach cả trước khi bắt đầu và trong khi chạy
  • Đón nhận output với đúng mindset — "draft từ colleague" chứ không phải "chân lý"
  • Hiểu cơ chế dưới capốt: subagents, isolated environment, steering
  • Chạy được task Cowork thực tế đầu tiên của bạn với task đã xác định từ Bài 3.0

Bước 1: Mô tả task — Công thức I-T-O

Một prompt hiệu quả cho Cowork có 3 yếu tố:

Prompt vô dụng vs prompt work

❌ "Clean up my files"

Cái gì trong "files"? Clean theo nghĩa gì? Muốn kết quả thế nào?

Claude sẽ phải hỏi lại 5-6 câu trước khi bắt đầu được — waste time cho cả hai.

✅ "Sort my Downloads folder by file type into dated subfolders."

Claude có thể plan ngay lập tức.

Prompt thực chiến — Ví dụ từ Finance

Xem cách prompt này break xuống:

Mỗi yếu tố rõ → Claude có context đầy đủ để lập plan tốt.

Bạn không cần prompt "perfect"

  • Input — Source material ở đâu?
  • Transformation — Biến đổi nó thành gì?
  • Output — Kết quả ở format nào, lưu ở đâu?
  • Input: Downloads folder
  • Transformation: Sort by file type
  • Output: Dated subfolders
┌────────────────────────────────────────────────────────────┐
│ INPUT                                                      │
│  • transcripts (folder)                                    │
│  • our model (folder)                                      │
│  • last quarter's note (folder)                            │
│  • #research-desk Slack channel                            │
│                                                            │
│ TRANSFORMATION                                             │
│  • Read transcripts against our model                      │
│  • Check what team's been saying                           │
│  • Flag anything changing assumptions                      │
│                                                            │
│ OUTPUT                                                     │
│  • Updated research note (implicit: save in same folder)   │
└────────────────────────────────────────────────────────────┘

Bước 2: Trả lời vài câu hỏi

Dựa trên prompt của bạn và những gì nó tìm thấy trong folder, Claude hỏi vài câu để output đúng expectation:

Ví dụ clarifying questions

Bạn: "Create a leadership presentation for the tooling review from this folder."

Cowork:

Pick hoặc type your own

Với mỗi câu hỏi, bạn có thể:

Đây là collaboration, không phải quiz bạn phải trả lời đúng.

  • Which approach to take — có nhiều cách làm, ưu tiên cái nào?
  • What to prioritize — thông tin nào lên đầu?
  • How the finished work should look — format, length, template?
  • Chọn 1 trong các options Claude đưa ra (nhanh nhất)
  • Type câu trả lời riêng (khi có ý khác)
  • Skip → Claude pick default đề xuất
Tôi đã scan folder và thấy:
- 12 file (PDF, Excel, docs)
- Bao gồm vendor comparison matrix, timeline, business case

Vài câu hỏi để output đúng:

Q1: Độ dài deck mong muốn?
    a) Short & sharp (8-10 slides)
    b) Comprehensive (15-20 slides)
    c) Executive summary + appendix (10 + 10)

Q2: Focus chính?
    a) Vendor comparison
    b) Timeline & milestones  
    c) Risk analysis
    d) All of above, equal weight

Q3: Có template brand không?
    (tôi thấy brand-template.pptx trong folder — dùng không?)

Bước 3: Rời máy hoặc can thiệp

Claude có plan, có answers → nó bắt đầu chạy.

Progress panel

Một panel hiện mỗi step:

Bạn có 3 lựa chọn:

Steer mid-run — cực kỳ mạnh

Nếu bạn watch progress và thấy Claude đi hướng sai, không cần chờ xong. Chỉ cần gõ:

Claude tiếp nhận, adjust, tiếp tục.

Subagents — song song để scale

Khi task có nhiều phần độc lập, Cowork có thể spawn subagents — mỗi cái một workstream riêng với fresh context:

Mỗi subagent research pricing, integrations, reviews của 1 vendor không bị dilute bởi data các vendor khác. Kết quả synthesize lại thành 1 output duy nhất.

Lợi ích thực tế:

Isolated environment — an toàn

Code runs và file được build trong isolated environment trên máy bạn, tách biệt với OS chính. Không đụng đến thứ bạn chưa grant access.

Deletion is gated

Cowork hỏi bạn trước khi xóa vĩnh viễn. Luôn có confirmation prompt, không có "oops, xóa nhầm".

  • Watch — theo dõi live, thấy mỗi step
  • Ignore — đi họp, đi cà phê, task vẫn chạy
  • Steer — gõ vào chat để redirect nếu thấy sai hướng
  • Task quá lớn để hold trong 1 conversation → chia thành các phần fit trong từng subagent
  • Mỗi phần được focused attention — analysis vendor D không bị loãng bởi data vendor A
┌──────────────────────────────────────────────┐
│   Your OS (main system)                      │
│                                              │
│   ┌────────────────────────────────────┐     │
│   │  Cowork sandbox                    │     │
│   │  ├── Approved folder (read/write)  │     │
│   │  ├── Connected tools (via scopes)  │     │
│   │  └── Isolated compute              │     │
│   └────────────────────────────────────┘     │
│                                              │
│   ❌ Cowork không touch:                      │
│   • System files                             │
│   • Other folders chưa grant                 │
│   • Apps khác không qua connector            │
└──────────────────────────────────────────────┘

Bước 4: Mở file finished

Khi xong, kết quả land ở nơi bạn chỉ định:

Treat output as DRAFT

Không phải "final". Đây là key mindset:

Habit review 3 bước

Dù output polished đến đâu, làm 3 thứ này:

  • Default: cùng folder bạn trỏ vào ban đầu
  • Nếu prompt có "save to X" → X (Drive folder, Gmail draft...)
  • Output multiple files → subfolder hoặc liệt kê rõ
┌──────────────────────────────────────────────────┐
│                                                  │
│   1. 📂 Mở file (thực sự mở, không chỉ đọc       │
│         summary Claude viết trong chat)          │
│                                                  │
│   2. 🔢 Check 1 số liệu (bất kỳ number nào,      │
│         trace back về source file)               │
│                                                  │
│   3. 🧵 Follow 1 thread of reasoning (claim nào  │
│         → evidence nào → có align không?)        │
│                                                  │
└──────────────────────────────────────────────────┘

Walkthrough đầy đủ: Scattered folder → Finished deck

Xem loop 4 bước áp dụng cho case cụ thể — shape tương tự cho bất kỳ task "lấy file làm output".

📂 Starting point

Một project folder tích tụ theo thời gian:

Nhiều format, loose organization. Goal: Biến đống này thành leadership-ready presentation.

1️⃣ Mô tả task

I-T-O breakdown:

2️⃣ Trả lời clarifying questions

Claude hỏi:

Bạn trả lời:

3️⃣ Review plan

Cowork show:

Bạn approve. Cowork bắt đầu chạy.

4️⃣ Let it run

Bạn đi họp daily standup (15 phút). Quay về:

5️⃣ Mở deck

Deck là real PowerPoint file:

  • Input: everything in folder
  • Transformation: review → synthesize → create
  • Output: leadership presentation (.pptx)
  • "Tôi thấy 3 vendor (A, B, C) — đã có final recommendation chưa, hay deck để support decision-making?"
  • "Business case có cần breakdown ROI chi tiết không?"
  • "Open risks — bạn muốn phần này dài (1 slide detailed) hay ngắn (1 bullet list)?"
  • "Chưa final — deck để support decision"
  • "ROI overview, không cần detail"
  • "Detailed 1 slide"
  • ✅ Progress panel: Completed
  • 📄 File mới trong folder: tooling-review-deck.pptx
  • 💬 Cowork summary ngắn: "Created 12-slide deck. Vendor C has the highest score in comparison matrix. Flagged 2 risks needing leadership input."
  • Charts là editable — click vào, chỉnh data, thay màu
  • Slide master follow brand template (nếu có trong folder)
  • Bạn refine 20 phút thay vì assemble từ zero 3 tiếng
📁 tooling-review-q4/
├── meeting-notes-oct.md
├── meeting-notes-nov.md
├── vendor-a-pricing.pdf
├── vendor-b-pricing.pdf
├── vendor-c-pricing.pdf
├── vendor-comparison.xlsx
├── email-from-cto.docx
├── timeline-draft.xlsx
└── business-case-v2.pdf
Plan đề xuất (6 bước):

  1. Đọc 9 files trong folder
  2. Synthesize proposal (extract key points mỗi vendor)
  3. Build comparison matrix slide
  4. Timeline slide từ timeline-draft.xlsx
  5. Business case slide với ROI overview
  6. Risks slide (detailed)
  7. Generate deck → .pptx format

Estimated time: 12-15 phút

[Approve] [Edit plan] [Cancel]

Ví dụ theo ngành — Task loop thực tế

💼 Sales Rep — Prep cuộc gọi

Prompt:

Loop:

Trước: 45 phút mỗi call. Sau: 5 phút review briefing.

💰 Finance Analyst — Reconciliation

Prompt:

Loop:

Trước: 1 ngày. Sau: 45 phút review.

📣 Content Marketer — Repurposing

Prompt:

Loop:

Trước: 4 giờ. Sau: 30 phút.

⚖️ Legal Counsel — Contract review

Prompt:

Loop:

Trước: 3-4 giờ. Sau: 45 phút review.

🔍 Research Analyst — Synthesis

Prompt:

Loop:

Trước: 2 ngày. Sau: 3 giờ review + edit.

  • Clarifying: "focus vào deal unblock hay generic update?"
  • Plan: 4 steps (email scan, CRM lookup, web search, synthesize)
  • Run: ~4 phút với subagents
  • Output: briefing-acmecorp-2026-04-19.md
  • Clarifying: "Tolerance exact 2 days hay business days?"
  • Plan: 5 steps bao gồm parallel matching
  • Run: ~8 phút (subagent cho mỗi source)
  • Output: Excel 3 sheets, sorted, formatted
  • Clarifying: "Email newsletter tone — casual hay professional?"
  • Plan: 4 parallel subagents, mỗi platform 1 agent
  • Run: ~10 phút
  • Output: 4 subfolders với content optimized
  • Clarifying: "Chỉ flag differences, hay đề xuất edit luôn?"
  • Plan: 3 subagents (template diff, regulatory check, synthesize)
  • Run: ~15 phút
  • Output: report.docx với 12 findings, severity rating
  • Clarifying: "Citation style: APA hay Chicago?"
  • Plan: 3 phases (catalog, theme, synthesis) với subagents
  • Run: ~30 phút
  • Output: synthesis document + citation list

Prompt templates sẵn dùng cho task loop

Dưới đây là 8 template follow pattern I-T-O, adapt cho context của bạn.

Template 1: File organization

Template 2: Document synthesis

Sort [folder path] theo [criterion: file type/date/project]. 
Tạo subfolders theo [naming convention: YYYY-MM-DD/category]. 
Rename files theo format [pattern]. 
Tạo INDEX.md liệt kê kết quả.

Template 2: Document synthesis

Template 3: Report from data

Đọc tất cả [file type] trong [folder]. 
Extract [3-5 data fields]. 
Tạo [output format: Excel/markdown/Word] với:
- [Section 1: purpose]
- [Section 2: purpose]
- [Section 3: purpose]

Template 3: Report from data

Template 4: Comparison analysis

Dựa trên [data file], viết báo cáo phân tích cho [audience].
Focus vào [KPI 1], [KPI 2].
Include: exec summary, key findings, recommendations.
Độ dài: [3-5 trang].
Output: .docx với charts từ data.

Template 4: Comparison analysis

Template 5: Meeting prep

So sánh [options A, B, C] dựa trên tiêu chí:
- [Dimension 1] (metric: [X])
- [Dimension 2] (metric: [Y])
- [Dimension 3] (metric: [Z])
Dùng data từ [source files].
Output: bảng comparison + slide deck [N] slides.

Template 5: Meeting prep

Template 6: Weekly digest

Tomorrow [time] tôi có meeting với [person] về [topic].
Prep:
- Background của người này (email/CRM/LinkedIn)
- Lịch sử tương tác
- Talking points đề xuất
- Câu hỏi nên hỏi
Output: 1-page briefing trong [folder].

Template 6: Weekly digest

Template 7: Research synthesis

Tạo weekly digest newsletter cho team.
Sources:
- Slack #wins (top achievements)
- Asana completed tasks
- Bookmarks tuần này
- Calendar upcoming
Format: .md, tone [casual/professional], max [500 words].

Template 7: Research synthesis

Template 8: Content repurposing

Synthesis report về [topic] từ:
- [N] papers trong /papers/
- Latest news (3 tháng qua) qua web search
- Internal notes trong [folder]
Output:
- Báo cáo .docx [3-5 trang]
- Citations [Author, Year] format
- Flag gaps + contradictions

Template 8: Content repurposing

Từ [master piece] tạo:
1. [Format 1] — [constraints]
2. [Format 2] — [constraints]
3. [Format 3] — [constraints]
Mỗi output trong subfolder tương ứng.
Giữ consistent message, adapted cho platform.

Anti-patterns — Sai lầm khi dùng task loop

❌ Prompt quá vague

Triệu chứng: "Help me with this folder", "Do something useful with the data".

Tại sao sai: Claude phải hỏi 5-10 câu rồi mới plan được. Waste time hai bên.

Cách đúng: Gõ xấu còn hơn không gõ — ngay cả "Tóm tắt 5 files này thành 1-pager" đã đủ start; Claude fill gaps.

❌ Không review plan, approve ngay

Triệu chứng: Click approve mà chưa đọc plan.

Tại sao sai: Plan là cửa catch sớm nhất. Plan sai → 15 phút sau output cũng sai.

Cách đúng: Đọc plan 30 giây — check list files đúng, steps logic đúng, output format đúng. Approve chỉ khi OK.

❌ Không steer mid-run

Triệu chứng: Thấy Claude đi hướng sai nhưng chờ nó xong rồi redo.

Tại sao sai: Chờ = waste compute. Redo = waste thêm.

Cách đúng: Type ngay vào chat: "Stop — focus on X instead of Y". Claude pivot được.

❌ Treat output là final, không review

Triệu chứng: Cowork tạo deck → send thẳng cho CEO.

Tại sao sai: Output có thể có hallucination, sai số liệu, sai logic. Polished ≠ correct.

Cách đúng: Habit 3 bước: mở file, check 1 số, follow 1 thread. 5 phút review save tháng sau không phải khắc phục hậu quả.

❌ Thử task quá lớn cho lần đầu

Triệu chứng: First prompt: "Build me a financial model for 10 portfolio companies with 5-year projection".

Tại sao sai: Chưa build intuition về Cowork → không biết evaluate plan, không biết spot errors.

Cách đúng: Tasks đầu tiên có ranh giới rõ — organize 1 folder, synthesize 5 docs. Build intuition. Scale up sau.

❌ Không dùng subagents cho parallel work

Triệu chứng: Task "review 20 CVs" → Cowork làm tuần tự từng CV.

Tại sao sai: 20× thời gian so với parallel.

Cách đúng: Prompt rõ ràng "review parallel" hoặc structure task "process each [item] simultaneously". Cowork spawn subagents.

Mẹo nâng cao khi prompt Cowork

💡 Mẹo 1: Prefix với "Let me think out loud" cho complex tasks

Với task phức tạp, starting prompt:

Claude respond với reasoning + plan — bạn có insight vào cách nó sẽ tiếp cận trước khi chạy.

💡 Mẹo 2: Ask for "plan first, then wait"

Với task uncertain:

Force Claude dừng ở step plan → bạn có control maximum.

💡 Mẹo 3: Specify examples when output format quan trọng

Example > description. Nếu có reference file, point Claude tới nó.

💡 Mẹo 4: Use "I'll verify X" cho critical tasks

Claude biết đâu là điểm critical → flag thay vì tự tin overstep.

💡 Mẹo 5: Chain tasks với "when done, then..."

Multi-step workflow trong 1 prompt. Cowork orchestrate.

Áp dụng ngay

Bài tập 1: Chạy task Cowork đầu tiên (~15 phút)

Bước 1: Lấy task bạn đã identify ở Bài 3.0.

Bước 2: Trỏ Cowork vào folder relevant.

Bước 3: Viết prompt theo công thức I-T-O:

Bước 4: Gõ prompt. Trả lời clarifying questions.

Bước 5: Review plan (đọc 30 giây).

Bước 6: Approve → đi làm việc khác 10-15 phút.

Bước 7: Quay về, mở file. Review 3 bước:

Ghi lại:

Bài tập 2: Reverse — từ output ngược lại prompt (~5 phút)

Với output bạn vừa nhận ở Bài tập 1, trả lời:

Bài tập 3 (optional): Steer mid-run (~10 phút)

Trong task tiếp theo, intentionally steer giữa chừng:

Note lại cảm giác của bạn. Steer smooth? Hay awkward? Khi nào nên steer vs wait?

  • Mở file ☐
  • Check 1 số ☐
  • Follow 1 thread ☐
  • Thời gian Cowork chạy: _______ phút
  • Thời gian bạn tiết kiệm (vs làm thủ công): _______
  • Điều bạn thấy bất ngờ: ______________________________
  • Điều bạn sẽ làm khác lần sau: ______________________________
  • Nếu prompt rõ hơn, Claude có hỏi ít clarifying questions hơn không?
  • Bạn có thể edit prompt 1 dòng để output sát mong muốn hơn từ đầu không?
  • Save prompt đó — nếu task này lặp lại, bạn đã có template.
  • Chờ progress đến step 2-3
  • Type vào chat: "Wait — also include [X] in the output"
  • Xem Claude adjust
Yếu tốCủa bạn
Input________________________________
Transformation________________________________
Output________________________________

Tóm tắt bài học

🎯 Task loop = 4 bước: Mô tả (I-T-O) → Hỏi lại → Plan + Run → Mở file finished

🎯 Prompt tốt = Input + Transformation + Output — 3 yếu tố rõ, Claude tự fill gaps bằng questions

🎯 Plan là cửa catch sớm nhất — review 30 giây trước khi approve, đừng skip

🎯 Bạn có thể steer bất kỳ lúc nào — type vào chat mid-run, không cần chờ xong

🎯 Output là DRAFT không phải FINAL — habit 3 bước: mở file, check 1 số, follow 1 thread

🎯 Subagents = parallelism — cho task có nhiều phần độc lập, request "parallel" rõ ràng

Tài liệu tham khảo
  • AI Fluency course — Nguyên tắc prompting hiệu quả
  • Cowork use-case gallery — More task ideas
  • Prompting for agents — Code w/ Claude talk — Deep dive kỹ thuật prompt
Nội dung này có hữu ích không?