Agent skill

Macro Idea Generation

by agentii-ai in agentii-ai/agentii-investment-intelligence

Macro-driven trade idea generation, translating macroeconomic views into concrete stock ideas, sector selection from macro regime, international trade ideas via ADRs, cross-border idea sourcing…

Apache-2.0Auto-check passedAgent Workflows

Install Macro Idea Generation

skills CLI
$ npx skills add agentii-ai/agentii-investment-intelligence --skill macro-idea-generation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agentii-ai/agentii-investment-intelligence macro-idea-generation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agentii-ai/agentii-investment-intelligence.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/vertical-plugins/idea-generation/skills/agentii/macro-idea-generation .claude/skills/macro-idea-generation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
macro-idea-generation
GitHub stars
207
Token cost
~2.1k tokens
SKILL.md length
876 words
Files
3 (incl. references)
Skills in repo
79
Repo updated
First seen
Licence
Apache-2.0

At a glance

Macro-driven trade idea generation, translating macroeconomic views into concrete stock ideas, sector selection from macro regime, international trade ideas via ADRs, cross-border idea sourcing…

  • Works in 4 steps: Macro regime input — from macro-analysis… → Sector data — sector-level performance,… → ADR data — international equity access… → …
  • Tasks that involve Brainstorming
  • SKILL.md covers Defaults, Preflight, Data Source Priority and Methodology, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Macro Idea Generation is an agent skill from agentii-ai/agentii-investment-intelligence. Macro-driven trade idea generation, translating macroeconomic views into concrete stock ideas, sector selection from macro regime, international trade ideas via ADRs, cross-border idea sourcing, macro catalyst mapping to equity positions

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/macro-ideas-methodology.md` and `references/modes.md`).

It sits in Agent Workflows, covering Brainstorming, Architecture decision records and Translation. The repository describes itself as: Claude-type skills for institutional equity research — 25 AI agent skills with SEC filings, XBRL financials, earnings calendars, DCF/comps/LBO models, and PPT generation. Powered… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Brainstorming
  • Tasks that involve Architecture decision records
  • Tasks that involve Translation

Example prompts

  • “/macro-idea-generation”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Macro regime input — from macro-analysis skill (leading indicators, portfolio bias)
  2. Sector data — sector-level performance, rotation signals from market data tools
  3. ADR data — international equity access via ADRs from market data
  4. Strategy frameworks — search_investment_strategies(domain=macro) + search_by_analogue(market_regime=...)

What it can do on your machine

Read from SKILL.md and the folder at commit 86980e1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Macro Idea Generation loads about 2.1k tokens when it runs, and up to ~7.2k if it reads all its reference files. Until then it costs about 65 tokens; SKILL.md has 876 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agentii-ai/agentii-investment-intelligence at commit 86980e1, republished under its Apache-2.0 licence (© agentii-ai). 876 words, ~2,135 tokens.

Download SKILL.mdSave it as .claude/skills/macro-idea-generation/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
macro-idea-generation
description
Macro-driven trade idea generation, translating macroeconomic views into concrete stock ideas, sector selection from macro regime, international trade ideas via ADRs, cross-border idea sourcing, macro catalyst mapping to equity positions
multi_ticker_semantics
single_target
temporal_scope.default_quarters
4
temporal_scope.max_quarters
12
temporal_scope.description
Macro regime shifts require multi-quarter context; 4 quarters default.
retrieval_scope
structured_only
layer_tags
L1, L2
min_tool_diversity
3
parameter_free
false

Methodology fused from professional trading and investment frameworks; all text is an original paraphrase.

Defaults

ParameterDefault ValueRationale
macro_signal_lag_weeks4-8Macro signals lead equity moves by 4-8 weeks
sector_mapping_depth3Three-tier cascade: regime → sector → stock
adr_liquidity_min$10M ADTVMinimum ADR liquidity for institutional execution

Preflight

Run canonical pre-flight per contracts/preflight.md. Include the X-Agentii-Trace header on every tool call per contracts/x-agentii-trace-header.md — carry the _run_id from your first tool result and name yourself (and your parent, if you were spawned).

Data Source Priority

  1. Macro regime input — from macro-analysis skill (leading indicators, portfolio bias)
  2. Sector data — sector-level performance, rotation signals from market data tools
  3. ADR data — international equity access via ADRs from market data
  4. Strategy frameworks — search_investment_strategies(domain=macro) + search_by_analogue(market_regime=...)

Methodology

Retrieval Scope

structured_only

Retrieval Strategy

Branch (d) Simple Lookup from contracts/retrieval.md: macro regime input from upstream skill. Sector and market data from data tools. Strategy frameworks and historical analogues via MCP knowledge tools. No unstructured document retrieval.

Temporal Scope

See frontmatter temporal_scope block.

Tool Allowlist

See frontmatter allowed_tools.

Protocol

This skill translates macroeconomic views into concrete trade ideas via a three-tier cascade: Macro Regime → Sector Preference → Stock Selection. Macro tells you where to look; sectors what to look at; stocks what to trade.

Detailed methodology: regime-to-sector mapping matrix, ISM sector drilling protocol, inter-market confirmation framework, ADR screening and currency overlay, and macro risk invalidation rules are in references/macro-ideas-methodology.md.

Core insight: The "consensus disconnect" applies at the macro level — the market prices one regime, leading indicators suggest another emerging. This gap is the macro edge. Macro signals lead equity moves by 4-8 weeks.

Steps
  1. Macro Regime Translation: Receive regime (expansion/contraction/stagflation/recovery) and bias (long/short/neutral) from upstream. Identify dominant theme: rate cycle, credit spreads, currency, commodities. Establish transmission mechanism — WHY sectors benefit or suffer, not just correlation.

  2. Sector Selection (see reference for complete matrix with transmission mechanisms):

    • Expansion (ISM > 50 rising, credit tightening): Favor Tech, Consumer Disc, Industrials, Financials. Avoid Utilities, Staples.
    • Contraction (ISM < 50 falling, credit widening): Favor Utilities, Staples, Healthcare. Avoid Tech, Consumer Disc, Energy.
    • Stagflation (low growth + high inflation): Favor Energy, Materials, Commodity Producers, Healthcare. Avoid Consumer Disc, Real Estate.
    • Recovery (ISM crossing 50, central bank accommodative): Favor Financials, Industrials, Consumer Disc. This is historically the strongest equity return regime. Avoid prior defensives.
  3. Leading Indicator Deep Dive:

    • ISM PMI: Headline + New Orders (leads by 1-3 months, most important sub-index) + Prices Paid + Supplier Deliveries. Drill sub-indices for industry divergence → pair trade signals.
    • Yield Curve (10Y-2Y): Steepening > 150bp = Financials. Flattening = Growth/Tech. Inverted = defensive. Re-steepening from inverted = strongest rally phase.
    • Credit Spreads (HY OAS): > 400bp = defensive regardless. 300-400bp = stock selection dominant. < 300bp = risk-on.
    • DXY: +5%/3mo = commodity/EM/multinational headwind. −5%/3mo = tailwind.
  4. Inter-Market Confirmation: Bonds (yield curve, spreads) + Currencies (DXY, commodity FX) + Commodities (copper/gold, oil) must align. All three = high conviction. Two of three = medium, reduce 25-33%. All diverging = low, reduce/eliminate positions.

  5. Stock Selection: Apply quant screening ONLY to 2-3 most favored and 2-3 most disfavored industries from ISM drilling. Prioritize companies where macro catalyst directly impacts business drivers (bank NIM from rate change = direct; tech multiple from rate change = indirect, less reliable).

  6. ADR International: Country selection → screen ($10M ADTV, $500M cap, 20-F available). Avoid: Chinese software/computer services ADRs, micro-cap shipping, pharma/biotech (requires specialized expertise). Currency overlay: DXY strengthening → hedge or prefer domestic; weakening → unhedged benefit. ADR universe is mostly cyclical/old-economy. Split European banks investment/retail/hybrid.

  7. Macro Risk Management: Define invalidation thresholds before entry (e.g., "ISM < 48 for 2 months = exit all cyclicals"). Post-event: 1 month divergence = noise; 2 months = trend change, exit. Total macro exposure ≤ 40%. Single sector ≤ 25%. If thesis invalidates, exit ALL macro positions simultaneously.

  8. MCP Integration: search_investment_strategies(domain=macro) → search_by_analogue(market_regime) → search_investment_cases(domain=macro_driven). Handoff: regime + conviction, sector matrix, top 3-5 stocks per sector, ADR candidates with FX assessment, macro catalyst timeline, invalidation thresholds.

Show full SKILL.md (251 more words)Show less

Output File

{ticker}/{YYYY-MM-DD_HHMM}_macro-idea-generation_{affix}.md

Output Structure

  1. Executive Summary — Macro regime, inter-market confirmation status, top sectors, top 3 macro-driven trade ideas
  2. Macro Regime Analysis — Current regime classification, dominant themes, transmission mechanisms, consensus disconnect assessment
  3. Leading Indicator Dashboard — ISM (headline + New Orders + Prices Paid + industry sub-indices), yield curve, credit spreads, DXY, commodity signals
  4. Inter-Market Confirmation — Bond/Currency/Commodity alignment assessment, conviction level, divergences flagged
  5. Sector Preference Matrix — Favored/neutral/avoid sectors with macro rationale and transmission mechanism per sector
  6. Sector-Specific Stock Candidates — Per preferred sector: macro sensitivity, valuation context, direct vs. indirect macro impact
  7. International Opportunities — ADR candidates by country/region with currency overlay assessment, liquidity check, sector warnings
  8. Macro Catalyst Timeline — Scheduled macro events (ISM, FOMC, employment, CPI) with expected impact and pre-positioning windows
  9. Historical Analogues — Matched regime analogues from search_by_analogue with /v/ citations, key parallels and divergences
  10. Risk to the Macro View — Specific invalidation thresholds per indicator, correlation risk assessment, contingency exit protocol
  11. Handoff Summary — Prioritized macro-driven ideas with conviction and sector rationale
  12. Coverage Gaps — Data limitations, regions with insufficient ADR liquidity, sectors with inadequate macro data

Error Handling

ErrorFallback
No macro regime inputDerive from available macro data; flag as independently determined
ADR data insufficientLimit to US-listed international ETFs as proxy; flag
search_by_analogue returns emptyNote "no historical regime analogues found"; proceed with framework only

Memory Load

See contracts/memory-load.md.

Snapshot

See contracts/snapshot-synthesis.md.

Final Summary (TUI)

Include ### Key Citations block with 0-10 clickable /v/ URLs.

References

  • references/macro-ideas-methodology.md
  • contracts/citation-and-memory.md
  • contracts/output-frontmatter-schema.md
  • contracts/memory-load.md
  • contracts/snapshot-synthesis.md
  • contracts/preflight.md
  • contracts/retrieval.md

© agentii-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in plugins/vertical-plugins/idea-generation/skills/agentii/macro-idea-generation of agentii-ai/agentii-investment-intelligence.

  • SKILL.md
  • references/macro-ideas-methodology.md
  • references/modes.md

Open the folder on GitHubat commit 86980e1

Compare with similar skills

Macro Idea Generation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Macro Idea Generation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Macro Idea Generation this skillagentii-ai/agentii-investment-intelligence207—~2.1kAutomated safety check: PassApache-2.0
Comet Designrpamis/comet3.2k—~1.9kAutomated safety check: PassMIT
Yao Bayesian Skillyaojingang/yao-open-skills1.3k—~956Automated safety check: PassMIT
Yao Meta Skillyaojingang/yao-meta-skill2.7k—~768Automated safety check: PassMIT
Grounding A Designandrew-blake/melcloudhome142—~1.1kAutomated safety check: PassMIT
Brainstormingfeiskyer/claude-code-settings1.7k—~985Automated safety check: PassMIT

Similar skills

  • Comet Design

    rpamis/comet

    A skill your agent uses when full Comet change 已完成 open 阶段但缺少 Superpowers Design Doc,或 design 阶段需要从 OpenSpec 交接包恢复。

    3.2k GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Yao Bayesian Skill

    yaojingang/yao-open-skills

    Convert uncertain real-world choices into an auditable Bayesian evidence-to-action report with priors, evidence grading, posterior update, action thresholds, sensitivity checks, multi-turn decision…

    1.3k GitHub stars~956 tokensUpdated 1 mo ago
    EducationAuto-check passed
  • Yao Meta Skill

    yaojingang/yao-meta-skill

    Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts.

    2.7k GitHub stars~768 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Grounding A Design

    andrew-blake/melcloudhome

    A skill your agent uses when about to propose, brainstorm, review or revise a design, fix approach or plan for a feature or behaviour change in this repo, including "brief" or "quick" design…

    142 GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Brainstorming

    feiskyer/claude-code-settings

    Explore user intent, requirements, and design options through collaborative dialogue before implementation.

    1.7k GitHub stars~985 tokensUpdated 12 days ago
    DevelopmentAuto-check passed
  • Track Idea

    cdiggins/plato

    Log a new idea into tracker/ with elaboration — assumptions, design decisions, related work links, approach brainstorm, and simplest implementation.

    106 GitHub stars~1.3k tokensUpdated 13 days ago
    DevelopmentAuto-check passed

More from agentii-ai/agentii-investment-intelligence

All 79 skills in this repo
  • Challenge

    agentii-ai/agentii-investment-intelligence

    Adversarial verification of research theses — cross-run/cross-thesis contradiction via the entity index, pre-mortem (Klarman/Kahneman: assume the loss already happened, reverse the path), inversion…

    207 GitHub stars~735 tokensUpdated 10 days ago
    Auto-check passed
  • Chart Patterns

    agentii-ai/agentii-investment-intelligence

    Chart pattern recognition, price action patterns, candlestick signal bars, pullback bar counting H1/H2/H3/H4, trend channels, micro channels, trading ranges, breakouts, major trend reversals 5-step…

    207 GitHub stars~2k tokensUpdated 10 days ago
    Auto-check passed
  • Clarify

    agentii-ai/agentii-investment-intelligence

    The research-domain clarification skill — find underspecified items in a thesis spec.md (prose wrongif, universe rows without rationale, missing budget/expiry/pins, ambiguous pillars), ask the human…

    207 GitHub stars~839 tokensUpdated 10 days ago
    Auto-check passed
  • Constitution

    agentii-ai/agentii-investment-intelligence

    Scaffold and amend the L1 Investment Constitution — [ALLCAPS] placeholder bootstrap, SemVer bump rules, Sync Impact Report, MINOR/MAJOR re-examination dispatch after the gate-5 budget confirm.

    207 GitHub stars~596 tokensUpdated 10 days ago
    Auto-check passed
  • Converge

    agentii-ai/agentii-investment-intelligence

    Append-only gap closure and the cadence engine for research theses.

    207 GitHub stars~789 tokensUpdated 10 days ago
    Auto-check passed
  • Implement

    agentii-ai/agentii-investment-intelligence

    Execute research tasks — checklist soft gate, phase dispatch with explicit thesisdir, budget enforcement (halt + approval card on overrun), skillpin recording (versionhash content-hashed per skill…

    207 GitHub stars~583 tokensUpdated 10 days ago
    Auto-check passed

Questions about Macro Idea Generation

What does Macro Idea Generation do?

Macro-driven trade idea generation, translating macroeconomic views into concrete stock ideas, sector selection from macro regime, international trade ideas via ADRs, cross-border idea sourcing…. Macro Idea Generation is an agent skill from agentii-ai/agentii-investment-intelligence.

When should I use Macro Idea Generation?

Macro Idea Generation fits situations like: tasks that involve Brainstorming; tasks that involve Architecture decision records; tasks that involve Translation.

How do I install Macro Idea Generation in Claude Code?

Run `npx skills add agentii-ai/agentii-investment-intelligence --skill macro-idea-generation -a claude-code`. Or copy the skill folder (plugins/vertical-plugins/idea-generation/skills/agentii/macro-idea-generation in agentii-ai/agentii-investment-intelligence) into .claude/skills/macro-idea-generation in your project. Claude Code loads it when a task matches its description.

How do I install Macro Idea Generation in Codex?

Run `npx skills add agentii-ai/agentii-investment-intelligence --skill macro-idea-generation -a codex`. Or copy the skill folder (plugins/vertical-plugins/idea-generation/skills/agentii/macro-idea-generation in agentii-ai/agentii-investment-intelligence) into .agents/skills/macro-idea-generation in your project. Codex loads it when a task matches its description.

Can I use Macro Idea Generation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agentii-ai/agentii-investment-intelligence --skill macro-idea-generation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/macro-idea-generation, .gemini/skills/macro-idea-generation, .github/skills/macro-idea-generation and .opencode/skills/macro-idea-generation in your project.

What does Macro Idea Generation need to run?

SKILL.md names no scripts, command-line tools or credentials: Macro Idea Generation is instructions for the agent only.

Does Macro Idea Generation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Macro Idea Generation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Macro Idea Generation use?

Macro Idea Generation is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Macro Idea Generation use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.

What are the alternatives to Macro Idea Generation?

Skills that share tags, products or a category with Macro Idea Generation: Comet Design (rpamis/comet, 3.2k stars), Yao Bayesian Skill (yaojingang/yao-open-skills, 1.3k stars), Yao Meta Skill (yaojingang/yao-meta-skill, 2.7k stars) and Grounding A Design (andrew-blake/melcloudhome, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Macro Idea Generation?

agentii-ai (a GitHub user) maintains it in agentii-ai/agentii-investment-intelligence, which has 207 GitHub stars. The repository holds 79 skills in this directory. The repository was last updated on September 29, 2026.

Source: agentii-ai/agentii-investment-intelligence on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.