
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
Index your codebase locally and push AI knowledge cards to a codeprism engine
Index your codebase locally and push AI knowledge cards to a codeprism engine.
npx codeprism init
npx codeprism index
npx codeprism push
npm install -g codeprism
# or use npx (no install needed)
npx codeprism --help
codeprism initInteractive setup wizard — configure repos, engine URL, API key, MCP editor config, git hooks, and LLM provider in one step.
codeprism init
Creates a .codeprism/ directory with config.json, rules.json, and .gitignore. Optionally installs MCP configs for detected editors and git hooks for automatic KB sync.
codeprism indexIndexes all repositories in your workspace using your own LLM key. Results are written to a local codeprism.db file.
CODEPRISM_LLM_PROVIDER=anthropic \
CODEPRISM_LLM_API_KEY=sk-ant-... \
codeprism index
Supported LLM providers: anthropic, openai, deepseek, gemini
Options:
--force — reindex everything regardless of git changes--repo <name> — restrict to a single repo--skip-docs — skip doc generation (faster)--force-docs — force regeneration of all docs even if they exist--ticket <id> — bias indexing toward a ticket (e.g. ENG-123)--fetch-remote — run git fetch --all before branch signal collectioncodeprism pushUpload a local codeprism.db to a hosted engine so your whole team benefits.
codeprism push \
--engine-url https://yourteam.codeprism.dev \
--api-key YOUR_TEAM_API_KEY \
--delete
Options:
--engine-url — hosted engine URL (or CODEPRISM_ENGINE_URL env var)--api-key — team API key (or CODEPRISM_API_KEY env var)--db — path to local DB (auto-detected if omitted)--delete — delete the local DB after a successful pushcodeprism install-hookInstall git hooks in the current repo to sync file changes automatically after commits, merges, branch switches, and rebases.
codeprism install-hook --engine-url https://yourteam.codeprism.dev
Hooks installed: post-commit, post-merge, post-checkout, post-rewrite. Also offered during codeprism init.
codeprism install-rulesWrite AI rule files that instruct your editor to always consult codeprism before any task. Auto-detects Cursor, Claude Code, Windsurf, and Zed.
codeprism install-rules # auto-detect editors
codeprism install-rules --all # install for all editors
codeprism install-rules --editor cursor
codeprism uninstallRemove all codeprism artifacts from the workspace, repos, git hooks, and (optionally) global editor configs.
codeprism uninstall # interactive confirmation
codeprism uninstall --dry-run # preview what would be removed
codeprism uninstall --force # skip confirmation
codeprism uninstall --no-global # skip global editor configs
Removes:
.codeprism/ directory, codeprism.db, codeprism.config.jsonai-codeprism/ generated docs per repo.cursor/rules/codeprism.mdc, .zed/rules/codeprism.md)CLAUDE.md, .windsurfrulesmcpServers.codeprism from .cursor/mcp.json~/.claude/, ~/.codeium/windsurf/, ~/.config/zed/)codeprism syncManually notify a running codeprism server about git changes.
codeprism checkLLM-powered PR diff checker against team rules.
codeprism rules list|add|deleteManage team coding rules stored in the local engine DB.
Run codeprism init to create .codeprism/config.json interactively, or place codeprism.config.json at your workspace root:
{
"repos": [
{ "path": "./api", "name": "my-api" },
{ "path": "./frontend", "name": "my-frontend" }
]
}
Without a config file, codeprism auto-discovers repos in sibling directories.
| Variable | Description |
|---|---|
CODEPRISM_LLM_PROVIDER | LLM provider: anthropic, openai, deepseek, gemini |
CODEPRISM_LLM_API_KEY | Your personal LLM API key (used only for local indexing) |
CODEPRISM_LLM_MODEL | Override the default model |
CODEPRISM_DB_PATH | Path to the local SQLite DB (default: ./codeprism.db) |
CODEPRISM_ENGINE_URL | Hosted engine base URL |
CODEPRISM_API_KEY | Team API key for codeprism push |
MIT
FAQs
Index your codebase locally and push AI knowledge cards to a codeprism engine
We found that codeprism demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.