CommunityPesquisa e Análise de Dadosgithub.com

kuntal-r-d/my-skills

name: macro-regime

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add kuntal-r-d/my-skills

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentação

Macro Regime

When to use

Activate when a user wants the macro read on the Dhaka Stock Exchange: "what's the market regime?", "is this a risk-on environment?", "how do rates and reserves affect risk?", "give me a macro multiplier". This is the Macro Agent (PRD-002 REQ-020). Its risk multiplier is meant to be consumed downstream by signal-synthesizer (to scale the composite score) and risk-manager (to scale position sizing).

What it does

Reads the shared contract's macro block and computes a single risk multiplier in [0.5, 1.2], starting from 1.0 (neutral) and adjusting for each factor:

  • Policy rate — tight money (>=9%) lowers the multiplier; accommodative raises it.
  • Inflation — above 8% lowers it (real-return erosion, tightening risk).
  • FX reserves trendfalling lowers it (import-cover stress, BDT pressure); rising raises it; stable is neutral.
  • Politicscrisis/tense lower it; stable raises it.
  • Regulatoryfloor_prices/tightening lower it; normal is neutral.

The clamped multiplier maps to a regime label and to a normalised score in [-1, +1]. Output is a Thinking Card (see suite README).

How to run

python3 scripts/regime.py --input data.json --pretty
cat data.json | python3 scripts/regime.py

Reads macro (required) and optional mode/ticker/as_of. Returns score (-1..+1), confidence, rating (regime label), key_metrics.risk_multiplier, per-factor drivers, plain-language reasoning, and flags.

Try it now with the shared fixture:

python3 scripts/regime.py --input ../_fixtures/sample_input.json --pretty

Interpreting output

  • rating: risk_on (mult >=1.05), neutral (0.85–1.05), cautious (0.70–0.85), risk_off (<0.70).
  • key_metrics.risk_multiplier is the value downstream skills multiply into their risk budget — e.g. risk-manager sizes positions at base_risk * risk_multiplier.
  • flags: stale_macro appears when one or more macro fields are missing and confidence is capped accordingly — never a silent drop.

Notes

Factor weights, the multiplier→regime mapping, the score mapping, and how downstream skills consume the multiplier are documented in references/REGIME.md. Output is educational analysis only, never financial advice.

Habilidades Relacionadas

Yourdaylight/stock_datasource

基于tushare构建本地财经数据库。AI原生的多Agent金融分析系统,支持skill拓展Agent能力并自适应生成http接口与mcp调用。支持本地数据库访问的skill对接openclaw进行自主访问

community

LuminousCX/skills

Modular skill definitions for LuomiNest agents. Skills are composable capability units loaded at runtime, providing domain-specific knowledge, structured workflows, and prompt templates for RAG retrieval and memory management.

community

Clhikari/astrbot_plugin_office_assistant

这是一个为 AstrBot 设计的 Office 助手插件。它赋予大语言模型(LLM)直接操作文件的能力,支持读取并分析多种格式文件,以及生成 Office 文档和office互转pdf的功能

community

mattpocock/skills

Agent skill repository discovered by 10x-chat research.

community

heygen-com/visual-style

Create, extract, and apply portable visual design systems via visual-style.md files. Use when: (1) Creating a visual-style.md design system from scratch, (2) Extracting a visual style from a website URL, video, or PDF brand guide, (3) Applying a visual style to HeyGen videos, HTML slides, Figma, or paper.design, (4) Browsing the gallery of pre-built visual styles (Swiss, Saul Bass, Game Boy, etc.), (5) User mentions "visual style", "design system", "brand style", or "style guide", (6) Styling a HeyGen video with a consistent design language.

community

Scrapietireiron4383/ghosthunter

Analyze cloud cost spikes with automated dual-model LLM investigations for AWS and GCP.

community