senpi-portfolio

senpi-portfolio is a skill for Claude Code, Codex from Senpi-ai/senpi-skills. It costs 385 tokens per session (14,217 once invoked), scanned A, original, MIT.

A real-time analyst for a user's Senpi portfolio across wallets, strategies, positions, and trades. It organizes the money into the right areas and evaluates each strategy against the job it was designed to do.

In plain words
What is it for?
Use it to analyze Senpi strategies, wallets, balances, positions, trades, deployment status, or current portfolio performance.
Why use it?
A list of balances or positions does not explain whether the portfolio is working as intended. This provides a strategy-level assessment with positions and profit or loss as supporting evidence.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it to analyze Senpi strategies, wallets, balances, positions, trades, deployment status, or current portfolio performance.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/senpi-ai/senpi-skills/senpi-portfolio"><img src="https://agentmods.dev/badge/skills/senpi-ai/senpi-skills/senpi-portfolio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 385 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,217 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 540
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • medium Excessive Agency · line 716
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00385 $0.14217
Opus 5.5 $0.00154 $0.05687
Sonnet 5.5 $0.00077 $0.02843
Haiku 4.5 $0.00038 $0.01422

Measured today against content hash 7f8757484590, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

senpi-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 today.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/mcp_client.py, scripts/portfolio.py, tests/test_close_recency.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.

senpi-portfolio/SKILL.md · 734 lines

How it starts

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

Senpi Portfolio — real-time, all-wallet analysis

Follow-ups first — the router

Follow-ups: answer only what is new. Re-run the one step the question needs (numbers always come from a fresh read, never an earlier one), answer that question, and never re-send the wallet list, the book total, or verdicts and figures already shown unless the user asks for them again.

The ask Step to run Read first
"how much idle / where's my money / balance across wallets / grand total / my wallets", a wallet they added money "One wallet list" below
"are my strategies protected? / do they have a stop-loss? / how are my strategies doing / analyze my strategies / what's their DSL / mandate" strategies references/dsl.md (protection), references/mandate.md (verdicts), references/runtime-health.md (liveness)
"is it running / health check / degraded / not running / could not verify / it looks stuck / restart it" strategies references/runtime-health.md
"why hasn't it traded / why didn't it open X / no signals" strategies references/why-not-trading.md
a copy-trade (strategy_kind: "mirror") strategies references/mirror-strategies.md
"analyze my positions / my positions vs the market / net exposure / concentration / idle drag" positions references/analysis-framework.md
"analyze my portfolio / how am I doing" (the full read) money → strategies → positions, narrating between references/output-contract.md, references/runtime-health.md (liveness)
"what happened to my closed X / did my trade go through / do I still hold X" strategies (closed), positions "Source of truth" below
"go deeper on X" (the deep-dive answer) a strategy: strategies; a wallet they added: its row; the Senpi main wallet: embedded_wallet —
add / change / remove a stop or DSL nothing here — this skill reads; offer it, then senpi-trade "This skill reads" below
score / rate / grade my trading quant-desk on these wallets —
"where am I leaking / did a stop fail / exit quality", trade history senpi-improve-trades —
what a JSON field means — references/output-fields.md
a read failed: meta.degraded, meta.warnings, reconciles: false, a null figure re-run that step references/output-contract.md ("Resilience")
run this on a schedule — say the cost first: every firing is a full model call; at most twice a day, after a yes ("Run it in steps")
close / pause / keep / top up ONE wallet of a strategy — the no-no below: whole strategy only
a yes to CTA 1 / CTA 2, or a digit (after the CTAs: that CTA; after the idle menu: that option), or a question about a menu option or its numbers the levers / the ready options references/output-contract.md (the menu)

Read the full file on GitHub · 734 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. today Changed 7f8757484590
  2. yesterday Changed 069957511dcb
  3. 7d ago Changed · +1 lines 7536106d5fa4
  4. 9d ago Changed 5bc25630e768
  5. 10d ago Changed fa6557f17305
  6. 13d ago Changed · -369 lines bb553132cc5b
  7. 15d ago Changed · +1 lines 00aac38332b3
  8. 20d ago Changed · +9 lines 4b092c48bc77
  9. 27d ago Changed · +136 lines · +33 tokens per session 8dfd4df5e0c8
  10. 1mo ago First seen · 956 lines · 352 tokens per session scan A 28b8cf812b50

Subscribe to this mod's changes

senpi-portfolio is a skill published in the GitHub repository Senpi-ai/senpi-skills (144 stars, last pushed yesterday), licensed MIT. It adds 385 tokens to every session and 14,217 once invoked, about $0.0015 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-08-30.

Related

senpi-portfolio compared with skills from other repositories

senpi-portfolio next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
senpi-portfolioSenpi-ai/senpi-skillsSkill144yesterdayMITA385Claude Code, Codex
sector-rotationHKUDS/Vibe-TradingSkill38kyesterdayMITA39Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k2d agoMITA110Claude Code
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7k2d agoMITA28Claude Code, Codex
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill269todayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6k2d agoGPL-2.0A292Codex