By artk0de
Make development decisions data-driven by surfacing git signals (hotspots, ownership, churn, risk) across brainstorming, planning, execution, debugging, and code review, enabling safer task decomposition, failure debugging, and merge risk assessment.
Brainstorm code change seeing risk, ownership, tech-debt signals from tea-rags first — creative exploration grounded in actual state of affected area. Triggers on "brainstorm X", "design feature", "refactor Y", "let's discuss", "давай обсудим", "как перестроить", "что может сломаться". NOT for trivial edits or stylistic questions with no code area to enrich. Wraps superpowers:brainstorming with tea-rags risk-signal enrichment step.
Execute written implementation plan whose Tasks edit code, per-Task SAFE/CAUTION/UNSAFE git-signal verdict before edit AND code-style cascade for code-generation Tasks (style from silo authors, strategy+template from proven neighbors). Triggers on "execute the plan", "start Task N", "выполни план", "начни задачу", "run the plan", "implement the plan steps". NOT for one-off edits without a written plan. Wraps superpowers:executing-plans with tea-rags git-signal verdicts and tea-rags:data-driven-generation cascade.
Finalize dev branch (merge/PR/cleanup) with tea-rags:risk-assessment over full branch diff — completion options weighed against risk zones across entire branch scope. Triggers on "finish the branch", "ready to merge", "wrap up the feature", "ветка готова", "доводим до merge", "branch ready", "PR time", "shipping the branch", "merge ready". NOT for mid-branch interim commits. Wraps superpowers:finishing-a-development-branch with tea-rags:risk-assessment over the branch diff.
Assess reviewer's suggested change (rename, refactor, move, extract) — query tea-rags imports/churn signals on affected target, measure blast radius before agreeing or pushing back. Triggers on "reviewer suggests", "should I rename", "ревьюер предлагает", "стоит ли переименовать", "code review feedback", "PR comment about", "review feedback says", "PR comment wants", "address the review", "сделай как просит ревьюер", "code review wants me to", "let's refactor this per review". NOT for vague stylistic nits without a named symbol. Wraps superpowers:receiving-code-review with tea-rags blast-radius signals.
Wrapper over `superpowers:requesting-code-review`. Review request arrives at
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub artk0de/tearags-mcp --plugin dinopowersBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Trajectory Enrichment-Aware RAG for Coding Agents
Your coding agent copies the first code it finds — not the right one.
TeaRAGs is an MCP server for code search that enriches every retrieved chunk with git history: authorship, churn, bug-fix rate, ownership. Your agent stops learning from hotspots and starts learning from stable, owned, battle-tested code.
📖 Full documentation · 🏁 15-minute quickstart · 🧠 Core concepts
Every new developer pays in hours. Every fresh agent session pays in tokens. Naming conventions, domain logic, local idioms — all of it has to be rebuilt from scratch, every time.
Confusing names mean the agent reads more files. More files mean more tokens, slower responses, and a higher chance of picking the wrong example. Your codebase's technical debt is now your AI bill.
Standard code search ranks by embedding similarity alone. It doesn't know which function gets bug-fixed every sprint, which module hasn't been touched in two years, or whose name is on the commits. So the agent copies whatever looks similar — including the broken examples.
TeaRAGs gives your agent two things it can't get from vanilla code search.
Retrieved code comes with signals about who wrote it, how stable it is, how often it gets bug-fixed, and how impactful a change would be. Semantic similarity stops being the whole answer — it becomes the floor.
TeaRAGs ships agent skills — ready-made playbooks that tell your agent when and how to use the signals. No prompt engineering required:
explore — orient in an unfamiliar codebasedata-driven-generation — write code backed by stable, owned templatesrisk-assessment — know what you'd break before you break itrefactoring-scan · bug-hunt · pattern-search — and moreInstall the plugin, your agent learns the workflow. See all skills →
Bonus: dinopowers — a companion plugin with 10 wrappers over
superpowers:* skills (Jesse Vincent's
skills library for Claude Code) that inject tea-rags signals into brainstorming,
planning, debugging, TDD, review, and completion flows. Mean eval delta +71pp
across 136 cases.
Learn more →
Your agent writes new code backed by stable, canonical templates — modules
with a low bug-fix rate, long stability, and a clear owner. No more copying from
last sprint's hotspot. Skill: data-driven-generation ·
Why stable code is safer →
Find the 5% of code responsible for 80% of incidents. High churn + high
bug-fix rate + concentrated ownership = your next production issue — and your
next refactoring candidate. Skills: refactoring-scan, bug-hunt
Data-driven code generation strategies powered by TeaRAGs git signals
Automated TeaRAGs installation wizard — Node.js, embedding providers, Qdrant, MCP configuration
Pre-merge AI code review — drive a GitHub-PR-style review of the worktree diff in VS Code (inline comments, threads, Ask-agent, approve/decline) and apply fixes until approved. No GitHub required.
Data-driven code generation strategies powered by TeaRAGs git signals
Personal Claude Code + Codex dev stack: security hooks, AI-first code conventions, /security-review, /repo-map, /stack-check, portable statusline. Designed to complement other skills-based plugins, not replace them.
Corca Workflow Framework — consolidated hooks and skill orchestration for structured development sessions
Codebase exploration, refactoring, and quality analysis
AI-powered codebase understanding assistant. Learn design patterns, analyze impact, trace code flows, and understand any codebase through information theory principles. Includes 6 Agent Skills for automatic analysis triggering.
MCP server that saves 98% of your context window with session continuity. Sandboxed code execution in 11 languages, FTS5 knowledge base with BM25 ranking, and automatic state restore across compactions.