market-watch-loop

market-watch-loop is a skill for Codex from coffee-man666/mommy-chaogu. It costs 70 tokens per session (1,880 once invoked), scanned A, original, MIT.

A repeatable loop for watching A-share or US stock markets at set intervals. It records what was checked, when the data came from, what was missing, and when monitoring should stop.

In plain words
What is it for?
Use it to monitor indexes, sectors, themes, ETFs, or named stocks; optionally calculate moving averages and other supported measures; and produce live updates, CSV or SQLite history, or a Markdown report.
Why use it?
It avoids ad-hoc market checks that use unclear coverage, stale data, or no defined stopping point. It keeps repeated updates consistent and traceable.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to monitor indexes, sectors, themes, ETFs, or named stocks; optionally calculate moving averages and other supported measures; and produce live updates, CSV or SQLite history, or a Markdown report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coffee-man666/mommy-chaogu/market-watch-loop
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add coffee-man666/mommy-chaogu --skill market-watch-loop
Clone the repo
git clone --depth 1 https://github.com/coffee-man666/mommy-chaogu

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for market-watch-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/coffee-man666/mommy-chaogu/market-watch-loop/github.svg)](https://agentmods.dev/skills/coffee-man666/mommy-chaogu/market-watch-loop)
Your own site
<a href="https://agentmods.dev/skills/coffee-man666/mommy-chaogu/market-watch-loop"><img src="https://agentmods.dev/badge/skills/coffee-man666/mommy-chaogu/market-watch-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for market-watch-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/coffee-man666/mommy-chaogu/market-watch-loop"><img src="https://agentmods.dev/badge/skills/coffee-man666/mommy-chaogu/market-watch-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,880 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.01880
Opus 5 $0.00035 $0.00940
Sonnet 5 $0.00014 $0.00376
Haiku 4.5 $0.00007 $0.00188

Measured 12d ago against content hash 951b0147d673, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

market-watch-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/mommy_chaogu/bundled_skills/market-watch-loop/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Market Watch Loop

Use this skill to turn a natural-language request into a bounded, auditable market-monitoring loop. The loop is configurable, but every run must preserve the exchange session, source timestamps, coverage, missing fields, and stop condition.

1. Confirm the monitoring contract

Resolve the smallest set of missing choices before starting repeated collection:

market: A-shares | US stocks
scope: indices, sectors/themes, ETFs, and/or named symbols
frequency: positive duration; default 10 minutes
window: exchange session, explicit start/end, or bounded number of polls
coverage: one or more supported information blocks
analysis: breadth, leaders/laggards, MA timeframes, flows, or other supported calculations
output: live update, CSV/SQLite history, Markdown report

Ask for clarification only when a missing choice changes the data source or safety of the run. Reasonable defaults are:

  • Frequency: every 10 minutes during regular trading hours. Honor a user-specified cadence, including 15 minutes, and state it in the first update.
  • A-share scope: broad indices → requested sector/theme → canonical constituents when a theme is named. Disclose the returned constituent count and any truncation.
  • US scope: ^GSPC, ^IXIC, ^DJI, ^VIX, and ^TNX plus the user's ETF or stock basket; do not invent a sector universe when none was requested.
  • Storage: append one dated CSV summary or use the project's SQLite/cache path. Keep raw OHLC in memory or in a deliberately named CSV/SQLite file. Do not create one JSON file per poll.
  • Duration: stop at the requested end time or exchange close; never run indefinitely by implication.

For US stocks, do not fetch data until the user has chosen a pipeline, unless the request already specifies one:

  1. Yahoo Finance only: no key; quotes/bars, benchmarks, VIX, and rates where available. It does not provide a full-market snapshot, money flow, or reliable A-share-style sector breadth.
  2. Massive/Polygon primary + Yahoo fallback: use when the corresponding key is configured; disclose that equity and index/risk data can have different timestamps and semantics.
  3. Offline fixture/historical replay: deterministic and network-free; valid for testing loop orchestration, not for claiming current market freshness.

Read the full file on GitHub · 161 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 161 lines · 70 tokens per session scan A 951b0147d673

Subscribe to this mod's changes

market-watch-loop is a skill published in the GitHub repository coffee-man666/mommy-chaogu (47 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 1,880 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens