What is syntax?
syntax is a Claude Code mod by thefuga that colors the prompt's draft as it is typed: its markdown, the code in its fences, and in shell mode the command. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | thefuga |
| Repository | thefuga/claude-x |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Low risk (100/100) |
| Rank | #4,813 of 5,272 Claude Code mods; #1,969 in Interface |
| License | MIT |
| Last commit | 2026-10-06 |
| Hooks | 1 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is syntax safe to install?
syntax scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.state.get |
How do I install syntax?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/thefuga/claude-x claude plugin validate ./claude-x/mods/syntax
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add thefuga/claude-x && claude plugin install syntax@claude-x
Or ask Claude to set it up
Paste this into Claude Code and it installs syntax for you:
Install the "syntax" Claude Code mod from https://github.com/thefuga/claude-x/tree/main/mods/syntax. Run claude plugin validate on it first and show me what it can access before you enable it.
More from thefuga/claude-x
This repository has 6 Claude Code mods on MCPMods.
- attachments: The draft's attachments as chips above the prompt: each pasted picture, pasted text, @-mentioned file or folder and, wit (Review before installing)
- issues: Finds the repository's GitHub issues as @# is typed in the prompt, as opencode.vim does: a list above the prompt filtere (Review before installing)
- statusline: A vim-style status bar in the Claude Code footer: editor mode, permission mode, model, effort, git state, usage and curs (Review before installing)
- stfu: Drops the whimsical word from the line that runs while Claude works and from the one that closes a turn, leaving the ela (Low risk)
- vim: A vim command line for Claude Code: :w and :e keep a draft per session, :q quits (! to force), and any other name runs t (Low risk)