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

ecosystem-integrity-scanner生态系统完整性扫描仪

Agent Skill

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

总安装

563

周安装

23

GitHub Stars

25

下载量

182
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ecosystem-integrity-scanner(生态系统完整性扫描仪)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/ecosystem-integrity-scanner
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill ecosystem-integrity-scanner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill ecosystem-integrity-scanner

简介

Agent Studio 框架完整性自动化扫描工具,预防运行时错误。

  • 检测 phantom skills、require 路径错误与编码格式问题。
  • 拦截归档引用残留与配置膨胀等隐蔽故障源。
  • 主张结构问题是预生产缺陷,需在部署前修复。
  • ecosystem-integrity-scanner 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Ecosystem Integrity Scanner

Overview

Automated structural integrity scanner for the entire Agent Studio framework. Catches issues that silently break agent workflows: wrong require() paths that crash at runtime, phantom skills referenced in agent frontmatter that don't exist on disk, stale agent registry counts, archived references still active in production code, UTF-16 encoding that breaks parsers, and bloated agent configs.

Core principle: Framework structural issues are pre-production bugs. A phantom skill reference means an agent will fail silently. A broken require() means a hook crashes at the wrong moment. The scanner enforces zero-tolerance for these.

When to Invoke

Skill({ skill: 'ecosystem-integrity-scanner' });

Invoke proactively after:

  • Bulk framework changes (batch skill/agent/hook creation or archiving)
  • Refactoring module paths or directory structure
  • Running a major audit or cleanup pass
  • Suspecting phantom references or broken require() chains
  • Before finalizing any CI sanity gate

Mandatory Skills

Invoke before starting this skill:

SkillPurposeWhen
task-management-protocolTrack scan progressAlways
ripgrepFast targeted code searchWhen investigating
code-semantic-searchConcept discoveryWhen pattern hunting
context-compressorCompress large audit resultsWhen output is large
verification-before-completionGate completion on zero errorsBefore marking done
memory-searchCheck prior audit patternsAt start

Iron Laws

  1. Always run from project root. validate-ecosystem-integrity.cjs resolves all paths relative to process.cwd(). Running from a subdirectory corrupts all path resolution. Never invoke from a non-root directory.
  2. Never ignore PHANTOM_REQUIRE errors. A [PHANTOM_REQUIRE] error means a hook or script will throw MODULE_NOT_FOUND at runtime. These always represent real breakage — no false positives once the scanner is properly calibrated.
  3. Never mark scan complete while errors > 0. Warnings are advisory; errors are blocking. Report path and severity but do not call the pipeline done until errors reach zero or are explicitly accepted as known exceptions with owner annotation.
  4. Always route HIGH errors to specialist agents. Phantom skills → qa agent. Broken require() → developer agent. Archive refs in production → developer. Never attempt to remediate complex structural failures inline without delegation.
  5. Always save the audit report before completing. Write the categorized findings to .claude/context/reports/qa/ecosystem-integrity-report-{ISO-date}.md before calling TaskUpdate(completed). Evidence must persist across context resets.

Anti-Patterns

Anti-PatternRiskCorrect Approach
Treating [STALE_CATALOG] as informational noiseRegistry drifts from reality; agents get wrong countsAlways update agent-registry.json when agent files change
Skipping scan after bulk framework batch opsBatch ops most commonly create phantom refsRun scan as the FINAL step of every batch operation
Manually patching require() paths without re-scanningOne fix may mask three new breaksAlways re-run full scan after patching paths
Running scanner against _archive/ subtreesArchive content has intentionally broken refs; false positivesScanner skip rules handle this; trust the skip list
Adding to DYNAMIC_SCRIPT_GENERATORS without reviewAccidentally suppressing real phantom detectionsOnly add files that provably generate child scripts

Step 1: Run the Integrity Audit Engine

node scripts/validation/validate-ecosystem-integrity.cjs

The script performs six targeted checks:

  1. [PHANTOM_REQUIRE] — Broken require() / import paths that resolve to non-existent files (after trying .js, .cjs, .mjs, .json extensions).
  2. [PHANTOM_SKILL] — Skills listed in agent frontmatter skills: arrays that have no corresponding .claude/skills/{name}/ directory.
  3. [EMPTY_DIR] — Empty directories in .claude/tools/ or .claude/skills/ that indicate abandoned scaffolding creating registry footprinting issues.
  4. [ENCODING] — Files with UTF-16 BOM (0xFEFF/0xFFFE) that break JSON/MD parsers silently.
  5. [ARCHIVED_REF] — Production .claude/ code that still references _archive/ or .claude/archive/ paths — active code pointing at dead modules.
  6. [STALE_CATALOG]agent-registry.json entry count differs from actual agent .md file count on disk (drift between manifest and reality).

Step 2: Categorize and Report

Parse outputs into a structured report at .claude/context/reports/qa/ecosystem-integrity-report-{ISO-date}.md:

# Ecosystem Integrity Report

<!-- Agent: qa | Task: #{id} | Session: {date} -->

**Date:** YYYY-MM-DD
**Overall Status:** PASS / FAIL
**Errors:** N | **Warnings:** N

## HIGH — Runtime Blocking (must fix before deployment)

- `[PHANTOM_REQUIRE]` — Module resolution failures that crash hooks/scripts
- `[PHANTOM_SKILL]` — Missing skills that break agent workflows silently

## MEDIUM — Structural Integrity (fix in current sprint)

- `[ARCHIVED_REF]` — Active code pointing at archived/dead modules
- `[STALE_CATALOG]` — Registry count mismatch with actual agent files

## LOW — Housekeeping (fix in next maintenance window)

- `[EMPTY_DIR]` — Ghost directories creating registry noise
- `[ENCODING]` — UTF-16 files that may break parsers

Step 3: Trigger Remediations

Delegate fixes to the correct specialist:

Error TypeSpawn AgentTask Description
[PHANTOM_REQUIRE]developerFix broken require() path in {file}
[PHANTOM_SKILL]qaRemove or create missing skill {name}
[ARCHIVED_REF]developerReplace archive reference in {file}
[STALE_CATALOG]developerRegenerate agent-registry.json
[EMPTY_DIR]developerRemove empty directory {path}
[ENCODING]developerRe-encode {file} as UTF-8

After fixes, re-run the scanner and verify errors reach zero before completion.

Memory Protocol (MANDATORY)

Before starting:

cat .claude/context/memory/learnings.md
cat .claude/context/memory/issues.md

Review prior audit patterns and known suppressed false positives.

After completing:

  • Audit pattern → .claude/context/memory/learnings.md
  • New false-positive suppression rule → .claude/context/memory/decisions.md
  • Unresolved error requiring owner → .claude/context/memory/issues.md
Assume interruption: If the audit report isn't saved to disk, it didn't happen.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.97%
按下载量换算62

Claude

29.56%
按下载量换算54

Cursor

19.74%
按下载量换算36

Gemini CLI

8.61%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills