Borrowing it
Nothing to install: this file belongs to dgraziosi/foundation. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dgraziosi/foundation/main/.cursor/skills/verify-foundation/SKILL.mdgit clone --depth 1 https://github.com/dgraziosi/foundationWrote 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/dgraziosi/foundation/verify-foundation)<a href="https://agentmods.dev/skills/dgraziosi/foundation/verify-foundation"><img src="https://agentmods.dev/badge/skills/dgraziosi/foundation/verify-foundation/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/dgraziosi/foundation/verify-foundation"><img src="https://agentmods.dev/badge/skills/dgraziosi/foundation/verify-foundation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00068 | $0.05573 |
| Opus 5.5 | $0.00027 | $0.02229 |
| Sonnet 5.5 | $0.00014 | $0.01115 |
| Haiku 4.5 | $0.00007 | $0.00557 |
Grade C, and why
verify-foundation scanned grade C with 2 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.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Cleanup may `rm -rf` only `/tmp/foundation-verify-<run-id>` when the recorded data dir is that folder or its `data/` child. A `VERIFY_DATA_DIR` that is a direct child of `/tmp` is that run root. Its parent is `/tmp` and Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsS http://127.0.0.1:8787/health How it starts
The opening of the file, as written. The whole thing — 301 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Verify Foundation (Viewer)
Foundation is a life graph that models the user so bots can help with life goals. Viewer is the human UI — a window on one vault. Journal keeps a writing page. Other live records edit title, status, and declared fields. It is not a personal-knowledge-management app and not harness chat-memory.
This skill is for the next agent, read cold. The person using a clone is the user. Stay on product. No live vault contents, no staff names, no personal data.
pstack's generic generator writes .cursor/skills/verify-*. This repo's product recipes stay under .agents/skills/. Do not copy vault-health, Dream, or other product folders here.
Product words
- graph — live records (nodes) and edges
- ontology — types and how they connect
- MCP — how a bot talks to the graph (
http://127.0.0.1:8787/mcp) - Viewer — the human window (
http://127.0.0.1:8788/view). Same CAS and soft-delete as MCP. - vault — one instance (
FOUNDATION_DATA+ host Postgres) - record — the node
- user — the human who runs this vault on this machine
Do not write a live personal vault into git. Do not reintroduce Compose as install. Host programs: Postgres 16 on PATH (initdb, pg_ctl, psql) plus the app (pnpm start). The package name for Postgres is unknown in this repo — do not guess an installer.
Journal write is on this branch. Home always offers Today, even at journal count 0. Today (or /view/journal/today) creates today's journal if none is live, then the page autosaves title and body. An empty title shows Keep a title. Unlock title is Unlock. The field is the vault key. The error is That key did not unlock. Other live records edit title, status, and declared fields on detail. Activity and Trash use the same if-match and restore family.
Launch
Official start on the machine that runs a vault (from the clone root):
./scripts/foundation-init.sh
Init copies .env when it is missing, mints the door keys and a published database password into .env (mode 600), mkdir the data folder, then keep-up. Do not commit .env. Keep-up also mints missing, published, or short keys if you start that way. Empty first-day folder at FOUNDATION_DATA (default ./data) may init.
What ships with it
21 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.
- evidence/.gitignore 25 B
- evidence/README.md 319 B
- features/activity.md 2.7 KB
- features/collection.md 5.9 KB
- features/detail.md 4.6 KB
- features/edit-any-node.md 2.6 KB
- features/home.md 6.1 KB
- features/journal-write.md 5.6 KB
- features/README.md 4.8 KB
- features/search.md 3.5 KB
- features/trash.md 2.0 KB
- features/unlock.md 6.5 KB
- PROOF.md 90 KB
- scripts/verify-edit-any-node.sh 7.8 KB runs code
- scripts/verify-export-import-45.sh 11 KB runs code
- scripts/verify-foundation.sh 22 KB runs code
- scripts/verify-foundation.test.sh 44 KB runs code
- scripts/verify-home-digest.sh 7.6 KB runs code
- scripts/verify-http-drive.sh 13 KB runs code
- scripts/verify-mcp-drive.sh 3.5 KB runs code
- scripts/verify-receipt-model-calendar.sh 9.2 KB runs code
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.
- today Changed · -1 lines f519b66f1ca8
- yesterday Changed 961dea4e5400
- 3d ago Changed · +2 lines e172a8a59f67
- 7d ago Changed cb82266a2406
- 19d ago Changed · +2 lines a259299c852a
- 22d ago Changed · -3 lines 7df9b7af82fe
- 1mo ago Changed · +1 lines ed8a4aa12462
- 1mo ago Changed · +2 lines b434dd3f557c
- 1mo ago Changed aa89d79c3933
- 1mo ago First seen · 298 lines · 68 tokens per session scan C 8308ce6189fe
verify-foundation is a skill published in the GitHub repository dgraziosi/foundation (1 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 5,573 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
verify-foundation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| verify-foundationdgraziosi/foundation | Skill | 1 | today | MIT | C | 68 | Cursor |
| reproduce-buggoogleapis/mcp-toolbox | Skill | 17k | yesterday | Apache-2.0 | A | 130 | Claude Code, Codex |
| verify-omnigentomnigent-ai/omnigent | Skill | 11k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| testing-blocksadobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 61 | Claude Code |
| reality-verificationtzachbon/smart-ralph | Skill | 567 | 10d ago | MIT | A | 81 | Claude Code |
| test-electron-appPostHog/posthog | Skill | 41k | today | none | A | 112 | Claude Code |
| webapp-qaPrismer-AI/PrismerCloud | Skill | 1.4k | 15d ago | MIT | A | 29 | Claude Code, Codex |