Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

event-impact-analyzer事件影响分析器

Agent Skill

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

总安装

186

周安装

12

GitHub Stars

公开资料未说明

下载量

97
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/donghae0414/my-agent-skills --skill event-impact-analyzer

简介

event-impact-analyzer 研究历史类似事件对 Nasdaq 和 KOSPI 的影响,适合在 Codex、Claude、Cursor、Gemini CLI 中为投资决策提供市场反应参考时使用。

  • 它基于真实指数数据计算波动幅度与相关性,生成简明报告。
  • 使用时应在输入关键词或自然语言描述后等待分析结果,无需额外文件操作。
  • 安装前应验证 credentials 有效性,否则无法获取所需金融数据。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Event Impact Analyzer

Research historical analog events for a user-provided event, then measure how Nasdaq and KOSPI moved around each event date using KIS daily index data.

What this skill does

Use this skill when the user wants an investor-oriented report about how an event affected markets, especially Nasdaq and KOSPI.

Accepted user inputs:

  • Keyword or short phrase
  • Natural-language request
  • URL

Expected output:

  • A Markdown investor report returned directly in the chat
  • No file creation unless the user explicitly asks for one

Workflow

  1. Identify the target event.
  2. Check credentials before doing any substantive work.

- Check KIS_APP_KEY, KIS_SECRET_KEY first. - Check ~/.config/event-impact-analyzer/credentials.yaml next. - If both sources are missing or incomplete, stop immediately. - Tell the user exactly what you checked and that market-data analysis cannot continue yet. - Ask the user to provide the missing values or store them in one of the supported locations. - Do not continue to URL interpretation, analog research, script execution, or report writing until credentials are available.

  1. If the input is a URL, use web search to understand what event it refers to and extract the core event keywords.
  2. Generate a broad but relevant set of historical analog events.

- Include geopolitical analogs, sector analogs, and macroeconomic analogs when they are relevant. - Do not cap the count artificially; stop when additional cases become weak or repetitive.

  1. For each event, use web search to determine the exact calendar event date.

- Keep the original calendar date. - Separately compute the corrected market trading date for each index.

  1. Start with the default window:

- 1 calendar month before the event date - 3 calendar months after the event date

  1. Expand the window when needed.

- Do this if the user explicitly asks for a longer horizon. - Do this if the trough, rebound, or recovery logic clearly needs more forward data. - Do this if the lead-up period before the event appears important and needs more context.

  1. Run the bundled script to fetch KOSPI and Nasdaq daily data and calculate the required metrics.
  2. Analyze each event window.
  3. Synthesize the cross-event patterns into an investor report.

Web research rules

Use web search whenever you need:

  • To interpret a URL
  • To identify historical analog events
  • To verify the exact event date
  • To resolve ambiguous event naming

When you describe dates to the user:

  • Show the exact calendar event date
  • Show the market trading date correction separately
  • Do not silently replace the event date with the next trading day

Current date and current index rules

Do not assume the current date from model memory.

  • Get the current date from the bundled script at runtime.
  • Do not rely on model memory for "today".
  • Use the script runtime date as the reference point for any "current index level" statements in the report.

Before writing downside scenarios in ## 투자 관점 시사점:

  • Obtain the current KOSPI and current Nasdaq index levels from the bundled script output.
  • Do not use web search for current index levels when the script can provide them.
  • Treat the script runtime date as the analysis reference date and the latest available trading date as the quote date.
  • State the reference date used for the current index levels.
  • If current index levels cannot be verified, say so explicitly and do not present current-level downside point estimates as if they were confirmed.

Market-data rules

Use the bundled script at scripts/analyze_event_impact.py.

The script:

  • Fetches KOSPI and Nasdaq Composite daily candles from the KIS Open API
  • Resolves credentials from environment variables or ~/.config/event-impact-analyzer/credentials.yaml
  • Uses the event calendar date plus configurable pre/post windows
  • Corrects each index to the first available trading day on or after the event date
  • Can return a current-market snapshot for KOSPI and Nasdaq using the script runtime date and a short recent lookback window
  • Returns raw daily candles and computed metrics as JSON
  • Does not write the final Markdown report for the user

Run it like this:

python3 <skill-dir>/scripts/analyze_event_impact.py --event-date YYYYMMDD

When you need current index levels for downside scenarios, run:

python3 <skill-dir>/scripts/analyze_event_impact.py \
  --current-snapshot

With --current-snapshot, the script returns only the current snapshot payload and skips the historical event-analysis loop.

Optional metadata flags:

python3 <skill-dir>/scripts/analyze_event_impact.py \
  --event-date 20200103 \
  --event-name "미국-이란 긴장 고조" \
  --event-label "Qasem Soleimani strike" \
  --pre-months 2 \
  --post-months 6

The script always returns JSON. Use that JSON as analysis input, then write the final investor report yourself. When you run --current-snapshot, use the returned current_snapshot payload for the current KOSPI/Nasdaq reference levels in ## 투자 관점 시사점.

Credential flow

Credential availability is a hard gate. Before doing web research, analog selection, script execution, or report writing, check in this order:

  1. KIS_APP_KEY, KIS_SECRET_KEY
  2. ~/.config/event-impact-analyzer/credentials.yaml

If both sources are missing or incomplete:

  • Stop the workflow immediately.
  • Tell the user that both credential sources were checked and analysis is paused.
  • Tell the user exactly which source was missing or incomplete.
  • Ask the user to provide the missing values or store them in one of those two locations.
  • Do not continue with any other task steps until the user responds with credentials or confirms they were stored.

Only ask the user after both checks fail. Be explicit about what you checked. Do not ask the user for CLI args first. Prefer existing credentials on the machine before requesting input.

Config file format:

app_key: "YOUR_APP_KEY"
secret_key: "YOUR_SECRET_KEY"

When credentials are missing, make the status explicit:

  • Say that you checked environment variables first.
  • Say that you checked the config file next.
  • Say which source was missing or incomplete.
  • Then ask the user for the missing values or to store them in one of those two locations.
  • Make it explicit that you are stopping here and cannot continue the analysis until credentials are available.

Analysis definitions

For each index, report these metrics:

  • Event calendar date
  • Corrected trading date
  • Previous trading date
  • Event-day close return vs previous close
  • Event-day intraday low return vs previous close
  • Downtrend end date

- Define the downtrend as ending at the post-event lowest low.

  • Maximum drawdown low return vs previous close
  • Maximum drawdown close return vs previous close
  • 1-month rebound return from trough close
  • 1-month rebound return from trough low
  • Difference between the 1-month-after-trough close and the pre-event previous close

If the trough occurs too late to have a full month of forward data:

  • First consider expanding the forward window and re-running the script
  • If you still cannot get a full month, use the last available trading date and state that the rebound window is truncated

Interpretation rules

When writing the report:

  • Compare Nasdaq and KOSPI side by side for every event
  • Separate immediate shock, deepest damage, and rebound phase
  • Highlight whether KOSPI overreacted or underreacted relative to Nasdaq
  • Call out cases where the event-day close was mild but the intraday low shows panic
  • Distinguish single-day shock from multi-week trend damage
  • Prefer pattern synthesis over listing raw numbers only
  • Base your narrative on the script's JSON output rather than manual arithmetic in prose
  • In ## 투자 관점 시사점, translate the historical drawdown ranges into current-index downside scenarios for both Nasdaq and KOSPI
  • Express the downside scenario in both percentage terms and index-point terms
  • Anchor the scenario to the current Nasdaq and KOSPI index levels available at analysis time
  • Include the reference date for those current index levels
  • Make clear that this is an analog-based scenario range, not a precise forecast

Do not claim causality more strongly than the evidence allows. Use language like:

  • "coincided with"
  • "the market reaction suggests"
  • "this analog implies"

Report structure

Always use this structure:

# [이벤트명] 시장 영향 리포트
## 한눈에 보기
- 입력 사건 요약
- 핵심 유사 사건 수
- Nasdaq/KOSPI 공통 패턴
- 가장 중요한 투자 시사점

## 현재 사건 정의
- 입력 형태: keyword/request/url
- 사건 설명
- 핵심 키워드
- 분석에 포함한 유사 사건 선정 기준

## 유사 사건별 분석
### [사건명] ([캘린더 날짜], 거래일 보정: Nasdaq / KOSPI)
- 사건 개요
- Nasdaq 반응
- KOSPI 반응
- 해석

## 종합 패턴
- 즉시 충격 패턴
- 최대 낙폭 패턴
- 반등 패턴
- Nasdaq 대비 KOSPI 특성

## 투자 관점 시사점
- 기본 시나리오
- 약세 시나리오
- 현재 KOSPI, Nasdaq 지수 기준 예상 하단 범위
  - 과거 유사사건 기준 최대 하락률 범위
  - 현재 지수에 적용한 예상 하락 포인트
- 체크해야 할 추가 신호

## 한계
- 유사 사건 비교의 한계
- 동시기에 겹친 다른 변수

Working style

  • Keep the report concise but decision-useful.
  • Use exact dates and percentages.
  • Prefer 3-6 strong analogs over a long weak list, even though there is no hard cap.
  • If the event is very broad, cluster the analogs and explain why each cluster matters.

Example prompts

Example 1: Input: 미국-이란 전쟁이 나면 나스닥하고 코스피가 어떻게 반응했는지 과거 사례 기준으로 분석해줘 Output: Historical analog report with exact event dates, KOSPI/Nasdaq metrics, and investor implications.

Example 2: Input: https://example.com/news/article-about-tariffs Output: URL interpretation, event keyword extraction, tariff-war analog research, and market impact report.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude

33.22%
按下载量换算32

Codex

32.32%
按下载量换算31

Cursor

17.76%
按下载量换算17

Gemini CLI

10.1%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills