Anti Gambling Trader
mars-tw/anti-gambling-trader-tw
分析台股 / 台股ETF / 台指期選擇權 / 美股 / 加密貨幣 / 外匯的交易紀錄 (CSV / JSON / Excel),用統計學判斷使用者的獲利是「可重複的優勢」還是 「運氣 + 倖存者偏差(賭博)」,不適合長期投資會明確勸退。內建反詐工具: 掃描群組對話的詐騙話術(scan-text)、檢驗老師宣稱的績效(guru-check)、…
Operate and assess the Quant workspace market-data layer through the tested data-update CLI.
$ npx skills add Sixian-Li/plain-backtest --skill data-update -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Sixian-Li/plain-backtest data-update --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Sixian-Li/plain-backtest.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/data-update .claude/skills/data-update && rm -rf skills-srcUse ~/.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/
Install the "data-update" agent skill from https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-update into .claude/skills/data-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-update", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-updateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Sixian-Li/plain-backtest --skill data-update -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Sixian-Li/plain-backtest data-update --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Sixian-Li/plain-backtest.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/data-update .agents/skills/data-update && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "data-update" agent skill from https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-update into .agents/skills/data-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-update", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Sixian-Li/plain-backtest --skill data-update -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Sixian-Li/plain-backtest data-update --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Sixian-Li/plain-backtest.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/data-update .cursor/skills/data-update && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "data-update" agent skill from https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-update into .cursor/skills/data-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-update", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Sixian-Li/plain-backtest.git --path .agents/skills/data-update--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Sixian-Li/plain-backtest --skill data-update -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Sixian-Li/plain-backtest data-update --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Sixian-Li/plain-backtest.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/data-update .gemini/skills/data-update && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "data-update" agent skill from https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-update into .gemini/skills/data-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-update", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Sixian-Li/plain-backtest data-updateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Sixian-Li/plain-backtest --skill data-update -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Sixian-Li/plain-backtest.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/data-update .github/skills/data-update && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "data-update" agent skill from https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-update into .github/skills/data-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-update", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Sixian-Li/plain-backtest --skill data-update -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Sixian-Li/plain-backtest data-update --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Sixian-Li/plain-backtest.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/data-update .opencode/skills/data-update && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "data-update" agent skill from https://github.com/Sixian-Li/plain-backtest/tree/main/.agents/skills/data-update into .opencode/skills/data-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "data-update", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
data-updateOperate and assess the Quant workspace market-data layer through the tested data-update CLI.
Data Update is an agent skill from Sixian-Li/plain-backtest. Operate and assess the Quant workspace market-data layer through the tested data-update CLI. Use when checking QQQ/SPY or constituent freshness, reviewing supported versus missing data capabilities, diagnosing quality, running a SPY-current-member shadow update, inspecting update reports, or previewing/importing purchased CSV/ZIP/JSON/XLSX/XLS data without silently changing approved datasets.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/contracts.md`).
It sits in Documents & Office, covering Trading and backtesting, Excel spreadsheets and Stock and market analysis. It works with Microsoft Excel. The repository describes itself as: Say It Simply, Test It Properly. Agent-powered strategy research with independent ledger checks and reproducible reports. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 36adf23. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Data Update loads about 1.6k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 102 tokens; SKILL.md has 654 words of instructions outside code blocks.
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.
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.
The full file from Sixian-Li/plain-backtest at commit 36adf23, republished under its MIT licence (© Sixian-Li). 654 words, ~1,588 tokens.
.claude/skills/data-update/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Use the workspace CLI as the single execution path. Keep update logic in the tested project code; do not reimplement provider calls in the skill.
This skill is versioned at .agents/skills/data-update/ in this repository. Locate the root from the current checkout; do not depend on a user-level skill or the author’s original workspace. Read README.md and backtest/docs/release/scope.md first. The distribution contains canonical data and experiment definitions, not the complete source archives or historical runs.
For the bundled snapshot, begin with backtest/.venv/bin/python backtest/scripts/release_data.py status and check. These are offline and read-only. The live CLI below is for optional data operations; its source/archive audit may report omitted historical files. Do not rebuild canonical data implicitly. Data reuse is authorized under data/LICENSE; quality-failed and pending-review products keep their original quality gates.
catalog.md, log.md, data/, and backtest/.data/data_update_registry.json before any mutating operation.backtest/.venv/bin/python backtest/scripts/data_update.py <command>Read contracts.md when interpreting statuses, running a full update, or importing purchased files.
Run:
backtest/.venv/bin/python backtest/scripts/data_update.py status
backtest/.venv/bin/python backtest/scripts/data_update.py checkUse check --deep only for an explicit full audit, after material data work, or before enabling promotion. It verifies large raw files and runs the full test suite, so expect it to take longer.
Report separately:
Run an isolated shadow update:
backtest/.venv/bin/python backtest/scripts/data_update.py shadow-updateFor a fast diagnostic, pass --symbols AAPL,FERG,BRK.B,BF.B --tiingo all. For a requested full current-universe run, omit --symbols and --limit; warn that Twelve Data's free 8-credit/minute limit makes 503 symbols take roughly 63 minutes for the single adjusted-price request.
Treat exit code 2 as “review required,” not automatically as a crash. Open the report_json referenced by data/processed/updates/sp500_shadow/latest.json and explain the exact symbol statuses.
For a campaign rerun after code-only fixes, use immutable provider archives instead of spending primary-source credits again. --replay-twelve-run RUN_ID reuses a complete Twelve Data archive; --replay-tiingo-runs RUN_ID[,RUN_ID...] reuses available Tiingo payloads and fetches only missing required symbols. Never use replay to stand in for a new completed XNYS session.
If a live run stops after writing only some Twelve Data batches, preserve that raw run and resume into a new run ID:
backtest/.venv/bin/python backtest/scripts/data_update.py shadow-update \
--resume-twelve-run PARTIAL_RUN_ID \
--run-id NEW_RUN_IDResume reuses valid archived symbols, fetches only missing or stale symbols, and never modifies the source archive. Inspect resume_source_issues in the new report. Do not call a partial transport failure a completed campaign day.
If one archived symbol contains a transient latest-session value that later fails the independent cross-check, preserve the archive and refetch only that selected symbol while resuming:
backtest/.venv/bin/python backtest/scripts/data_update.py shadow-update \
--resume-twelve-run SOURCE_RUN_ID \
--refresh-symbols CBOE \
--replay-tiingo-runs SOURCE_RUN_ID \
--run-id NEW_RUN_IDUse --refresh-symbols only with --resume-twelve-run. Require the replacement payload to pass the unchanged candidate and cross-source gates; do not use this option to overwrite or hide the original failed evidence.
Do not edit data/processed/daily/equities/. While production_writes_enabled=false, no command may promote candidates into the approved database.
Require the exact source path. Always preview first:
backtest/.venv/bin/python backtest/scripts/data_update.py import-purchased \
--source /exact/external/path --deepSummarize file count, bytes, root SHA256, formats, and inspection failures. Apply only after the user explicitly authorizes copying that exact source and supplies or confirms provider and acquisition date:
backtest/.venv/bin/python backtest/scripts/data_update.py import-purchased \
--source /exact/external/path \
--provider provider-name \
--acquired-date YYYY-MM-DD \
--label optional-label \
--applyApplied files remain immutable under data/raw/purchased/ with status pending_review. Never infer permission to merge them into approved prices, rebuild historical membership, or delete the external source.
check; use check --deep after an applied purchase import or material implementation change.quant-tidy for catalog.md, log.md, audit, and tests.© Sixian-Li, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in .agents/skills/data-update of Sixian-Li/plain-backtest.
Open the folder on GitHubat commit 36adf23
Data Update 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Data Update this skillSixian-Li/plain-backtest | 170 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Anti Gambling Tradermars-tw/anti-gambling-trader-tw | 897 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Stock Market Analysisqusong0627/QuantMind | 1.7k | — | ~5.4k | Automated safety check: Pass | AGPL-3.0 | |
| Mx Finance Datahiboys/ExploreFinance | 365 | — | ~518 | Automated safety check: Pass | None | |
| Receipts To Expensesskrun-dev/skrun | 210 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Officecli Data DashboardFerroxLabs/wayland | 608 | 4 repos | ~9.2k | Automated safety check: Pass | AGPL-3.0 |
mars-tw/anti-gambling-trader-tw
分析台股 / 台股ETF / 台指期選擇權 / 美股 / 加密貨幣 / 外匯的交易紀錄 (CSV / JSON / Excel),用統計學判斷使用者的獲利是「可重複的優勢」還是 「運氣 + 倖存者偏差(賭博)」,不適合長期投資會明確勸退。內建反詐工具: 掃描群組對話的詐騙話術(scan-text)、檢驗老師宣稱的績效(guru-check)、…
qusong0627/QuantMind
股票市场深度数据分析与导出 — 全市场信号扫描、行业轮动、个股研报级深度分析(基本面/估值/技术/资金筹码/情绪/风险六维)、数据挖掘、CSV/Excel 导出。在 QuantBot / Claude Code 中分析股票市场、挖掘机会、导出分析数据、生成选股报告时使用。触发词:分析市场、数据分析、数据挖掘、全市场扫描、行业轮动、导出数据、导出CSV、挖掘机会、个股研报、个股分析、深度分析
hiboys/ExploreFinance
基于东方财富数据库,支持自然语言查询金融数据,覆盖A港美、基金、债券等多种资产,含实时行情、公司信息、估值、财务报表等,可用于投资研究、交易复盘、市场监控、行业分析、信用研究、财报审计、资产配置等场景,适配机构与个人多元需求。返回结果包含数据说明及 xlsx 文件。Natural language query for financial data across all markets…
skrun-dev/skrun
Read a batch of receipt images directly via vision, classify each into expense categories, optionally reconcile against a bank statement CSV, and produce a multi-sheet Excel workbook + a PDF summary.
FerroxLabs/wayland
A skill your agent uses to build a multi-element Excel dashboard - Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting - from CSV or…
n8n-io/n8n
Load before calling data-tables or parse-file. An agent skill from n8n-io/n8n.
Sixian-Li/plain-backtest
Audit and reorganize the Quant multi-project workspace. An agent skill from Sixian-Li/plain-backtest.
Sixian-Li/plain-backtest
Run the standardized Quant backtest pipeline from a natural-language strategy through data gating, tested implementation, PyBroker execution, independent-ledger reconciliation, parameter robustness…
Works with
Categories
Operate and assess the Quant workspace market-data layer through the tested data-update CLI. Data Update is an agent skill from Sixian-Li/plain-backtest. Operate and assess the Quant workspace market-data layer through the tested data-update CLI.
Data Update fits situations like: checking QQQ/SPY; constituent freshness; reviewing supported versus missing data capabilities; diagnosing quality.
Run `npx skills add Sixian-Li/plain-backtest --skill data-update -a claude-code`. Or copy the skill folder (.agents/skills/data-update in Sixian-Li/plain-backtest) into .claude/skills/data-update in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Sixian-Li/plain-backtest --skill data-update -a codex`. Or copy the skill folder (.agents/skills/data-update in Sixian-Li/plain-backtest) into .agents/skills/data-update in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Sixian-Li/plain-backtest --skill data-update -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/data-update, .gemini/skills/data-update, .github/skills/data-update and .opencode/skills/data-update in your project.
Going by SKILL.md and its folder, Data Update needs the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
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.
Data Update is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k 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 1.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Data Update: Anti Gambling Trader (mars-tw/anti-gambling-trader-tw, 897 stars), Stock Market Analysis (qusong0627/QuantMind, 1.7k stars), Mx Finance Data (hiboys/ExploreFinance, 365 stars) and Receipts To Expenses (skrun-dev/skrun, 210 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Sixian-Li (a GitHub user) maintains it in Sixian-Li/plain-backtest, which has 170 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 27, 2026.
Source: Sixian-Li/plain-backtest on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.