‹ 首页

cyberedge-discover-assets

@symph0nia · 收录于 5 天前 · 上游提交 6 天前

Create an authorized CyberEdge scope, run passive asset discovery, follow task events, and retrieve evidence-backed results through the CyberEdge Agent Protocol. Use when an AI agent must inventory domains or IP space that has an explicit authorization reference; never use for active probing or targets outside that scope.

适合你,如果需要自动化发现授权范围内的网络资产

/ 通过 npx 安装 校验哈希
npx oh-my-skill add symph0nia/cyberedge/cyberedge-discover-assets
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- symph0nia/cyberedge/cyberedge-discover-assets
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify symph0nia/cyberedge/cyberedge-discover-assets
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
606GitHub stars
~680最小装载
~793含声明引用
~831文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 0af016f · 表述以原文为准
它做什么

安装后,Claude 能根据你的授权引用,自动创建扫描范围,执行被动资产发现(如DNS和证书透明度),跟踪扫描进度,并返回带证据的资产清单。

什么时候触发

当你提供明确的授权引用和具体目标(如域名或IP段),并指示 Claude 盘点资产时触发。

装好后可以这样说
Claude会创建范围、启动被动扫描,最后返回资产列表。
Claude会检索自上次扫描以来的新增或消失资产。
仅执行DNS解析的被动扫描。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 0af016f

Discover CyberEdge Assets

Use cyberedge-agent as the machine bridge to the CyberEdge gRPC contract. Send exactly one JSON envelope on stdin and parse JSON Lines from stdout. Do not pass human-oriented flags, access the database, invoke scanners, or edit the read-only Web.

Preconditions
  • Obtain the human-provided authorization reference and exact targets.
  • Refuse ambiguous ownership or authorization.
  • Use a fresh request_id and idempotency_key for each mutation. Reuse the same key only when retrying the identical request.
  • Send the name and version declared in manifest.json in every invocation context.
Workflow
  1. Call CreateScope with normalized target kinds and the authorization reference.
  2. Call StartScan with capability scan.passive. Use policy_passive_inventory for broad passive inventory (DNS plus Certificate Transparency), or policy_passive_dns when only direct DNS resolution is requested.
  3. Call WatchTask from sequence 0; on reconnect, continue after the last accepted sequence.
  4. Stop when the task reaches completed, failed, or canceled.
  5. Call GetTaskReport after task.completed to retrieve the deterministic report bundle.
  6. Use SearchAudit when the requester needs invocation provenance.
  7. Report only facts linked to evidence. Separate errors and coverage gaps from confirmed absence.

For recurring monitoring, call CreateSchedule with the existing scope and passive policy. The minimum interval is 60 seconds. A Schedule never performs discovery itself: each due occurrence creates a normal Task, so follow and report its last_task_id through the same task workflow. Use SearchSchedules to inspect recurrence state and SearchAssetChanges to read evidence-derived appeared or disappeared changes. The first successful run establishes the baseline and produces no changes.

Use snake-case action names. Every envelope includes request_id, idempotency_key, agent_id, skill_name, and skill_version. Example:

{"request_id":"req_...","idempotency_key":"idem_...","agent_id":"agent_...","skill_name":"cyberedge-discover-assets","skill_version":"0.1.0","action":"start_scan","scope_id":"scope_...","policy_id":"policy_passive_inventory"}

Set CYBEREDGE_RPC_SOCKET only when the service does not use /tmp/cyberedge.sock.

Failure handling
  • On CAPABILITY_DENIED, stop and report the missing capability; do not try another identity or Skill.
  • On IDEMPOTENCY_KEY_REUSED, generate a new key only if the intended input changed.
  • On scope validation failure, narrow or correct the target; never bypass validation.
  • Retry only when the typed error sets retryable=true.
  • Cancel a running task only when the requester explicitly asks or continued execution is unsafe.
Output

Return the scope ID, task ID, terminal state, discovered asset counts by kind, evidence references, coverage limitations, and relevant audit request IDs. Never claim that an unobserved asset does not exist.

按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。