Skip to content
PluginStats

repo-context-doctor weekly downloads statistics

By DebadityaHait · npm · Claude Code

Show the instruction graph your coding agents actually receive.

View on npm Stale · Oct 18, 2026

repo-context-doctor has 4,597 recorded weekly downloads on npm, a decrease of 26.3% over the past 30 days, ranking #1166 of 2,391 tracked listings.

Weekly downloads
4,597
Official API · Oct 18, 2026
7-day growth
-34.4%
-2.4K weekly downloads
30-day growth
-26.3%
-1.6K weekly downloads
90-day growth
—
Insufficient history
Rank
#1166
Among tracked npm listings

About repo-context-doctor

Repo Context Doctor

npm version CI Node.js License

Map the instruction files a coding agent can inherit, then find conflicts, stale references, duplicated rules, unsafe guidance, and context pressure before they change agent behavior.

Repo Context Doctor is a read-only repository linter and graph inspector. It does not generate rules, package a codebase, call an LLM, or upload source content. That boundary is intentional: Rulesync synchronizes agent configuration, Repomix packages repositories for model input, and DheerG/context-doctor provides interactive context diagnosis. This tool verifies the instruction surface itself.

The executable is named repo-context-doctor (or rctx-doctor) to avoid colliding with the established context-doctor package, which profiles and optimizes LLM conversation windows.

Install

npm install --save-dev repo-context-doctor
npx repo-context-doctor check .

Node.js 20 or newer is required.

What it discovers

EcosystemSourcesActivation evidence
OpenAI CodexAGENTS.md, AGENTS.override.mdrepository and nested-directory scope
Claude CodeCLAUDE.md, CLAUDE.local.mdproject/local-style override layers
Cursor.cursorrules, .cursor/rules/**/*.mdcrule files and Cursor rule scope
Gemini CLIGEMINI.mdproject and ancestor files
GitHub Copilot.github/copilot-instructions.mdrepository instruction file
Windsurf.windsurfrules, .windsurf/rules/**/*.mdrule files and rule scope

Use --include-global to include ancestor files above the project root. Without it, scanning stays inside the selected repository.

Checks

  • CTX001 contradictory package-manager, test, lint, or build guidance
  • CTX002 references to missing files
  • CTX003 missing npm run scripts
  • CTX004 duplicated directives loaded from multiple sources
  • CTX005 provider context approaching its configured budget
  • CTX008 unsafe shell, secret-handling, or safety-bypass guidance

Every finding includes evidence paths and line numbers. JSON redacts directive bodies; SARIF points back to source files; Mermaid shows provider-to-source and override relationships.

Commands

# Human report; exits 1 for errors
npx repo-context-doctor check .

# Inspect a nested service and one provider
npx repo-context-doctor check . --cwd services/payments --agent codex

# Include ancestor instruction files explicitly
npx repo-context-doctor check . --include-global --json > context-report.json

# Pull-request annotations and graph visualization
npx repo-context-doctor check . --sarif > context.sarif
npx repo-context-doctor graph . --mermaid > context.mmd

# Treat warnings as blocking in a strict CI gate
npx repo-context-doctor check . --strict

Exit codes are 0 for a clean report, 1 for an actionable finding (or a warning under --strict), and 3 when the scanner cannot complete. The JSON schema is versioned and contains no instruction bodies.

Library API

import { scan } from "repo-context-doctor";

const report = await scan(process.cwd(), ".", undefined, { includeGlobal: true });
console.log(report.sources, report.findings, report.edges);

Privacy and limits

  • Offline and read-only; no subprocesses, model calls, network access, or file writes.
  • Source paths, line numbers, normalized metadata, and graph edges are retained; instruction bodies are omitted from JSON reports.
  • Natural-language interpretation and undocumented provider precedence cannot be proven statically.
  • Findings are evidence for review, not a guarantee of what a closed-source agent will do.

Development

npm install
npm run lint
npm test
npm run test:cli
npm pack --dry-run

Issues and pull requests are welcome in the GitHub repository.

License

MIT © Debaditya Hait

Description from the npm listing.

  • coding-agents
  • codex
  • claude-code
  • cursor
  • lint
  • cli

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

repo-context-doctor weekly downloads on npm, last 90 days: 4,597 weekly downloads as of Oct 18, 2026.repo-context-doctorWeekly downloads on npm · Last 90 days4,597downloads / week02K4K6K8K10K12K14KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
repo-context-doctor weekly downloads on npm, last 90 days: 4,597 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

repo-context-doctor weekly downloads growth on npm: -34.4% over 7 days, -26.3% over 30 days, 90-day growth unavailable.repo-context-doctorWeekly downloads growth on npm4,597downloads / week now7-day growth-2,407 weekly downloads-34.4%30-day growth-1,644 weekly downloads-26.3%90-day growth+4,597 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
repo-context-doctor weekly downloads growth on npm: -34.4% over 7 days, -26.3% over 30 days, 90-day growth unavailable.

Ranking history

repo-context-doctor npm ranking history: currently #1166 (by weekly downloads).repo-context-doctornpm ranking · by weekly downloads · Last 90 days#1166current rank#200#400#600#800#1000#1200Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
repo-context-doctor npm ranking history: currently #1166 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,196 shown · page 59, #16 (overall #1,176)
All npm: every listing in weekly downloads order

Listing placement

Claude Code279 listings · 14 pages · page 4, #11 (overall #71)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (544)
Recent weekly downloads observations for repo-context-doctor
Date (UTC)Weekly downloadsChange vs. previous
4,597+1.1K
3,522-1.1K
4,664-222
4,886-1K
5,935-949
6,8840
6,884-120
7,004+359
6,645-140
6,785-7
6,792+67
6,725-190
6,915-1K
7,958—

Similar npm Claude Code plugins

All 20 repo-context-doctor alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/repo-context-doctor. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.