okf-frontmatter SKILL.md skillA

okf-frontmatter 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/okf-frontmatter@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
skills/okf-frontmatter/SKILL.md
Versions recorded
3
Latest version
v0.3.0 # x-release-please-version, committed Jun 27, 2026
First version recorded
Jun 18, 2026
Size
6,204 bytes
Repository stars
139
License
MIT

Maintain openInvest's docs (docs/wiki chapters + docs/wiki/adr) under Google's Open Knowledge Format (OKF). Two jobs. (1) Teach agents to maintain docs the OKF way — every doc carries a small YAML frontmatter block as the single source of truth (type, title, tags, intent, schema_source, documents); schema details link to the authoritative code instead of being copied into prose; no more hand-maintained thousand-line markdown. (2) Look docs up fast — grep the literal term FIRST; only when grep…

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

# okf-frontmatter

OpenInvest's docs live in `docs/wiki/` (numbered chapters) and `docs/wiki/adr/` (decision
records). Under **OKF** each doc starts with a YAML frontmatter block that is the *single
source of truth* about that doc. Tooling reads the frontmatter; humans read the prose. The
goal: stop maintaining huge prose docs that duplicate what the code already says — link to
the code instead, and let `find_docs.py` do navigation.

Point the script at a repo with `--repo <path>`, or just run it from inside that repo (it
auto-detects the nearest ancestor containing `docs/wiki/`, else uses the working dir). It is
read-only except for docs you explicitly edit. The conventions below use openInvest as the
worked example, but the mechanics (`find` / `schema` / `lint`) work on any repo whose
markdown carries OKF frontmatter.

---

## Job 1 — maintain docs the OKF way

**The rule of thumb:** frontmatter is structured truth; prose is explanation. Anything that
*is* a schema (a Pydantic model, a dataclass, a config key, an endpoint contract) lives in
code — the doc **points** to it via `schema_source` / `documents`, it does not re-type it.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add longsizhuo/openinvest/okf-frontmatter@sha256:76110e4ade539ca2

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_2h6rxtoxqlmttzss.svg)](https://markdownregistry.com/a/art_2h6rxtoxqlmttzss)

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

Versions

The registry has recorded 3 versions of this file, between Jun 18, 2026 and Jun 27, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
v0.3.0 # x-release-please-version latest2026-06-27 84e0210 6,204 BA view · diff
v0.2.0 # x-release-please-version2026-06-20 9d3d1ca 6,204 BA view · diff
v0.1.0 # x-release-please-version2026-06-18 091a4b2 6,204 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 (6204 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_2h6rxtoxqlmttzss
GET https://markdownregistry.com/api/v1/resolve?ref=longsizhuo/openinvest/okf-frontmatter
GET https://markdownregistry.com/api/v1/blob/76110e4ade539ca264db2d15050eb9b13e4f6793e40c126d0e7d85d452e848a5

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-backup SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest-backup/SKILL.md · Back up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs)…
v0.3.0 # x-release-please-version · 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

Every file in longsizhuo/openinvest

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