Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

scanscan 效率

Agent Skill

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

总安装

1,137

周安装

46

GitHub Stars

8

下载量

357
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/continuedev/skills --skill scan

简介

scan 并行审计代码库是否符合另一技能的规则集,输出合规性报告。

  • 支持自定义规则加载与编号化检查项,便于扩展覆盖维度。
  • 适用于多技能协同工作时交叉验证一致性,提升整体质量。
  • 扫描范围建议限定在受控子集,防止超时或资源耗尽。
  • scan 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Codebase Scan

Audit the codebase against another skill's criteria using a parallel agent team.

Workflow

1. Parse args & load skill

Extract the skill name from the args passed to this skill.

  • If no skill name provided, list available skills in .claude/skills/ and ask the user which to scan against.
  • If skill doesn't exist, list available skills and tell the user.
  • Read .claude/skills/<name>/SKILL.md plus any files in references/ and rules/ subdirectories.
  • Distill the skill's content into a numbered criteria checklist: a flat list of concrete, testable rules labeled C1, C2, C3, etc. Each criterion should be a single sentence describing what to check for.
  • If the skill has no evaluable code criteria (e.g., workflow-only skills like why that don't define code patterns or rules), tell the user it's not scannable and stop.

2. Discover relevant files

Use the skill's criteria to infer file scope:

  • React/frontend criteria → app/**/*.tsx, app/**/*.ts
  • Backend criteria → services/**/*.ts
  • General/mixed → both of the above
  • CSS/styling → app/**/*.css, app/**/*.tsx

Always exclude: node_modules/, dist/, *.test.*, *.spec.*, **/migrations/**, **/*.d.ts, generated files.

Count candidate files. If zero, tell the user and stop.

3. Plan team composition

Split files into chunks by directory subtree so no file is assigned to two agents:

Candidate filesTeammates
< 1002 (or skip team for < 20)
100–5003
500+4–5, split by top-level directory

For very small scans (< 20 files), skip the team — scan inline and jump to step 6.

4. Spawn scan team

  1. spawnTeam with name scan-<skill-name>
  2. Create one TaskCreate per chunk with:

- Subject: Scan <directory-area> against <skill-name> criteria - Description: Include the full criteria checklist, the file scope (glob patterns), and the teammate instructions from references/teammate-instructions.md

  1. Spawn teammates as general-purpose subagent_type (they need Read, Glob, Grep + team communication)
  2. Name teammates scanner-1, scanner-2, etc.
  3. Assign tasks via TaskUpdate with owner

5. Collect & synthesize

Wait for all teammates to complete their tasks. Each teammate reports findings in structured format:

FINDING: C<n> | SEVERITY | file/path.ts:LINE | Description

Collect all findings from teammate messages.

6. Generate report

Create .claude-scan/<skill-name>.md using the format in references/report-format.md.

Key sections:

  • Executive Summary (2-3 sentences)
  • Criteria Evaluated (table with violation counts)
  • Findings by Severity (Critical → Warning → Info tables)
  • Patterns Observed
  • Statistics
  • Recommended Fix Order (batched by non-overlapping file groups)

7. Cleanup & present

  • If a team was spawned: send shutdown_request to all teammates, then cleanup
  • Display inline summary: total findings by severity, top violated criteria, scan scope
  • Tell the user the full report is at .claude-scan/<skill-name>.md
  • Ask: "Want me to spawn a fix team to address these findings?"

8. Fix team (if user says yes)

  1. Read the report's "Recommended Fix Order" section
  2. Group fixes into non-overlapping file batches
  3. spawnTeam with name fix-<skill-name>
  4. Create tasks per batch — each task description includes:

- The specific violations to fix (from the report) - The relevant criteria definitions - Instructions from references/fix-team-instructions.md

  1. Spawn general-purpose teammates named fixer-1, fixer-2, etc. (need Edit/Write)
  2. Assign tasks and wait for completion
  3. Shutdown and cleanup fix team
  4. Ask user if they want to re-scan to verify fixes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.37%
按下载量换算130

Claude

28.69%
按下载量换算102

Cursor

19.04%
按下载量换算68

Gemini CLI

9.37%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills