cocos-script-compile

cocos-script-compile is a skill for Claude Code, Codex from mickorz/CocosMCP. It costs 194 tokens per session (1,794 once invoked), scanned A, original, no licence file.

A guide for checking TypeScript scripts in the Cocos Creator game engine and reporting real errors in the project's own code. It uses the editor's matching TypeScript version and lists each error's file, line, column, code, and message.

In plain words
What is it for?
Use it to compile-check Cocos Creator scripts, find TypeScript errors, fix issues under the assets directory, and verify that the code is clean.
Why use it?
It helps distinguish project errors from noisy engine or extension declarations and repeats the check after fixes.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to compile-check Cocos Creator scripts, find TypeScript errors, fix issues under the assets directory, and verify that the code is clean.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mickorz/cocosmcp/cocos-script-compile
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mickorz/CocosMCP --skill cocos-script-compile
Clone the repo
git clone --depth 1 https://github.com/mickorz/CocosMCP

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cocos-script-compile

README.md
[![agentmods](https://agentmods.dev/badge/skills/mickorz/cocosmcp/cocos-script-compile.svg)](https://agentmods.dev/skills/mickorz/cocosmcp/cocos-script-compile)
Your own site
<a href="https://agentmods.dev/skills/mickorz/cocosmcp/cocos-script-compile"><img src="https://agentmods.dev/badge/skills/mickorz/cocosmcp/cocos-script-compile.svg" alt="Measured on agentmods" height="20"></a>
Per session 194 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,794 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00194 $0.01794
Opus 5 $0.00097 $0.00897
Sonnet 5 $0.00039 $0.00359
Haiku 4.5 $0.00019 $0.00179

Measured 7d ago against content hash e4923b6a6610, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cocos-script-compile scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> HTTP 端点(curl / 外部调用):`POST http://127.0.0.1:{port}/api/debug/run_script_diagnostics`,body 留空 `{}` 即可。
CodeAgents/SkillCustomers/cocos-script-compile/SKILL.md · 134 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 134 lines · 194 tokens per session scan A e4923b6a6610

Subscribe to this mod's changes

cocos-script-compile is a skill published in the GitHub repository mickorz/CocosMCP (0 stars, last pushed 19d ago), with no licence file. It adds 194 tokens to every session and 1,794 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cli-wiring

Bug class: Commands implemented in packages/squad-cli/src/cli/commands/ but never routed in cli-entry.ts.

github/gh-aw · 0 tokens

agents-sdk-typescript-debugging

Use when troubleshooting an agent built with the Microsoft Agents SDK (@microsoft/agents-hosting and related packages). Trigger on any of these symptoms: build or TypeScript errors, crashes on startup, 401 or auth errors on incoming requests, the bot not responding to messages, .env configuration problems, Azure AD…

microsoft/Agents · 125 tokens

node-modules-inspector

Inspects a project's installed nodemodules and produces three reports: duplicated packages (installed in multiple versions), packages sorted by install size, and maintenance actions (dep-upgrade opportunities + publint findings, grouped by consumer/author). Use when the user wants to audit dependencies, find duplicate…

antfu/node-modules-inspector · 156 tokens

config

How to author a kubb.config.ts and pick the right @kubb/plugin- packages when generating TypeScript from an OpenAPI/Swagger spec. Use whenever setting up Kubb, adding a generator, or debugging codegen output.

kubb-labs/kubb · 49 tokens

agent-inspect

Local evidence debugger and trajectory-test toolkit for TypeScript AI agents. Use when capturing framework-faithful traces, asserting TraceContract/TraceFacts, packaging Evidence v2, or inspecting local runs over read-only MCP (gettracefacts).

rajudandigam/agent-inspect · 52 tokens

mintlify-api

Interact with the Mintlify REST API to manage deployments, trigger builds, and query documentation site metadata programmatically.

mintlify/docs · 26 tokens