Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

analyzing-task-runs

Skill by PostHog

Splits a completed PostHog task run into activity records and saves each one through the report_activity tool. Built for reviewing what an agent tried, whether it worked, and what blocked it.

  • Score 84
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install analyzing-task-runs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/tasks/skills/analyzing-task-runs ~/.claude/skills/analyzing-task-runs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install analyzing-task-runs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill reads the raw JSONL log of a completed PostHog task run and splits it into activities. Each activity is one span of the log in which the agent worked toward one goal. For each activity it records what the agent tried, whether it worked, and what blocked it. It records facts only and does not suggest fixes.

The skill queries the log with bounded jq recipes and never reads it unfiltered. It documents both pi and ACP log schemas. Each activity is saved through the report_activity tool, and evidence quotes are checked against the raw log lines. It is meant for tasks that ask to analyze a run, produce a task analysis, or review a run from an attached log.

Written from the project's SKILL.md and checked against it.

What it can do

  • Activity splitDivides a run log into ordered activities, each covering one goal.
  • Log query protocolUses bounded jq queries over the raw JSONL log instead of reading it whole.
  • Log schemasDocuments both the pi and ACP log formats and how to detect them.
  • Activity recordingSaves each activity through the report_activity tool with its line range.
  • Evidence verificationChecks each evidence quote against the raw log lines before storing it.
  • Failure protocolRecords a single empty-log activity and finishes as failed when the log is unusable.

What you need

  • A completed PostHog task run with an attached run log (.jsonl)
  • The report_activity and finish tools
  • jq for log queries

Try asking

  • Analyze the attached run log and record the activities in it.
  • Produce a task analysis for this run from its attached log.
  • Review this task run and record what the agent tried and what blocked it.

Good to know

  • Records facts only and does not suggest fixes.
  • Each run is split into 1 to 12 activities.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: products/tasks/skills/analyzing-task-runs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to analyzing-task-runs

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

analyzing-task-runs: common questions

Does it suggest fixes for the agent?

No. The skill records facts only and does not suggest fixes. A later step reads many runs' records together and decides what to change.

Which log formats does it support?

It documents two schemas, pi and ACP. If the log matches neither, the skill follows a failure protocol and does not guess at the format.

Can it read a large run log in one pass?

It does not read the log unfiltered. Queries are capped with head, and a long run is read in several passes until the last line is reached.

How do I install analyzing-task-runs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is analyzing-task-runs free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is analyzing-task-runs safe to use?

It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to analyzing-task-runs?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

analyzing-task-runs Install

Add to stack

Loading.