stock_skills: Skill for Claude Code

.claude/skills/stock-portfolio/SKILL.md

stock-portfolio is a skill for Claude Code from okikusan-public/stock_skills. It costs 40 tokens per session (5,427 once invoked), scanned A, original, no licence file.

A portfolio-management tool for tracking owned investments, recording trades, and analysing portfolio structure. A stress test is an analysis of how a portfolio might react to difficult market conditions.

In plain words
What is it for?
Use it to list investments, record purchases and sales, review portfolio structure, and prepare data for stress testing.
Why use it?
It keeps holdings and trade history together and provides a basis for understanding portfolio composition and risk.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is okikusan-public/stock_skills's own configuration. It tells Claude Code how to work on stock_skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything stock_skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to okikusan-public/stock_skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/okikusan-public/stock_skills/main/.claude/skills/stock-portfolio/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/okikusan-public/stock_skills

Made for: Claude Code.

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 stock-portfolio

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/okikusan-public/stock_skills/stock-portfolio"><img src="https://agentmods.dev/badge/skills/okikusan-public/stock_skills/stock-portfolio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,427 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 unknown 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.00040 $0.05427
Opus 5 $0.00020 $0.02714
Sonnet 5 $0.00008 $0.01085
Haiku 4.5 $0.00004 $0.00543

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

Security

Grade A, and why

stock-portfolio 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.

The scan reads SKILL.md. This mod also ships 14 executable files (scripts/portfolio_commands/__init__.py, scripts/portfolio_commands/adjust.py, scripts/portfolio_commands/analyze.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/stock-portfolio/SKILL.md · 363 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 363 lines · 40 tokens per session scan A cc2b66a5dc56

Subscribe to this mod's changes

stock-portfolio is a skill published in the GitHub repository okikusan-public/stock_skills (132 stars, last pushed 4mo ago), with no licence file. It adds 40 tokens to every session and 5,427 once invoked, about $0.0002 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