working-with-task-comments
What it does
This skill teaches an agent how to find and use the comments people leave on a PostHog Desktop task. It is for teams who review work by leaving notes on tasks, files or canvases.
When to use it
- ✓When you mention comments or feedback you left on a PostHog task or its artifacts.
- ✓When you want the agent to act on unresolved notes on a canvas or artifact.
- ✓When you ask the agent to check replies to comments in PostHog Desktop.
Skill link
https://github.com/PostHog/posthog/blob/master/products/tasks/skills/working-with-task-comments/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Please go through the unresolved comments on my task and make the changes people asked for.”
5 new skills a week. 1 minute to read.
How it works
The agent uses PostHog's exec tool to find the comment tools, then lists the comments that match the task, artifact or canvas. It reads each thread before acting on it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Working with task comments
Use the canonical PostHog MCP tool posthog:exec for every task-comment operation. A client or
harness may render that canonical name differently. tasks-comments-list and the related names are
inner tools, not separately registered MCP tools.
Do not conclude that comments are unavailable because a client-specific tool name differs from
posthog:exec, or because there is no top-level posthog:tasks-comments-list tool. Do not use MCP
resource-listing tools: comments are inner tools behind exec, not MCP resources.
Discover the inner tools
Call posthog:exec with:
{ "command": "search ^(tasks-(artifacts-list|comments-(list|retrieve))|canvas-comments-(list|retrieve))$" }
The expected inner tools are:
| Tool | Scope |
|---|---|
tasks-artifacts-list |
Artifacts and canvases of the current task |
tasks-comments-list |
Roots on the current task, its artifacts, and canvas roots it wrote |
tasks-comments-retrieve |
One thread from tasks-comments-list |
canvas-comments-list |
Every root on one canvas, whichever task or person wrote it |
canvas-comments-retrieve |
One thread from canvas-comments-list |
The tasks-* tools need PostHog Desktop task context. The canvas-* tools need only a canvas id.
A user can leave a canvas comment without a task. The tasks-* tools do not return that comment.
If the client exposes no tool corresponding to canonical posthog:exec, the PostHog MCP server is
unavailable in the run. Report that comments cannot be accessed only when exec search returns no
tool for the target:
- For task or artifact comments, the
tasks-*tools must be present. - For canvas comments, the
canvas-*tools or thetasks-*tools must be present.
A connection can have the canvas-* tools without task context. A connection can also have the
tasks-* tools without the canvas-* tools, because a feature flag controls the canvas-* tools.
Use info <inner-tool-name> when the schema is unclear. For example:
{ "command": "info tasks-comments-list" }
Call tools through exec
Put the complete inner-tool invocation in exec.command.
List open comment roots across the task:
{ "command": "call tasks-comments-list {}" }
List artifacts and canvases when an inventory or filter id is needed:
{ "command": "call tasks-artifacts-list {}" }
Filter roots to one returned artifact or canvas id:
{ "command": "call tasks-comments-list {\"artifact_id\":\"<artifact-id>\"}" }
Retrieve a root and its replies:
{ "command": "call tasks-comments-retrieve {\"root_comment_id\":\"<root-comment-id>\"}" }
List open roots on one canvas. No task id is necessary:
{ "command": "call canvas-comments-list {\"id\":\"<canvas-id>\"}" }
Retrieve a canvas root and its replies:
{ "command": "call canvas-comments-retrieve {\"id\":\"<canvas-id>\",\"root_comment_id\":\"<root-comment-id>\"}" }
Never attempt to invoke an inner name as a top-level MCP tool. The notation
posthog:tasks-comments-list also means to route that inner name through exec; it is not a literal
tool name.
Read complete results
Both root listing and thread retrieval are cursor-paginated. For either operation:
- Call without
cursor. - Process the page.
- If
nextis non-null, call the same inner tool again with"cursor":"<next>"and repeat the original filters. - Stop only when
nextis null.
Example continuation:
{
"command": "call tasks-comments-list {\"artifact_id\":\"<artifact-id>\",\"include_resolved\":true,\"cursor\":\"<next>\"}"
}
Start with the root inventory and retrieve only threads relevant to the user's request. Before
acting on a root, retrieve its thread so an older message is not mistaken for the latest request.
The list returns open roots by default; pass "include_resolved":true only when resolved history
matters.
List bodies are bounded excerpts. Detail responses cap total comment-body bytes. When a detail entry
has content_truncated: true, call the same retrieve tool again with that entry's id as
comment_id and its content_next_offset as content_offset. Continue
FAQ
Which comments can the agent read?
It can read comments on the current task, its artifacts, and any canvas the task wrote.
Does the agent need a special tool name?
No. It finds the comment tools through PostHog's exec tool, even when the name looks different in your app.
Can the agent focus on open feedback only?
Yes. It can filter for unresolved threads so it works on open items first.
Details
Original description by the author
Read and use comments attached to the current PostHog task, its artifacts, and any canvas through the PostHog MCP exec dispatcher. Use when the user mentions task comments, artifact or canvas comments, annotations, selected-text feedback, replies, unresolved comments, or asks an agent to inspect or act on feedback left in PostHog Desktop. Covers exec discovery and calls, target filtering, pagination, full-thread retrieval, anchor/version context, task-scoped access, and standalone canvas comments that have no task.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6963
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.