DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to find existing code for a service before writing it again with Session Knowledge

Search past projects by external service tag to see whether the integration already exists.

Short answer: git clone https://github.com/nameforjt-afk/session-knowledge.git; then cd session-knowledge then bash install.sh; Restart Claude Code. All steps.

Who it is forA developer about to add a payment, auth, or messaging integration who suspects it was already built in another project.

The problemgrep only finds code if you already know the function or token name, so existing integrations are easy to miss and get rebuilt.

The outcomeA list of existing implementations for the service, found by capability tag, before any new code is written.

What you need first

  • 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

Steps

  1. git clone https://github.com/nameforjt-afk/session-knowledge.git
  2. cd session-knowledge then bash install.sh
  3. Restart Claude Code.
  4. python3 -m sessionmcp.cli index
  5. python3 -m sessionmcp.cli code find --capability stripe

Prompt for your agent

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.

Caveat. The code index only reads Python, JS, and TS files and only scans projects with at least 2 sessions in the last 45 days, so a service built in another language or a one-session project will not appear.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for nameforjt-afk/session-knowledge and "Find existing code for a service before writing it again"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer