Install
$ agentstack add skill-wenyupapa-sys-tradingagents-codex-skill-tradingagents-codex-skill ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
TradingAgents Codex
Overview
Use this skill to run and summarize a local TradingAgents_codex project as an engineering workflow. It wraps setup checks, dry-run command construction, full-chain analysis runs, and report summarization.
Default local project:
~/TradingAgents_codex
Override it with --project or TRADINGAGENTS_PROJECT.
Triggers
Use this skill for requests like:
- "run TradingAgents for QQQ"
- "analyze TSLA with all agents"
- "run codex-analyze"
- "summarize a TradingAgents report"
- "validate the TradingAgents Codex CLI"
- "batch stock/ETF analysis"
- "compare QQQ and TSLA TradingAgents output"
Workflow
- Identify tickers, analysis date, output language, and whether the user wants full-chain or
--analysts-only. - Run setup validation before real analysis unless it was validated in the current session:
SKILL_DIR="${CLAUDE_SKILL_DIR:-${CODEX_HOME:-$HOME/.codex}/skills/tradingagents-codex}"
python3 "$SKILL_DIR/scripts/check_setup.py"
- Dry-run the command when the run is expensive, batched, or date-sensitive:
SKILL_DIR="${CLAUDE_SKILL_DIR:-${CODEX_HOME:-$HOME/.codex}/skills/tradingagents-codex}"
python3 "$SKILL_DIR/scripts/run_analysis.py" \
--ticker QQQ --ticker TSLA \
--date 2026-05-08 \
--output-language English \
--dry-run
- Run full-chain analysis. Tickers run sequentially;
--max-parallelis passed through to TradingAgents for internal role parallelism.
SKILL_DIR="${CLAUDE_SKILL_DIR:-${CODEX_HOME:-$HOME/.codex}/skills/tradingagents-codex}"
python3 "$SKILL_DIR/scripts/run_analysis.py" \
--ticker QQQ --ticker TSLA \
--date 2026-05-08 \
--model gpt-5.5 \
--reasoning-effort high \
--output-language English \
--confirm
- Summarize final portfolio decisions from
reports/portfolio_manager.json:
SKILL_DIR="${CLAUDE_SKILL_DIR:-${CODEX_HOME:-$HOME/.codex}/skills/tradingagents-codex}"
python3 "$SKILL_DIR/scripts/summarize_report.py" \
--ticker QQQ \
--date 2026-05-08
Defaults
- Model:
gpt-5.5 - Reasoning effort:
high - Analysts:
market,news,social,fundamentals - Search: enabled
- Output language:
Chinese - Per-ticker timeout: 3600 seconds
- Latest date fallback: previous likely completed US trading day, skipping weekends
For speed, prefer --output-language English and provide the user a Chinese summary. Chinese output can spend substantial time translating each role report.
Safety
- Treat outputs as research summaries, not investment advice.
- Never place trades, send orders, or connect brokerage execution from this skill.
- Do not invent missing prices, social data, ETF fundamentals, or latest OHLC rows.
- Mention known data gaps, especially ETF fundamentals and missing analysis-date market rows.
- Use
--dry-runbefore large batches. The runner requires--confirmfor more than three tickers. - Always clear
NODE_OPTIONSfor child TradingAgents/Codex CLI commands; this project has a known--use-env-proxyfailure.
Scripts
scripts/check_setup.py: validates project path, virtualenv CLI, required flags, UTF-8 locale, andNODE_OPTIONSworkaround.scripts/run_analysis.py: builds and runstradingagents codex-analyzecommands with dry-run, timeout, and batch confirmation.scripts/summarize_report.py: readsportfolio_manager.jsonand emits Chinese Markdown or JSON summary.scripts/quick_validate.py: validates the skill structure and scripts without running live analysis.
References
Read references/workflow.md for command examples and operational choices. Read references/troubleshooting.md for known failures and mitigations.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: wenyupapa-sys
- Source: wenyupapa-sys/tradingagents-codex-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.