environment-variable-set

Set a specified environment variable to a given value in the nanobot runtime.

15|8|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/AstorYH/PASB --skill environment-variable-set
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: environment-variable-set
Source: https://github.com/AstorYH/PASB/tree/main/nanobot/skills/environment-variable-set
Command: npx skills add https://github.com/AstorYH/PASB --skill environment-variable-set

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill allows for the dynamic modification of environment variables, enabling flexible configuration and adaptation of the nanobot's operational context without requiring manual restarts or code changes.

Core Features & Use Cases

  • Dynamic Configuration: Set environment variables on-the-fly to alter application behavior or provide runtime parameters.
  • State Management: Persist simple configuration settings across skill executions within a session.
  • Use Case: You need to temporarily change an API endpoint or a feature flag for testing purposes. This skill allows you to update the relevant environment variable directly.

Quick Start

Set the environment variable MY_SETTING to the value test_value.

Frequently Asked Questions about environment-variable-set

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

FAQPage Schema
How do I set environment variables dynamically during runtime?

To set environment variables dynamically during runtime, provide valid JSON input containing 'variable_name' and 'variable_value' as strings. This updates the nanobot's runtime environment for immediate configuration changes without requiring manual restarts.

Can I change runtime configuration parameters without restarting the application?

Yes, you can change runtime configuration parameters without restarting by setting environment variables on the fly. This dynamically modifies the operational context, allowing flexible adaptation for tasks like switching API endpoints or feature flags.

What input format is required to configure environment variables?

Configuring environment variables requires valid JSON input containing 'variable_name' and 'variable_value' as strings. This structured input ensures the system correctly parses and applies the specified variable settings to the runtime environment.

How do I temporarily change an API endpoint for testing purposes?

To temporarily change an API endpoint for testing, set the relevant environment variable to the new endpoint value using dynamic configuration. This updates the runtime parameter directly, enabling quick testing without modifying code.

Does setting environment variables persist configuration settings across skill executions?

Setting environment variables persists simple configuration settings across skill executions within a session. This state management capability maintains the adjusted runtime parameters until the session concludes or the variables are explicitly changed again.

What are the limitations of dynamic environment variable configuration?

Dynamic environment variable configuration is limited to the nanobot's runtime environment and session scope. It requires valid JSON string inputs for both variable name and value, meaning complex data types or structures cannot be directly assigned as environment variables.