Session History Search
slopus/happy
Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.
Search past agent sessions across all three harnesses (pi, Cursor, Claude Code) when asked about earlier work.
$ npx skills add scott-fryxell/brayness --skill previous-work -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install scott-fryxell/brayness previous-work --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/scott-fryxell/brayness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/previous-work .claude/skills/previous-work && rm -rf skills-srcUse ~/.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/
Install the "previous-work" agent skill from https://github.com/scott-fryxell/brayness/tree/main/skills/previous-work into .claude/skills/previous-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "previous-work", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/scott-fryxell/brayness/tree/main/skills/previous-workType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add scott-fryxell/brayness --skill previous-work -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install scott-fryxell/brayness previous-work --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scott-fryxell/brayness.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/previous-work .agents/skills/previous-work && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "previous-work" agent skill from https://github.com/scott-fryxell/brayness/tree/main/skills/previous-work into .agents/skills/previous-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "previous-work", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scott-fryxell/brayness --skill previous-work -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install scott-fryxell/brayness previous-work --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scott-fryxell/brayness.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/previous-work .cursor/skills/previous-work && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "previous-work" agent skill from https://github.com/scott-fryxell/brayness/tree/main/skills/previous-work into .cursor/skills/previous-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "previous-work", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/scott-fryxell/brayness.git --path skills/previous-work--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add scott-fryxell/brayness --skill previous-work -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install scott-fryxell/brayness previous-work --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scott-fryxell/brayness.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/previous-work .gemini/skills/previous-work && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "previous-work" agent skill from https://github.com/scott-fryxell/brayness/tree/main/skills/previous-work into .gemini/skills/previous-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "previous-work", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install scott-fryxell/brayness previous-workInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add scott-fryxell/brayness --skill previous-work -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/scott-fryxell/brayness.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/previous-work .github/skills/previous-work && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "previous-work" agent skill from https://github.com/scott-fryxell/brayness/tree/main/skills/previous-work into .github/skills/previous-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "previous-work", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add scott-fryxell/brayness --skill previous-work -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install scott-fryxell/brayness previous-work --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/scott-fryxell/brayness.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/previous-work .opencode/skills/previous-work && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "previous-work" agent skill from https://github.com/scott-fryxell/brayness/tree/main/skills/previous-work into .opencode/skills/previous-work/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "previous-work", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
previous-workSearch past agent sessions across all three harnesses (pi, Cursor, Claude Code) when asked about earlier work.
Previous Work is an agent skill from scott-fryxell/brayness. Search past agent sessions across all three harnesses (pi, Cursor, Claude Code) when asked about earlier work. Use when the user asks "what did we do about X", "did we already discuss/try/fix X", "find that earlier session", "review previous work", or when a task smells like a repeat of something already done. Knows where each tool stores its JSONL transcripts and how to search them without tripping over ignore files.
Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: A harness for the anxious digital mind. A safe place for creatives to keep their creative soul while exploring digital skills. The licence is MIT.
Read from SKILL.md and the folder at commit 71f10e2. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
rgFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Previous Work loads about 926 tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 338 words of instructions outside code blocks.
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.
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.
The full file from scott-fryxell/brayness at commit 71f10e2, republished under its MIT licence (© scott-fryxell). 338 words, ~926 tokens.
.claude/skills/previous-work/SKILL.md (or your agent's skills folder).Raw transcript archaeology across pi, Cursor, and Claude Code. For distilled
lessons, AGENTS.local.md Learnings is already in context (memory
skill) - check it first; only dig transcripts when you need what actually
happened.
The remember tool (extension extensions/memory/) indexes pi's own sessions
into an FTS5 store, ~4 ms a query, newest turns re-indexed automatically. Use
it before rg:
remember search "firecracker lima mac" - ranked turns with snippets, dates,
and the session file to reopen. Tolerates typos; the last word also matches as
a prefix. An exchange is one row, so a question and its answer surface
together.rg is for raw archaeology: every occurrence, exact strings, and the Cursor
and Claude Code stores, which the index does not cover.The store is derived, never synced, and lives at .pi/agent/memory.db. If it
looks empty or stale, remember action index rebuilds it (about a second for
400 sessions).
| Agent | Path | Shape |
|---|---|---|
| pi | .pi/agent/sessions/*.jsonl | timestamp + uuid filenames |
| Cursor | ~/.cursor/projects/Users-scott-Desktop-brayness/agent-transcripts/<uuid>/<uuid>.jsonl | one dir per chat |
| Claude Code | ~/.claude/projects/-Users-scott-Desktop-brayness*/*.jsonl | one store per cwd |
Notes:
work/realness sessions live in
-Users-scott-Desktop-brayness-work-realness, etc. Older stores named
-Users-scott-Desktop-brain* (previous harness names) hold early work.~/.cursor/projects/;
project windows like work/realness have their own.pi sessions are hidden from rg by the repo .ignore (sessions/ pattern) -
always pass --no-ignore:
rg --no-ignore -li 'search term' .pi/agent/sessions/
rg -li 'search term' ~/.cursor/projects/Users-scott-Desktop-brayness/agent-transcripts/
rg -li 'search term' ~/.claude/projects/-Users-scott-Desktop-brayness*/Then narrow inside a hit (JSONL, one message per line):
rg --no-ignore -i 'term' <file> | head -5 # locate lines
ls -t <dir> | head # most recent firstFilenames carry the date (pi) or check file mtime (Cursor/Claude) to order by recency when the user says "yesterday" or "last week".
AGENTS.local.md Learnings
(memory skill) so the next search is unnecessary.© scott-fryxell, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/previous-work of scott-fryxell/brayness.
Open the folder on GitHubat commit 71f10e2
Previous Work 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Previous Work this skillscott-fryxell/brayness | 125 | — | ~926 | Automated safety check: Pass | MIT | |
| Session History Searchslopus/happy | 24k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Session Handoffsickn33/agentic-awesome-skills | 47k | — | ~1.8k | Automated safety check: Notes | MIT | |
| Coding Agent Session Findercode-yeongyu/oh-my-openagent | 70k | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Omh Harness Session Inventoryrlaope/oh-my-hermes | 3.2k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Sessionanthropics/claude-for-legal | 9.6k | 3 repos | ~478 | Automated safety check: Pass | Apache-2.0 |
slopus/happy
Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.
sickn33/agentic-awesome-skills
A skill your agent uses when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.
code-yeongyu/oh-my-openagent
Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.
rlaope/oh-my-hermes
[omh] Lost track of agent sessions and worktrees: normalize Codex, Claude Code, Hermes, OpenCode, Cursor, MCP host, worktree, and wrapper session metadata into one drift-aware inventory.
anthropics/claude-for-legal
Run a focused N-question study session on a subject — MBE, essay, or flashcards.
affaan-m/ECC
Eval-driven development (EDD) framework for AI coding sessions — define capability and regression evals before coding, grade with code-based, model-based, rule, or human graders, and track pass@k…
scott-fryxell/brayness
Find and install brand SVG logos via SVGL (https://svgl.app/) and Wikimedia Commons fallbacks into any project's static asset folder.
scott-fryxell/brayness
Write Vitest specs for Vue 3 JavaScript (Vite Plus, happy-dom, @vue/test-utils) and analyze V8 coverage + Fallow health to prioritize test-first refactors.
scott-fryxell/brayness
Derive a project's visual rules from its existing tokens, palette, type scale, logo, and icons (Intake), then generate raw SVG vector graphics from those rules as a small composable set (module…
scott-fryxell/brayness
Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML.
scott-fryxell/brayness
A skill your agent uses when designing or implementing motion for web interfaces, including CSS transitions and keyframes, linear() easing design, transform strategy (translate/rotate vs…
scott-fryxell/brayness
Inspect live Vue 3 component state via agent-browser eval - no Devtools extension, no console.log.
Search past agent sessions across all three harnesses (pi, Cursor, Claude Code) when asked about earlier work. Previous Work is an agent skill from scott-fryxell/brayness. Search past agent sessions across all three harnesses (pi, Cursor, Claude Code) when asked about earlier work.
Previous Work fits situations like: the user asks what did we do about X; did we already discuss/try/fix X; find that earlier session; review previous work.
Run `npx skills add scott-fryxell/brayness --skill previous-work -a claude-code`. Or copy the skill folder (skills/previous-work in scott-fryxell/brayness) into .claude/skills/previous-work in your project. Claude Code loads it when a task matches its description.
Run `npx skills add scott-fryxell/brayness --skill previous-work -a codex`. Or copy the skill folder (skills/previous-work in scott-fryxell/brayness) into .agents/skills/previous-work in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add scott-fryxell/brayness --skill previous-work -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/previous-work, .gemini/skills/previous-work, .github/skills/previous-work and .opencode/skills/previous-work in your project.
Going by SKILL.md and its folder, Previous Work needs the command-line tools its instructions call (rg).
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.
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.
Previous Work is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 926 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Previous Work: Session History Search (slopus/happy, 24k stars), Session Handoff (sickn33/agentic-awesome-skills, 47k stars), Coding Agent Session Finder (code-yeongyu/oh-my-openagent, 70k stars) and Omh Harness Session Inventory (rlaope/oh-my-hermes, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
scott-fryxell (a GitHub user) maintains it in scott-fryxell/brayness, which has 125 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on September 28, 2026.
Source: scott-fryxell/brayness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.