Skip to content

ctx-retriever v0.1.0

Choose a tag to compare

@pluto2060 pluto2060 released this 30 Mar 05:01

Initial release of ctx-retriever

Trigger-Driven Dynamic Context Loading for Code-Aware LLM Agents.

Install

pip install ctx-retriever

Highlights

  • 4 trigger types: EXPLICIT_SYMBOL, SEMANTIC_CONCEPT, IMPLICIT_CONTEXT, TEMPORAL_HISTORY
  • 1.9x higher Token-Efficiency Score than BM25
  • Only 5.2% token usage
  • Claude Code hook integration included
  • Recall@5 = 1.0 on implicit dependency queries

Claude Code Hook

cp hooks/ctx_real_loader.py ~/.claude/hooks/

See setup guide for full integration.