ripe-bgp-state
스타14
포크3
업데이트2026년 2월 28일 01:52
Fetches global BGP state data from RIPE NCC for a specific resource.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SKILL.md
readonly메뉴
Fetches global BGP state data from RIPE NCC for a specific resource.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Fetches DNS chain data from RIPE NCC for a specific domain. This skill must be used whenever the user asks for a 'chain', 'full path', or 'multi-step' DNS resolution
Returns the number of BGP updates seen for a resource.
SOC 직업 분류 기준
| name | ripe-bgp-state |
| description | Fetches global BGP state data from RIPE NCC for a specific resource. |
| metadata | {"category":"network"} |
This skill queries the RIPE Stat API to retrieve global BGP state information for a specific IP prefix or ASN.
Set the resource variable in the variables argument to the IP prefix or ASN you wish to query (e.g., 1.1.1.0/24).
import requests
import json
import sys
resource = locals().get("resource") or (sys.argv[1] if len(sys.argv) > 1 else None)
if resource:
response = requests.get("https://stat.ripe.net/data/bgp-state/data.json", params={"resource": resource})
print(json.dumps(response.json(), indent=2))
else:
print("Error: The 'resource' variable is required. Please provide it in the 'variables' argument.")
resource: The IP prefix or ASN to query (e.g., 1.1.1.0/24 or AS3333).A JSON object containing:
status: Request status.data: Contains bgp_state list with route details (path, source_id, target_prefix, etc.).