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.
npx skills add minguncle/a-share-agent-skills --skill a-share-portfolio-triagegit clone --depth 1 https://github.com/minguncle/a-share-agent-skillsWrote 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.
[](https://agentmods.dev/skills/minguncle/a-share-agent-skills/a-share-portfolio-triage)<a href="https://agentmods.dev/skills/minguncle/a-share-agent-skills/a-share-portfolio-triage"><img src="https://agentmods.dev/badge/skills/minguncle/a-share-agent-skills/a-share-portfolio-triage/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.
<a href="https://agentmods.dev/skills/minguncle/a-share-agent-skills/a-share-portfolio-triage"><img src="https://agentmods.dev/badge/skills/minguncle/a-share-agent-skills/a-share-portfolio-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01003 |
| Opus 5 | $0.00032 | $0.00502 |
| Sonnet 5 | $0.00013 | $0.00201 |
| Haiku 4.5 | $0.00006 | $0.00100 |
Grade A, and why
a-share-portfolio-triage 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.
How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
A-Share Portfolio Triage
Use this skill when the user posts a holdings screenshot or list and wants direct portfolio handling, not just market commentary.
What This Skill Does
This skill converts a scattered holdings list into a processing plan:
- identify the market state first
- cluster positions by theme
- find duplication and weak exposure
- classify each name into keep, reduce, clear, or observation
- give a practical next-session playbook
When To Use
Use this skill when the user:
- shares a portfolio screenshot
- asks "我要卖什么吗"
- asks how to shrink or rebalance current exposure
- wants a next-day action table with prices and sequence
Do not use private or undisclosed corporate information. If the user mentions nonpublic details, exclude them from the trade logic and say so.
Workflow
1. Normalize The Holdings
From the screenshot or list, extract:
- stock names or tickers
- approximate position sizes if visible
- cost and current price if visible
- current overall exposure
If some fields are missing, proceed and note the gap.
2. Rebuild Market Context
Before touching the holdings, check:
- current index tone
- active sectors
- weak sectors
- whether the market is broad or narrow
3. Cluster By Theme
Group positions into:
- energy / oil / coal / power
- growth / semis / communications
- metals / battery chain
- defensive dividend names
- purely narrative or weak positions
Explicitly call out duplicated exposure. The problem is often not only the wrong stock, but too many stocks from the same theme.
4. Triage The Book
Default buckets:
核心持有次级保留观察仓优先腾资金
Use these rules:
- keep the names most aligned with the current tape
- reduce duplicate or lower-quality theme exposure
- shrink weak non-theme names first
- do not let a weak story stock stay a large position just because it has a private narrative
5. Convert To Action Order
For each stock, provide:
- action: keep / reduce / clear / observation
- reason
- key levels
- what to do if the next session opens high
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.
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.
- 12d ago First seen · 155 lines · 64 tokens per session scan A 15bb7749a4b8
a-share-portfolio-triage is a skill published in the GitHub repository minguncle/a-share-agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 64 tokens to every session and 1,003 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-31.
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.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
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…
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.
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.
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.