
Gsc writer
Guides an agent to write and review IW4X/MW2 GSC scripts with lint-first checks
Gsc writer is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Gsc writer
This skill sets an agent up to write, edit and review GSC (Game Script) files for the IW4X build of Call of Duty: Modern Warfare 2. It explains that IW4 uses an older dialect unlike JavaScript, Python or later Black Ops GSC, and lists the constructs to avoid, such as the function keyword, var declarations, push calls, null comparisons and object literals, along with the correct replacements.
The workflow asks the agent to inspect existing files with an outline tool, verify each built-in function's signature with a lookup tool, and check unfamiliar patterns against an anti-pattern reference before writing. After editing, the agent runs a linter on every touched file and applies fixes until it reports no errors. A pre-flight checklist and a validation checklist cover entity prefixes on waittill, notify and endon, wait calls in infinite loops, and thread usage.
The skill expects the gsc_* tools to be available as MCP tools or through the iw4x-toolkit command-line interface, and it works on GSC source files. It includes no bundled scripts.
When your agent uses it
Use when writing, editing, or reviewing GSC (Game Script) files for IW4X/MW2. MANDATORY for all GSC tasks. Provides IW4-specific rules, a pre-flight checklist, and a strict lint-then-fix workflow using gsc_lint, gsc_lookup, gsc_anti_patterns, and gsc_outline.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (7 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the iw4x-toolkit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add back1ply/iw4x-toolkit
/plugin install iw4x-toolkit@iw4x-toolkitOr copy only this skill to ~/.claude/skills/gsc-writer:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/back1ply/iw4x-toolkit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/gsc-writer &&
cp -R "$tmp/skills/gsc-writer" ~/.claude/skills/gsc-writer &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/gsc-writer inside it instead.
Copy the skill folder to ~/.agents/skills/gsc-writer to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/back1ply/iw4x-toolkit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/gsc-writer &&
cp -R "$tmp/skills/gsc-writer" ~/.agents/skills/gsc-writer &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/gsc-writer inside it instead.
Copy the skill folder to ~/.cursor/skills/gsc-writer to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/back1ply/iw4x-toolkit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/gsc-writer &&
cp -R "$tmp/skills/gsc-writer" ~/.cursor/skills/gsc-writer &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/gsc-writer inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/back1ply/iw4x-toolkit.git --path skills/gsc-writerOr copy the folder to ~/.gemini/skills/gsc-writer yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/gsc-writer:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/back1ply/iw4x-toolkit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/gsc-writer &&
cp -R "$tmp/skills/gsc-writer" ~/.copilot/skills/gsc-writer &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/gsc-writer inside it instead.
Get the folder:
git clone --depth 1 https://github.com/back1ply/iw4x-toolkit.gitThen copy iw4x-toolkit/skills/gsc-writer into your agent's skills folder as gsc-writer. Agents that support SKILL.md read one folder per skill.
What it does
- Dialect restriction table
- Lists IW4 GSC constructs that are invalid and gives the correct replacement for each.
- Lint-then-fix workflow
- Requires running the linter and fix commands on every touched file until no errors remain.
- Pre-write verification steps
- Directs the agent to outline existing files and look up each built-in function before coding.
- Event system rules
- Covers entity prefixes for waittill, notify and endon, plus threading and wait requirements.
- Pre-flight and validation checklists
- Provides checklists to run before writing each function and before declaring a file finished.
Good for
- Write a new game mode script for MW2 under IW4X
- Fix a GSC file that fails the linter
- Review an existing IW4X mod script for dialect mistakes
- Add a HUD or player event handler to an IW4 gametype
Gsc writer FAQ
What tools does Gsc writer need?
It uses the gsc_lookup, gsc_lint, gsc_fix, gsc_outline, gsc_anti_patterns and gsc_template tools, either as MCP tools or through the iw4x-toolkit CLI.
Which game is Gsc writer for?
It targets IW4, Call of Duty: Modern Warfare 2 (2009), running on the IW4X platform, and warns that its GSC dialect differs from BO3 GSC.
Does Gsc writer trigger automatically?
It describes itself as mandatory for all GSC writing, editing and review tasks.
How do I install Gsc writer in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/gsc-writer to use it in all your projects, or to .claude/skills/gsc-writer in one project. Or install the iw4x-toolkit plugin, which includes it: /plugin marketplace add back1ply/iw4x-toolkit, then /plugin install iw4x-toolkit@iw4x-toolkit.
Does Gsc writer run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Gsc writer?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Gsc writer?
The closest alternatives to Gsc writer are Skill writer, Agent skills, Spec driven develop, Skill creator and Go code review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from back1ply/iw4x-toolkit

Look up MW2/IW4X DVARs by name, category or FPS impact
- Open source
- 5 GitHub stars
- Developer tools





