A new lightweight parser safely reads meta object literals out of file source without using eval
Claude Code adds a small self-contained parser for JavaScript-style object literals, including handling for strings, numbers, arrays, nested objects, comments, trailing commas, and different kinds of quoted strings. It's paired with a pattern that locates a line like export const meta = {...} in a file's source and pulls out just that object.
This looks like the machinery used to read meta information out of things like skill or command files.
Extracting this kind of data without using eval (a way of running arbitrary code found in a string) is safer, since it avoids executing anything from the file being read.
The finding doesn't say which feature (skills, commands, or something else) actually calls this parser.