Stock Watcher THS
Manage and summarize an A-share watchlist Skill: Stock Watcher THS Owner: xiaoxiaohuayu Summary: Manage and summarize an A-share watchlist Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-05T10:43:24.728Z | auto Initial release of stock-watcher skill for local A-share management. - Add, remove, list, clear, and summarize a watchlist of Chinese A-share stocks using 10jqka quotes. - Automatically infers stock market from code and supports custom data direc
Rank
62
Safety
84
Downloads
2.4k
Updated
Oct 9, 2026
Version
0.1.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.4K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.4K downloadsadoption · observed Oct 9, 2026
- Latest release
- 0.1.0release · observed Aug 5, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17cfzkd92yahq8mwp9c50myk98bxskc:stock-watcher-publish- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-xiaoxiaohuayu-stock-watcher-publish/snapshot"
Documentation
CLAWHUB
7,454 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: stock-watcher
description: Manage and monitor a local Chinese A-share watchlist. Use when the user asks to add, remove, list, clear, or summarize watched stocks using 10jqka structured quote data with HTML fallback.
---
# Stock Watcher
Use this skill to manage a local A-share watchlist and summarize current quotes.
## Scope
- Supports common 6-digit A-share stock codes.
- Infers 同花顺 market `17` for `6xxxxx`; infers market `33` for `0xxxxx` and `3xxxxx`.
- Stores watchlist data inside this skill folder at `data/watchlist.txt`.
- Supports `STOCK_WATCHER_DATA_DIR` to override the watchlist directory.
- Uses the 同花顺 structured quote API first.
- Falls back to parsing `https://stockpage.10jqka.com.cn/{stock_code}/` when the API path fails.
Do not store browser cookies, user login tokens, or other credentials in this skill.
## Commands
Run scripts from the skill folder or by passing their full path:
```bash
bash scripts/install.sh
python3 scripts/list_stocks.py
python3 scripts/add_stock.py 600188 兖矿能源
python3 scripts/remove_stock.py 600188
python3 scripts/clear_watchlist.py
python3 scripts/summarize_performance.py
```
If dependencies are missing, install them first:
```bash
python3 -m pip install -r requirements.txt
```
## Watchlist Format
`data/watchlist.txt` uses one stock per line:
```text
600188|兖矿能源
002384|东山精密
```
Set `STOCK_WATCHER_DATA_DIR` when the watchlist should live outside the skill folder:
```bash
STOCK_WATCHER_DATA_DIR="$HOME/.stock-watcher" python3 scripts/list_stocks.py
```
## Output
`summarize_performance.py` prints concise quote summaries:
```text
600188 - 兖矿能源 - 最新价: 20.27 - 涨跌幅: 1.35% - 涨跌额: 0.27 - 成交额: 1229165230.0 - 来源: API
```
If the API fails but HTML parsing succeeds, output is marked `来源: HTML`.
## Limitations
- 同花顺 endpoints are not official public APIs and may change or block requests.
- Output may be delayed or unavailable depending on network and market status.
- The data is for analysis and monitoring only, not investment advice.README.md
# Stock Watcher A Codex skill for managing a local Chinese A-share watchlist and summarizing current quotes from 同花顺. ## Features - Add, list, remove, and clear watched stocks. - Store watchlist data locally in the skill folder. - Fetch quote summaries through 同花顺 structured quote API. - Fall back to 同花顺 HTML parsing when the API path fails. - Avoid browser cookies and user login tokens. ## Install Dependencies ```bash python3 -m pip install -r requirements.txt ``` ## Usage ```bash bash scripts/install.sh python3 scripts/add_stock.py 600188 兖矿能源 python3 scripts/list_stocks.py python3 scripts/summarize_performance.py python3 scripts/remove_stock.py 600188 ``` Use a custom data directory when desired: ```bash STOCK_WATCHER_DATA_DIR="$HOME/.stock-watcher" python3 scripts/list_stocks.py ``` ## Notes 同花顺 endpoints used here are not official public APIs and may change. Output is for analysis and monitoring only, not investment advice.
_meta.json
{
"ownerId": "kn7003zc7v6vh4qs8cd2f6t8v58bx0q8",
"slug": "stock-watcher-publish",
"version": "0.1.0",
"publishedAt": 1785926604728
}skill-card.md
## Description:
Manage and monitor a local Chinese A-share watchlist by adding, removing, listing, clearing, and summarizing watched stocks using 10jqka structured quote data with HTML fallback.
This skill is ready for commercial/non-commercial use.
## Publisher:
[xiaoxiaohuayu](https://clawhub.ai/user/xiaoxiaohuayu)
### License/Terms of Use:
MIT-0
## Use Case:
External users and developers use this skill to maintain a local Chinese A-share watchlist and generate concise current quote summaries from 10jqka data sources. It is intended for monitoring and analysis, not investment advice.
### Deployment Geography for Use:
Global
## Known Risks and Mitigations:
Risk: The uninstall script can recursively delete the directory selected by STOCK_WATCHER_DATA_DIR.
Mitigation: Review before installing, avoid pointing STOCK_WATCHER_DATA_DIR at valuable directories, and fix uninstall.sh to delete only the skill-owned watchlist file or a narrowly scoped skill data directory.
Risk: The skill ships reusable API authorization material for the 10jqka quote endpoint.
Mitigation: Replace or remove embedded authorization material before deployment and confirm that data access complies with the upstream service terms.
Risk: Dependencies are specified as minimum versions rather than pinned versions.
Mitigation: Pin and review Python dependencies before use in controlled or production environments.
Risk: 10jqka endpoints are not documented as official public APIs and may change, block requests, or return delayed data.
Mitigation: Treat generated quote summaries as monitoring aids only and verify important financial information against authoritative sources.
## Reference(s):
- [Server-resolved source repository](https://github.com/xiaoxiaohuayu/stock-watcher-publish)
- [ClawHub skill page](https://clawhub.ai/xiaoxiaohuayu/skills/stock-watcher-publish)
- [10jqka stock page pattern](https://stockpage.10jqka.com.cn/{stock_code}/)
- [10jqka quote snapshot endpoint](https://quota-h.10jqka.com.cn/fuyao/common_hq_aggr/quote/v1/multi_last_snapshot)
## Skill Output:
**Output Type(s):** [text, shell commands, configuration, guidance]
**Output Format:** [Plain text and Markdown with inline shell commands]
**Output Parameters:** [1D]
**Other Properties Related to Output:** [Writes and reads a local watchlist text file; quote summaries depend on network access to 10jqka endpoints.]
## Skill Version(s):
0.1.0 (source: server release evidence)
## Ethical Considerations:
Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.agents/openai.yaml
interface: display_name: "Stock Watcher" short_description: "Manage and summarize an A-share watchlist" default_prompt: "Use $stock-watcher to summarize my local A-share watchlist."
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/xiaoxiaohuayu/skills/stock-watcher-publish",
"sourceUrl": "https://clawhub.ai/xiaoxiaohuayu/skills/stock-watcher-publish",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T14:48:39.428Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-xiaoxiaohuayu-stock-watcher-publish/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-xiaoxiaohuayu-stock-watcher-publish/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T14:48:39.428Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.4K downloads",
"href": "https://clawhub.ai/xiaoxiaohuayu/stock-watcher-publish",
"sourceUrl": "https://clawhub.ai/xiaoxiaohuayu/stock-watcher-publish",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T14:48:39.428Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.1.0",
"href": "https://clawhub.ai/xiaoxiaohuayu/stock-watcher-publish",
"sourceUrl": "https://clawhub.ai/xiaoxiaohuayu/stock-watcher-publish",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-05T10:43:24.728Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-xiaoxiaohuayu-stock-watcher-publish/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-xiaoxiaohuayu-stock-watcher-publish/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.1.0",
"description": "Initial release of stock-watcher skill for local A-share management. - Add, remove, list, clear, and summarize a watchlist of Chinese A-share stocks using 10jqka quotes. - Automatically infers stock market from code and supports custom data directory via `STOCK_WATCHER_DATA_DIR`. - Retrieves quotes using the 10jqka structured quote API with HTML fallback on failure. - Provides command-line utilities for all major watchlist operations. - Stores data in a simple, editable text file. - Includes installation and usage instructions in documentation.",
"href": "https://clawhub.ai/xiaoxiaohuayu/stock-watcher-publish",
"sourceUrl": "https://clawhub.ai/xiaoxiaohuayu/stock-watcher-publish",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-05T10:43:24.728Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
