Python script
Local-first benchmark comparing four Skill packaging patterns — doc-only, inline-code, Python script, and Go binary — to find which is most reliable when an LLM coding agent executes a Skill.From the repository description
npx -y skills add sangjinsu/skill-execution-bench --skill python-scriptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 431 tokens by cl100k_base, as published. Nobody here has run it
Normalize Task Records (Python Script)
When to use
Use this Skill when you need to normalize a list of task records and a reusable Python
script is the preferred execution path. The implementation lives in a separate .py file;
you run it rather than re-deriving the logic.
Inputs
- A JSON array of task records on stdin.
- Each record may have inconsistent casing, surrounding whitespace, mixed status labels, and optional extra fields.
Expected output
- A normalized JSON array on stdout (compact, no spaces), following the shared contract:
- All string values trimmed.
idis a trimmed string.statusis trimmed, lowercased, then mapped:todo|to do|pending → todo,doing|in progress|wip → doing,done|complete|completed → done; unknown values keep their lowercased/trimmed form.- Missing optional fields are not added.
- Key order per object:
id,title,status, then remaining keys alphabetically. - Array sorted by
id(numeric when all ids are integers, else lexicographic).
- Exit code
0on success, non-zero on invalid input.
Procedure
Run the bundled script, piping the input JSON to stdin and capturing stdout:
python skills/python-script/scripts/transform.py < input.json > output.json
Or with a heredoc / pipe:
echo '[{"id":" 2 ","title":" Fix Login ","status":"In Progress"}]' \
| python skills/python-script/scripts/transform.py
Do not reimplement the normalization inline — invoke the script so behavior stays consistent and testable.
Validation
- Output parses as JSON and is an array.
- Every
statusis one of the mapped canonical values (or an intentionally unmapped label). - Records are ordered by
id. - Invalid input (non-array, malformed JSON) causes a non-zero exit code.
What ships with it: 1 file
2.5 KB alongside SKILL.md, 1 of them executable
scripts/
- transform.pyruns2.5 KB