Lộ trình học›Cowork›Claude Cowork Mở bản đồ

3.4 · Plugins — Cowork như một chuyên gia

Bài viếtTrung cấp25 phút đọc

Bạn vừa mua một con dao đa năng Swiss Army — 15 công cụ gói gọn trong 1. Tiện, nhưng khi bạn cần cưa gỗ serious, bạn vẫn cần cưa tay chuyên dụng.

Sau bài này, bạn sẽ
  1. Giải thích plugin là gì và những thành phần bên trong (skills, connectors, agents)
  2. Cài plugin phù hợp với role của bạn trong <2 phút
  3. Hiểu skills — building block cơ bản và cách chúng hoạt động
  4. Khám phá cấu trúc folder của plugin và customize nó
  5. Phân biệt skill vs slash command vs Claude.md instructions

Mở đầu: Từ "công cụ chung" tới "chuyên gia ngành"

Cowork "trống" tương tự — mạnh, linh hoạt, nhưng generalist. Nó không biết chi tiết quy trình sales của bạn, cách finance team bạn close month-end, cấu trúc PRD mà product team bạn dùng.

Plugins fix điều đó. Plugin đóng gói domain expertise — built-in knowledge + workflows cho function cụ thể — để Cowork approach task theo cách một specialist trong ngành sẽ làm.

┌──────────────────────────────────────────────────────┐
│                                                      │
│   COWORK (generalist)        COWORK + Plugin          │
│   ┌──────────────┐           ┌──────────────────┐    │
│   │  Generic AI  │    +      │  Finance Analyst │    │
│   │  assistant   │   ───▶    │  specialist       │    │
│   └──────────────┘           └──────────────────┘    │
│                                                      │
│   "Analyze this"             "Close the books,       │
│                              reconcile, flag         │
│                              variances, email CFO"   │
│                                                      │
└──────────────────────────────────────────────────────┘

Plugin là gì? Một "package role-specific"

Định nghĩa

Một plugin là một bundle — nhiều components đóng gói cho 1 role hoặc domain.

┌─────────────────────────────────────────────┐
│                                             │
│   📦 PLUGIN                                  │
│                                             │
│   ├── 🎯 Skills                              │
│   │   Instructions cho workflows cụ thể     │
│   │                                         │
│   ├── 🔗 Connectors                          │
│   │   Tools reach systems cần thiết         │
│   │                                         │
│   └── 🤖 Subagents                           │
│       Parallelize specialized work          │
│                                             │
└─────────────────────────────────────────────┘

Ví dụ cụ thể: Sales Plugin

Khi cài Sales Plugin, bạn get:

🎯 Skills bundled:

  • /deal-brief — cấu trúc brief cho deal review
  • /prep-call — nghiên cứu account, tạo briefing 1-page
  • /weekly-report — tổng hợp weekly pipeline
  • territory-report — auto triggered khi hỏi về territory

🔗 Connectors suggested:

  • Salesforce / HubSpot (CRM)
  • Slack
  • Gmail
  • Google Drive (proposal templates)

🤖 Subagents:

  • account-sweep — parallel research across book of accounts (1 agent/account)

Cài xong, bạn gõ /prep-call AcmeCorp → Cowork biết phải:

  1. Pull data từ CRM về AcmeCorp
  2. Scan email 90 days qua
  3. Check Slack channel liên quan
  4. Output 1-page briefing với format chuẩn

Không cần bạn explain từng bước. Plugin đã "teach" Cowork cách làm.

Khác gì với dùng Cowork "trống"?

TaskCowork trốngVới Sales Plugin
Prompt"Prep cho call AcmeCorp. Lấy data từ CRM, email, Slack, format briefing..." (50+ từ)/prep-call AcmeCorp
Structure outputClaude đoánChuẩn hóa theo template skill
Consistency qua runsVariesConsistent mỗi lần
Onboarding teammateHọ phải học prompt patternsInstall plugin → ready

Bộ plugins có sẵn theo role

Open-source plugins available cho most knowledge-work roles:

┌─────────────────────────────────────────────┐
│  💼 Sales plugin                             │
│  📣 Marketing plugin                         │
│  🛠️ Product plugin                           │
│  💰 Finance plugin                           │
│  ⚖️ Legal plugin                             │
│  👥 HR plugin                                │
│  ⚙️ Operations plugin                        │
│  🎧 Customer Support plugin                  │
│  📊 Data Analytics plugin                    │
│  🔬 Life Sciences plugin (Bio Research)      │
│  ...và nhiều hơn                             │
└─────────────────────────────────────────────┘

Tất cả đều:

Cài plugin — 3 bước, <2 phút

Bước 1: Browse

Plugins live trong Cowork's Customize area (sidebar trái → Customize → Plugins).

Click Browse plugins → xem danh mục categories.

┌──────────────────────────────────────────────┐
│   BROWSE PLUGINS                             │
│                                              │
│   Categories:                                │
│                                              │
│   📂 By Anthropic                            │
│      ├── Sales                               │
│      ├── Marketing                           │
│      ├── Finance                             │
│      └── Legal                               │
│                                              │
│   📂 By Partners                             │
│      ├── Apollo (prospecting)                │
│      ├── Bio Research (Life Sci)             │
│      └── ...                                 │
│                                              │
│   📂 Community                               │
│      ├── (upload via GitHub URL)             │
│      └── (import from zip)                   │
└──────────────────────────────────────────────┘

Bước 2: Install

Chọn plugin → click Install. One click. Plugin active ngay lập tức.

Bước 3: Customize

Sau install, plugin là 1 folder trên máy bạn. Mọi thứ readable + editable.

Location (path chính xác tùy version + OS — check Cowork UI để confirm):

Customize → Personal Plugins → [plugin name] → "Open folder"

Mở folder, bạn sẽ thấy cấu trúc rõ ràng (section tiếp).

Bên trong một plugin

Plugin chỉ là folder bình thường với cấu trúc dự đoán được:

sales-plugin/
│
├── 📄 plugin.json             ← manifest: name, description, deps
│
├── 📁 skills/
│   ├── 📁 deal-brief/
│   │   └── SKILL.md           (how to structure deal brief)
│   ├── 📁 prep-call/
│   │   ├── SKILL.md
│   │   └── references/
│   │       └── talking-points-template.md
│   └── 📁 weekly-report/
│       ├── SKILL.md
│       └── scripts/
│           └── pull_pipeline_data.py
│
├── 📁 agents/
│   └── account-sweep.md       (subagent for per-account work)
│
└── 📁 connectors/
    └── connectors.json        (recommended connectors + configs)

Mọi file là plain text. Cowork đọc folder trực tiếp — không build step. Edit file → reload plugin → thay đổi active.

Thay đổi plugin — 2 operations cơ bản

1. Edit existing skill:

vim ~/.../sales-plugin/skills/prep-call/SKILL.md

2. Add new skill:

mkdir ~/.../sales-plugin/skills/post-deal-review/

echo "# Post-deal Review\n\nWorkflow: ..." > .../post-deal-review/SKILL.md

Simple. Như editing blog markdown.

Skills — Building block cơ bản

Bạn sẽ thấy skills xuất hiện khắp nơi. Đó là building block cơ bản bên trong plugin.

Định nghĩa

Skill là một file markdown dạy Cowork cách xử lý một thứ cụ thể: một workflow, một format, một process.

Ví dụ:

  • Skill "brand-guidelines" — cách apply brand rules vào mọi output
  • Skill "weekly-report" — cách cấu trúc báo cáo tuần
  • Skill "code-review-standards" — tiêu chuẩn code review của team

Skill không chỉ riêng cho Cowork

Skills work across Claude's surfaces — trong Chat, trong Cowork, trong Claude Code, bất cứ đâu Claude run.

Plugin chỉ là cách Cowork-specific đóng gói skills cùng connectors chúng cần.

┌──────────────────────────────────────────────────────┐
│                                                      │
│   💬 Chat         🤝 Cowork        </> Claude Code   │
│       ▲             ▲                   ▲            │
│       │             │                   │            │
│       └─────────────┴───────────────────┘            │
│                     ▲                                │
│                     │                                │
│             📄 SKILL FILES                           │
│             Work ở mọi surface                       │
│                                                      │
└──────────────────────────────────────────────────────┘

Cấu trúc 1 skill

Minimum 1 file: SKILL.md (hoặc skill.md).

---
name: prep-call
description: Prepare a 1-page briefing for sales calls. 
             Triggers automatically when user mentions 
             "prep for call" or invokes with /prep-call.
---

When to use

Khi user cần briefing trước sales call với specific account.

Workflow

  1. Extract account name from user's prompt
  2. Query CRM (Salesforce/HubSpot) for account details: — Current deal stage — Last interaction date — Contact's role
  1. Search Gmail (90 days) for emails with this contact
  1. Check Slack for mentions of this account
  1. Synthesize into briefing structure: — Header: Account, Date, Call context — Section 1: Account status — Section 2: Recent history — Section 3: Suggested talking points — Section 4: Questions to ask
  1. Save to {project}/briefings/{account-name}-{date}.md

Output format

1-page markdown, scannable in 30 seconds.

References

  • See references/talking-points-template.md for format

### 2 cách skill được kích hoạt

#### Cách 1: Tự động (automatic)

Skill có `description` trong frontmatter. Claude **match description với user's request**.

User gõ:
> *"Prep me for the AcmeCorp call tomorrow"*

Claude:
1. Scan all available skills' descriptions
2. Match với "prepare ... sales calls" → trigger `prep-call` skill
3. Execute workflow

**Không cần bạn gõ slash command.** Skill kick in tự động khi match.

#### Cách 2: Explicit (slash command)

Bạn gõ `/prep-call AcmeCorp` → explicit invoke skill đó.

Best cho workflows bạn dùng thường xuyên — nhanh hơn description matching.

### 3 nơi skills có thể sống

┌──────────────────────────────────────────────────────────┐ │ │ │ 1. PERSONAL (~/.claude/skills/) │ │ Your preferences, personal commit style │ │ Follow across all projects │ │ │ │ 2. PROJECT (.claude/skills/ trong repo) │ │ Team standards, brand guidelines │ │ Anyone cloning repo gets these │ │ │ │ 3. PLUGIN (trong plugin folder) │ │ Role-specific skills │ │ Installed + active cho user đó │ │ │ └──────────────────────────────────────────────────────────┘


### Skills vs Slash Commands vs CLAUDE.md — So sánh

Three customization mechanisms thường bị lẫn (CLAUDE.md bạn đã học ở **[Bài 3.3](./03.03-cung-cap-context.md)**). Khác biệt:

| Feature | CLAUDE.md | Skills | Slash Commands |
|---------|-----------|--------|----------------|
| **Load time** | Mỗi conversation (always loaded) | **On demand** (khi match) | Khi bạn gõ |
| **Trigger** | Auto (every time) | Match description OR explicit `/` | Must type `/command` |
| **Context cost** | High (luôn trong context) | **Low** (chỉ load khi cần) | Low |
| **Specialized?** | ❌ General context | ✅ Task-specific | ✅ Task-specific |
| **User aware?** | Yes | **Often automatic** | Yes |
| **Best for** | "Always use TypeScript strict" | "Review PR following team style" | "Run weekly brief now" |

> 💡 **Key insight:** Skills load **on demand**. Description + name load vào context, body chỉ load khi match. Không fill up context window như CLAUDE.md.

**Ví dụ concrete:**
- **CLAUDE.md:** "Luôn dùng TypeScript strict mode" (applies mỗi task)
- **Skill:** "PR review checklist của team X" (load khi có task PR review)
- **Slash:** `/prep-call` (bạn explicitly want briefing)

### Skills "thrive" trong specialized knowledge

Skills work best for **specialized knowledge applying to specific tasks**:

- Code review standards your team follows
- Commit message formats you prefer
- Brand guidelines of your organization
- Meeting format conventions
- Report templates

**Rule of thumb:** Nếu bạn thấy mình explain cùng thứ cho Claude nhiều lần → that's a skill waiting to be written.

---

Installing plugins — Use cases theo role

Sales Rep — Install "Sales plugin"

Bundled skills:

  • /prep-call [company]
  • /post-call-summary
  • /weekly-pipeline-report
  • /deal-brief [deal-id]

Suggested connectors:

  • Salesforce hoặc HubSpot
  • Gmail
  • Slack
  • LinkedIn (via Chrome)

Workflow cải thiện:

  • Prep call: 45 phút → 5 phút
  • Post-call summary: 15 phút → auto-generate, 2 phút review
  • Weekly report: 2 giờ → 15 phút

Finance Analyst — Install "Finance plugin"

Bundled skills:

  • /month-end-close [YYYY-MM]
  • /reconcile [folder]
  • /variance-report
  • /budget-vs-actual

Suggested connectors:

  • ERP (NetSuite, QuickBooks, SAP)
  • Excel Online
  • Email (for CFO updates)

Workflow cải thiện:

  • Monthly close: 5 ngày → 2 ngày
  • Reconciliation: 1 ngày → 45 phút
  • Variance analysis: 4 giờ → 30 phút

Marketing Manager — Install "Marketing plugin"

Bundled skills:

  • /campaign-brief [name]
  • /repurpose-content [master]
  • /competitor-intel [industry]
  • /social-calendar [quarter]

Suggested connectors:

  • Slack
  • Google Drive (content library)
  • Figma
  • Notion

Workflow cải thiện:

  • Campaign brief: 3 giờ → 20 phút
  • Content repurposing: 4 giờ → 30 phút
  • Competitor scan: 1 ngày → 2 giờ

Legal Counsel — Install "Legal plugin"

Bundled skills:

  • /contract-review [file]
  • /regulatory-check [jurisdiction]
  • /contract-summary [file]

Suggested connectors:

  • SharePoint (document library)
  • Outlook
  • Microsoft Word

Workflow cải thiện:

  • Contract review: 3 giờ → 45 phút
  • Regulatory check: 1 ngày → 2 giờ

Biotech Researcher — Install "Bio Research plugin"

Bundled skills:

  • Connect pre-clinical research tools + databases
  • Accelerate early stage life sciences
  • Parse research papers structured

Workflow cải thiện:

  • Literature review: 3 tuần → 1 tuần
  • Compound screening: days → hours

Customize plugin có sẵn — Patterns phổ biến

Pattern 1: Tweak skill cho context công ty bạn

Plugin có skill /weekly-report generic. Bạn muốn include metric riêng của team.

Trước:


Pull từ CRM: deals closed, deals at risk, top deals by size.
Output format: markdown 3 sections.

Sau (edit):


Pull từ CRM: 
- Deals closed (with ACV breakdown)
- Deals at risk (bucket: amber/red/black)
- Top 10 deals by ACV
- **NEW: Deals stuck >30 days** (team Pipeline Hygiene metric)

Output:
- Section 1: Exec summary (3 bullets)
- Section 2: Risk matrix
- Section 3: Top deals table
- **NEW: Section 4: Stuck deals list với owner**

Save tới /reports/weekly-{YYYY-WW}.md

Save → next /weekly-report use new format.

Pattern 2: Add connector mới

Plugin recommend Slack + Gmail. Bạn team dùng Discord thay Slack.

Mở connectors.json:

{
  "recommended": ["slack", "gmail", "drive"]
}

Thay:

{
  "recommended": ["discord", "gmail", "drive"]
}

Cowork xử lý như trước, giờ kết nối Discord.

Pattern 3: Create new skill trong plugin

Bạn có workflow team không trong plugin default: "QBR prep" (Quarterly Business Review).

mkdir ~/.../sales-plugin/skills/qbr-prep/

cat > ~/.../sales-plugin/skills/qbr-prep/SKILL.md <<'EOF'
---
name: qbr-prep
description: Generate QBR deck for customer account. 
             Pulls usage data, health analysis, 
             recommendations.
---

Workflow

  1. Get account from prompt
  2. Pull usage data last 90 days from CRM
  3. Query product analytics for feature adoption
  4. Synthesize: — Health score — Usage trends — Feature adoption — Expansion opportunities — Risks
  5. Generate deck with template references/qbr-template.pptx

Output

Powerpoint 8-12 slides saved to /qbr-prep/{account}-{quarter}.pptx EOF


Now `/qbr-prep Salesforce` kích hoạt skill này.

### Pattern 4: Chain skills

Skill A (prep-call) → Skill B (post-call-summary) → Skill C (follow-up-email).

Trong prompt:
> *"Today 10am tôi có call với AcmeCorp. Run /prep-call first. After call at 11am, run /post-call-summary using my notes. Then /follow-up-email based on summary."*

Cowork execute chain tuần tự.

---

Build plugin từ scratch — Tổng quan

Mặc dù bài này tập trung vào consume plugins, bạn có thể build your own để:

  • Encode team-specific workflows
  • Share trong organization
  • Open source cho community

High-level steps:

1. Tạo plugin folder với plugin.json
2. Add skills (mỗi skill = folder với SKILL.md)
3. Add connectors config (recommended)
4. Test trong Cowork
5. Package → share

Chi tiết cách build plugin nằm ngoài scope bài này (xem Build a plugin from scratch), nhưng quan trọng là biết: plugin creation không cần coding. Toàn markdown + JSON.

Anti-patterns khi dùng plugins

Install 10 plugins cùng lúc

Triệu chứng
Day 1 cài Sales + Marketing + Product + Finance + Legal plugins "cho đủ".
Tại sao sai
Multiple plugins → multiple skills' descriptions loaded → potential conflicts + clutter slash menu.
Cách đúng
Install plugin match role chính của bạn. Thêm 1 plugin secondary khi cần. Pruning beats accumulating.

Dùng plugin y nguyên, không customize

Triệu chứng
Cài plugin xong dùng default forever, wonder sao output không fit 100%.
Tại sao sai
Plugin là generic templates. Company bạn, team bạn, role bạn — có specifics.
Cách đúng
Sau 3-5 uses, xem output patterns → identify gaps → edit skills. 30 phút tuning save hours/week.

Không đọc plugin folder, treat như black box

Triệu chứng
Plugin không work như expect, bạn confused, don't know what it does.
Tại sao sai
Plugin là plain files — readable. Không đọc = debug mù.
Cách đúng
Mở 1 SKILL.md đầu tiên sau install. 5 phút đọc → hiểu plugin làm gì.

Tạo plugin từ scratch mà có plugin official rồi

Triệu chứng
Dành 3 giờ viết sales plugin riêng mà Anthropic đã có.
Tại sao sai
Official plugins ship với best practices, maintained.
Cách đúng
Check plugin directory trước. Customize official > from zero.

Overload 1 skill với 20 steps

Triệu chứng
Skill /weekly-everything gom 20 steps từ data pull đến email draft đến calendar block.
Tại sao sai
Skills thrive on single responsibility. Long skill = brittle.
Cách đúng
Split thành 3-5 smaller skills. Chain in prompt hoặc master skill calls children.

Mẹo nâng cao

Mẹo 1: Check skill description quality

Mở SKILL.md, đọc description frontmatter. Đây là cái Claude dùng để match.

Weak:

description: A skill for reports

Strong:

description: Generate weekly sales pipeline report 
             with deals closed, at-risk accounts, 
             and top 10 by ACV. Triggers on 
             "weekly report" or /weekly-report.

Specific description = better auto-triggering.

Mẹo 2: Skill-of-the-week habit

Mỗi tuần, identify 1 workflow bạn lặp và convert thành skill. 12 tuần sau = 12 skills, hours saved forever.

Mẹo 3: Use skill creator skill

Anthropic có skill creator skill — skill dạy Claude cách tạo skills. Meta but powerful:

/create-skill tôi muốn skill: 
Daily brief mỗi sáng 7am, pull calendar + priority emails, 
format output markdown cho tôi review 5 phút.

Claude guides bạn qua creation process với questions, generates SKILL.md, tests nó.

Mẹo 4: Version plugins qua git

Nếu team share plugins:

cd ~/.../team-plugin/
git init
git add .
git commit -m "Initial team plugin"
git push origin main

Teammate:

git clone https://github.com/yourorg/team-plugin.git \
  ~/.claude/plugins/team-plugin

Plugin sync, updates propagate.

Mẹo 5: Template folder structure cho custom plugins

my-plugin/
├── plugin.json
├── README.md
├── skills/
│   └── [skill-name]/
│       ├── SKILL.md
│       ├── references/         ← static: templates, brand guide
│       └── scripts/            ← Python for things Claude can't do natively
└── agents/
    └── [agent].md

3-layer framework (từ transcript community, called DBS: Direction, Blueprints, Solutions):

  • Direction = SKILL.md (step-by-step)
  • Blueprints = references/ (static files — brand guide, templates)
  • Solutions = scripts/ (code for calculations, external API calls, efficiency)

Complex skills benefit from all 3. Simple skills just need SKILL.md.

Áp dụng ngay

Bài tập 1: Cài plugin + explore (~10 phút)

Bước 1
Cowork → Customize → Browse plugins
Bước 2
Install plugin closest to your role (Sales / Marketing / Finance / etc.)
Bước 3
Tìm folder plugin trên máy (Cowork UI → "Open folder")
Bước 4
Mở 1 SKILL.md đầu tiên. Đọc 5 phút. Trả lời:
  • Skill này làm gì?
  • Workflow N bước?
  • Description trigger on gì?

Bước 5: Test skill trong Cowork. Gõ prompt match description hoặc /skill-name.

Ghi lại:

  • Plugin đã chọn: __________
  • Skills trong plugin: ______ (count)
  • Skill đầu tiên thử: __________
  • Output match expectation? Có Gần Không

Bài tập 2: Customize 1 skill (~15 phút)

Chọn 1 skill bạn vừa thử.

Bước 1
Identify 1 thứ bạn muốn khác (output format, additional step, skip step...).
Bước 2
Mở SKILL.md, edit.
Bước 3
Save.
Bước 4
Re-run skill. Thấy thay đổi?
Bước 5
Nếu phù hợp team → document customization trong README của plugin folder.

Bài tập 3 (optional): Identify "skill-worthy" workflow (~5 phút)

Nhìn 1 tuần làm việc vừa rồi. List 3 things bạn gõ prompt lặp đi lặp lại với Cowork (với variation nhỏ):

  1. _______________________________________
  2. _______________________________________
  3. _______________________________________

Mỗi cái = skill candidate. Trong Bài 3.9 bạn sẽ build skill đầu tiên.

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

Những điều cốt lõi
  • Plugin = bundle đóng gói cho role — skills + connectors + agents, install 1-click
  • Skills là building block cơ bản — markdown file teaches Cowork "how to do X"
  • Skills load on-demand, không như CLAUDE.md — description/name luôn loaded, body chỉ load khi match
  • Plugin folder = plain text + editable — customize là standard, không phải ngoại lệ
  • Install plugin role-match > overload nhiều plugins — depth > breadth
  • "Explain cùng thứ nhiều lần" = skill waiting to be written — convert habit thành skills

Tài liệu tham khảo

Video tham khảo

  • "Agent Skills explained" — 4 phút intro
  • "Teach Claude your way of working" — Encoding processes
  • Six-part Skills video course trên YouTube
Kiểm tra nhanh3 câu hỏi · chọn đáp án để xem giải thích
    Bạn đã hoàn thành bài này chưa?Tiến độ lưu trên trình duyệt của bạn.