home / skills / bdambrosio / cognitive_workbench / osworld-version
This skill retrieves the OSWorld API version, server version, and protocol from the configured endpoint and returns structured details.
npx playbooks add skill bdambrosio/cognitive_workbench --skill osworld-versionReview the files below or copy the command above to add this skill to your agents.
---
name: osworld-version
type: python
description: "Get the API version information from the OSWorld server. Returns API version, server version, and protocol."
schema_hint:
value: "ignored"
out: "$variable"
examples:
- '{"type":"osworld-version","out":"$version"}'
---
# OSWorld Version Tool (Level 4)
## Input
- No parameters required
- `value` parameter is ignored
## Output
- Note ID (bound to `out` variable) containing:
- `text`: formatted version information
- `metadata`: raw version data including:
- `api_version`: API version string
- `server_version`: server version string
- `protocol`: protocol string (e.g., "http/json")
## Configuration
- `OSWORLD_URL` environment variable (defaults to `http://localhost:3002`)
- Or pass `osworld_url` in character config's `osworld_config` section
## Common Workflow
```json
{"type":"osworld-version","out":"$version"}
```
This skill retrieves API version information from an OSWorld server and returns both human-readable text and raw metadata. It reports the API version, server version, and protocol used by the server. No input parameters are required; the tool reads configuration from environment or character config.
When invoked, the skill queries the configured OSWorld endpoint and parses the server's version response. It formats a text summary and attaches raw metadata fields: api_version, server_version, and protocol. Configuration is taken from the OSWORLD_URL environment variable or from osworld_config in character settings.
Does this skill require input parameters?
No. The skill does not accept parameters; any provided value is ignored.
How do I point the skill at a non-default server?
Set the OSWORLD_URL environment variable or include osworld_url under osworld_config in your character configuration.
What does the skill return?
It returns a note with text summarizing version info and metadata containing api_version, server_version, and protocol.