Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

portfolio

Skill by nearai

Portfolio aggregates a user's cross-chain DeFi positions across several wallets, suggests yield and rebalancing moves, and builds unsigned NEAR Intent bundles. It never holds private keys, so signing stays in the user's wallet.

  • Score 92
  • 13k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install portfolio

Built from the published package, never by AI.

git clone --depth 1 https://github.com/nearai/ironclaw /tmp/ironclaw && mkdir -p ~/.claude/skills && cp -r /tmp/ironclaw/docs/internal/archived-skills/portfolio ~/.claude/skills/portfolio

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install portfolio in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Portfolio is an agent skill that helps a user discover, analyze and rebalance a cross-chain DeFi portfolio. It keeps all of the user's wallets in one per-user project, scanning EVM addresses through a Dune backend and NEAR accounts through FastNEAR and Intear. Scans feed a set of bundled strategies that propose yield moves.

Proposals are ranked and can be turned into unsigned NEAR Intent bundles. The skill never holds private keys, and signing happens only in the user's own wallet. It can also set up a recurring keeper mission every six hours, after asking. It is aimed at people who hold DeFi positions across several addresses and want suggestions without giving up custody.

Written from the project's SKILL.md and checked against it.

What it can do

  • portfolio (action: scan)Scans EVM and NEAR addresses and returns classified DeFi positions.
  • portfolio (action: propose)Runs bundled or custom strategies against scanned positions to produce proposals.
  • portfolio (action: build_intent)Builds unsigned NEAR Intent bundles from ready proposals.
  • portfolio (action: format_widget)Produces render-ready data for the portfolio web widget.
  • project_createCreates the default per-user portfolio project that holds all wallets.
  • memory_write and memory_readStores addresses, config, strategies, history and suggestions in the project.
  • mission_createCreates a portfolio-keeper mission, only after the user agrees.
  • Starter scriptsIncludes a health factor watchdog, weekly report, backtest and concentration warning.

What you need

  • The portfolio tool
  • Wallet addresses to scan, EVM (0x...) or NEAR accounts
  • A workspace with project and memory tools

Try asking

  • Scan my wallet 0x... and list my DeFi positions by principal
  • Suggest how to rebalance my NEAR and USDC holdings for more yield
  • Build an unsigned NEAR Intent for my top ready proposal

Good to know

  • Read-only: it produces unsigned intents and never requests signing.
  • build_intent uses the fixture solver in milestone M1.
  • The fixture data source is for local smoke tests only.
  • The keeper mission is not created automatically; the user must agree first.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: docs/internal/archived-skills/portfolio/SKILL.md, docs/internal/archived-skills/portfolio/legacy-tests/test_portfolio.py, docs/internal/archived-skills/portfolio/scripts/alert_if_health_below.py, docs/internal/archived-skills/portfolio/scripts/backtest_strategy.py, docs/internal/archived-skills/portfolio/scripts/concentration_warning.py, docs/internal/archived-skills/portfolio/scripts/weekly_report.py, docs/internal/archived-skills/portfolio/widget/index.js. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB
  • legacy-tests/test_portfolio.py12 KB
  • scripts/alert_if_health_below.py2 KB
  • scripts/backtest_strategy.py3 KB
  • scripts/concentration_warning.py2 KB
Show all 9 files
  • scripts/weekly_report.py2 KB
  • widget/index.js10 KB
  • widget/manifest.json112 B
  • widget/style.css2 KB

Alternatives to portfolio

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

portfolio: common questions

Does Portfolio hold private keys?

No. The source says it never holds private keys and that every execution path produces unsigned intents only. Signing happens in the user's wallet.

Which chains and address types does it scan?

EVM addresses (0x...) route to a Dune backend. NEAR accounts (.near, .tg, implicit hex) route to the FastNEAR and Intear backend.

Can it track several wallets at once?

Yes. Multiple addresses are stored in one default portfolio project per user and aggregated together.

How do I install portfolio?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is portfolio free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is portfolio safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to portfolio?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

portfolio Install

Add to stack

Loading.