Przejdź do treści
Biblioteka skilli
Finanse i księgowość · Research

event-tracker

/event-tracker

Śledzi na żywo wydarzenia wpływające na chiński rynek akcji A, np. konflikty, zmiany polityki i katalizatory branżowe.

Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/event_tracker.py

Co robi i kiedy

Śledzi na żywo wydarzenia wpływające na chiński rynek akcji A, np. konflikty, zmiany polityki i katalizatory branżowe.

Oryginalny opis (EN)

Real-time event-driven tracking for A-share market catalysts: monitors geopolitical conflicts, policy changes, industry catalysts, and cross-market signals. Detects new developments, tracks escalation/de-escalation phases, and alerts on material changes. Use when the user wants to track evolving situations that could impact the CPO/AI/半导体 sectors they focus on.

Jak działa

  1. Prerequisites
  2. When to Use
  3. Tracked Topics
  4. Script Usage
  5. Automation Rule
  6. State File Format
  7. Alert Format
  8. Integration with Sentiment Dashboard
  9. Pitfalls
Sekcje z nagłówków SKILL.md, w oryginale · 126 linii, 679 słów
Podgląd SKILL.md
---
name: event-tracker
description: "Real-time event-driven tracking for A-share market catalysts: monitors geopolitical conflicts, policy changes, industry catalysts, and cross-market signals. Detects new developments, tracks escalation/de-escalation phases, and alerts on material changes. Use when the user wants to track evolving situations that could impact the CPO/AI/半导体 sectors they focus on."
version: 1.0.0
author: Shengqi (Charles) Wei (drafted with Hermes Agent)
tags: [event-tracking, geopolitical, policy, catalyst, monitoring]
---

# Event Tracker — 事件驱动追踪系统

Tracks developing events that impact A-share markets, focusing by default on the CPO/光通信, AI算力 and 半导体 sectors (edit `TIERS` in the script to change focus). Designed to prevent the "static analysis" mistake — judging the market once on initial news without tracking how events evolve through the trading day.

## Prerequisites

This skill requires **web search capability** to function. Two paths:

| Path | What you need | Setup |
|------|--------------|-------|
| **A: web_search tool** (preferred) | Your agent's built-in web search, or an API key for a search backend | Configure the search tool your agent provides (e.g. Exa / Tavily / Firecrawl). Keep any key in your own environment, never in this folder |
| **B: ddgs fallback** | Shell access + `ddgs` package | `pip install ddgs`; the bundled script uses it automatically |

Without either path, event tracking will silently fail. Run it manually (or from a local dry-run wrapper) until the search and diff logic have been verified.

## When to Use

- During market hours (9:00-15:30 CST) as a manual local check
- Before forming a market view that depends on evolving situations
- When the user asks "有什么新情况" or "事件有什么进展"
- As a complement to the sentiment dashboard (event tracker = qualitative, dashboard = quantitative)

## Tracked Topics

### 🔴 Tier 1: Geopolitical (highest impact, immediate market reaction)

| Topic | Keywords | Impact |
|-------|----------|--------|
| 美伊冲突 | 伊朗 美军 霍尔木兹 定点打击 反击 | 军工↑ 黄金↑ 石油↑ |
| 中美关系 | 中美 AI对话 关税 科技制裁 出口管制 | 半导体/CPO 双向 |
| 台海/南海 | 台海 军事演习 环台 南海 | 军工↑ 全市场↓ |

### 🟠 Tier 2: Policy (sector rotation driver)

| Topic | Keywords | Impact |
|-------|----------|--------|
| 货币政策 | 央行 降准 降息 LPR MLF | 全市场 |
| 证监会 | IPO 再融资 减持 量化监管 | 中小盘 |
| 产业政策 | 半导体补贴 AI政策 新能源 | 相关板块 |
| 欧盟对华 | 反补贴 逆变器 光伏 电动车 | 出口链 |

### 🟡 Tier 3: Industry Catalysts (position-specific)

| Topic | Keywords | Impact |
|-------|----------|--------|
| AI算力 | 英伟达 算力 capex 数据中心 GPU | CPO/AI算力 |
| 光通信 | 光模块 800G 1.6T CPO 硅光 | CPO/光通信 |
| 半导体 | 光刻机 先进封装 HBM 存储 国产替代 | 半导体 |

### 🔵 Tier 4: Cross-Market (overnight/opening signal)

| Topic | Keywords | Impact |
|-------|----------|--------|
| 美股AI | 纳斯达克 英伟达 费城半导体 | 次日A股开盘 |
| 北向资金 | 北向 外资 净流入 净流出 | 全市场情绪 |
| 大宗商品 | 黄金 原油 铜 | 相关板块 |

## Script Usage

```bash
# One-shot check
python3 scripts/event_tracker.py

# Check specific tiers only
python3 scripts/event_tracker.py --tiers 1,3

# Check and output to file
python3 scripts/event_tracker.py --output /tmp/event_alert.txt

# Check with custom state file
python3 scripts/event_tracker.py --state <YOUR_DATA_DIR>/event_tracker_state.json
```

## Automation Rule

Default: no cron integration. If event tracking needs automation later, first design and validate a local dry-run wrapper that records source, time, query, and diff result. Only after the local workflow is stable should any scheduler or remote deployment be discussed again.

## State File Format

Default path: `./event_tracker_state.json` (override with `--state` or the `EVENT_TRACKER_STATE` env var):
```json
{
  "美伊冲突": {
    "last_checked": "2026-05-08T15:00:00",
    "phase": "escalating",
    "last_headlines": ["美军对伊朗实施定点打击", "伊朗确认反击"],
    "headline_hashes": ["abc123", "def456"]
  },
  ...
}
```

## Alert Format

When changes detected, output:

```
🔴 美伊冲突 — 升级
  新: 美军第二轮打击伊朗军事设施
  旧: 昨日仅确认第一轮定点打击
  → 军工/黄金/原油 短线继续受益
  → CPO 方向需关注风险偏好变化

🟡 中美AI对话 — 进展
  新: 双方同意成立AI安全工作组
  旧: 仅确认"正在沟通"
  → CPO/半导体情绪面进一步支撑
```

## Integration with Sentiment Dashboard

When both skills are used together:
1. Event Tracker identifies qualitative shifts
2. Sentiment Dashboard provides quantitative confirmation
3. Cross-reference: "事件说军工利好 + 资金确实在流进军工 = 高确定性"

## Pitfalls

- **Automation drift**: Don't wire this into cron / chat-bot pushes / cloud prompts before the search capability and event-diff logic have been verified manually.
- DuckDuckGo text search may return stale results; cross-check with web_search
- State file must be JSON-valid; script handles corruption
- Geopolitical keywords can trigger false positives (e.g., "伊朗电影展" matches "伊朗")
- Weekend/holiday: no new A-share data, but global events still matter
- The phase classification (escalating/stable/de-escalating) is heuristic, not precise
Pliki w paczce (2)
  • SKILL.md 6 KB
  • scripts/event_tracker.py 15 KB

Wersje

W bazie nie ma innych skilli o nazwie event-tracker.

Migawka bazy z 13.11.2026 · wersja paczki c52176e75e1e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100china-catalyst-calendar
    Śledzi nadchodzące katalizatory dla spółek A-share: daty wyników, ogłoszenia regulatorów, konferencje branżowe, premiery produktów i wydarzenia polityczne.
  • 100geopolitical-market-impact
    Przekłada wydarzenia geopolityczne na wpływ rynkowy: klasyfikuje wojny, sankcje i decyzje polityczne, szacuje skalę i czas trwania, dopasowuje precedensy i buduje sygnały handlowe.
  • 90llmquant-events
    Kieruje zadania LLMQuant dla wydarzeń: briefy wyników, śledzenie M&A, ryzyko regulacyjne, katalizatory, kalendarze i wpływ wydarzeń na różne klasy aktywów.
  • 100china-thesis-tracker
    Prowadzi i aktualizuje tezy inwestycyjne dla pozycji i obserwowanych spółek A-share, śledząc kluczowe dane, katalizatory, kamienie milowe i ważność tezy w czasie.
  • 80Thesis Tracker
    Prowadzi tezy inwestycyjne dla pozycji w portfelu i obserwowanych spółek: dane, katalizatory i kamienie milowe.
  • 100event-driven-tracker
    Śledzi wyniki finansowe, premiery produktów, fuzje i przejęcia, dywidendy, skupy akcji, odblokowania i inne daty ruszające rynkiem, tworząc priorytetyzowany kalendarz zdarzeń.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.