What do you want to do?
5 use cases
-
Find existing code for a service before writing it again
Search past projects by external service tag to see whether the integration already exists.
View prompt
In the session-knowledge repo, call find_implementation with capability <service-name> before writing new integration code. Expect a list of existing implementations with their file paths. Verify that one returned file still exists on disk before reusing it.
-
Recover the reasoning behind a past decision
Search your own past instructions and track how a standard changed over time.
View prompt
Using the session-knowledge repo, call search_sessions with the query <topic words> and then track_evolution on the same topic. Expect your own past instructions on that topic plus a monthly view of changes. Verify the dates on the returned instructions match the expected period before quoting them.
-
Look up the commands that failed last time
Filter past Bash and MCP calls to only the failures so you do not repeat known traps.
View prompt
Using the session-knowledge repo, call find_tool_call with a query for <command or service> and errors_only set to true. Expect past failed calls with their arguments and results. Verify the arguments before rerunning any command.
-
Choose the correct credential value without exposing it
List variable names, then review ranked candidate values in masked form.
View prompt
In the session-knowledge repo, call list_credentials to find the variable name for <service>, then call get_credential in masked form only. Expect ranked candidates with their call sites and no plaintext shown. Verify that the chosen candidate is not a documentation example before using it.
-
Spot logic implemented more than once across projects
Run the duplicate-implementation report to find copies and mark the canonical version.
View prompt
Using the session-knowledge repo, call list_duplication and review the output for <capability> across projects. Expect a list of repeated implementations and any projects marked as forks. Verify each flagged duplicate by opening the file before proposing a canonical version.
Quick start with Session Knowledge
- Check you have what it needs: Claude Code with session transcripts in ~/.claude/projects/; Python 3.10+ with FTS5 in the bundled sqlite3 (on macOS, install from python.org or run brew install python); git and bash to clone and run install.sh.
- Open nameforjt-afk/session-knowledge on GitHub and read the README and license.
git clone https://github.com/nameforjt-afk/session-knowledge.gitcd session-knowledgethenbash install.sh- Restart Claude Code.
python3 -m sessionmcp.cli index
These steps come from our top use case, Find existing code for a service before writing it again, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nameforjt-afk/session-knowledge
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers who use Claude Code across several projects and want to recall past decisions, commands, code, and credentials without re-asking or rebuilding them.
- Why it is hot306 stars, launched 81 days ago
- LanguagePython
- Sourcegithub.com/nameforjt-afk/session-knowledge · Back to Hot repos
Requirements
- Claude Code with session transcripts in ~/.claude/projects/
- Python 3.10+ with FTS5 in the bundled sqlite3 (on macOS, install from python.org or run brew install python)
- git and bash to clone and run install.sh
- Terminal access to run the CLI and restart Claude Code
Add this badge to your README
Maintain Session Knowledge? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/nameforjt-afk-session-knowledge/?utm_source=github&utm_medium=badge&utm_campaign=nameforjt-afk-session-knowledge)
HTML
<a href="https://dedupedai.com/use-cases/nameforjt-afk-session-knowledge/?utm_source=github&utm_medium=badge&utm_campaign=nameforjt-afk-session-knowledge"><img src="https://dedupedai.com/badge/nameforjt-afk/session-knowledge.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Session Knowledge
What is Session Knowledge?
session-knowledge is a local, stdlib-only Python tool that indexes Claude Code session transcripts into a searchable knowledge base and exposes 13 MCP tools for searching them. It is an open-source project on GitHub: https://github.com/nameforjt-afk/session-knowledge.
How do I use Session Knowledge?
git clone https://github.com/nameforjt-afk/session-knowledge.git; then cd session-knowledge then bash install.sh; Restart Claude Code. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Session Knowledge for?
Developers who use Claude Code across several projects and want to recall past decisions, commands, code, and credentials without re-asking or rebuilding them.
What can I do with Session Knowledge?
5 use cases so far, for example: Find existing code for a service before writing it again; Recover the reasoning behind a past decision; Look up the commands that failed last time. Each has steps and a copy-paste agent prompt.
What do I need to run Session Knowledge?
Claude Code with session transcripts in ~/.claude/projects/; Python 3.10+ with FTS5 in the bundled sqlite3 (on macOS, install from python.org or run brew install python); git and bash to clone and run install.sh; Terminal access to run the CLI and restart Claude Code.
What are alternatives to Session Knowledge?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Session Knowledge safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.