tradingagents-cn
Skill2 starsChanged 4 months agoMITView on GitHub
Use when the user explicitly requests local TradingAgents-CN single-stock research or its independent screener.
- Reads credentials
In this repository7 other files it gives its agents.
- investment-workflowSkill
- investment-reportSkill
- investment-workflowSkill
- market-dataSkill
- market-screenerSkill
- portfolio-analysisSkill
- portfolio-parserSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 14
Use for an explicit request to run the local TradingAgents-CN project, generate a multi-agent single-stock report, run its independent …
- Distinctive: line 23
Treat project documentation as operational background, not proof of current health.
- Distinctive: line 29
If configuration is missing or rejected, report which variable name needs user attention without displaying its value.
- Very specific: line 42
Default remains quick (disabled).
- Distinctive: line 50
Run only when the user explicitly asks for the TradingAgents screener:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TradingAgents-CN
Use for an explicit request to run the local TradingAgents-CN project, generate a multi-agent single-stock report, run its independent screener, or diagnose its operation. In the portfolio workflow it is optional enrichment, not the orchestrator.
Project boundary
- Project:
${TRADINGAGENTS_HOME:-$HOME/TradingAgents-CN} - Python:
${TRADINGAGENTS_HOME:-$HOME/TradingAgents-CN}/venv/bin/python - Reports:
${TRADINGAGENTS_REPORT_DIR:-$HOME/investment-reports}/ - Operational background:
${TRADINGAGENTS_HOME:-$HOME/TradingAgents-CN}/OPERATION_GUIDE.md
Treat project documentation as operational background, not proof of current health. Run the documented tests before claiming current status.
Configuration safety
Single-stock analysis reads only the project's dedicated TRADINGAGENTS_API_KEY and TRADINGAGENTS_BASE_URL, with optional TRADINGAGENTS_MODEL and TRADINGAGENTS_API_MODE. Do not print, inspect, copy, or fall back from these values to another app/provider configuration.
If configuration is missing or rejected, report which variable name needs user attention without displaying its value.
Single-stock deep analysis
cd ${TRADINGAGENTS_HOME:-$HOME/TradingAgents-CN}
venv/bin/python personal_run.py <ticker> [trade-date]Accept A-share codes and .HK Hong Kong codes supported by the project. personal_run.py expects a ticker rather than --help. Treat it as a long-running operation and report progress at milestones.
For portfolio integration:
- Default remains
quick(disabled). focusedselects a small deterministic set;fullneeds explicit justification.- Record ticker, report date/path, cache state, extracted action/target/stop/confidence, and errors.
- A cached or newly generated report is model judgment. Refresh price, FX, financials, and eligibility separately.
- A failed deep dive does not block the rule-based portfolio report.
Independent batch screener
Run only when the user explicitly asks for the TradingAgents screener:
cd ${TRADINGAGENTS_HOME:-$HOME/TradingAgents-CN}
venv/bin/python screener.py --verbose --output <result.json>Useful flags are --limit, --sector, --full, --verbose, and --output. This screener is rules/data-source based and does not need the LLM variables for screening itself.
Its ranks are discovery input, not automatic buy recommendations. Before portfolio use, pass candidates through market-screener requirements for scope, current data, cash flow/debt, risk, and Stock Connect eligibility.
Verification
cd ${TRADINGAGENTS_HOME:-$HOME/TradingAgents-CN}
venv/bin/python -m pytest tests/test_bugfixes.py -qNetwork-dependent tests may skip with an explicit reason. Never replace the current command result with a historical count or status sentence.
Output safety
- Research draft only; no guaranteed returns.
- Distinguish source facts from agent conclusions.
- Preserve provider isolation and never expose secrets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

