Skip to content
Back to skills

Decisions

ASecurity

Date: 2026-09-21 Schema: Construct 3 r495.2; the Agent Skills format as <https://agentskills.io/specification> describes it

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
ai-agentstypescriptgoshellapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add XHXIAIEIN/Construct3-Agent-Skills --skill decisions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Decisions?

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

Security grade badge for Decisions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xhxiaiein-decisions-construct3-agent-skills/badge)](https://www.skillsdirectory.com/skills/xhxiaiein-decisions-construct3-agent-skills)

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
# The Project Tools Ship as an Agent Skill

Date: 2026-09-21
Schema: Construct 3 r495.2; the Agent Skills format as
<https://agentskills.io/specification> describes it

## Problem

The project tools reached a game project as files a person copied into its
`tools/`. Copies fell behind in silence, the user carried them, and one
checker file held four commands under one name.

Task: an agent that starts work in a game project puts the tools there
itself, in a form its harness discovers, and a copy that falls behind says
so. The default path calls them on every run: a generated project ends with
the checker, and `AGENTS.md` section 2 sends every agent to the ACE lookup.

## Options

1. One file, copied by hand. Copies go stale unseen.
2. Run the tools from the clone, never copy. Every command then carries the
   clone's absolute path, the string a small model gets wrong, and no
   harness discovers anything.
3. A skill folder in the Agent Skills format, installed by the agent with
   one command, its scripts split by intent over a shared module, each copy
   comparing itself with the clone.
4. Modules bundled into one file for distribution: a build step to keep a
   single-file constraint that option 3 removes.

## Decision

Option 3. TRAE reads `.trae/skills/` and, once enabled in its settings,
`.agents/skills/`; Deep Code reads `.deepcode/skills/` and `.agents/skills/`;
Claude Code reads `.claude/skills/`. A project used with the Claude Code
plugin holds no copy (`plugin-tracks-commits.md`).

- `plugin/skills/construct3-agent-plugin/`: `SKILL.md`; `scripts/`, one script per
  intent, each named in `SKILL.md`, over the shared `c3project.py`;
  `check_design.py`, `play_design.py` and `check_screens.py` also over
  `game_model.py`, and `review_design.py` over `design_review.py`;
  `references/`; `assets/`, among them `build_project.py`, the generator
  template, and `game-project-block.md`, the Construct 3 block of the
  project's instruction file; `dev/evals/`, which stays in this repository.
- `install.py` copies the folder into `.agents/skills/`, or the folder
  `--into` names, refreshes every copy the project holds when run again, and
  appends the block to `AGENTS.md` with the clone's path filled in when no
  instruction file names the clone. It replaces a block it wrote, between
  the block's markers, with the skill's current one while the project has
  not edited it (`instruction-block-refresh.md`). Installing is the agent's
  step, by the maintainer's call; `--no-block` and `--dry-run` serve a user
  who wants it otherwise.
- While a copy differs from the clone's files, the checker reports the
  command that refreshes it as an error (`clone-update-check.md`).
  `lookup_ace.py`, `lookup_script_api.py`, `search_guides.py`,
  `print_sheet.py`, `edit_sheet.py` and `review_design.py` print the command
  as their first line and go on.
- The generator is copied into the game as `tools/build_project.py` and
  finds the checker in a skills folder of the project or of the user's home
  folder. `install.py` replaces its helpers, between two markers, with the
  skill's current ones while the game has not edited them
  (`generator-helpers-inline.md`).

## What holds the design in place

Each of these was a failure seen in an eval run or a game project.

- The block's first step sends the agent to `SKILL.md` before any project
  file, says in one sentence what its scripts do, and runs `check_project.py`
  once. As a table row the skill was skipped by half the runs, which then
  edited the sheet's JSON by hand; with the step every run read it. Without
  the sentence on what the scripts do, fewer runs opened `SKILL.md`, and only
  runs that opened it used `edit_sheet.py`. The check's exit shows at once
  whether the `Construct3-RAG:` line reaches the clone and whether the copy
  is current.
- `SKILL.md` is ASCII. The reference validator and plain clients read it
  with the locale's codec, and a UTF-8 sign does not decode under cp936.
- Every script writes UTF-8 whatever the code page. Every script except
  `install.py`, `new_project.py`, `pack_project.py`, `export_project.py` and
  `screenshot_sheet.py` stops at `--limit`, 10 000 characters by default,
  with a last line that says how to get the rest. A third of the official
  examples print a sheet longer than that, and a harness cuts long output,
  not always saying so.
- A miss prints on stdout, like a hit, and lists what comes near. PowerShell
  wraps each line of stderr in an error record, and a harness that shows
  stdout alone shows nothing. A lookup that missed under System or a plugin
  also searches `plugins/_common.json`: two runs took a miss for "this
  version has no such ACE" when the ACE was every world object's.
- An object name is an exact id or display name, or the run stops with the
  nearest ones: a near match once read `Platform` as Platform Info.
- Small models skip the API lookup that `SKILL.md` asks for before a
  script is written. So the ok line of a passing check of a project with
  scripts says to look up each API that a written or changed script calls,
  with the `lookup_script_api.py` command. The lines of `edit_sheet.py` and
  `--review` leave it out, since they change no script. A run that reads
  the line after its edit looks up the APIs it wrote and rewrites a size it
  copied. A run that reads it before its edit does not act on it.
- Runs that need a size for a script often print the layout just before
  their first edit. Without a line about it, most of them copied the printed
  numbers into the script. So for a project with scripts, the print of
  `print_layout.py` ends with a line that names `runtime.layout.width`,
  `runtime.layout.height` and the width and height of the instance. The line
  also says that a copied number is wrong once the layout or an instance is
  resized. The runs that printed the layout with the line read the sizes at
  run time in their first edit.
- A run that never printed the layout looked the sizes up in the API. It
  took the viewport's size as the layout's size and the image's size as
  the instance's size. So `lookup_script_api.py` prints a line under the
  viewport size members of `IRuntime` and the image size members of the
  sprite and tiled background instances. The line says what the members
  measure, as the manual describes them, and names the members that give
  the layout's and the instance's size. The one run that met these lines
  read the right sizes; the other runs met none. The runs behind these
  three entries are in `.local/docs/evidence/skill-evals/`.
- `isKeyDown` takes a `KeyboardKeyOrCode`, which the declaration types as
  `number | string`. The manual says that the string is the physical key's
  `KeyboardEvent.code`, such as `ShiftLeft`, so the `KeyboardEvent.key`
  `Shift` never matches. In iteration 47 of `script-shift-and-edges` with
  Haiku, 5 of 6 runs tested `"Shift"`, and holding Shift did nothing in
  their game. So `lookup_script_api.py` prints a line under the
  type and under each member that takes it: the code, with the test for
  either Shift key. The line is keyed by the type, not by the member, so a
  member that takes the type later gets the line too. With the line, 3 of
  3 runs met it in their first lookup and tested `ShiftLeft` and
  `ShiftRight` in their first edit. Without it, 3 of 3 runs searched the
  clone for a key name after the lookup and found it in this repository's
  own eval record, grader or preview tool. Before their first edit, they
  read the clone outside its scripts 6 to 13 times. The runs with the line
  did so 0 to 3 times, never for a key name.
- A run that reads a size from `layouts/*.json` or `objectTypes/*.json`
  copies the numbers into a script and meets none of the lines above. A
  paragraph in `SKILL.md` that says to read sizes at run time does not stop
  it: in the eval case `script-shift-and-edges` with Haiku, 2 of 4 runs
  copied a size with the paragraph and 2 of 4 without it. `SKILL.md` does
  not carry the paragraph, because every activation reads that file. So the
  ok line of a passing check carries a size clause. The check reads the code
  of each script, but not its comments or strings. The clause names a
  script that writes the width and the height of a layout as numbers, the
  layout, the numbers, and the run-time properties that replace them. It
  also names up to three objects that have an instance in that layout whose
  width and height the script writes, with the instance's width and height
  to read instead.
- The size clause is on the ok line, not in a finding: the editor accepts
  the script, and a style finding is a warning behind `--style`, which runs
  do not pass, so a finding would reach no run. Like the note on looking up
  APIs, the clause is left out of the lines of `edit_sheet.py` and
  `--review`, which change no script. The ok line says that the check does
  not run or type-check the scripts, because the check reads their code for
  numbers.
- The size clause was measured over the 174 scripts of the 119 official
  examples that have scripts. No script writes both sizes of a layout. One
  script writes the side of a square layout once, so a square counts only
  when its side is written twice. 14 scripts write both sizes of an
  instance, mostly as small counts and offsets. 14 write one size of a
  layout: 6 as an angle or a colour offset that equals it, 8 as a position
  or a length. So the clause names neither alone: a script that copies one
  side only is not named, and an instance is named only beside its layout.
  In the 14 scripts of the game projects, the clause names none. Of the 32
  final scripts of the `script-shift-and-edges` runs of iterations 47 to 51,
  it names 10, and each of the 10 copies the layout's size.
- Runs act on the size clause. In iteration 52 of `script-shift-and-edges`
  with Haiku, 3 of 12 runs with the clause copied the layout's size in
  their first edit. All 3 met the clause when they ran the check. 2 of
  them then replaced the numbers with `runtime.layout.width`,
  `runtime.layout.height` and the instance's size. The third ended its work
  at the ok line, and it had not opened `SKILL.md`. Of 8 runs without the
  clause, 3 copied the size and kept it. So 1 of 12 final scripts with the
  clause hold the layout's size, against 3 of 8 without it. The runs behind
  these four entries are in `.local/docs/evidence/skill-evals/`.
- `SKILL.md` holds what every activation needs and no tool says at the
  moment it matters. What a script prints when it is needed, or what one
  kind of task needs, is a line that says when to read a reference. Taken
  out on this rule, and the runs did no worse without them: Gotchas a
  finding or a lookup already prints; then the lookup's word matching, the
  export steps, the browser-tool fallback of exit code 3 and where a lesson
  goes, about 570 tokens (iteration 35, Haiku, `add-countdown` and
  `fix-load-errors`, three runs an arm: 47 of 48 assertions against 48 of
  48, the one miss a `replace` that dropped the sids of the sub-events it
  rewrote, as in runs before the change).
- On the same rule, iterations 64 and 65 (2026-10-15, Haiku,
  `add-countdown`, `double-jump` and `show-hp-as-a-bar`, three runs a cell)
  took out the built-ins list, the TypeScript paragraph, the gotchas that
  had come back, and what three Scripts rows and step 5 repeated from
  `--help`: about 930 tokens. Against the text that keeps them, the cut lost
  no more calls (2.0 against 2.2 a run, one-sided p 0.81) and as many runs
  passed every assertion (7 of 9 each). How far the check chain got swung
  between batches on the same text: `check_screens` in 6 of 9 runs in
  iteration 64, 3 of 9 in iteration 65.
- `description` says what the skill checks a project against, not where
  that data comes from. While it named the Construct3-RAG schemas, a
  question on running that repository's lookup server loaded the skill in 3
  of 3 runs; with the schemas named by what they hold, in 1 of 3, under the
  threshold. The trigger eval of 2026-10-23 (the client's default model,
  three runs a query) passed 11 of 12 train queries before and 12 of 12
  after, and 8 of 8 validation queries both times.

## Open

- A trigger run that ends on the tool budget counts as not triggered, so a
  query that should not trigger and ends there in every run has not shown
  that the skill stays unloaded. The translation query of the train set did,
  3 of 3, on 2026-10-23. Raise `--max-tools` when a query passes that way.
- No one has reviewed the eval answers by hand; the assertions are at
  ceiling, so that review is the next signal.
- A script can hold the viewport's size from `project.c3proj` in place of
  the layout's. In iteration 52, 2 of 12 runs with the size clause wrote
  640 and 480, the viewport's size, beside the sprite's 91 and 103. The
  clause did not name them, because it looks for a layout's size. No
  official example's script writes both viewport numbers, so a clause for
  them would name no example. 2 more of the 12 runs wrote
  `runtime.layoutWidth`, which the API does not declare, and did not run
  the lookup that the ok line names.
- Paging beyond the `--events` range that `print_sheet.py` gives, JSON
  output, separate exit codes for findings and not-found, and a generator
  guard against overwriting files the editor changed: no eval run or game
  project has needed them.

## Re-evaluate when

- An agent loses the end of a printed sheet to truncation, or a harness in
  use cuts below 10 000 characters: lower `LIMIT` in
  `plugin/skills/construct3-agent-plugin/scripts/c3project.py`.
- A run started from the block edits a sheet's JSON by hand: read its trace
  for what it opened instead of `SKILL.md`.
- A harness in use reads neither `.agents/skills/` nor the block: name its
  folder in `install.py --help` and `AGENTS.md` section 4.
- A project shows a wrong `behaviorType`, addon id or *Else* that the
  finding did not repair in one round: the Gotcha goes back, with the case.
- Runs look a behavior's ACE up under System (`System tween two properties`)
  and lose the call: the miss under System names the behavior and an object
  of the project that has it.

Files in this skill

  • README.md8.2 KB
  • art-drawer-agent.md1.7 KB
  • art-drawn-in-code.md7.9 KB
  • art-entry-point.md2 KB
  • art-from-the-image-tool.md6.5 KB
  • attach-names-the-browser.md1.9 KB
  • bootstrap-from-the-url.md3.7 KB
  • borrowed-numbers.md15.2 KB
  • bundled-addon-consent.md2.2 KB
  • checker-editor-load-rules.md32.6 KB
  • clone-update-check.md10.1 KB
  • clones-home.md6 KB
  • compaction-eval.md3.8 KB
  • contact-sheet-pages.md2.5 KB
  • count-up-and-press.md5.9 KB
  • design-judge-agent.md4.8 KB
  • design-review-packets.md4.9 KB
  • design-tokens.md12.7 KB
  • dev-folder.md1.8 KB
  • directory-listing.md2.7 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.