Auto-respond to comments across all platforms via Late API. Generates personalized replies with a CTA to the academy using Gemini, likes comments, and tracks state in a local JSON file.
Fetches all posts with comments from Late API (GET /v1/inbox/comments)
For each post, fetches individual comments (GET /v1/inbox/comments/{postId})
Skips comments from own accounts and already-replied comments (tracked in replied-comments.json)
Generates a personalized reply via Gemini with academy CTA
Posts public reply via Late API (POST /v1/inbox/comments/{postId})
Likes the comment via Late API
Saves comment ID to replied-comments.json to avoid duplicates
Platforms
Instagram, Facebook, Twitter/X, YouTube
Note: Late API does NOT support TikTok comments
YouTube returns from.name (not from.username)
Prerequisites
LATE_API_KEY in .env
GEMINI_API_KEY in .env
State
replied-comments.json — local file tracking which comments have been replied to (no database needed)
Cron
Runs via OpenClaw cron job (ID: 847bf92a-b886-451b-b132-33555b137d86).
1---2name: comment-responder3description: comment-responder4---5# comment-responder67Auto-respond to comments across all platforms via Late API. Generates personalized replies with a CTA to the academy using Gemini, likes comments, and tracks state in a local JSON file.89## Usage1011```bash12node skills/comment-responder/scripts/comment-response-agent.js [options]13```1415## Options1617| Flag | Description | Default |18|------|-------------|---------|19| `--platform` | Single platform to check | all |20| `--limit` | Max comments to respond to per run | 20 |21| `--dry-run` | Show what would happen, no replies sent | false |2223## What It Does24251. Fetches all posts with comments from Late API (`GET /v1/inbox/comments`)262. For each post, fetches individual comments (`GET /v1/inbox/comments/{postId}`)273. Skips comments from own accounts and already-replied comments (tracked in `replied-comments.json`)284. Generates a personalized reply via Gemini with academy CTA295. Posts public reply via Late API (`POST /v1/inbox/comments/{postId}`)306. Likes the comment via Late API317. Saves comment ID to `replied-comments.json` to avoid duplicates3233## Platforms3435- Instagram, Facebook, Twitter/X, YouTube36- **Note:** Late API does NOT support TikTok comments37- YouTube returns `from.name` (not `from.username`)3839## Prerequisites4041- `LATE_API_KEY` in `.env`42- `GEMINI_API_KEY` in `.env`4344## State4546- `replied-comments.json` — local file tracking which comments have been replied to (no database needed)4748## Cron4950Runs via OpenClaw cron job (ID: `847bf92a-b886-451b-b132-33555b137d86`).
Run npx skillmds@latest add kevinbadi/comment-responder in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
comment-responder It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
kevinbadi (@kevinbadi) published this skill. Their other Agent Skills are listed on their SkillMD profile.