Sector Macro Insights
Prompt-first skill. The host LLM researches qualitative drivers and saves structured memos.
Call sector_macro_insights for instructions, or get_sector_macro_context for data.
When to use
- Macro tab sector analysis (Bangladesh + global sections)
- "What's happening in pharma / banking / FMCG in Bangladesh?"
- Global commodity or rates impact on a DSE sector
- Cross-sector themes: "people aren't spending on real estate", regulatory shifts
Workflow
stock-buddy-data.get_sector_macro_context({ sector?, scope: "bangladesh"|"global"|"both", days: 14 })
- Web research for qualitative drivers (BD + global as requested)
stock-buddy-data.upsert_research_sources({ sources: [...] })
stock-buddy-data.upsert_research_memo({ title, body_md, summary_json, as_of })
summary_json convention
{
"sector": "Pharmaceuticals",
"sector_slug": "pharmaceuticals",
"scope": "bangladesh|global|cross_sector",
"insight_type": "sector_macro|spending_trend|regulatory",
"bullets": ["...", "..."]
}
Output (Thinking Card)
{
"skill": "sector-macro-insights",
"ticker": "MARKET",
"mode": "both",
"as_of": "2026-07-01",
"score": 0.0,
"confidence": 0.75,
"rating": "cautious|neutral|supportive",
"key_metrics": {
"sector": "Pharmaceuticals",
"scope": "bangladesh",
"bullets": ["..."]
},
"reasoning": ["..."],
"disclaimer": "Educational analysis only. Not financial advice."
}
Cross-sector variant
Set scope: cross_sector and omit sector (or set insight_type: spending_trend) for themes like real-estate spending weakness affecting cement, NBFI, and services.
DSE pitfalls
- Sector names vary in the DB — use
sector_slug from context tool
- Thin sectors (3–4 names) need cautious generalization
- Rumour-heavy headlines — separate from policy/fundamental drivers
Output is educational analysis only, never financial advice.
1---2name: sector-macro-insights3description: Researches and synthesizes sector-level macro insights for DSE — Bangladesh and global analysis, sector news context, cross-sector spending themes (e.g. real estate slowdown, FMCG pressure). Use for macro tab sector refresh, "pharma outlook Bangladesh", global cement demand, or qualitative themes spanning sectors. Persists memos via stock-buddy-data MCP.4license: Apache-2.05---67# Sector Macro Insights89> **Prompt-first skill.** The host LLM researches qualitative drivers and saves structured memos.10> Call `sector_macro_insights` for instructions, or `get_sector_macro_context` for data.1112## When to use1314- Macro tab sector analysis (Bangladesh + global sections)15- "What's happening in pharma / banking / FMCG in Bangladesh?"16- Global commodity or rates impact on a DSE sector17- Cross-sector themes: "people aren't spending on real estate", regulatory shifts1819## Workflow20211. `stock-buddy-data.get_sector_macro_context({ sector?, scope: "bangladesh"|"global"|"both", days: 14 })`222. Web research for qualitative drivers (BD + global as requested)233. `stock-buddy-data.upsert_research_sources({ sources: [...] })`244. `stock-buddy-data.upsert_research_memo({ title, body_md, summary_json, as_of })`2526### summary_json convention2728```json29{30 "sector": "Pharmaceuticals",31 "sector_slug": "pharmaceuticals",32 "scope": "bangladesh|global|cross_sector",33 "insight_type": "sector_macro|spending_trend|regulatory",34 "bullets": ["...", "..."]35}36```3738## Output (Thinking Card)3940```json41{42 "skill": "sector-macro-insights",43 "ticker": "MARKET",44 "mode": "both",45 "as_of": "2026-07-01",46 "score": 0.0,47 "confidence": 0.75,48 "rating": "cautious|neutral|supportive",49 "key_metrics": {50 "sector": "Pharmaceuticals",51 "scope": "bangladesh",52 "bullets": ["..."]53 },54 "reasoning": ["..."],55 "disclaimer": "Educational analysis only. Not financial advice."56}57```5859## Cross-sector variant6061Set `scope: cross_sector` and omit sector (or set `insight_type: spending_trend`) for themes like real-estate spending weakness affecting cement, NBFI, and services.6263## DSE pitfalls6465- Sector names vary in the DB — use `sector_slug` from context tool66- Thin sectors (3–4 names) need cautious generalization67- Rumour-heavy headlines — separate from policy/fundamental drivers6869Output is educational analysis only, never financial advice.