# Skript Author

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-teddy563-mcwrench-skript-author`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Teddy563](https://agentstack.voostack.com/s/teddy563)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Teddy563](https://github.com/Teddy563)
- **Source:** https://github.com/Teddy563/mcwrench/tree/main/skills/skript-author
- **Website:** https://mcwrench.teddy.bar

## Install

```sh
agentstack add skill-teddy563-mcwrench-skript-author
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Skript Author

Help with **Skript** — the plain-English scripting plugin (`docs.skriptlang.org`) and its addons.

## Model (orient before writing)

- A script is **events** containing **conditions**, **effects**, and **expressions**:
  ```
  on right click on a sign:
      if player has permission "shop.use":
          give player 1 diamond
  ```
- **Addons** add syntax: **SkBee** (NBT, bound, recipes), **skript-reflect** (Java reflection),
  **SkQuery**, **skript-yaml** (config files), **SkRayFall** (citizens/holograms). Identify which
  addon a needed syntax belongs to before using it.
- **Variables**: `{var}` (per-server), `{var::%player's uuid%}` (list/per-player). Persisted to
  `variables.csv`/DB. **Reload carefully** (below) or you lose in-flight variables.

## Reload-safely workflow (critical on live shops/economies)

- After editing a `.sk`, run **`/sk reload `** (or `/sk reload all`). Editing the file on
  disk does nothing until reloaded.
- A bad reload can drop variables defined this session. On production: back up `variables.csv`/the
  variable DB first, reload a single script (not `all`), and watch the console for parse errors.
- Parse errors leave the script **unloaded** — the whole `.sk` stops working, not just the bad line.

## Fetch live syntax (don't guess)

Skript Hub exposes a JSON syntax API. To pull exact syntax for core Skript or an addon:

```bash
node "${CLAUDE_PLUGIN_ROOT}/skills/skript-author/scripts/fetch-skripthub.mjs" --addon SkBee
node "${CLAUDE_PLUGIN_ROOT}/skills/skript-author/scripts/fetch-skripthub.mjs" --search "give"
```

It queries `https://skripthub.net/api/v1/addonsyntaxlist/`, filters by addon or search term, and
writes a condensed reference to `skills/_cache/skripthub/.md`. Read that, then write syntax
that matches the installed addon/version — **do not invent syntax patterns**. (The API is
undocumented and may rate-limit; the script caches aggressively.)

## Method

1. Restate the goal as event → conditions → effects.
2. Identify required addons; fetch their syntax via the script above if unsure.
3. Write the `.sk`, then tell the user to `/sk reload` it and check console for parse errors.
4. For shops/economies touching money or items, warn about the reload/variable footgun first.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Teddy563](https://github.com/Teddy563)
- **Source:** [Teddy563/mcwrench](https://github.com/Teddy563/mcwrench)
- **License:** MIT
- **Homepage:** https://mcwrench.teddy.bar

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-teddy563-mcwrench-skript-author
- Seller: https://agentstack.voostack.com/s/teddy563
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
