cyberedge-discover-assets
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 oh-my-skill add symph0nia/cyberedge/cyberedge-discover-assetscurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- symph0nia/cyberedge/cyberedge-discover-assetsnpx oh-my-skill verify symph0nia/cyberedge/cyberedge-discover-assets怎么用
商店整理自技能原文 · 版本 0af016f · 表述以原文为准安装后,Claude 能根据你的授权引用,自动创建扫描范围,执行被动资产发现(如DNS和证书透明度),跟踪扫描进度,并返回带证据的资产清单。
当你提供明确的授权引用和具体目标(如域名或IP段),并指示 Claude 盘点资产时触发。
技能原文 SKILL.md
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_idandidempotency_keyfor each mutation. Reuse the same key only when retrying the identical request. - Send the name and version declared in
manifest.jsonin every invocation context.
Workflow
- Call
CreateScopewith normalized target kinds and the authorization reference. - Call
StartScanwith capabilityscan.passive. Usepolicy_passive_inventoryfor broad passive inventory (DNS plus Certificate Transparency), orpolicy_passive_dnswhen only direct DNS resolution is requested. - Call
WatchTaskfrom sequence0; on reconnect, continue after the last accepted sequence. - Stop when the task reaches
completed,failed, orcanceled. - Call
GetTaskReportaftertask.completedto retrieve the deterministic report bundle. - Use
SearchAuditwhen the requester needs invocation provenance. - 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.