portfolio

portfolio is a command for Claude Code from Aznatkoiny/zAI-Skills. It costs 19 tokens per session (679 once invoked), scanned A, original, MIT.

A command that maintains a persistent JSON file of real estate properties and sends it to a review agent.

In plain words
What is it for?
It helps track property details such as debt, rent, operating income, value, and purchase basis.
Why use it?
It keeps property records in one place and makes adding, changing, or removing entries repeatable.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the real-estate-investment plugin — 1 skill, 9 commands, 4 agents shipped together

Good fit It helps track property details such as debt, rent, operating income, value, and purchase basis.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Aznatkoiny/zAI-Skills
Claude Code
/plugin install real-estate-investment

Made for: Claude Code.

Or install real-estate-investment, the plugin that ships this one along with the rest of its 1 skill, 9 commands, 4 agents.

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 portfolio

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/aznatkoiny/zai-skills/portfolio"><img src="https://agentmods.dev/badge/commands/aznatkoiny/zai-skills/portfolio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 679 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.00019 $0.00679
Opus 5.5 $0.00008 $0.00272
Sonnet 5.5 $0.00004 $0.00136
Haiku 4.5 $0.00002 $0.00068

Measured 1mo ago against content hash 84ad1d020791, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 1mo 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.

real-estate-investment/commands/portfolio.md · 53 lines

How it starts

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

Portfolio Tracker & Review

Requested action and details (may be empty): $ARGUMENTS

Instructions

When this command is invoked, maintain the user's persistent portfolio file and review it:

1. Locate or Create portfolio.json

Look for portfolio.json in the current working directory (Glob/Read).

  • Exists: Read it and confirm the property count and as_of date with the user
  • Missing: create it from the plugin template — Read ${CLAUDE_PLUGIN_ROOT}/templates/portfolio-template.json, keep its _schema block, replace the example entries with the user's actual properties, and set as_of to today

2. Apply the Requested Change

Interpret $ARGUMENTS (or ask):

  • add: collect the schema fields for the new property via AskUserQuestion — required: property, basis, debt, rate + maturity (if debt > 0), rent, noi, value; recommended: type, acquired, accumulated_depreciation, value_source, notes
  • update: locate the entry by address (fuzzy match is fine, confirm the match), update the named fields, refresh as_of
  • remove: delete the entry after confirmation (suggest /exit-analysis first if they are selling rather than just cleaning up)
  • review (or no action given): skip straight to step 4

Validate before writing: numbers are plain numbers, rates are decimals (0.065 not 6.5), dates are YYYY-MM-DD, debt <= value sanity check (warn, don't block). Write the updated file with Write, preserving the _schema block and any fields you did not touch.

3. Confirm the Write

Show a one-line-per-property summary table (address, value, debt, NOI, rate, maturity) so the user can spot typos before analysis runs.

4. Run the Portfolio Review

Invoke the portfolio-reviewer agent, telling it to read portfolio.json in the working directory as its data source. It aggregates portfolio metrics (LTV, weighted cap rate, portfolio DSCR, CoC), flags concentration and refinance risks, ranks property performance, and recommends optimization moves.

Read the full file on GitHub · 53 lines

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. 1mo ago First seen · 53 lines · 19 tokens per session scan A 84ad1d020791

Subscribe to this mod's changes

portfolio is a command published in the GitHub repository Aznatkoiny/zAI-Skills (10 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 679 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other commands, from other repositories

orchestrate

Do this task as an orchestrator. The aim is the same result at a fraction of the cost: in a long session, every token in this conversation is re-read on each later request, while a subagent's reading is discarded when it returns. The plugin's subagents run on Haiku 5.5, about 40× cheaper per token than Opus 5.5.

egorfedorov/claude-context-optimizer · 0 tokens

conjure-agent

Creates or updates a Claude Code agent definition (/.claude/agents/ .md or project-local).

john-farina/claude-plugins · 27 tokens

conjure

Use when you want to build a new Claude Code skill, agent, hook, or MCP server but aren't sure which — or when you want to describe what you want in plain language. Auto-detects the right artifact type, asks targeted questions, explains the reasoning, then builds it.

john-farina/claude-plugins · 62 tokens

conjure-mcp

Create a Claude Code MCP (Model Context Protocol) server. Provide a description of what external system or data source you want Claude to connect to.

john-farina/claude-plugins · 35 tokens

conjure-help

Show help for the conjure toolkit — all commands, argument syntax, update modes, and decision guide. Use when you want to know which conjure command to use or how any conjure command works.

john-farina/claude-plugins · 46 tokens

strip

This is the task-based stripper, not the always-on prior: a deliberate cleanup pass you asked for. Apply the fp-minify doctrine to the target and remove or compress comments that don't earn their place.

SlashyIsTaken/fp-pluginplaza · 15 tokens