invest-backup SKILL.md skillA

invest-backup from longsizhuo/openinvest is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add longsizhuo/openinvest/invest-backup@v0.3.0 # x-release-please-version

Pins v0.3.0 # x-release-please-version in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
longsizhuo/openinvest
Path
plugin/skills/invest-backup/SKILL.md
Versions recorded
10
Latest version
v0.3.0 # x-release-please-version, committed Oct 17, 2026
First version recorded
Jul 8, 2026
Size
6,202 bytes
Repository stars
139
License
MIT

Back up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs) + db/ (trade ledger, job run history, market-data cache) + .env (SMTP/API credentials) + user_profile.json. All of this data is .gitignore'd with no historical versions in git, so a single accidental overwrite (e.g. slipping and running some one-off migration/init script) means real data loss — no git revert available. **Proactive trigger scenarios** —…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Invest Backup Skill

> `<skill-dir>` is this skill's own directory — the folder that holds this SKILL.md (Claude Code
> shows it as the skill's base directory; Hermes / Codex / OpenClaw install it inside the plugin).
> `run.sh` below always means `<skill-dir>/scripts/run.sh`.

## Why this skill exists

openInvest's real data (holdings/strategy/user profile/committee records under `memory/`, trade ledger/job history under `db/`) is **entirely `.gitignore`d** — deliberately (privacy: it contains real assets/salary/trades), but the price is that git can't help at all. There was an incident on 2026-07-08: a one-off migration script named `migrate_profile.py` (with no safety guard whatsoever) was run directly once, overwriting `user.md` / `strategy.md` / `portfolio.md` with hard-coded demo defaults; `daily_report` then exited early every day because `target_assets` had become empty, emails stopped entirely from that point on, and the user had no idea until they noticed the missing emails and traced it back.

**In any of the following scenarios, proactively use this skill**:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add longsizhuo/openinvest/invest-backup@sha256:eb69eac7d48e8052

The line at the top of this page pins the label v0.3.0 # x-release-please-version, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3b2qx7qv5gn5vq3y.svg)](https://markdownregistry.com/a/art_3b2qx7qv5gn5vq3y)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Jul 8, 2026 and Oct 17, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
v0.3.0 # x-release-please-version latest2026-10-17 bf2c148 6,202 BA view · diff
v0.2.3 # x-release-please-version2026-10-17 9d3f1bc 6,202 BA view · diff
v0.2.3 # x-release-please-version2026-10-13 3810818 5,067 BA view · diff
v0.2.2 # x-release-please-version2026-10-13 accc7d9 5,067 BA view · diff
v0.2.2 # x-release-please-version2026-10-13 24146f0 4,856 BA view · diff
v0.2.1 # x-release-please-version2026-07-18 9e062aa 4,856 BA view · diff
v0.2.0 # x-release-please-version2026-07-17 56c85ca 4,856 BA view · diff
v0.1.0 # x-release-please-version2026-07-17 b0bf60a 4,856 BA view · diff
v0.1.02026-07-16 951a65e 4,829 BA view · diff
v0.1.02026-07-08 6c06dbc 4,328 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6202 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

longsizhuo/openinvest · 139 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3b2qx7qv5gn5vq3y
GET https://markdownregistry.com/api/v1/resolve?ref=longsizhuo/openinvest/invest-backup
GET https://markdownregistry.com/api/v1/blob/eb69eac7d48e8052ef725e29b9c9f4df654c51b3ebb32b3f7fb12d9678f48972

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from longsizhuo/openinvest

AGENTS.md AGENTS.md file
longsizhuo/openinvest · AGENTS.md
git:20260712.ae1e4b3 · audit A · 139 stars
CLAUDE.md CLAUDE.md file
longsizhuo/openinvest · CLAUDE.md
git:20261018.a84632e · audit A · 139 stars
CLAUDE.md@experiments CLAUDE.md file
longsizhuo/openinvest · experiments/CLAUDE.md
git:20260709.7aa4ee0 · audit A · 139 stars
invest-ibkr SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest-ibkr/SKILL.md · **BETA — not recommended for anyone.** Operator notes for openInvest's experimental IBKR live autopilot: an LLM picks…
v0.2.0 # x-release-please-version · audit A · 139 stars
invest-setup SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest-setup/SKILL.md · First-time openInvest installation and onboarding. **ONLY use when** user explicitly says "set up invest" / "init…
v0.6.0 # x-release-please-version · audit B · 139 stars
invest SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest/SKILL.md · openInvest multi-asset AI investment committee — **daily use**. Read portfolio / live prices / strategy / decision…
v0.34.1 # x-release-please-version · audit B · 139 stars
okf-frontmatter SKILL.md skill
longsizhuo/openinvest · skills/okf-frontmatter/SKILL.md · Maintain openInvest's docs (docs/wiki chapters + docs/wiki/adr) under Google's Open Knowledge Format (OKF). Two jobs…
v0.3.0 # x-release-please-version · audit A · 139 stars

Every file in longsizhuo/openinvest

Browse by kind, by grade A, or by owner.