OpenParable
Skip to content
← Back to skills

Env Persistence

Development
env-persistence

Env Persistence is an Agent Skill for development published in the fossasia/visdom repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Safely modify environment serialization, reload data, and view layout persistence. Use when changing env save/load formats or storage behavior.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/fossasia/visdom/blob/HEAD/.agents/skills/env-persistence/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/env-persistence, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Skill: Environment Persistence

When to Use

Use this skill for persistence format changes and env reload/view layout behavior.

Core Workflow

  1. Map data writes/reads for jsons and reload structures.
  2. Apply changes in server utility/handler paths that serialize or restore env state.
  3. Keep backward compatibility with existing env JSON files.
  4. Preserve view/layout behavior and environment tree organization.
  5. Validate save/fork/delete and restart/reload workflows end-to-end.

Guardrails

  • Do not introduce breaking env format changes without migration handling.
  • Keep env path handling sanitized and scoped.
  • Preserve compare and standard env behaviors.

Documentation

  • Skill reference
  • py/visdom/utils/server_utils.py
  • py/visdom/server/handlers/web_handlers.py
  • py/visdom/server/app.py
  • AGENTS.md
  • CONTRIBUTING.md

Assets

  • See assets/README.md and store templates/resources in assets/.

Tests

  • Follow the default flow in references/TESTS.md.