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 agentmods add skills/frostney/gocciascript/optimize-runtimenpx skills add frostney/GocciaScript --skill optimize-runtimegit clone --depth 1 https://github.com/frostney/GocciaScriptWrote 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/frostney/gocciascript/optimize-runtime)<a href="https://agentmods.dev/skills/frostney/gocciascript/optimize-runtime"><img src="https://agentmods.dev/badge/skills/frostney/gocciascript/optimize-runtime.svg" alt="Measured on agentmods" 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 | $0.00092 | $0.02312 |
| Opus 5 | $0.00046 | $0.01156 |
| Sonnet 5 | $0.00018 | $0.00462 |
| Haiku 4.5 | $0.00009 | $0.00231 |
Grade A, and why
optimize-runtime scanned grade A with 0 findings 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Optimize runtime
Improve execution speed without trading away conformance. Treat every change as a candidate until repeatable measurement and mode-identical correctness accept it.
Adapted from Wasmlight's optimize-runtime playbook. GocciaScript has no
JIT/AOT tiers: the two execution modes are the tree-walk interpreter and the
bytecode VM, sharing the same runtime objects and GC.
Establish the experiment
- Read
.agent/HANDOFF.mdwhen it exists,VISION.md,CONTEXT.md, the hot-path policy indocs/contributing/code-style.mdanddocs/core-patterns.md,docs/testing.md,docs/benchmarks.md,docs/profiling.md,docs/bytecode-vm.md, and the ADRs governing the affected seam (especially 0005, 0014, 0065, 0076, 0081, 0087, 0088, 0091). - Apply
git-workflow. Require a clean tree, fetch the remote default, and start from its exact tip on a focused branch. Never benchmark an unexplained dirty or mixed-revision tree. - State the target workload, affected execution mode (bytecode unless the user names the interpreter), expected invariant, guard workloads, platforms, and non-goals before editing.
- Use
--prodbuilds for performance measurement. Use development builds as an additional checked-build correctness gate, never as performance evidence. - Make every workload verify its result independently. Do not use the interpreter as the bytecode VM's only oracle: run both modes against the JavaScript suite, and require AWFY/probe workloads to check their own computed result.
Default wave target unless the user overrides it: close the bytecode-vs-QuickJS
gap until GocciaScript reaches 0.6×–0.8× of QuickJS speed on the chosen
barometer (throughput or score). On AWFY that is Goccia time / QuickJS time
between about 1.25× and 1.67×; on JetStream invert the score ratio the same
way. Record the exact convention used in the wave handoff. Do not treat
beating V8/SpiderMonkey as in-scope (VISION.md).
Capture the baseline
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.
- yesterday First seen · 209 lines · 92 tokens per session scan A fc73e1df91b7
optimize-runtime is a skill published in the GitHub repository frostney/GocciaScript (20 stars, last pushed today), licensed MIT. It adds 92 tokens to every session and 2,312 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
Other skills, from other repositories
javascript-expert
Expert-level JavaScript development with modern ES2024+ features, Node.js, npm ecosystem, and best practices. Use when the user mentions ECMAScript, ES2024, Node.js, npm, or web, or when the task involves Modern JavaScript, Node.js Development, Modern Tooling, or Functional Programming.
qcad
Use when editing DXF files with a professional open-source 2D CAD application — CAM output, part libraries, isometric projection. QCAD: open-source 2D CAD with DXF as native format, scriptable via ECMAScript.
oxc-docs
Comprehensive reference for the JavaScript Oxidation Compiler (Oxc) — a collection of high-performance JavaScript tools written in Rust. Covers parser design (lexer, AST, parser, errors, semantic analysis), architecture (parser, linter, test infrastructure, AST tools), ECMAScript specification and grammar, performance…
git-step-commit
Analyze Git changes, split them into coherent commits, infer message language and format, optionally close supplied GitHub issues, and execute safely. Manage persistent global or repository preferences for review versus direct submission and automatic or specified commit-message language through native Git config.…
manage-prd-docs
Automatically manage product requirements across current decisions in docs/PRD.md and docs/prd/, mature future plans under docs/plans/, and active implementation under docs/work/. Use whenever the conversation discusses, clarifies, versions, plans, implements, completes, splits, or migrates a product requirement or…
modernize-ecmascript
当 Agent 编写或修改 JavaScript、TypeScript,用户要求按指定环境、输出版本、ES20xx 或具体语法编写代码,询问某项 ECMAScript 语法、标准内置 API 或提案能否采用,或者要求审查仓库中可简化、可现代化的写法时,应使用本 Skill。围绕目标文件真实经过的解析器、转换器和输出目标判断新语法能否安全采用,并按需读取 TC39 Atlas 的提案阶段、官方仓库、polyfill 与实现线索。.