Aller au contenu
Skillpedia
E-mail et messagerie41k · #6963

working-with-task-comments

Ce qu’il fait

Cette compétence apprend à un agent à trouver et utiliser les commentaires laissés sur une tâche de PostHog Desktop. Elle s'adresse aux équipes qui relisent leur travail en laissant des notes sur les tâches, les fichiers ou les canevas.

Quand l’utiliser

  • ✓Quand vous mentionnez des commentaires ou des retours laissés sur une tâche PostHog ou ses artefacts.
  • ✓Quand vous voulez que l'agent traite les notes non résolues sur un canevas ou un artefact.
  • ✓Quand vous demandez à l'agent de vérifier les réponses aux commentaires dans PostHog Desktop.

Lien du skill

https://github.com/PostHog/posthog/blob/master/products/tasks/skills/working-with-task-comments/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/PostHog/posthog/blob/master/products/tasks/skills/working-with-task-comments/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je voudrais que tu parcoures les commentaires non résolus de ma tâche et que tu fasses les modifications demandées.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent utilise l'outil exec de PostHog pour trouver les outils de commentaires, puis liste les commentaires liés à la tâche, à l'artefact ou au canevas. Il lit chaque fil avant d'agir.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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 the tasks-* 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:

  1. Call without cursor.
  2. Process the page.
  3. If next is non-null, call the same inner tool again with "cursor":"<next>" and repeat the original filters.
  4. Stop only when next is 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

Questions fréquentes

Quels commentaires l'agent peut-il lire ?

Il peut lire les commentaires de la tâche en cours, de ses artefacts et de tout canevas rédigé par la tâche.

L'agent a-t-il besoin d'un nom d'outil particulier ?

Non. Il trouve les outils de commentaires via l'outil exec de PostHog, même si le nom diffère dans votre application.

L'agent peut-il se concentrer sur les retours encore ouverts ?

Oui. Il peut filtrer les fils non résolus pour traiter d'abord les points ouverts.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
41k
Position au classement
#6963
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires