by TedHaley
Pensieve: never lose the thread. A local MCP server and Mac app that links your files, repos, agent sessions, tickets and messages into one thread per task, for you and your AI coding agents.
# Add to your Claude Code skills
git clone https://github.com/TedHaley/pensieveGuides for using ai agents skills like pensieve.
Last scanned: 10/13/2026
{
"issues": [
{
"file": "README.md",
"line": 15,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://tedhaley.ca/pensieve/install.sh | sh\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-10-13T11:27:50.452Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how pensieve compares with popular alternatives.
pensieve is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by TedHaley. Pensieve: never lose the thread. A local MCP server and Mac app that links your files, repos, agent sessions, tickets and messages into one thread per task, for you and your AI coding agents. It has 76 GitHub stars.
Yes. pensieve passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/TedHaley/pensieve" and add it to your Claude Code skills directory (see the Installation section above).
pensieve is primarily written in Python. It is open-source under TedHaley on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pensieve against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
One place for all your information, for context engineering: your files, repositories, agent sessions, tickets and messages, so that you and your agents get the right context for each goal. Your context is your own: Pensieve reads only what you can access, it only reads, and it keeps everything on your Mac.
since:3d, until:2026-10-01) or to one project's sessions (project:my-app).Pensieve has two modes. Threads mode (the default, and the one to start with) reads your agent sessions, git and gh, and your issue tracker. It needs no index and no model. Developer mode extends Threads mode: it indexes the repos and files that you choose, so that agents can search them, and it adds the Map, People and Insights tabs. It uses the GPU.
Everything runs on your Mac. In Developer mode, text is embedded with the search model (see Models) and stored in SQLite (with a word full-text index for exact matches) plus turbovec vector indexes. Summaries and insights are written by the agent that you connect over MCP, or by a background engine that you choose in Settings → Models.
curl -fsSL https://pensieve.tools/install.sh | sh
On an Apple Silicon Mac, the script downloads the latest Pensieve.dmg and copies the app to ~/Applications. Then it installs the pensieve backend with the installer inside the app. You do not need git, the Xcode tools or Python. The app starts when you run the script in a terminal. When an agent runs it, the script installs only.
Then connect your agents:
pensieve integrate recommended
This command finds the agents on your Mac (Claude Code, Codex, Cursor, Gemini CLI, Qwen Code, Windsurf, Claude Desktop and VS Code) and gives each one Pensieve as an MCP server.
Then set up Pensieve. Pensieve indexes nothing until you finish setup, also after a reset. When the app opens, it shows the steps:
To change the mode, use Settings. A mode change runs the setup again from the mode step.
An agent can do the same setup in its chat. Until setup is done, every MCP connection also gets the setup_guide, setup_scan, setup_add_source and setup_start tools. setup_guide tells the agent which questions to ask, in order. From a terminal:
pensieve setup threads # Threads mode: read every agent session folder found, index nothing
pensieve setup # Developer mode: list the agent sessions, folders, repos and apps found, with their sizes
pensieve setup recommended # index the ones marked [x]
pensieve setup agents/claude repos//Users/me/code/app # or exactly these
pensieve setup recommended images audio # and read images and sound by content
In Developer mode, the first index uses a lot of energy: the embedding model runs until it finishes, about 500 code files a minute on Apple Silicon. Settings → Sources shows what is syncing now.
On Linux and Intel Macs, the script installs uv and the backend from source. Then it starts the backend and opens the Map in your browser.
Or by hand:
uv tool install git+https://github.com/TedHaley/pensieve # the backend: `pensieve`
git clone https://github.com/TedHaley/pensieve && pensieve/mac/build.sh --install # the Mac app (needs the Xcode tools)
In Developer mode, Pensieve downloads the search model on first run (see Models), then indexes in the background. Search and the map fill in as it goes.
In Developer mode, your agents search the index over MCP, and you search it in the app with ⌘K. Search covers only the sources that you chose: your repos, agent sessions, folders and connections. Both use the same query syntax.
Pensieve starts at login by default. To stop this, turn off Launch at Login in the menu bar.
| Query | Finds |
|---|---|
pricing model |
anything about that, by meaning |
"rate limit" |
items containing those exact words (case-insensitive) |
"rate limit" retries |
contains the phrase, ranked by the meaning of the rest |
-draft / -"old notes" |
excludes a word or phrase |
kind:file |
documents and code (kind:doc documents only, kind:code code only) |
kind:session |
agent sessions only |
kind:folder invoice export |
folders whose path and contents match, e.g. src/billing/invoice_export; a repo is a folder too |
kind:repo |
repositories (on its own: all of them) |
kind:person payment retries |
people who wrote the code about it; a plain search for a name also lists the person first |
person:sam |
that person; the same as kind:person sam |
by:sam terraform |
only what that person wrote (code by git blame, documents by author) |
ext:pdf |
one file type |
in:my-app |
path or repo contains this |
since:3d / until:2026-10-01 |
only what changed in that time: a session by its last activity, code by its last commit, a file by its last change. Takes a date, a time back (12h, 3d, 2w, 1m), today or yesterday; until: includes that day |
project:my-app |
agent sessions of that project only |
kind:session since:yesterday |
with no words: the matching sessions, newest first |
A plain search also puts a folder first when its path names every word (person build).
Code results open at the matching line in your editor if you set editor to vscode, cursor or zed.
The app opens on Threads. The tabs are Threads, People, Map, Insights and Settings (keys 1 to 5). People, Map and Insights show only in Developer mode.
| Threads | A thread for each agent session that wrote something (edits, commits, a branch, a PR) in the last 7, 30 or 90 days, filtered by state. The default filter is Open, To-do, Thoughts and Loose ends. Each thread has the folders where the work is (repo, branch, worktree, uncommitted files, ahead or behind), its PRs (state, CI checks and review) and its tickets (status and assignee). The steps left say who can do each one: you, your agent or the tracker. A thread joins a ticket by its key in the branch name (in any case, for a ticket that Pensieve knows), the session title, commit subjects and PR titles. Sessions in temp folders or under ~/Library are left out: apps and scripts start those. A new turn of a session shows on its thread at once. Refresh reads the transcripts and the checkouts of the threads in view again, and builds those threads before the page loads them. |
| People | The people you work with, as a network around you. The nearest people are closest to you and largest. Each person is one record from their git emails, GitHub login and Slack user. Pensieve joins these on the same email, then the GitHub login, then the same full name. Closeness comes from files you both edited, pull request reviews, your threads, and the Slack threads and direct messages that you can see. A click opens the person: their role (the Slack title, or inferred from their commits), their repos and pull requests, and how you work together. Merge or split people there. These changes stay in ~/.pensieve/people. Pictures come from Slack, then GitHub, and Pensieve keeps a copy in the same folder. |
| Map | Documents, code and agent sessions on one 3D map, laid out by meaning. The |