agentleFS
XuHo-ITXuHo-IT/Content-Agent-Kit/skills/ads-comment-triage/SKILL.md

ads-comment-triage

Skill8 starsChanged 4 months agoMITView on GitHub

Sort comments on Facebook ads and fanpage posts by what the commenter wants — hỏi size, hỏi giá, hỏi ship, còn hàng, muốn mua/xin inbox, khiếu nại, spam/lừa đảo link, nhắc đối thủ, khen — and draft replies in the brand's voice for review, including unaccented teencode ("sz m con k", "giá bn", "ib e"). Use when the user says "trả lời bình luận", "lọc comment", "comment ads nhiều quá", "ẩn comment spam", "khách hỏi giá dưới quảng cáo", "reply comments", "moderate comments". Drafts only; never posts, hides or deletes.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the fact is not on file, the reply says the shop will message them, and the item goes to the user's list.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Comment triage — every unanswered "giá bn?" under an ad is a lost order

An ad with 300 comments is 300 people who raised their hand. The money is in answering the size/price/stock ones fast, the reputation is in catching complaints and scam links first.

Hướng dẫn từng bước cho người dùng

Chạy lệnh node scripts/… ở thư mục gốc của kit — thư mục có AGENTS.md, hai cấp trên file này (nếu skill được cài bằng install-skills.mjs --kit, đường dẫn nằm trong file .kit-root cạnh file này).

Dẫn người dùng theo đúng các bước dưới, bằng lời đơn giản. Trước khi bắt đầu: một câu nói skill sẽ làm gì, mất khoảng bao lâu, cần người dùng chuẩn bị gì. Đầu mỗi bước báo "Bước n/N — <tên bước>" kèm một câu đang làm gì. Khi cần người dùng làm gì, chỉ hỏi đúng một việc. Kết thúc: kết quả nằm ở đâu và việc nên làm tiếp.

BướcAgent làm gìNgười dùng cần làm
1. Lấy bình luậnNhận bình luận dán vào chat, hoặc file CSV/.txt (mỗi dòng một bình luận)Dán bình luận hoặc gửi file xuất từ fanpage
2. Phân loạiChạy node scripts/ads/comment-triage.mjs comments.csv --brand "Tên shop" — chia theo hỏi size/giá/ship, khiếu nại, spam…Cho biết tên shop
3. Đọc lại nhóm gấpTự đọc từng bình luận P1 (khiếu nại, spam) vì máy có thể hiểu sai câu mỉa mai—
4. Điền câu trả lờiThay [GIÁ], [LINK/ẢNH], [PHÍ] bằng thông tin trong KNOWLEDGE.md; thiếu thì không đoánGửi bảng giá, bảng size, phí ship nếu chưa có
5. DuyệtĐưa bảng: ưu tiên · bình luận · loại · nháp trả lời, qua review-gateDuyệt hoặc sửa nháp
6. Dừng — người dùng tự đăngKhông tự trả lời, ẩn hay xoá bình luậnTự đăng/ẩn trên fanpage

Hay vướng:

  • Dán cả tên người bình luận và số điện thoại vào chat → chỉ cần nội dung bình luận, bỏ thông tin cá nhân.
  • Câu trả lời giống hệt nhau cho 50 người → nhờ agent viết vài kiểu khác nhau để không bị coi là bot.
  • File CSV không có cột nội dung → cột phải tên message hoặc Nội dung bình luận.

1. Collect

  • Paste comments, or export them (CSV with a Nội dung bình luận/message column), or one per line in a .txt.
  • With a Meta MCP or Graph API access the user set up, read them from there — the script takes the same CSV.
node scripts/ads/comment-triage.mjs comments.csv --brand "Tên shop"
node scripts/ads/comment-triage.mjs comments.csv --csv > triage.csv     # for a sheet

2. Priorities

Pintentaction
1complaintreply privately within the hour; public one-liner that you are handling it
1spam_scamhide; if someone impersonates the shop, pin an official warning
2ask_size, ask_price, ask_stock, ask_ship, want_buyanswer publicly + send the details by message
3competitorno public argument; real differences only (fabric, returns)
4praiselike, short thanks

The script's labels are keyword rules — fast and inspectable, and sometimes wrong. Read every P1 yourself. A sarcastic "đẹp quá ha 🙂" is a complaint the rules call praise.

3. Rewrite the drafts

The drafts contain placeholders ([GIÁ], [LINK/ẢNH], [PHÍ]). Fill them from KNOWLEDGE.md (price list, size chart, shipping policy) — never invent a price, stock level or delivery time. If the fact is not on file, the reply says the shop will message them, and the item goes to the user's list.

Voice: the brand's own (KNOWLEDGE.md → voice). Vary wording — 50 identical public replies read as a bot and Meta treats them like one.

Public replies never contain phone numbers or order details of the customer.

4. Review, then hand over

Output a table: priority · comment · intent · draft. Run the drafts through review-gate (ads-policy-check too if a reply quotes a price or a discount). Then stop: posting, hiding and deleting are the user's actions. Recurring questions → add the answer to KNOWLEDGE.md and suggest a Messenger auto-reply / FAQ for it (see docs/28-facebook-ads.md).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.