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.
- Session Knowledge
- Claude Code
- Software and DevOps
- Intermediate
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.
- Session Knowledge
- Claude Code
- Software and DevOps
- Intermediate
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.
- Session Knowledge
- Claude Code
- Software and DevOps
- Intermediate
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.
- Session Knowledge
- Claude Code
- Software and DevOps
- Intermediate
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.
- Session Knowledge
- Claude Code
- Software and DevOps
- Intermediate
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.
How to use 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.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeSession Knowledge alternatives · Best AI repos for Software and DevOps
About 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 hot
- 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
Maintain Session Knowledge? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/nameforjt-afk-session-knowledge/?ref=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.
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: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
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.