Token导航 LogoToken导航

Agent Skill · 研究检索

codeprobe(codeprobe 搜索)

codeprobe 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

codeprobe 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 46,825。

总安装 760周安装 32GitHub Stars 4下载 266核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:codeprobe(codeprobe 搜索)
来源仓库:https://github.com/nishilbhave/codeprobe
仓库路径:skills/codeprobe
安装命令:
npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位结果。通过 npx 命令安装,具体用法需结合原始 README 进一步确认。使用前应确认权限范围、维护状态及是否触发联网或命令执行。

codeprobe 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/codeprobe

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

codeprobe 怎么安装?

在终端执行 npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

codeprobe 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

codeprobe 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

codeprobe 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

codeprobe 用的人多吗?

公开数据是累计安装 760 次,近一周安装 32 次,下载 266 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

codeprobe 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
codeprobe

codeprobe 搜索 · 本页

7604执行命令未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Code Review Orchestrator

READ-ONLY CONSTRAINT

THIS SKILL IS STRICTLY READ-ONLY WITH RESPECT TO THE CODEBASE BEING REVIEWED. NEVER modify, write, edit, or delete any file in the user's source tree. NEVER run commands with side effects on the reviewed project (no npm install, no pip install, no git commits, no database mutations). If a fix is needed, generate a copy-pasteable fix prompt that the user can run separately.

One documented exception — report artifact: after /codeprobe audit finishes, the orchestrator writes a single markdown report to ./codeprobe-reports/<project>-<cmd>-<timestamp>.md in the current working directory (e.g. ./codeprobe-reports/growth-engine-audit-2026-04-23-221047.md). This is the skill's own output, not modification of reviewed code. No other writes are permitted anywhere.

Violations of this constraint are NEVER acceptable, regardless of user request.


1. Command Routing

Parse the user's input to extract a subcommand and target path. The input format is:

/codeprobe [subcommand] [path]

Routing Table

CommandBehaviorSub-skills Invoked
/codeprobe audit <path>Full audit — visual health dashboard (category scores, codebase stats, hot spots) followed by detailed P0-P3 findings with fix promptsAll available sub-skills + file_stats.py
/codeprobe solid <path>SOLID principles analysis onlycodeprobe-solid
/codeprobe security <path>Security audit onlycodeprobe-security
/codeprobe smells <path>Code smells detection onlycodeprobe-code-smells
/codeprobe architecture <path>Architecture analysis onlycodeprobe-architecture
/codeprobe patterns <path>Design patterns analysis onlycodeprobe-patterns
/codeprobe performance <path>Performance audit onlycodeprobe-performance
/codeprobe errors <path>Error handling audit onlycodeprobe-error-handling
/codeprobe tests <path>Test quality audit onlycodeprobe-testing
/codeprobe framework <path>Framework best practices onlycodeprobe-framework
/codeprobe quick <path>Top 5 issues — run all sub-skills in scan mode, then generate full detail for top 5All available
/codeprobe diff [branch]PR-style review on changed files vs branch (default: main)All relevant (Phase 3)
/codeprobe reportGenerate report from last audit(Phase 3 — TBD)

Default Behaviors

  • No subcommand given: Ask the user what they want. Present the available commands.
  • No path given: Use the current working directory.
  • Phase 3 stubs: If the user invokes diff or report, respond: "This feature is coming in Phase 3. Available now: audit, solid, security, smells, architecture, patterns, performance, errors, tests, framework, quick."

2. Stack Auto-Detection

Before routing to any sub-skill, detect the technology stack at the target path. This informs which reference guides to load and pass to sub-skills.

Detection Procedure

  1. Use Glob to scan file extensions at the target path (recursive, reasonable depth).
  2. Apply the following detection rules — multiple stacks can match simultaneously:
SignalStack DetectedReference to Load
.php filesPHP / Laravelreferences/php-laravel.md
.js, .ts, .jsx, .tsx filesJavaScript / TypeScriptreferences/javascript-typescript.md
.py filesPythonreferences/python.md
.jsx, .tsx files + next.config.* presentReact / Next.jsreferences/react-nextjs.md
.sql files or migrations/ directorySQL / Databasereferences/sql-database.md
routes/ directory or API route patternsAPI Designreferences/api-design.md
  1. For each detected stack, attempt to load the corresponding reference file using Read. If the file does not exist yet (Phase 2+), skip silently.
  2. Collect all loaded references into a context bundle to pass to sub-skills.

Reference Loading

References are loaded from the references/ directory within this skill's own directory. Resolve the path relative to this SKILL.md file's location, NOT the user's project. Use Read with:

references/{reference-file}.md

(This resolves to the references/ folder next to this SKILL.md file.)

If a reference file does not exist, continue without it. Never fail the review because a reference is missing.


3. Config Loading

Check for a .codeprobe-config.json file in the project root (the target path or its ancestor directories).

Config Schema

{
  "severity_overrides": {
    "long_method_loc": 50,
    "large_class_loc": 500,
    "deep_nesting_max": 4,
    "max_constructor_deps": 6
  },
  "skip_categories": ["codeprobe-testing"],
  "skip_rules": ["SPEC-GEN-001"],
  "framework": "laravel",
  "extra_references": [],
  "report_format": "markdown"
}

Config Behavior

  • If absent: All defaults apply. No error.
  • severity_overrides: Pass to sub-skills so they adjust thresholds accordingly.
  • skip_categories: Do not invoke the listed sub-skills, even in audit or quick mode.
  • skip_rules: Pass to sub-skills so they suppress findings with matching IDs.
  • framework: If set, skip auto-detection for that framework and force-load the corresponding reference. Other auto-detection still proceeds.
  • extra_references: Additional reference file paths to load and pass to sub-skills.
  • report_format: Output format preference (default: markdown).

4. Sub-Skill Execution

Pre-Loading Phase (runs once before any sub-skill)

Before invoking any sub-skill, the orchestrator MUST pre-load all shared context:

  1. Read the shared preamble from shared-preamble.md (in this skill's directory). This contains the output contract, execution modes, and constraints shared by all sub-skills.
  2. Read all source files at the target path:

- Use Glob to find all source files (.ts, .tsx, .js, .jsx, .py, .php, .vue, .sql, .css, .scss and config files like next.config.*, package.json, composer.json, requirements.txt, .env.example). - Read each file using Read. - Size cap: If the codebase has more than 50 source files or total LOC exceeds 10,000 lines, do NOT pre-load all files. Instead, pass only the file listing (paths + line counts) and let sub-agents read files they need. Note this in the agent prompt: "Large codebase — file listing provided, use Read for files you need to inspect." - Store all file contents as a map: {filepath: content}.

  1. Read all applicable reference files (already loaded during stack detection in Section 2). Store the content.

Invocation Protocol

For each sub-skill to run, spawn an Agent with a prompt that includes:

  1. The shared preamble (from shared-preamble.md) — output contract, modes, constraints.
  2. The sub-skill name to invoke (e.g., codeprobe-security).
  3. The mode — one of full or scan.
  4. Pre-loaded source files — the full content of every source file, formatted as: === FILE: {filepath} === {content} === END FILE ===
  5. Pre-loaded references — the content of all applicable reference files.
  6. Config overrides — severity overrides and skip rules from .codeprobe-config.json.
  7. Target path — so the sub-skill knows the project root for any targeted lookups.
  8. Sub-skill-specific pre-loaded script output (when applicable):

- For codeprobe-architecture: before spawning the agent, run python3 scripts/dependency_mapper.py <target_path> via Bash and capture the JSON output. Pass it as an additional context block labeled === DEPENDENCY_GRAPH ===... === END DEPENDENCY_GRAPH ===. The sub-skill uses this as the ground truth for cycle detection. If Python 3 is unavailable or the script fails, omit the block — the sub-skill falls back to LLM-based import tracing. - For codeprobe-performance: if scripts/complexity_scorer.py output is available (optional), pass it as === COMPLEXITY_SCORES ===... === END COMPLEXITY_SCORES ===.

The sub-skill's own SKILL.md contains only its domain-specific detection logic. All shared context (output format, modes, source code, references, pre-computed script data) comes from the orchestrator's prompt.

Collect findings returned by each sub-skill in the standard output contract format (Section 5).

Execution Modes

ModeUsed ByBehavior
full/codeprobe audit, /codeprobe solid, etc.Run complete analysis, return all findings
scan/codeprobe quickCount violations, identify top issues, return only counts + top 5 candidates

Execution Order

  • /codeprobe audit: Run sub-skills sequentially in this order: codeprobe-security, codeprobe-error-handling, codeprobe-solid, codeprobe-architecture, codeprobe-patterns, codeprobe-performance, codeprobe-code-smells, codeprobe-testing, codeprobe-framework — all in full mode. Before invoking codeprobe-architecture, pre-compute the dependency graph via scripts/dependency_mapper.py and pass the JSON to the sub-skill as described in the Invocation Protocol (step 8). Collect all findings. Apply deduplication (Section 7A). Derive category scores from severity counts. Compute hot spots by aggregating findings per file and ranking by distinct-categories-flagged. Also run scripts/file_stats.py for codebase stats (skip gracefully if Python 3 unavailable).
  • /codeprobe quick: Run all 9 sub-skills in scan mode. Collect candidate issues from all. Rank by severity (critical > major > minor > suggestion), then select top 5. Re-run relevant sub-skills in full mode for just those 5 findings to get complete detail.

Available Sub-Skills

  1. codeprobe-security — Security vulnerability detection
  2. codeprobe-error-handling — Error handling & resilience
  3. codeprobe-solid — SOLID principles analysis
  4. codeprobe-architecture — Architecture analysis
  5. codeprobe-patterns — Design patterns advisor
  6. codeprobe-performance — Performance & scalability
  7. codeprobe-code-smells — Code smell detection
  8. codeprobe-testing — Test quality & coverage
  9. codeprobe-framework — Framework-specific best practices

5. Output Contract

Every finding from every sub-skill MUST include these fields:

FieldRequiredDescription
idYesUnique identifier in format {PREFIX}-{NNN} (e.g., SRP-001, SEC-003)
severityYesOne of: critical, major, minor, suggestion
locationYesFile path + line range (e.g., src/UserService.php:45-67)
problemYesOne sentence describing the issue
evidenceYesConcrete proof from the code — quote the relevant lines
suggestionYesWhat to do to fix it
fix_promptYesA copy-pasteable prompt the user can give to Claude Code to apply the fix
refactored_sketchNoOptional code snippet showing the improved version

Finding Format Example

### SRP-001 | Major | `src/UserService.php:45-67`

**Problem:** UserService violates Single Responsibility — handles authentication, email sending, and database queries in one class.

**Evidence:**
> Lines 45-50: `public function authenticate($credentials) { ... }`
> Lines 52-60: `public function sendWelcomeEmail($user) { ... }`
> Lines 62-67: `public function findByUsername($name) { ... }`

**Suggestion:** Extract email logic into a dedicated `UserMailer` service and database queries into a `UserRepository`.

**Fix prompt:**
> Refactor `src/UserService.php` to follow Single Responsibility Principle: extract `sendWelcomeEmail()` into a new `UserMailer` class and `findByUsername()` into a `UserRepository` class. Keep `authenticate()` in `UserService` and inject the new dependencies.

6. Severity Levels

LevelPriorityMeaningExamples
CriticalP0Confirmed bugs, exploitable security vulnerabilities, or data loss/corruption risks that would cause harm in productionSQL injection with user input, missing auth on data-mutating endpoint, race condition causing data corruption, unhandled crash on a core path, missing DB transaction on multi-step writes
MajorP1Significant maintainability, reliability, or scalability problem that increases risk but is not an immediate production defectMissing tests for critical business logic, large classes, code duplication, missing error handling on external calls, N+1 queries, missing input validation
MinorP2Code smell, low risk, worth addressing for long-term healthMagic numbers, deep nesting, poor naming, missing edge case tests, verbose error details
SuggestionP3Improvement idea, nice to have, no real risk if ignoredPattern opportunities, style improvements, speculative generality

Severity Guardrails

The following are NEVER Critical — classify as Major at most:

  • Missing tests (even for critical business logic)
  • Code duplication or large classes/files
  • Code smells of any kind
  • Framework convention violations
  • Missing documentation, comments, or type annotations

Critical is reserved exclusively for:

  • Confirmed bugs (code that produces wrong results or crashes)
  • Exploitable security vulnerabilities (injection, auth bypass, IDOR with proof)
  • Data loss or corruption risks (missing transactions, race conditions on writes)
  • Sensitive data exposure (secrets in code, credentials in logs)

Sub-skills: do NOT escalate findings beyond the severity specified in your detection table. If your table says "Major," report it as Major even if the specific instance seems severe. The orchestrator's scoring formula accounts for finding counts at each level.


7. Scoring

After collecting all findings, compute scores per category and an overall score.

Category Score Formula

Each penalty component is capped to prevent a single severity level from dominating the score:

crit_penalty  = min(50, critical_count * 15)
major_penalty = min(30, major_count * 6)
minor_penalty = min(10, minor_count * 2)

category_score = max(0, 100 - crit_penalty - major_penalty - minor_penalty)

Suggestions do not affect the score.

Rationale: Diminishing returns prevent a single severity from flooring the score. A category with 4 criticals scores 40 (not 0), reflecting problems exist but the code is not completely broken. The maximum total penalty from all three levels combined is 90, so a score of 0 requires extreme findings across all severities.

Category Weights

CategoryWeight
Security20%
SOLID15%
Architecture15%
Error Handling12%
Performance12%
Test Quality10%
Code Smells8%
Design Patterns4%
Framework4%

All 9 categories are active. Weights sum to 100%.

Overall Score

overall = sum(category_score_i * weight_i for each active category)

If skip_categories in .codeprobe-config.json excludes some categories, normalize by dividing by the sum of active weights:

overall = sum(category_score_i * weight_i for each active category) / sum(weight_i for each active category)

Clamp the result to the range [0, 100].

Score Interpretation

RangeStatus
80-100Healthy
60-79Needs Attention
0-59Critical

7A. Cross-Category Deduplication

Before computing scores, deduplicate findings that flag the same issue from multiple categories.

Deduplication Procedure

  1. Group findings by location. Normalize each finding's location to {file}:{start_line}. Two findings overlap if they share the same file AND their line ranges overlap (i.e., start_line_A <= end_line_B AND start_line_B <= end_line_A).
  2. For each group of overlapping findings from different categories: a. Select a primary finding. Use this priority order:

- Security findings (SEC) take priority for anything involving auth, injection, or data exposure - Error Handling findings (ERR) take priority for exception/validation issues - Performance findings (PERF) take priority for query/caching issues - SOLID findings (SRP/OCP/LSP/ISP/DIP) take priority for structural violations - Architecture findings (ARCH) take priority for layer/boundary violations - If still ambiguous, the category with the higher weight (Section 7) wins b. Mark duplicates. For each non-primary finding in the group, append to its problem field: [Duplicate of {primary_id} — counted there] and change its severity to suggestion so it does not affect the score of its own category. c. Cross-reference the primary. Append to the primary finding's suggestion field: Also flagged by: {list of duplicate category:id pairs}

  1. Recount severity totals per category after deduplication, then proceed to scoring.

Examples

  • "Refresh bypasses quota" found as SEC-007, ERR-011, FW-001 at same location: keep SEC-007, mark ERR-011 and FW-001 as duplicates (severity → suggestion).
  • "God component" found as SRP-001, SMELL-001, ARCH-005 at same file: keep SRP-001 (SOLID priority for structural), mark others as duplicates.
  • Same SRP violation found as SRP-001 and SMELL-001: keep SRP-001, mark SMELL-001 as duplicate.

8. Report Rendering

Render the final output based on the command used.

/codeprobe audit — Full Audit Report

Use the template at templates/full-audit-report.md (loaded via Read) to assemble the markdown for the saved report file. The terminal output is a summary — the user MUST see a visual summary in the terminal, not only the "Report saved" line.

Terminal vs saved-file split (MANDATORY):

SurfaceWhat it showsHow it's produced
TerminalDashboard + executive summary + critical findings (full detail) + prioritized fix order (top 5) + "Report saved" lineStreamed markdown sections in the assistant response
Saved file (./codeprobe-reports/<project>-<cmd>-<ts>.md)Everything: dashboard, exec summary, all critical/major findings, minor/suggestion counts, full prioritized fix orderPlain markdown written via Write tool

The terminal must never be empty or reduced to just a save confirmation. If Claude only emitted the save line in a past run, that was a bug in how these instructions were followed — fix it by executing the flow below in order.

Step-by-step flow

A. Compute data (shared by both surfaces)

  1. Run sub-skills per Section 4, collect findings, deduplicate per Section 7A.
  2. Derive category scores, overall score, hot spots, codebase stats.
  3. Assemble an in-memory "report bundle": {dashboard_data, exec_summary, critical[], major[], minor_counts[], suggestion_counts[], fix_order[]}.

B. Render to terminal (user-facing — emit these directly as markdown in the assistant response, in order)

Do NOT pipe the dashboard through the Bash tool. The Bash tool collapses its output by default in Claude Code's UI (+N lines (ctrl+r to expand)), which hides the dashboard behind a fold. Emit the dashboard as ordinary assistant-response markdown so the user sees it immediately. Modern terminals (Ghostty, iTerm2, etc.) will apply their own markdown styling — bold, inline-code highlighting, emphasis — which is the only coloring available on this path. If no coloring shows, plain text is fine; do not try to force ANSI escapes into the response.

(scripts/render_dashboard.py exists for users running the audit directly from their own shell outside Claude Code, where its stdout is a real TTY. Do NOT invoke it from within the /codeprobe audit flow.)

  1. Dashboard (markdown) — emit the dashboard block inline. Include: title line (## Code Health Report — {project}), **Overall Health:** {score}/100 [{status_label}], the 9-row Category Scores markdown table with columns Category | Score | Bar | Status (bar wrapped in backticks, 20-char Unicode █/░ proportional to score), codebase stats block (files, LOC, backend/frontend split, largest file, test ratio, comment ratio), and a hot-spots list (up to 3 entries). Status labels plain text in the Status column, no emoji, no brackets inside the table.
  2. Executive Summary — 2-3 sentences covering the most important findings.
  3. Critical findings — full detail — for each critical finding: ID, location, problem, evidence, suggestion, fix prompt. This is the highest-signal section; always show in the terminal.
  4. Prioritized Fix Order (top 5) — the first 5 entries from the full prioritized fix order. Reference the saved file for the complete list.
  5. Save confirmation line — --> Report saved to./codeprobe-reports/{project}-{cmd}-{YYYY-MM-DD-HHMMSS}.md (no emoji; ASCII arrow). This is the LAST line in the terminal output.

Do NOT also stream the major-findings table, minor/suggestion counts, or the full fix order to the terminal — those would duplicate content that the saved file already carries and bloat the terminal output. The user can open the saved file for the complete picture.

C. Write saved-file markdown

  1. Build the full markdown using templates/full-audit-report.md placeholders — this includes sections that are NOT streamed to the terminal (major findings table, minor/suggestion counts, full prioritized fix order).
  2. Derive the filename as {project}-{cmd}-{YYYY-MM-DD-HHMMSS}.md:

- {project} — resolve the target path to an absolute path (use the current working directory if the user passed no path); take its basename; if that basename points to a file, strip the extension; slugify it (lowercase; replace any run of [^a-z0-9]+ with a single -; trim leading/trailing -); fall back to unknown if the slug ends up empty. - {cmd} — the subcommand routed in Section 1 (audit, quick, security, solid, architecture, performance, errors, tests, smells, patterns, framework), lowercased. - {YYYY-MM-DD-HHMMSS} — current local time.

  1. Ensure ./codeprobe-reports/ exists (mkdir -p./codeprobe-reports via Bash if missing).
  2. Write to ./codeprobe-reports/{project}-{cmd}-{YYYY-MM-DD-HHMMSS}.md using the Write tool.
  3. If the write fails (read-only filesystem, permission denied, etc.), surface a short inline note in the terminal but do not re-emit the summary.

D. Terminal-output contract (hard requirements)

  • The terminal MUST include (in this order): dashboard → exec summary → critical findings → top 5 fix order → "Report saved" line.
  • If there are zero critical findings, show the dashboard, exec summary, a one-line "No critical issues found" note, top 5 fix order (will be major-only), and save confirmation — still non-empty.
  • If the report save fails, still emit the full terminal summary — do not block the summary on the file write.
  • If the template file is missing, render inline following the same section ordering; the save step (C) still applies.

Status thresholds (applied to overall health and each category score):

  • 80-100 = "Healthy"
  • 60-79 = "Needs Attention"
  • 0-59 = "Critical"

Token budget guidance: For a codebase with ~100 findings, the tiered findings layout (major as table, minor/suggestion as counts only — all in the saved file) targets ~8,000-12,000 tokens on disk (vs ~40,000 with full detail for all findings). The terminal summary is much tighter because only the dashboard, exec summary, critical findings, and top 5 fix order are streamed there. The user can drill into specific categories with /codeprobe security. etc. for full detail on any one category.

/codeprobe quick — Quick Review Summary

Use the template at templates/quick-review-summary.md (loaded via Read). If the template does not exist yet, render inline:

  1. Header: Project name, "Quick Review — Top 5 Issues".
  2. Top 5 Findings: Full detail for the 5 most impactful issues, each with fix prompt.
  3. Summary Counts: Total issues found by severity across all categories.
  4. Next Step: Suggest running /codeprobe audit for the complete picture.

9. Claude.ai Degraded Mode

Detect whether filesystem access is available. If the user has pasted or uploaded code rather than providing a file path, or if Read/Glob/Grep tools are unavailable:

  1. Switch to degraded mode: Analyze only the in-context code provided.
  2. Execute sub-skills sequentially on the pasted code (no parallel agents).
  3. Skip file_stats.py, dependency_mapper.py, and all script-dependent steps (sub-skills fall back to LLM-only analysis — architecture loses deterministic cycle detection).
  4. Skip /codeprobe diff, /codeprobe report, the Codebase Stats row of the audit dashboard, and the report-save step (no filesystem write). Still render scores, hot spots, and findings to the terminal.
  5. Inform the user: "Running in Claude.ai mode — some features like codebase statistics, diff review, and multi-file analysis are unavailable. Analyzing the provided code directly."
  6. Still produce findings in the standard output contract format.
  7. Still compute scores based on findings from available sub-skills.

10. Phase 3 Stubs

When the user invokes a command that routes to an unbuilt feature, respond with:

Not yet available. This feature is coming in Phase 3. Currently available commands: - /codeprobe audit <path> — Full code audit - /codeprobe solid <path> — SOLID principles check - /codeprobe security <path> — Security audit - /codeprobe smells <path> — Code smells detection - /codeprobe architecture <path> — Architecture analysis - /codeprobe patterns <path> — Design patterns analysis - /codeprobe performance <path> — Performance audit - /codeprobe errors <path> — Error handling audit - /codeprobe tests <path> — Test quality audit - /codeprobe framework <path> — Framework best practices - /codeprobe quick <path> — Top 5 issues

This applies to: diff, report.


11. Execution Flow Summary

When /codeprobe is invoked, execute this sequence:

  1. Parse command: Extract subcommand and target path from user input.
  2. Validate command: Check routing table. If Phase 3 stub, respond with stub message.
  3. Resolve target path: Use provided path or default to current working directory.
  4. Load config: Check for .codeprobe-config.json at project root. Apply defaults if absent.
  5. Auto-detect stack: Scan target path for technology signals. Load matching references.
  6. Apply config overrides: If framework is set in config, adjust detection. Apply skip_categories and skip_rules.
  7. Execute sub-skills: Route to appropriate sub-skills based on command and mode.
  8. Collect findings: Aggregate all findings in the output contract format.
  9. Deduplicate findings: Apply the cross-category deduplication procedure (Section 7A). Adjust severity of duplicates to suggestion. Recount severity totals per category.
  10. Compute scores: Calculate per-category and overall scores using the post-deduplication severity counts and the formulas in Section 7.
  11. Render report: Format output using the appropriate template or inline format. Use the tiered output format for /codeprobe audit.
  12. Present to user: Display the final report.

Remember: This entire process is READ-ONLY. At no point do we modify any user files.

平台分布

Codex

36.83%
按下载量换算98

Claude

28.89%
按下载量换算77

Cursor

18.81%
按下载量换算50

Gemini CLI

8.79%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills