env-model

Build and consult an environmental model tracking runtime context, channels, and connectivity.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/dgroch/metacognition --skill env-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-model
Source: https://github.com/dgroch/metacognition/tree/main/skills/env-model
Command: npx skills add https://github.com/dgroch/metacognition --skill env-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds and maintains a live environmental model of runtime context, channels, and connectivity to inform safe, context-aware actions.

Core Features & Use Cases

  • Quick survey of runtime, sandbox status, workspace and connectivity to keep context accurate during decision making.
  • Refresh environmental assumptions when the channel, user context, or environment shifts before messaging or executing environment-dependent tasks.
  • Use case: before a long-running task, consult the environmental model to ensure correct prerequisites and available resources.

Quick Start

Run a quick environment scan at session start to initialize the model.

Frequently Asked Questions about env-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track runtime context and connectivity changes during a session?

You track runtime context by building an environmental model that logs channels, connectivity, and sandbox status. This model writes to a markdown file to ensure safe, context-aware decisions when the environment shifts.

What is environment modeling for runtime diagnostics?

Environment modeling for runtime diagnostics is the process of surveying workspace, sandbox, and channel state to maintain accurate context. It flags stale data to prevent executing tasks on incorrect environmental assumptions.

When should I refresh my environmental assumptions before running tasks?

You should refresh environmental assumptions at session start, when channels or user context change, and before executing environment-dependent actions. This ensures correct prerequisites and available resources for long-running tasks.

How do I build an environmental model to ensure safe decisions?

You build an environmental model by running a quick environment scan that captures runtime and connectivity data. It updates session identifiers and timestamps to keep context accurate for decision making.

Does environment modeling work without external dependencies?

Yes, environment modeling works without external dependencies. It operates independently to survey runtime context and workspace status, writing directly to a markdown file to maintain connectivity tracking.

Why does my runtime context become stale during long-running tasks?

Runtime context becomes stale when channels or environments shift during execution. The environmental model flags stale data by updating timestamps and session identifiers to prevent unsafe actions.