Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Day1Labs/OpenAva --skill javascript-runtimegit clone --depth 1 https://github.com/Day1Labs/OpenAvaWrote 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.
[](https://agentmods.dev/skills/day1labs/openava/javascript-runtime)<a href="https://agentmods.dev/skills/day1labs/openava/javascript-runtime"><img src="https://agentmods.dev/badge/skills/day1labs/openava/javascript-runtime/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.
<a href="https://agentmods.dev/skills/day1labs/openava/javascript-runtime"><img src="https://agentmods.dev/badge/skills/day1labs/openava/javascript-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.01602 |
| Opus 5.5 | $0.00015 | $0.00641 |
| Sonnet 5.5 | $0.00008 | $0.00320 |
| Haiku 4.5 | $0.00004 | $0.00160 |
Grade A, and why
javascript-runtime scanned grade A with 1 finding 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Do not assume ESM `import`, package resolution, built-in Node modules, timers, `Buffer`, `child_process`, or other Node standard libraries are available How it starts
The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.
JavaScript Runtime
Use this skill when the task is better solved by executing short, deterministic JavaScript inside OpenAva's built-in JavaScript runtime instead of reasoning everything manually. You can either pass inline code directly or run a single workspace script through script_path, and both entry modes share the same minimal CommonJS shape with require, module.exports, exports, __filename, __dirname, and a minimal process. When later steps need to keep variables, helper functions, or intermediate state, reuse the same session_id.
Typical fits:
- JSON reshaping, filtering, grouping, sorting, aggregation
- String parsing, normalization, templating, and report generation
- Small deterministic calculations with multiple intermediate steps
- Calling one or more read-only tools from JavaScript and combining the results
- Running a small reusable workspace script file without introducing a separate sub-agent
- Producing stable structured output that should be derived from code, not guesswork
Avoid using this skill when:
- A direct tool call already solves the task cleanly
- The transformation is trivial enough to do in plain reasoning
- The task needs browser DOM APIs or a web page context
- The task requires complex, long-running, open-ended state management better handled by a dedicated sub-agent or another mechanism
Runtime Model
The javascript_execute tool runs code inside Apple system JavaScriptCore.
Important runtime rules:
- Provide exactly one of
codeorscript_path script_pathmust point to a single file inside the active workspace- Your
codeis executed as the body of an async function - Use
returnfor the final result - You may use
await - Input data is exposed as
openava.input - You may provide
session_idto reuse the same persistent JavaScript context - Shared cross-call state is available through
openava.session - Tool calls are available through
await openava.tools.call(functionName, args) console.log/info/warn/errorare captured and returned in the tool resultcodeandscript_pathshare the same minimal CommonJS surface:require,module.exports,exports,__filename,__dirname- Both entry modes also expose a minimal
processobject withargv,cwd(),env,platform, andversions - A built-in
pathmodule is available throughrequire("path")orrequire("node:path") - When using inline
code, relativerequire()resolves from the active workspace root - Do not assume ESM
import, package resolution, built-in Node modules, timers,Buffer,child_process, or other Node standard libraries are available
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.
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.
- 2mo ago First seen · 187 lines · 38 tokens per session scan A 02c5bf759dbd
javascript-runtime is a skill published in the GitHub repository Day1Labs/OpenAva (11 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 1,602 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
javascript-runtime compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| javascript-runtimeDay1Labs/OpenAva | Skill | 11 | 3mo ago | MIT | A | 38 | Claude Code |
| agent-harness-fault-injectionsickn33/agentic-awesome-skills | Skill | 49k | 2d ago | MIT | A | 34 | Claude Code |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | yesterday | MIT | A | 39 | Claude Code, Codex |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | today | MIT | A | 65 | Claude Code, Codex |
| oma-scholarfirst-fluke/oh-my-agent | Skill | 1.4k | yesterday | MIT | A | 30 | Claude Code |
| oma-hwpfirst-fluke/oh-my-agent | Skill | 1.4k | yesterday | MIT | A | 38 | Claude Code |
| browser_cdpmateaix/mateclaw | Skill | 1.2k | 3d ago | Apache-2.0 | A | 44 | Claude Code, Codex |