Borrowing it
Nothing to install: this file belongs to frostney/GocciaScript. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/frostney/GocciaScript/main/.agents/skills/optimize-runtime/SKILL.mdgit 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/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/frostney/gocciascript/optimize-runtime"><img src="https://agentmods.dev/badge/skills/frostney/gocciascript/optimize-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00092 | $0.02244 |
| Opus 5.5 | $0.00037 | $0.00898 |
| Sonnet 5.5 | $0.00018 | $0.00449 |
| Haiku 4.5 | $0.00009 | $0.00224 |
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 8d 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.
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 — 206 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. 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
- Build and retain a baseline binary from the exact starting commit with the same compiler, dependencies, flags, and host used for candidates:
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.
- 8d ago Changed · -1 lines d4be8df8fcb8
- 25d ago Changed · -2 lines eaa292896e00
- 26d ago Changed ff676817cfe2
- 1mo ago 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 yesterday), licensed MIT. It adds 92 tokens to every session and 2,244 once invoked, about $0.0004 per session on Opus 5.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
fixing-flaky-tests
Guides an agent through reproducing, root-causing, fixing, and validating flaky tests in the PostHog monorepo. Use when a test fails intermittently in CI but passes on rerun or locally, when hogli ci:insights or the debugging-ci-failures skill classifies a failure as a flaky test, when given a GitHub Actions URL for a…
test-electron-app
Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…
extending-hobby-smoke-tests
Design, extend, review, or debug PostHog Hobby end-to-end smoke tests in bin/hobby-ci.py and .github/workflows/ci-hobby.yml. Use when adding an ingestion round trip, deciding whether a product belongs in Hobby CI, changing the CI Hobby service topology or API-key scopes, or diagnosing a smoke test that captures data…
extending-personhog-test-harness
When and how to add scenarios, chaos events, and invariants to the personhog e2e test harness (rust/personhog-test-harness). Use after fixing a bug or regression in the personhog leader path (leader, router, writer, replica, coordination protocol) so the fix gets a permanent regression scenario; when adding a new…
code-runner
A sandboxed code execution tool that runs short programs without using your computer's files or network. It supports Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, Ruby, and PHP.
handle-regression
Protocol for detecting, isolating, and fixing regressions in test262 pass count. Use when a test run shows fewer passes than expected.