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.
npx skills add longsizhuo/openInvest --skill invest-setupgit clone --depth 1 https://github.com/longsizhuo/openInvestWrote 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.
[](https://agentmods.dev/skills/longsizhuo/openinvest/invest-setup)<a href="https://agentmods.dev/skills/longsizhuo/openinvest/invest-setup"><img src="https://agentmods.dev/badge/skills/longsizhuo/openinvest/invest-setup/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.
<a href="https://agentmods.dev/skills/longsizhuo/openinvest/invest-setup"><img src="https://agentmods.dev/badge/skills/longsizhuo/openinvest/invest-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
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 →
- medium Rogue Agent · line 51 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.02251 |
| Opus 5 | $0.00053 | $0.01125 |
| Sonnet 5 | $0.00021 | $0.00450 |
| Haiku 4.5 | $0.00011 | $0.00225 |
Grade A, and why
invest-setup 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.
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.
How it starts
The opening of the file, as written. The whole thing — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Invest Setup Skill
Single responsibility: turn an empty openInvest deployment into a working one.
Triggers only on the user's first-time setup — run once, then step aside (the
invest skill takes over all day-to-day interaction).
When to Use
- User explicitly says "set up invest" / "initialize invest" / "帮我初始化 invest"
- The
investskill'sdoctorreturnsstatus: "needs_setup"(memory / user_profile missing) - User wants a full reconfiguration (explicitly says "reset" / "重新配置"; requires
--force) - v1 → v2 schema migration (the user's portfolio.md is in the old format)
When NOT to Use
- User is already onboarded (
doctorreturnsstatus: "ready") → switch to theinvestskill - User wants to view holdings / P&L / run the committee → use the
investskill - User wants to track a new asset but is already onboarded → the
investskill'sPOST /api/holdingsendpoint - User wants to commit / push code → that's a git operation, unrelated to setup
If you (the agent) entered this skill by mistake, exit immediately and tell the
user to use the invest skill instead.
Two onboarding paths
| Path | Scenario | Flow |
|---|---|---|
| A. Fresh deployment (default) | User's first time with openInvest; data lives on this machine | "Flow (4 steps)" below |
| B. Connect to an existing hub | User already runs openInvest on another machine (a server) and wants this machine to share the same data (multi-device) | "Path B" below, 2 minutes |
Phrasings that trigger Path B: "connect to my hub / 连接我的 hub" / "it's already installed on my server / 我服务器上已经装好了" / "share one portfolio across machines / 多台电脑共用持仓" / "connect to my existing deployment".
Path B: connect to an existing hub (no init)
- Ask two questions:
- Hub address? (e.g.
https://invest.example.comorhttp://10.0.0.6:8765) - Does the hub have auth enabled? A token (
INVEST_API_TOKEN) or a Cloudflare Access service token (CF_ACCESS_CLIENT_ID/SECRET)? Skip if not enabled.
- Hub address? (e.g.
- Write the answers into
$INVEST_HOME/.env(only these two or three lines are needed; no DeepSeek key / Gmail / 5-question flow — those all live on the hub):INVEST_API_BASE=https://invest.example.com INVEST_API_TOKEN=... # optional - Verify: run
run.sh doctor→ it should returnstatus: "ready"plus aremotesection (api_base / auth method). If it can't connect, the error JSON's hint tells you whether the problem is the address, the token, or the hub service not running. - Done — hand over to the
investskill.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago First seen · 198 lines · 105 tokens per session scan A e61616f64dbc
invest-setup is a skill published in the GitHub repository longsizhuo/openInvest (83 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 2,251 once invoked, about $0.0005 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.
Other skills, from other repositories
yield-xyz-agentkit-builder
Build applications that integrate with the Yield.xyz APIs — staking, lending, vaults, and RWA across 80+ networks. Generates code covering REST API integration, transaction signing, wallet connection, and fee monetization. Use when user wants to build an app, integrate yield, generate code, or set up a project using…
yield-xyz-agentkit-privy
The Privy connector for the Yield.xyz AgentKit — signs and broadcasts via Privy agentic wallets. Extends the yield-xyz-agentkit skill — that skill discovers yields and builds the unsigned transactions; this one adds Privy wallet creation, policy enforcement, signing, and broadcasting, in autonomous and semi-autonomous…
yield-xyz-agentkit-moonpay
The MoonPay connector for the Yield.xyz AgentKit — signs and broadcasts via MoonPay. Extends the yield-xyz-agentkit skill — that skill discovers yields and builds the unsigned transactions; this one adds MoonPay wallet auth, signing, and broadcasting. Use when the user wants to enter, exit, or manage yield positions…
yield-xyz-agentkit
Discover and act on 2,900+ DeFi yield opportunities via Yield.xyz AgentKit Skills, find yields, check APY enter/exit positions, and manage rewards across 80+ networks.
comptable
Comptabilité, fiscalité et facturation pour entreprises françaises. Gère écritures PCG, déclarations TVA, IS/IR, clôture annuelle, liasse fiscale (2033/2065), FEC, états financiers, et chaîne facturation (mentions obligatoires, numérotation, Factur-X/UBL/CII, plateformes agréées PDP/PA, e-reporting, réforme 2026…
fiscaliste
Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…