worldforge: Skill for Codex

.codex/skills/persistence-state/SKILL.md

persistence-state is a skill for Codex from AbdelStark/worldforge. It costs 82 tokens per session (840 once invoked), scanned A, original, MIT.

A WorldForge helper for storing local run workspaces and artifacts under .worldforge/. Artifacts include run records, evidence bundles, evaluation and benchmark reports, and indexes; there is no persistent symbolic world database.

In plain words
What is it for?
Use it to manage run manifests, evidence and issue bundles, reports, retention and pruning, custom state directories, and JSON-compatible artifact validation.
Why use it?
It defines what local state may contain and validates saved data instead of silently accepting malformed or outdated files.

Skill for Codex

Written for Codex: agents/openai.yaml present.

This is AbdelStark/worldforge's own configuration. It tells Codex how to work on worldforge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything worldforge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AbdelStark/worldforge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AbdelStark/worldforge/main/.codex/skills/persistence-state/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AbdelStark/worldforge

Made for: 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 persistence-state

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abdelstark/worldforge/persistence-state"><img src="https://agentmods.dev/badge/skills/abdelstark/worldforge/persistence-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 840 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 pass 7 Sept 2026
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.00082 $0.00840
Opus 5.5 $0.00033 $0.00336
Sonnet 5.5 $0.00016 $0.00168
Haiku 4.5 $0.00008 $0.00084

Measured 2mo ago against content hash 4f352e2d7d5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

persistence-state 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 2mo 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.

.codex/skills/persistence-state/SKILL.md · 58 lines

How it starts

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

Persistence And State

Contract

  • WorldForge has no symbolic world store. The mutable World runtime, create_world/ save_world/load_world/export_world/import_world/fork_world, .worldforge/worlds, and the worldforge world CLI were removed in the latent-planning pivot. Planning is done with LatentMPCController over the score/predict capabilities; worldforge predict rolls a single move through a predict provider over an in-process world_state dict (not persisted).
  • The remaining local state is run workspaces and artifacts under .worldforge/ (default state_dir): run manifests, evidence/issue bundles, evaluation/benchmark reports, and run-index data. It is local-first and single-writer; hosts own durable storage.
  • All public/semi-public artifacts are JSON-native (string keys, finite numbers, lists, objects, bools, strings, null). Malformed persisted/provider artifacts raise WorldStateError; never silently coerce invalid state.
  • Treat existing .worldforge/ user state as off-limits unless the user points at a disposable directory. Tests must use tmp_path.

Workflow

  1. Build provider input world_state as a plain dict (e.g. {"schema_version":1,"id":..., "scene":{"objects":{obj.id: SceneObject(...).to_dict()}}}); pass it to forge.predict(...). There is no World object to mutate or persist.
  2. Use the run-workspace surface (worldforge runs ..., runs_prune, evidence bundles) for anything that must survive a process: write through the validated workspace/manifest APIs in src/worldforge/harness/workspace.py and src/worldforge/runs_prune.py.
  3. Validate serialized artifacts before filesystem writes and after reads; reject unsafe IDs, traversal, and non-JSON-native fields loudly.
  4. Keep CLI handlers thin; do not duplicate validation or file I/O rules in src/worldforge/cli.py.
  5. Test flows with tmp_path state dirs. Never use or delete the user's real .worldforge/ state.

Read the full file on GitHub · 58 lines

Files

What ships with it

1 file 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.

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. 2mo ago First seen · 58 lines · 82 tokens per session scan A 4f352e2d7d5b

Subscribe to this mod's changes

persistence-state is a skill published in the GitHub repository AbdelStark/worldforge (108 stars, last pushed 1mo ago), licensed MIT. It adds 82 tokens to every session and 840 once invoked, about $0.0003 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

Other skills, from other repositories

connectors

Discover and use linked third-party services (Gmail, Google Calendar, Google Drive, Notion, Figma, Asana, Linear, GitHub, Ahrefs, Facebook Fan Page and others). Use for connection-status questions and requests to read, search or act on those services ("post to my fan page", "publish an image to my page" apply here).…

autonomous-ai/autonomous-os · 145 tokens

wellbeing

Proactive coaching across hydration, breaks, meals, posture and environmental comfort (with the environment skill). Use when an [activity] event fires (message starts with [activity] Activity detected: activity labels. — labels include drink, break, celebrate, the fatigue label "yawning", or sedentary raw labels like…

autonomous-ai/autonomous-os · 167 tokens

harness-use

Delegate digital work to agents on the computer paired through Harness; discover Store packages and prepare an agent when needed. For Lamp, prefer when connected for coding, research deliverables, documents, slides, spreadsheets, data analysis, design, CAD, simulation and media or music creation, without requiring an…

autonomous-ai/autonomous-os · 171 tokens

sensing-track

Query flow event logs to answer questions about past sensing events — "Have you seen anybody between 10pm and midnight?", "Is there any motion in the last hour?", "What happened while I was away?". Also holds your OWN sleep history — "how many times have you slept?", "when do you usually go to sleep?".

autonomous-ai/autonomous-os · 70 tokens

sensing

React to passive device events tagged [sensing:...] — presence, sound, light, fire hazard — with inline emotion markers and optional short speech. Does NOT handle motion.activity (→ wellbeing) or emotion.detected / speechemotion.detected (→ user-emotion-detection).

autonomous-ai/autonomous-os · 60 tokens

environment

Interpret environmental sensor readings and sustained changes for room comfort and air quality. Use for [environment:initial] greeting context, [environment:update] events, questions about room temperature, humidity, measured CO2 or air quality, checking changes after ventilation or air cleaning, and room-feeling…

autonomous-ai/autonomous-os · 109 tokens