agentleFS
baofeng-techbaofeng-tech/agent-skills-so/stock-portfolio/SKILL.md

stock-portfolio

Skill0 starsChanged 7 months agoMITView on GitHub

Manage investment portfolios with live P&L tracking via AIsa API. Create, add, update, remove positions, rename, and show portfolio summary with real-time profit/loss. Use when the user wants to track investments, manage a portfolio, check P&L, or add/remove holdings.

  • Reads credentials

4 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Portfolio Management — AIsa Edition

Manage investment portfolios with live P&L tracking using the AIsa API.

Usage

# Create a new portfolio
python3 scripts/portfolio.py create "My Portfolio"

# Add a position
python3 scripts/portfolio.py add AAPL --quantity 10 --cost 150
python3 scripts/portfolio.py add BTC-USD --quantity 0.5 --cost 40000

# Show portfolio with live P&L
python3 scripts/portfolio.py show
python3 scripts/portfolio.py show --portfolio "My Portfolio"

# Update a position
python3 scripts/portfolio.py update AAPL --quantity 15 --cost 160

# Remove a position
python3 scripts/portfolio.py remove AAPL

# List all portfolios
python3 scripts/portfolio.py list

# Rename a portfolio
python3 scripts/portfolio.py rename "My Portfolio" "Tech Holdings"

# Delete a portfolio
python3 scripts/portfolio.py delete "Old Portfolio"

Actions

ActionDescription
create NAMECreate a new portfolio
listList all portfolios
showShow portfolio summary with live P&L
add TICKERAdd position with --quantity and --cost
update TICKERUpdate position quantity/cost
remove TICKERRemove position from portfolio
rename OLD NEWRename a portfolio
delete NAMEDelete a portfolio

Data Storage

Portfolio data is stored in ./.claude-skill-data/portfolios.json for persistence across sessions.

NOT FINANCIAL ADVICE. For informational purposes only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.