Agent skill

Session Trace

by greenfield-inc in greenfield-inc/Pane

Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened.

Custom licenceAuto-check passedDevelopment

Install Session Trace

skills CLI
$ npx skills add greenfield-inc/Pane --skill session-trace -a claude-code

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

GitHub CLI
$ gh skill install greenfield-inc/Pane session-trace --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/greenfield-inc/Pane.git skills-src && mkdir -p .claude/skills && cp -r skills-src/main/src/services/paneChatBundle/skills/session-trace .claude/skills/session-trace && 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
session-trace
GitHub stars
519
Token cost
~836 tokens
SKILL.md length
458 words
Files
3 (incl. scripts, references)
Skills in repo
35
Repo updated
First seen
Licence
Custom licence

At a glance

Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened.

  • Works in 6 steps: Find the session log. → Read the session for the story. Run node… → Build the page. Run node… → …
  • Asked for a trace
  • SKILL.md covers When to run and Steps
  • Runs JavaScript scripts from its folder; calls node

What it does

Session Trace is an agent skill from greenfield-inc/Pane. Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened. Use when asked for a trace or "how did this run go", or when a task already has a Grain page (for example from prepare-pr or handoff).

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts and reference files (for example `references/page-guide.md`).

It sits in Development, covering Pull requests and Subagents. The repository describes itself as: Terminal-first, open-source AI agent manager for any CLI agent (agent agnostic), any OS (mac, windows, linux). The Open-Source Agentic Development Environment for running…

When your agent uses it

  • Asked for a trace
  • How did this run go
  • A task already has a Grain page (for example from prepare-pr

Example prompts

  • “how did this run go”
  • “/session-trace”

Requirements

  • Node.js

Workflow steps

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

  1. Find the session log.
  2. Read the session for the story. Run node scripts/build-trace.mjs --out --outline to list every request with its anchor (t0, t1, …). Use…
  3. Build the page. Run node scripts/build-trace.mjs --out --story story.json --title ": session trace" --back index.html. This writes…
  4. Review before publishing. The page shows every user message in full, including anything pasted (meeting notes, logs, customer text). Only…
  5. Publish with Grain's installed skill when Grain is connected. Otherwise save trace.html in the page bundle (see page) and report its path.
  6. Report the link, and anything you left out or couldn't capture.

What it can do on your machine

Read from SKILL.md and the folder at commit b08541d. 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 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    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

Session Trace loads about 836 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 458 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~836
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

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); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 458 words (~836 tokens).

“Turn a session into a page someone who wasn't there can read in five minutes: what was asked, what happened, where it went right or wrong, and what came out of it. A raw log is the evidence, not the…”

— opening of SKILL.md by greenfield-inc, Custom licence
name
session-trace

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts, references) in main/src/services/paneChatBundle/skills/session-trace of greenfield-inc/Pane.

  • SKILL.md
  • references/page-guide.md
  • scripts/build-trace.mjs

Open the folder on GitHubat commit b08541d

Compare with similar skills

Session Trace 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.

Session Trace compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Session Trace this skillgreenfield-inc/Pane519—~836Automated safety check: PassCustom licence
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0
Cherry Studio PR ReviewCherryHQ/cherry-studio52k—~3.9kAutomated safety check: PassAGPL-3.0
PR Cyclejaemk/cached2.1k—~4.8kAutomated safety check: NotesMIT
PR Reviewjaemk/self_update961—~1.5kAutomated safety check: NotesMIT
Agentic Reviewdxos/dxos525—~4.4kAutomated safety check: PassCustom licence

Similar skills

  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    52k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Cycle

    jaemk/cached

    PR review-and-update cycle — the orchestrator that takes a PR from review to resolved.

    2.1k GitHub stars~4.8k tokensUpdated 6 days ago
    DevelopmentAuto-check: notes
  • PR Review

    jaemk/self_update

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/self_update.

    961 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • Run the rule-driven agentic code review — discover rule blocks in the repo's .mdl files, prepare per-rule review groups (full project by default; diff-only with --pr-only), spawn one focused Sonnet…

    525 GitHub stars~4.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Firewood Review

    ava-labs/firewood

    A skill your agent uses when reviewing ava-labs/firewood code changes — pull request or local workspace.

    153 GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check: notes

More from greenfield-inc/Pane

All 35 skills in this repo
  • Page

    greenfield-inc/Pane

    House standard for any HTML page written for a person. An agent skill from greenfield-inc/Pane.

    519 GitHub stars~759 tokensUpdated today
    Auto-check passed
  • Discussion

    greenfield-inc/Pane

    Have an interactive discussion about a topic, approach, feature, or bug without making code changes.

    519 GitHub stars~666 tokensUpdated today
    Auto-check passed
  • Excalidraw PR Diagrams

    greenfield-inc/Pane

    Create Excalidraw diagram JSON files and PR visual overviews that make visual arguments.

    519 GitHub stars~9.4k tokensUpdated today
    Auto-check passed
  • HTML Explainer

    greenfield-inc/Pane

    The house standard for any skill that renders an HTML page for a person to read, covering design tokens, typography, components, diagrams, and quality gates so every generated page shares one calm…

    519 GitHub stars~1.6k tokensUpdated today
    Auto-check: notes
  • Pane Work

    greenfield-inc/Pane

    Answer questions about the user's own work in Pane, read-only.

    519 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Runpane

    greenfield-inc/Pane

    Drive Pane through the runpane CLI. An agent skill from greenfield-inc/Pane.

    519 GitHub stars~3.7k tokensUpdated today
    Auto-check passed

Questions about Session Trace

What does Session Trace do?

Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened. Session Trace is an agent skill from greenfield-inc/Pane. Publish an agent session as a readable trace page in Grain, with the story, key moments, every request and step on a timeline, subagents, and the pull requests it opened.

When should I use Session Trace?

Session Trace fits situations like: asked for a trace; how did this run go; A task already has a Grain page (for example from prepare-pr.

How do I install Session Trace in Claude Code?

Run `npx skills add greenfield-inc/Pane --skill session-trace -a claude-code`. Or copy the skill folder (main/src/services/paneChatBundle/skills/session-trace in greenfield-inc/Pane) into .claude/skills/session-trace in your project. Claude Code loads it when a task matches its description.

How do I install Session Trace in Codex?

Run `npx skills add greenfield-inc/Pane --skill session-trace -a codex`. Or copy the skill folder (main/src/services/paneChatBundle/skills/session-trace in greenfield-inc/Pane) into .agents/skills/session-trace in your project. Codex loads it when a task matches its description.

Can I use Session Trace 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 greenfield-inc/Pane --skill session-trace -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-trace, .gemini/skills/session-trace, .github/skills/session-trace and .opencode/skills/session-trace in your project.

What does Session Trace need to run?

Going by SKILL.md and its folder, Session Trace needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Session Trace 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 Session Trace 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Session Trace use?

Session Trace has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Session Trace use?

About 836 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Session Trace?

Skills that share tags, products or a category with Session Trace: GitHub Review Iteration (prisma/orm, 48k stars), Cherry Studio PR Review (CherryHQ/cherry-studio, 52k stars), PR Cycle (jaemk/cached, 2.1k stars) and PR Review (jaemk/self_update, 961 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Session Trace?

greenfield-inc (a GitHub organization) maintains it in greenfield-inc/Pane, which has 519 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 7, 2026.

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