pi-share
Decodes session data from URLs or gist IDs to extract conversation logs and interaction summaries.
Install
mkdir -p .claude/skills/pi-share && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5525" && unzip -o skill.zip -d .claude/skills/pi-share && rm skill.zipInstalls to .claude/skills/pi-share
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Load and parse session transcripts from shittycodingagent.ai/buildwithpi.ai/buildwithpi.com/pi.dev (pi-share) URLs. Fetches gists, decodes embedded session data, and extracts conversation history.Key capabilities
- →Fetch session transcripts from pi-share URLs
- →Decode base64-encoded session data
- →Extract conversation history and system prompts
- →Generate human-centric interaction summaries
How it works
The skill fetches a GitHub Gist associated with a session URL, decodes the embedded base64 session data, and parses the conversation history.
Inputs & outputs
When to use pi-share
- →Retrieving past AI interaction logs
- →Summarizing human prompting behavior
- →Auditing conversation history
- →Analyzing agent steering patterns
About this skill
pi-share / buildwithpi Session Loader
Load and parse session transcripts from pi-share URLs (shittycodingagent.ai, buildwithpi.ai, buildwithpi.com, pi.dev).
When to Use
Loading sessions: Use this skill when the user provides a URL like:
https://shittycodingagent.ai/session/?<gist_id>https://buildwithpi.ai/session/?<gist_id>https://buildwithpi.com/session/?<gist_id>https://pi.dev/session/?<gist_id>https://pi.dev/session/#<gist_id>- Or just a gist ID like
46aee35206aefe99257bc5d5e60c6121 - Or hash-prefixed shorthand like
#46aee35206aefe99257bc5d5e60c6121
Human summaries: Use --human-summary when the user asks you to:
- Summarize what a human did in a pi/coding agent session
- Understand how a user interacted with an agent
- Analyze user behavior, steering patterns, or prompting style
- Get a human-centric view of a session (not what the agent did, but what the human did)
The human summary focuses on: initial goals, re-prompts, steering/corrections, interventions, and overall prompting style.
How It Works
- Session exports are stored as GitHub Gists
- The URL contains a gist ID after the
? - The gist contains a
session.htmlfile with base64-encoded session data - The helper script fetches and decodes this to extract the full conversation
Usage
# Get full session data (default)
node ~/.pi/agent/skills/pi-share/fetch-session.mjs "<url-or-gist-id>"
# Get just the header
node ~/.pi/agent/skills/pi-share/fetch-session.mjs <gist-id> --header
# Get entries as JSON lines (one entry per line)
node ~/.pi/agent/skills/pi-share/fetch-session.mjs <gist-id> --entries
# Get the system prompt
node ~/.pi/agent/skills/pi-share/fetch-session.mjs <gist-id> --system
# Get tool definitions
node ~/.pi/agent/skills/pi-share/fetch-session.mjs <gist-id> --tools
# Get human-centric summary (what did the human do in this session?)
node ~/.pi/agent/skills/pi-share/fetch-session.mjs <gist-id> --human-summary
Human Summary
The --human-summary flag generates a ~300 word summary focused on the human's experience:
- What was their initial goal?
- How often did they re-prompt or steer the agent?
- What kind of interventions did they make? (corrections, clarifications, frustration)
- How specific or vague were their instructions?
This uses claude-haiku-4-5 via pi -p to analyze the condensed session transcript.
Session Data Structure
The decoded session contains:
interface SessionData {
header: {
type: "session";
version: number;
id: string; // Session UUID
timestamp: string; // ISO timestamp
cwd: string; // Working directory
};
entries: SessionEntry[]; // Conversation entries (JSON lines format)
leafId: string | null; // Current branch leaf
systemPrompt?: string; // System prompt text
tools?: { name: string; description: string }[];
}
Entry types include:
message- User/assistant/toolResult messages with content blocksmodel_change- Model switchesthinking_level_change- Thinking mode changescompaction- Context compaction events
Message content block types:
text- Text contenttoolCall- Tool invocation withtoolNameandargsthinking- Model thinking contentimage- Embedded images
Example: Analyze a Session
# Pipe entries through jq to filter
node ~/.pi/agent/skills/pi-share/fetch-session.mjs "<url>" --entries | jq 'select(.type == "message" and .message.role == "user")'
# Count tool calls
node ~/.pi/agent/skills/pi-share/fetch-session.mjs "<url>" --entries | jq -s '[.[] | select(.type == "message") | .message.content[]? | select(.type == "toolCall")] | length'
When not to use it
- →When the session URL is invalid or inaccessible
- →When the session data is not in the expected gist format
Limitations
- →Limited to supported pi-share domains
- →Requires network access to GitHub Gists
How it compares
It provides a programmatic way to audit and summarize AI interaction logs instead of manually reviewing raw session exports.
Compared to similar skills
pi-share side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pi-share (this skill) | 1 | 5mo | Review | Beginner |
| web-scraper | 0 | 1mo | No flags | Intermediate |
| literature-review | 559 | 2mo | Review | Advanced |
| juicebox-core-workflow-b | 1 | 25d | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by mitsuhiko
View all by mitsuhiko →You might also like
web-scraper
shobcoder
Scrape, crawl, and extract data from websites. Use when users ask to scrape web pages, extract content, crawl websites, or collect data from the internet.
literature-review
K-Dense-AI
Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).
juicebox-core-workflow-b
jeremylongshore
Implement Juicebox candidate enrichment workflow. Use when enriching profile data, gathering additional candidate details, or building comprehensive candidate profiles. Trigger with phrases like "juicebox enrich profile", "juicebox candidate details", "enrich candidate data", "juicebox profile enrichment".
comprehensive-research-agent
muratcankoylan
Ensure thorough validation, error recovery, and transparent reasoning in research tasks with multiple tool calls
openevidence-core-workflow-b
jeremylongshore
Execute OpenEvidence DeepConsult workflow for comprehensive medical research. Use when implementing deep research synthesis, complex clinical questions, or when physicians need extensive literature review. Trigger with phrases like "openevidence deepconsult", "deep research", "comprehensive evidence", "literature synthesis".
deep-research
richardnguyen0715
Universal deep research agent team. 13-agent pipeline for rigorous academic research on any topic. 7 modes: full research, quick brief, paper review, lit-review, fact-check, Socratic guided research dialogue, and systematic review with optional meta-analysis. Covers research question formulation, So