skill

skill is a skill for Claude Code, Codex from kedoupi/portfolio-monitor. It costs 0 tokens per session (943 once invoked), scanned A, original, MIT.

A command-line tool for managing a stock portfolio through a running portfolio-monitor service. It records holdings, cash, trades, watchlists, alerts, prices, valuation ratios, and financial statements.

In plain words
What is it for?
Use it to review holdings and profit or loss, record buys and sells, track stocks, set price levels, view alerts, and query market and company data.
Why use it?
It keeps portfolio records and market checks in one place instead of requiring separate manual notes or interfaces.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to review holdings and profit or loss, record buys and sells, track stocks, set price levels, view alerts, and query market and company data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kedoupi/portfolio-monitor/skill
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 kedoupi/portfolio-monitor --skill skill
Clone the repo
git clone --depth 1 https://github.com/kedoupi/portfolio-monitor

Made for: Claude Code, 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 skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/kedoupi/portfolio-monitor/skill/github.svg)](https://agentmods.dev/skills/kedoupi/portfolio-monitor/skill)
Your own site
<a href="https://agentmods.dev/skills/kedoupi/portfolio-monitor/skill"><img src="https://agentmods.dev/badge/skills/kedoupi/portfolio-monitor/skill/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 skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/kedoupi/portfolio-monitor/skill"><img src="https://agentmods.dev/badge/skills/kedoupi/portfolio-monitor/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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.
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.00000 $0.00943
Opus 5 $0.00000 $0.00472
Sonnet 5 $0.00000 $0.00189
Haiku 4.5 $0.00000 $0.00094

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

Security

Grade A, and why

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

skill/SKILL.md · 113 lines

How it starts

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

stock-portfolio skill

通过 CLI 与 portfolio-monitor 服务交互,管理股票持仓、现金账户、交易记录、告警,以及查询完整市场数据。

安装

前提:portfolio-monitor 服务已运行(见根目录 README 的 Docker 部署)

cp -rp skill/ ~/.openclaw/skills/stock-portfolio/
chmod +x ~/.openclaw/skills/stock-portfolio/portfolio

配置

默认连接 http://localhost:8802,可通过环境变量覆盖:

export PORTFOLIO_API_URL="http://your-server:8802"

命令全览

持仓管理

命令 说明
portfolio summary 资产总览(持仓 + 现金)
portfolio holdings 当前持仓及盈亏
portfolio cash 现金账户余额
portfolio buy SYMBOL SHARES PRICE [note] 记录买入
portfolio sell SYMBOL SHARES PRICE [note] 记录卖出
portfolio transactions 交易历史

监控预警

命令 说明
portfolio watch 监控列表(含分批建仓计划)
portfolio watch-add SYMBOL [name] [--buy p] [--sell p] [--stop p] 添加监控
portfolio watch-update SYMBOL [--buy p] [--sell p] [--stop p] 修改档位
portfolio watch-delete SYMBOL 删除监控
portfolio alerts 告警历史

市场数据(基础)

命令 说明
portfolio price SYMBOL 实时行情(美股 + A股,如 510300.SS)
portfolio ratios SYMBOL 估值指标(PE/PB/EPS/ROE/股息率)
portfolio income SYMBOL [quarterly|annual] [limit] 损益表
portfolio estimates SYMBOL 分析师预期 & 目标价
portfolio news SYMBOL [limit] 最新新闻

市场数据(扩展)

命令 说明
portfolio balance SYMBOL [quarterly|annual] [limit] 资产负债表
portfolio cashflow SYMBOL [quarterly|annual] [limit] 现金流量表
portfolio company SYMBOL 公司基本信息(行业/员工/简介)
portfolio insiders SYMBOL [limit] 内幕交易记录
portfolio segments SYMBOL 营收拆分(按产品/地区)
portfolio crypto SYMBOL 加密货币价格(BTC-USD/ETH-USD)
portfolio prices SYMBOL [start] [end] [interval] 历史 OHLCV 数据

宏观与量化

命令 说明
portfolio macro 宏观指标(VIX / 美债10年 / DXY / 标普 / 纳指)
portfolio quant SYMBOL 单支量化信号评分
portfolio quant-all 全部持仓量化信号
portfolio earnings 财报日历(未来30天)
portfolio earnings-recent 最近已发布财报
portfolio snapshot 历史资产快照

Read the full file on GitHub · 113 lines

Files

What ships with it

3 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 · 113 lines · 0 tokens per session scan A ab6d8de244fb

Subscribe to this mod's changes

skill is a skill published in the GitHub repository kedoupi/portfolio-monitor (20 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 943 tokens. 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