Agent skill

Pi Check Session Logs

by dimetron in dimetron/pi-go

Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.

MITAuto-check passed

Install Pi Check Session Logs

skills CLI
$ npx skills add dimetron/pi-go --skill pi-check-session-logs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dimetron/pi-go pi-check-session-logs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dimetron/pi-go.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.pi-go/skills/pi-check-session-logs .claude/skills/pi-check-session-logs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pi-check-session-logs
GitHub stars
208
Token cost
~591 tokens
SKILL.md length
237 words
Files
2
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.

  • Works in 3 steps: Present the raw output to the user as-is… → Suggest optimizations based on the error… → Extract actionable fixes — After…
  • SKILL.md covers Steps and Examples
  • Runs Shell scripts from its folder; calls bash

What it does

Pi Check Session Logs is an agent skill from dimetron/pi-go. Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.

Its SKILL.md is about 590 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `analyze.sh`).

The repository describes itself as: Go implementation of AI coding agent. The licence is MIT.

Example prompts

  • “/pi-check-session-logs”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Present the raw output to the user as-is — the script already formats a markdown table.
  2. Suggest optimizations based on the error patterns
  3. Extract actionable fixes — After presenting the summary, create (or update) an actionable fixes document

What it can do on your machine

Read from SKILL.md and the folder at commit c4c83e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pi Check Session Logs loads about 591 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 237 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~591

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dimetron/pi-go at commit c4c83e6, republished under its MIT licence (© dimetron). 237 words, ~591 tokens.

Download SKILL.mdSave it as .claude/skills/pi-check-session-logs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
pi-check-session-logs
description
Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.

Check Session Logs

Scan recent pi-go session logs for tool call errors, deduplicate by pattern, and present results.

Steps

  1. Run the analysis script (scans last 24h by default, override with HOURS=N):
bash
bash .pi-go/skills/pi-check-session-logs/analyze.sh

To scan a different time window:

bash
HOURS=48 bash .pi-go/skills/pi-check-session-logs/analyze.sh
  1. Present the raw output to the user as-is — the script already formats a markdown table.

  2. Suggest optimizations based on the error patterns:

    • For "not found" errors: suggest better path resolution or fallback logic
    • For "permission denied": suggest sandbox configuration changes
    • For "exit code" failures: suggest build/test fixes
    • For repeated tool errors: suggest system prompt improvements to avoid the pattern
    • For STREAM_ERROR: suggest retry/reconnect improvements
  3. Extract actionable fixes — After presenting the summary, create (or update) an actionable fixes document:

    mkdir -p ./specs/issues/001-session-errors
    echo "<research>" > ./specs/issues/001-session-errors/PROMPT.md

    This file should contain a prompt that can be loaded to guide the agent toward fixing the detected error patterns. Structure it with sections for:

    • The top N error patterns are detected (with specific examples)
    • Corresponding fix suggestions per pattern
    • Context about when each fix applies (which tools, which scenarios)

    Use this format for the prompt file:

    markdown
    # Session Error Fix Prompts
    
    ## Pattern: [error name]
    - **Detected in**: [sessions/files where found]
    - **Fix suggestion**: [specific actionable steps]

    If the file already exists, update it to include new patterns while preserving existing ones.

Examples

  • /pi-check-session-logs — Analyze logs from last 24h
  • /pi-check-session-logs HOURS=48 — Analyze logs from last 48h
  1. Run the analysis for the findings

Research on each issue using subagent - for each issue with priority, score, if it's going to be implemented or rejected.

Save the findings in ./specs/issues/001-session-errors/PROMPT.md

© dimetron, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .pi-go/skills/pi-check-session-logs of dimetron/pi-go.

  • SKILL.md
  • analyze.sh

Open the folder on GitHubat commit c4c83e6

Compare with similar skills

Pi Check Session Logs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pi Check Session Logs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pi Check Session Logs this skilldimetron/pi-go208—~591Automated safety check: PassMIT
Growth Logaffaan-m/ECC276k1 repos~1.7kAutomated safety check: PassMIT
Clickhouse Logs Queriessupabase/supabase111k—~2.4kAutomated safety check: PassApache-2.0
Investigating LogsPostHog/posthog40k—~2.1kAutomated safety check: PassCustom licence
Logging and Error Reporting for Warpwarpdotdev/warp65k1 repos~5.6kAutomated safety check: PassAGPL-3.0
Analyze Logsactivepieces/activepieces25k1 repos~1.6kAutomated safety check: PassMIT

Similar skills

  • Growth Log

    affaan-m/ECC

    Write growth log entries that extract reusable patterns from completed work — root cause, transferable rule, and a recognizable signal — instead of diary-style event narration, with a 4-8 sentence…

    276k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Clickhouse Logs Queries

    supabase/supabase

    Official

    Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).

    111k GitHub stars~2.4k tokensUpdated today
    DatabasesAuto-check passed
  • Investigating Logs

    PostHog/posthog

    Official

    Investigate logs in a PostHog project: verify a service or deployment is healthy, explain an error spike, triage an incident, or understand what a log stream is saying.

    40k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Guides log level choices and when to raise a structured Sentry event instead of a plain log line in the Warp Rust codebase, keeping secrets out of logs.

    65k GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • Analyze Logs

    activepieces/activepieces

    Analyze application logs from the .evlog/logs/ directory. An agent skill from activepieces/activepieces.

    25k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • KubeSphere WizTelemetry Logging

    kubesphere/kubesphere

    Installs and configures WizTelemetry Logging for KubeSphere, with container log and optional disk log collection, dependency checks and the log query API.

    17k GitHub stars~2.3k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed

More from dimetron/pi-go

All 21 skills in this repo
  • Vhs E2E Gif

    dimetron/pi-go

    Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit.

    208 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Agents Md

    dimetron/pi-go

    Generate AGENTS.md files for Go, Rust, TypeScript, and Java projects.

    208 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Bubbletea Testing

    dimetron/pi-go

    A skill your agent uses whenever writing tests for Bubble Tea (charmbracelet/bubbletea) TUI applications in Go.

    208 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Memory Index

    dimetron/pi-go

    Index a folder's contents into the MemPalace semantic memory for search and retrieval.

    208 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Nightly Session Watch

    dimetron/pi-go

    Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still…

    208 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Osx Tuning

    dimetron/pi-go

    Tune macOS resource limits and sysctls for best performance with Go development, Docker/OrbStack, and Linux VMs.

    208 GitHub stars~1.6k tokensUpdated today
    Auto-check: notes

Questions about Pi Check Session Logs

What does Pi Check Session Logs do?

Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts. Pi Check Session Logs is an agent skill from dimetron/pi-go. Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.

How do I install Pi Check Session Logs in Claude Code?

Run `npx skills add dimetron/pi-go --skill pi-check-session-logs -a claude-code`. Or copy the skill folder (.pi-go/skills/pi-check-session-logs in dimetron/pi-go) into .claude/skills/pi-check-session-logs in your project. Claude Code loads it when a task matches its description.

How do I install Pi Check Session Logs in Codex?

Run `npx skills add dimetron/pi-go --skill pi-check-session-logs -a codex`. Or copy the skill folder (.pi-go/skills/pi-check-session-logs in dimetron/pi-go) into .agents/skills/pi-check-session-logs in your project. Codex loads it when a task matches its description.

Can I use Pi Check Session Logs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dimetron/pi-go --skill pi-check-session-logs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pi-check-session-logs, .gemini/skills/pi-check-session-logs, .github/skills/pi-check-session-logs and .opencode/skills/pi-check-session-logs in your project.

What does Pi Check Session Logs need to run?

Going by SKILL.md and its folder, Pi Check Session Logs needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: A Bash shell.

Does Pi Check Session Logs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pi Check Session Logs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pi Check Session Logs use?

Pi Check Session Logs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pi Check Session Logs use?

About 591 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pi Check Session Logs?

Skills that share tags, products or a category with Pi Check Session Logs: Growth Log (affaan-m/ECC, 276k stars), Clickhouse Logs Queries (supabase/supabase, 111k stars), Investigating Logs (PostHog/posthog, 40k stars) and Logging and Error Reporting for Warp (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pi Check Session Logs?

dimetron (a GitHub user) maintains it in dimetron/pi-go, which has 208 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 9, 2026.

Source: dimetron/pi-go on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.