Plugins & Marketplace — แพ็กเกจสำเร็จที่ติดทีเดียวครบ
Plugin คือ bundle ที่รวม agent + skill + command + hook ติดได้ครั้งเดียว ผมใช้ของ community เป็นจุดเริ่ม แล้วค่อยปรับเป็นของตัวเอง
Plugin คือ bundle ที่รวมทุกอย่าง — agents, skills, commands, hooks, MCP servers — เข้าด้วยกัน ติดตั้งครั้งเดียวได้ครบ คล้ายกับ extension ของ VS Code ที่คนอื่นทำไว้แล้ว เราใช้ได้เลย
ผมใช้ plugin เพื่อไม่ต้องสร้างทุกอย่างจาก 0 — โหลด plugin ที่คนทำไว้แล้วเอามาเป็นจุดเริ่ม ปรับเป็นของบริษัทเรา
แหล่ง plugin
Anthropic Marketplace ใน Claude Code พิมพ์ /plugin เปิดได้เลย เป็น marketplace official
GitHub repos มีคนทำ plugin เป็น repo เปิด เช่น Everything Claude Code (community hub) ของ keithrozario
Team / Private บริษัทคุณสร้าง marketplace เองได้ ใช้ภายใน
ติดตั้ง plugin
ผ่าน marketplace ในแอป
/plugin
Browse → Install
จาก Git repo
/plugin install https://github.com/username/plugin-name
Local
/plugin install /path/to/local/plugin
Plugin ที่น่าลอง
ชื่อ plugin เปลี่ยนได้ตามเวลา ตรวจ marketplace ปัจจุบันก่อน
Code quality pr-reviewer, security-auditor, accessibility-checker
Productivity notion-sync, slack-integration, github-manager
Business invoice-generator, customer-insights
Creative thai-copywriter-pro, social-media-manager, email-marketer
สร้าง Plugin เอง
โครงสร้าง
my-plugin/
manifest.json
agents/
my-agent.md
skills/
my-skill/
SKILL.md
commands/
my-command.md
hooks/
my-hook.json
mcp/
my-server.json
README.md
manifest.json
{
"name": "smb-toolkit",
"version": "1.0.0",
"description": "เครื่องมือครบชุดสำหรับ SMB ไทย",
"author": "Your Name",
"keywords": ["smb", "thai", "business"],
"includes": {
"agents": ["agents/thai-copywriter.md", "agents/analytics.md"],
"skills": ["skills/brand-voice", "skills/invoice-gen"],
"commands": ["commands/weekly-report.md", "commands/customer-reply.md"],
"hooks": ["hooks/format-on-save.json"]
},
"requires": {
"claudeCode": ">=2.0.0"
}
}
Distribute plugin
git init
git remote add origin https://github.com/you/my-plugin
git push -u origin main
git tag v1.0.0
git push --tags
คนอื่นติดด้วย
/plugin install https://github.com/you/my-plugin
ถ้าอยาก submit เข้า Anthropic Marketplace ทำตาม guideline ที่ docs.claude.com
Everything Claude Code (ECC)
community hub ที่รวม skill + rule + agent สำหรับ Claude Code มี skill 70+ / agent 30+ / slash command 50+ + hook สำเร็จ ผมเริ่มต้นจากของพวกนี้แล้วค่อยปรับ
ก่อน vs หลังใช้ Plugin
ก่อน — setup .claude/ ใหม่ทุกโปรเจค copy-paste agent/skill จากเก่า ลืม update version
หลัง — /plugin install my-toolkit ครบทุกอย่าง / /plugin update sync version ใหม่ / ทีมทุกคนใช้ plugin เดียว
Governance สำหรับทีม
ในบริษัทผม
- สร้าง plugin กลางของบริษัท
- บังคับใช้ผ่าน policy — code style agent / security reviewer / hook ป้องกัน .env
- update รวมในครั้งเดียว ทีมพร้อมกันทุกคน
Security ที่ต้องเช็คก่อนติด
Plugin = code ที่รันบนเครื่องคุณ — เหมือนรับช่างเข้าบ้าน ต้องตรวจประวัติก่อน
Checklist ก่อนติด
- Source code เปิดให้อ่าน
- ผู้สร้างน่าเชื่อถือ
- อ่าน hooks/ ดูว่ามี command แปลกๆ ไหม
- อ่าน mcp/ ดูว่าเชื่อมไปไหน
- ดู issues + recent commits
- มี star / download พอประมาณ
ห้าม
- ติด plugin จาก link แปลกๆ
- ติดโดยไม่อ่านโค้ด
- bypass permission กับ plugin
ลองทำดู: ภารกิจ: explore + build
บทนี้มีประโยชน์กับคุณมั้ยครับ?
ผมอ่าน feedback เองทุกอันแล้วเอาไปปรับเนื้อหา