working-with-task-comments
できること
このスキルは、PostHog Desktopのタスクに残されたコメントを見つけて使う方法をエージェントに教えます。タスク、ファイル、キャンバスにメモを残して作業を確認するチーム向けです。
使う場面
- ✓PostHogのタスクや成果物に残したコメントやフィードバックについて話すとき。
- ✓キャンバスや成果物に残った未解決のメモに、エージェントに対応させたいとき。
- ✓PostHog Desktopで、コメントへの返信を確認するようエージェントに頼むとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/tasks/skills/working-with-task-comments/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“タスクの未解決のコメントを確認して、みなさんが求めている変更を行ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、PostHogのexecツールを使ってコメント用のツールを見つけ、タスク、成果物、キャンバスに合うコメントを一覧にします。対応する前に、各スレッドを読みます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
エージェントはどのコメントを読めますか?
現在のタスク、その成果物、そのタスクが書き込んだキャンバスのコメントを読めます。
エージェントに特別なツール名は必要ですか?
いいえ。アプリでの名前が違って見えても、PostHogのexecツールを通じてコメント用のツールを見つけます。
未解決のフィードバックだけに集中できますか?
はい。未解決のスレッドに絞り込み、未対応の項目を優先できます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 41k
- ランキング
- #6963
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-ci
41kエージェントが、GitHub Actionsの代替であるDepot CIのワークフローを設定し実行できるよう支援します。既存のワークフローの移行や、実行ログの確認も含みます。
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
configure-channel
394kTelegramなどのチャットアプリをOpenClawに接続し、ボットトークンを安全に保存して、メッセージが流れることを確認するようエージェントに教えます。
discord
394kOpenClawを通じてDiscordのメッセージを読み、送信し、編集し、リアクションするようエージェントを支援します。変更の前に正確なメッセージを確認します。