Skip to content
Back to skills

Playground Rebuild

ASecurity

Rebuild and serve the WASM playground at docs/playground/. Use after editing the playground source or any code reachable from cmd/agnostic-ai-wasm.

  • 22 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 23, 2026
ai-agentspythongogit

Works with

  • cli

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add Chemaclass/agnostic-ai --skill playground-rebuild --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playground Rebuild?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playground Rebuild
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chemaclass-playground-rebuild/badge)](https://www.skillsdirectory.com/skills/chemaclass-playground-rebuild)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: playground-rebuild
description: Rebuild and serve the WASM playground at docs/playground/. Use after editing the playground source or any code reachable from cmd/agnostic-ai-wasm.
---

# playground-rebuild

The hosted playground at https://agnostic-ai.org/playground/ runs the same code as the CLI, compiled to WebAssembly via `cmd/agnostic-ai-wasm`.

## Build

```
make playground-build
```

Writes `docs/playground/agnostic-ai.wasm` and copies the Go-toolchain `wasm_exec.js` shim. Both are gitignored; CI regenerates them on push to `main`.

## Serve locally

```
make playground-serve
```

Builds the Zola site and WebAssembly bundle, assembles the same tree published by GitHub Pages, then serves `_site/` with `python3 -m http.server 8080`. Open http://127.0.0.1:8080/playground/.

`file://` does not work because browsers refuse `WebAssembly.instantiateStreaming` on local files.

## After edits

- `index.html`, `playground.js`, or `style.css` changes: restart the server so `_site/playground/` receives the update, then refresh the browser.
- Go source changes: rebuild with `make playground-build` first, then refresh.

## Clean

```
make playground-clean
```

Removes the generated `.wasm` and `wasm_exec.js`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…