From 20afa4faf03d863fa796e9edfbb555d3355d5fa2 Mon Sep 17 00:00:00 2001 From: Agando Date: Fri, 23 Oct 2026 21:20:19 +0200 Subject: fix(newos4): skill-create stops mangling what the agent wrote (v4.6.82) Two defects in one parser, both silent: - content = args.slice(2).join(' ') destroyed every newline, so markdown arrived as one line - the last argument was treated as tags whenever it contained a comma, and stayed in the body: a multi-line skill became a single line with ~13 bogus tags, reported as success Bodies can now be read from a VFS path (the only way markdown survives an argv splitter), tags are opt-in via --tags=, category via --category=. skill-patch takes a path too. Verified: body from file -> 6 newlines preserved, tags [alpha,beta], category testing; inline body containing four commas -> tags [], body intact. --- help.html | 18 +++++++++++++++ main.html | 6 ++--- modules/core/module-loader.js | 2 +- modules/ext/skill-pack-core.js | 51 +++++++++++++++++++++++++++++------------- 4 files changed, 58 insertions(+), 19 deletions(-) diff --git a/help.html b/help.html index a989b5b..acffae6 100644 --- a/help.html +++ b/help.html @@ -1688,6 +1688,24 @@ listmods

📋 Changelog

+
+
v4.6.82 — October 2026 + skill-create parser
+
    +
  • A skill created from the terminal is now the skill you wrote. The old + parser joined every argument with a space — so line breaks vanished — and treated the last + argument as a tag list whenever it contained a comma, which it then also left inside the + body. A multi-line skill arrived as one line carrying a dozen bogus tags, and it still + reported success.
  • +
  • Bodies can come from a file. + skill-create <name> <desc> /path/to/body.md --tags=a,b --category=x + keeps markdown exactly as written; inline text still works for one-liners.
  • +
  • Tags are opt-in. Only --tags= creates tags — a comma in your + prose is no longer a taxonomy. skill-patch accepts a path too, for the same + reason.
  • +
+
+
v4.6.81 — October 2026 two silent failures
diff --git a/main.html b/main.html index 5f57851..81a87b3 100644 --- a/main.html +++ b/main.html @@ -1349,13 +1349,13 @@ - + - + - +