Credentials. Plaintext values are stored in vault.db at mode 0600 and creds get returns them, so keep output in masked form and never commit or sync the index directory.
Who it is forA developer who needs the staging or production DATABASE_URL or another key and remembers using several different values.
The problemThe same variable name often has several real values across apps and environments, and picking the wrong one causes errors.
The outcomeThe correct variable name and a ranked set of masked candidates, with the call site each one came from.
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
git clone https://github.com/nameforjt-afk/session-knowledge.gitcd session-knowledgethenbash install.shpython3 -m sessionmcp.cli creds listpython3 -m sessionmcp.cli creds get DATABASE_URL --masked(inferred, check the README)python3 -m sessionmcp.cli verify-redaction
Prompt for your agent
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.
Caveat. Doc examples and made-up values are also extracted as candidates, so blacklist fakes with creds forget --fingerprint rather than deleting them, since deleting alone is undone by the next daily re-scan.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nameforjt-afk/session-knowledge and "Choose the correct credential value without exposing it"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer