SkillAgentSearch skills...

AgentDoctor

Codebase intelligence, repository analysis, safety controls, and MCP tools for developers and engineering teams.

Install / Use

claude mcp add pranee54 -- npx -y github:pranee54/AgentDoctor

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

81/100

Category

Security

Supported Platforms

Claude Code
Claude Desktop
Cursor
OpenAI Codex

Our assessment of AgentDoctor

AgentDoctor scores 81/100 on our quality scale, 966th of 1,099 Security skills we index.

Its MCP Server is 19 KB long, well organised into 33 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
12/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 4 days ago, so AgentDoctor is actively maintained.
  • Our last check on 2026-10-18 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

AgentDoctor compared with similar skills

All 4 of these similar skills score higher than AgentDoctor; compare them before choosing.

SkillScoreStarsUpdatedFormat
AgentDoctor (this skill)by pranee5481104d agoMCP Server
Agent-Reachby Panniantong100109.2ktodayCLAUDE.md
headroomby headroomlabs-ai10078.9ktodayCLAUDE.md
CowAgentby zhayujie10047.8ktodayCLAUDE.md
Scraplingby D4Vinci10097.9ktodayMCP Server

Frequently asked questions

How do I install AgentDoctor?
Run claude mcp add pranee54 -- npx -y github:pranee54/AgentDoctor. The install tabs above show the steps for each supported agent.
Which AI agents does AgentDoctor work with?
It is written for Claude Code, Claude Desktop, Cursor and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
Is AgentDoctor safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is AgentDoctor still maintained?
The repository was last updated 4 days ago, so AgentDoctor is actively maintained.

AgentDoctor

Engineering assurance for AI coding agents.

Understand your codebase, assess the impact of changes, govern engineering knowledge, enforce safety policies, and attach inspectable evidence to AI-driven changes.

npm CI Node License

Published: @praneeth_54/agentdoctor@2.1.0 Release notes: docs/RELEASE_2_1_0.md · Prior assurance cut: docs/2.0.1/README.md

Install · Quickstart · Change assurance · Project AI (2.1) · Documentation · MCP · GitHub Action · Architecture


What AgentDoctor is

AgentDoctor sits between developers / AI coding agents and the repository’s engineering reality.

AI agents can write code quickly. The harder engineering problem is knowing whether a change is correct, safe, compatible, explainable, and consistent with the rest of the repository.

AgentDoctor collects repository signals — source structure, graphs, Git history, policies, knowledge, and verification evidence — so humans and agents can reason about changes with fewer unsupported assumptions.

Who it is for

| Audience | How AgentDoctor helps | | ---------------------- | ----------------------------------------------------------------------------- | | Manual developers | Scan / fix / verify, change impact, evidence, architecture and policy checks | | Students | learn — explain project, viva, docs; BUILD_WITH_ME after approval | | AI-assisted developers | Optional Project Chat (ask / chat) with evidence and truth labels | | AI coding agents | MCP + controlled tools; AgentDoctor owns context, execution, and verification |

It is not a generic chatbot, IDE interceptor, or claim of full autonomy. Optional Project AI (2.1) is opt-in and still subject to approvals, path/runner controls, and verification. It does not guarantee correctness. It produces evidence and controls you can inspect.

Architecture (when AI is enabled):

THE MODEL REASONS.
AGENTDOCTOR PROVIDES PROJECT CONTEXT.
AGENTDOCTOR CONTROLS TOOLS.
AGENTDOCTOR VERIFIES RESULTS.

Short description: Engineering assurance for AI coding agents — repository intelligence, change evidence, safety controls, MCP tools, and an optional Project AI Agent.


Why AgentDoctor?

Modern AI coding agents can:

  • read individual files
  • generate and edit code
  • run tests when asked

Repository-level context is usually fragmented across:

| Signal | Typical location | | ------------------ | ------------------------------ | | Source structure | AST / imports / modules | | Dependencies | manifests / lockfiles | | History | Git | | Architecture | docs / conventions / inference | | Tests | test trees / naming heuristics | | Policy | CI rules / allowlists | | Decisions | ADRs / RFCs / tribal knowledge | | Secrets / exposure | config files / ignore rules |

AgentDoctor brings those signals into one local toolchain around an AI-driven engineering change:

Developer / AI Agent
        │
        ▼
   AgentDoctor
        │
┌───────────────────────────────┐
│ Repository Intelligence       │
│ AST / Graph / Git / Impact    │
├───────────────────────────────┤
│ Engineering Knowledge         │
│ Brain / Decisions / Provenance│
├───────────────────────────────┤
│ Safety & Policy               │
│ Scan / Fix / Enforce / Secrets│
├───────────────────────────────┤
│ Verification                  │
│ Tests / Reports / Evidence    │
└───────────────────────────────┘
        │
        ▼
Safer, explainable engineering decisions

Capability map

Status labels: SUPPORTED · PARTIAL · EXPERIMENTAL · NOT YET SUPPORTED

Details and evidence: docs/2.0/overview/capabilities.md · readiness matrix

Repository intelligence

| Capability | Status | | ---------------------------------------------------- | ------------ | | TypeScript / JavaScript AST graph (+ regex fallback) | PARTIAL | | Import / inferred call relationships | PARTIAL | | Git hotspot / engineering intelligence | PARTIAL | | Change / test / refactor impact | PARTIAL | | C4-style architecture views | EXPERIMENTAL |

Engineering knowledge

| Capability | Status | | ------------------------------------------------------------- | --------- | | Project Brain store + evidence-backed claims | SUPPORTED | | Repository Brain init / proposal review (never auto-approved) | PARTIAL | | Governed knowledge + abstention on retrieve | PARTIAL | | Provenance envelopes on Brain MCP tools | SUPPORTED |

Agent interfaces

| Capability | Status | | --------------------------------------------------------------------------------- | --------- | | Brain MCP (brain_* tools, STDIO) | SUPPORTED | | Combined MCP (Brain + intelligence tools) | PARTIAL | | Agent MCP (project_ask, path-safe file tools, plan, change verify) — 2.1 | PARTIAL | | Optional Project Chat / coding agent CLI (chat, ask, agent, learn) — 2.1 | PARTIAL | | Agent adapters (Cursor, Claude Code, Codex, Copilot, Windsurf, Gemini CLI, Aider) | SUPPORTED | | Local dashboard + /api/v2/* + ask-only /api/chat — 2.1 | PARTIAL | | Programmatic API (scan, Fix, Brain helpers) | SUPPORTED |

Safety & governance

| Capability | Status | | -------------------------------------------------------- | --------------------- | | Scan → Safe Fix → Verify | SUPPORTED | | Policy gates (--min-score, severity, rule, verify-new) | SUPPORTED | | Evaluate-only policy / controlled enforcement runner | PARTIAL | | Secret scan (redacted findings) + export redaction | PARTIAL | | Path-safety for MCP / dashboard | PARTIAL | | Local-dev team auth (scrypt) | PARTIAL — not SSO |

Verification

| Capability | Status | | ------------------------------------------------------- | -------------------------- | | Change assurance assessment + evidence bundles | PARTIAL | | Evidence hash verify (verified = integrity only) | SUPPORTED | | Unit / integration / MCP STDIO tests (npm run verify) | SUPPORTED | | Packed CLI clean-install smoke | SUPPORTED | | Reproducible AST perf harness | PARTIAL (synthetic sample) |


How AgentDoctor is different

Most engineering tools optimize one layer: static analysis, search, docs generation, dashboards, security scanners, or AI chat.

AgentDoctor is designed around the lifecycle of an AI-driven change:

Repository
    → Understand
    → Impact
    → Knowledge
    → Policy
    → Change
    → Verification
    → Evidence

That combination is the product direction. It does not mean every layer is equally mature — see the capability map and limitations.


Architecture

AgentDoctor
│
├── Repository Intelligence
│   ├── AST (TS/JS)
│   ├── Graph
│   ├── Git
│   └── Impact
│
├── Engineering Knowledge
│   ├── Brain
│   ├── Governance
│   └── Provenance
│
├── Safety
│   ├── Scanner
│   ├── Safe Fix
│   ├── Secrets
│   └── Policies
│
├── Agent Interface
│   ├── MCP (brain-mcp / mcp)
│   ├── CLI
│   ├── API / dashboard
│   └── Adapters
│
└── Verification
    ├── Tests
    ├── Reports
    └── Release validation

Code layout: src/{intelligence,knowledge,core,mcp,platform,enforcement,cli}/

Canonical docs: docs/2.0/overview/architecture.md


Engineering principles

  1. Evidence over assumptions
  2. Explicit limitations over inflated claims
  3. Safety before automation
  4. Repository context over isolated files
  5. Human approval for governed decisions
  6. Backwards compatibility where documented
  7. Reproducible verification
  8. Explainable agent actions
  9. Least privilege
  10. Secure defaults

Install

Requires Node.js 20+.

npm install -g @praneeth_54/agentdoctor@2.1.0
# or:
npx @praneeth_54/agentdoctor@2.1.0 --help

From source:

git clone https://github.com/pranee54/AgentDoctor.git
cd AgentDoctor
npm install
npm run verify

Quickstart

agentdoctor --version          # 2.1.0
agentdoctor scan .
agentdoctor scan . --json
agentdoctor fix --dry-run
agentdoctor verify --baseline agentdoctor-report.json

# Repository Brain proposals (not auto-approved)
agentdoctor init --name "My App" --domain "payments"
agentdoctor brain proposals

# Intelligence
agentdoctor graph --mode auto --json
agentdoctor impact --json
agentdoctor c4 --json

# Change assurance
agentdoctor change analyze
agentdoctor change verify
agentdoctor change explain|diff|status
agentdoctor evidence inspect <id>
agentdoctor evidence verify <id>
agentdoctor proof build|inspect|verify|export <id>

# Architecture / policy / controlled run
agentdoctor architecture init|check|explain
agentdoctor policy check|explain --command "npm test"
agentdoctor run explain --command "npm test"
agentdoctor workspace create|add|list|status|remove

# MCP (absolute --root required)
agentdoctor brain-mcp --root /ABS/PATH/TO/REPO
agentdoctor mcp --root /ABS/PATH/TO/REPO

Project AI Agent (2.1 — optional; local RC)

Requires an explicit provider (AGENTDOCTOR_AI_PROVIDER=mock or openai-compatible / ollama). Default none fails closed for chat.

agentdoctor ask "How does login work?" .
agentdoctor chat .
agentdoctor learn .
agentdoctor learn --viva
agentdoctor plan "Add registration"
# Writes require --approve; model cannot self-approve
agentdoctor agent --goal "Add registration" --approve --apply --apply-ops '[...]' .

Details: docs/RELEASE_2_1_0.md · docs/AI_AGENT.md · docs/SECURITY_AGENT.md

CLI reference: docs/2.0/guides/cli.md · Change assurance: docs/2.0.1/change-assurance.md


Project AI Agent (2.1)

Optional Project AI on top of the 2.0.1 assurance substrate. See docs/RELEASE_2_1_0.md.

| Piece | Behavior | | --------- | ------------------------------------------------------------------------- | | Context | Project evidence with truth labels; repository text is untrusted DATA | | Tools | Path-saf

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars10
CategorySecurity
Updated4d ago
Forks3

Languages

TypeScript

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info