agentleFS
lungraylungray/investment-workflow-skill/skills/tradingagents-cn/SKILL.md

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

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
  1. Distinctive:

    Use for an explicit request to run the local TradingAgents-CN project, generate a multi-agent single-stock report, run its independent …

    line 14
  2. Distinctive:

    Treat project documentation as operational background, not proof of current health.

    line 23
  3. Distinctive:

    If configuration is missing or rejected, report which variable name needs user attention without displaying its value.

    line 29
  4. Very specific:

    Default remains quick (disabled).

    line 42
  5. Distinctive:

    Run only when the user explicitly asks for the TradingAgents screener:

    line 50

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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).
  • focused selects a small deterministic set; full needs 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 -q

Network-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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.