agentleFS
brianonbased-devbrianonbased-dev/HoloScript/.claude/skills/benchmark/SKILL.md

benchmark

Skill9 starsChanged 3 months agoMITView on GitHub

Performance benchmarking for HoloScript platform. Runs compilation benchmarks, measures MCP tool response times, tracks regressions across commits, and compares against baseline metrics. Uses vitest bench and custom timing harnesses.

  • Reads credentials
  • Sends data out

51 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-deploy, cso and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 9 projects that use this

  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 8 projects that use this

  • AICreator-WindSkill

    document-release

    技术作家工具。更新项目文档。

    Also in 9 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 9 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 5 projects that use this

  • CodeWithBehnamSkill

    setup-browser-cookies

    Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.

    Also in 8 projects that use this

  • +2 more from ayuday

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 45 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run SimSci solver performance tests.

    line 58
  2. Distinctive:

    Run all benchmarks and generate a report.

    line 66
  3. Very specific:

    Never write benchmark numbers into this skill file.

    line 97

“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/holoscript:benchmark — Performance Benchmarking

Command: $ARGUMENTS

Overview

Measure and track HoloScript platform performance. This skill runs benchmarks, compares against baselines, and flags regressions before they ship.

Subcommands

compile — Compilation Benchmarks

Measure parse → AST → compile → output times for .holo and .hs files.

cd C:/Users/Josep/Documents/GitHub/HoloScript
pnpm bench 2>&1 | tee .perf-metrics/latest-bench.txt

tools — MCP Tool Response Times

Benchmark tool call latency against the live MCP server.

ENV_FILE="${HOME}/.ai-ecosystem/.env"
[ ! -f "$ENV_FILE" ] && ENV_FILE="/c/Users/Josep/.ai-ecosystem/.env"
set -a && source "$ENV_FILE" 2>/dev/null && set +a

# Health check first
curl -s https://mcp.holoscript.net/health | python3 -c "import sys,json; d=json.load(sys.stdin); print(f'Tools: {d.get(\"tools\",\"?\")} | Uptime: {d.get(\"uptime\",\"?\")}')"

# Benchmark core tools. compile_to_r3f emits generated SceneIR-backed TSX.
for tool in parse_holo compile_to_webgpu compile_to_r3f; do
  START=$(date +%s%N)
  curl -s -X POST https://mcp.holoscript.net/api/compile \
    -H "x-mcp-api-key: $HOLOSCRIPT_API_KEY" \
    -H "Content-Type: application/json" \
    -d "{\"code\": \"object Cube { position: [0,1,0] }\"}" > /dev/null
  END=$(date +%s%N)
  echo "$tool: $(( (END - START) / 1000000 ))ms"
done

solvers — Simulation Solver Benchmarks

Run SimSci solver performance tests.

cd C:/Users/Josep/Documents/GitHub/HoloScript
pnpm --filter @holoscript/engine test -- --run "*.bench.*" 2>&1

full — Complete Benchmark Suite

Run all benchmarks and generate a report.

compare <commit> — Regression Detection

Compare current performance against a specific commit baseline.

# Read baseline
cat .perf-metrics/baseline.json 2>/dev/null || echo "No baseline found"

# Run current benchmarks and diff

Output Format

Results are written to .perf-metrics/ directory:

  • latest-bench.txt — raw vitest bench output
  • baseline.json — pinned baseline for regression detection
  • history/YYYY-MM-DD.json — historical results

Key Metrics to Track

MetricTargetSource
.holo parse time<5mspackages/core/src/parser/
Three.js compile<10mspackages/core/src/compilers/
MCP tool latency<200msmcp.holoscript.net
Test suite runtime<60svitest
Bundle size (core)<500KBdist/

Zero Hardcoded Stats

Never write benchmark numbers into this skill file. Results go to .perf-metrics/ and are read fresh each run.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.