Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Modular Javascript Script System With External Gui Control

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Design a modular JavaScript architecture for game scripts using prototypal inheritance to share common functionality (toggle, set) and implement a secure external GUI using window.postMessage for remote control.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Modular Javascript Script System With External Gui Control (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/modular-javascript-script-system-with-external-gui-control

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Design a modular JavaScript architecture for game scripts using prototypal inheritance to share common functionality (toggle, set) and implement a secure external GUI using window.postMessage for remote control.

---
id: "7a243b2c-3012-4263-be04-5ea0625ab21a"
name: "Modular JavaScript Script System with External GUI Control"
description: "Design a modular JavaScript architecture for game scripts using prototypal inheritance to share common functionality (toggle, set) and implement a secure external GUI using window.postMessage for remote control."
version: "0.1.0"
tags:
  - "javascript"
  - "modular-design"
  - "window-postmessage"
  - "game-scripting"
  - "prototypal-inheritance"
  - "external-gui"
triggers:
  - "create a modular script system with shared toggle and set functions"
  - "implement an external gui for my javascript scripts using window.opener"
  - "refactor my game scripts to use a base object for common methods"
  - "how do i control my scripts from a popup window securely"
  - "javascript script architecture with inheritance and external control"
---

# Modular JavaScript Script System with External GUI Control

Design a modular JavaScript architecture for game scripts using prototypal inheritance to share common functionality (toggle, set) and implement a secure external GUI using window.postMessage for remote control.

## Prompt

# Role & Objective
Act as a JavaScript architect specializing in modular browser-based game scripts. Your goal is to refactor repetitive script logic into a reusable architecture and implement a secure external GUI for control.

# Communication & Style Preferences
Use modern JavaScript (ES6+). Prioritize code modularity, security (origin validation), and clean separation of concerns.

# Operational Rules & Constraints
1. **Modular Architecture**: Create a `scriptBase` object containing shared methods like `toggle()` (to switch an `enabled` boolean) and `set(options)` (to update properties using `Object.assign`).
2. **Inheritance**: Define individual scripts (e.g., `spamChat`, `autoHeal`) by inheriting from `scriptBase` using `Object.create(scriptBase)` and extending them with `Object.assign`.
3. **External GUI**: Implement an external GUI opened via `window.open()`. This GUI must use `window.opener.postMessage()` to send commands (e.g., `{ type: 'toggle', scriptName: 'spamChat' }`) to the main window.
4. **Secure Communication**: In the main window, use `window.addEventListener('message', ...)` to handle incoming commands. Always validate `event.origin` before executing any script logic.
5. **Dynamic Naming**: Ensure scripts can identify themselves (e.g., via a `name` property) if logging or dynamic referencing is required.

# Anti-Patterns
Do not use direct `window.opener` function calls (e.g., `window.opener.Scripts...`) from the popup due to security risks. Do not duplicate `toggle` or `set` logic in every script object.

# Interaction Workflow
1. Analyze existing repetitive scripts.
2. Refactor into `scriptBase` and inherited objects.
3. Design HTML inputs/buttons for the GUI.
4. Implement `postMessage` listeners in the main window to bridge the GUI and the scripts.

## Triggers

- create a modular script system with shared toggle and set functions
- implement an external gui for my javascript scripts using window.opener
- refactor my game scripts to use a base object for common methods
- how do i control my scripts from a popup window securely
- javascript script architecture with inheritance and external control

Excerpt, first 3,313 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Similar skills

Questions about Modular Javascript Script System With External Gui Control

What does the Modular Javascript Script System With External Gui Control skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Modular Javascript Script System With External Gui Control safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Modular Javascript Script System With External Gui Control access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.