agent-skills-standard 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -122,6 +122,7 @@ The CLI **never** modifies user-home files (`~/.cursor/mcp.json`, `~/.gemini/set
122
122
 
123
123
  | Version | Date | Skills | Avg Tokens | Savings (%) | Report |
124
124
  | --- | --- | --- | --- | --- | --- |
125
+ | v2.4.1 | 2026-05-18 | 247 | 540 | 85% | [Report](benchmarks/archive/v2.4.1.md) |
125
126
  | v2.4.0 | 2026-05-14 | 246 | 540 | 85% | [Report](benchmarks/archive/v2.4.0.md) |
126
127
  | v2.3.0 | 2026-05-13 | 246 | 540 | 85% | [Report](benchmarks/archive/v2.3.0.md) |
127
128
  | v2.2.2 | 2026-05-09 | 249 | 539 | 85% | [Report](benchmarks/archive/v2.2.2.md) |
@@ -131,4 +132,3 @@ The CLI **never** modifies user-home files (`~/.cursor/mcp.json`, `~/.gemini/set
131
132
  | v2.1.0 | 2026-04-04 | 237 | 526 | 86% | [Report](benchmarks/archive/v2.1.0.md) |
132
133
  | v2.0.1 | 2026-03-30 | 238 | 527 | 86% | [Report](benchmarks/archive/v2.0.1.md) |
133
134
  | v2.0.0 | 2026-03-25 | 235 | 523 | 86% | [Report](benchmarks/archive/v2.0.0.md) |
134
- | v1.10.3 | 2026-03-21 | 234 | 505 | 86% | [Report](benchmarks/archive/v1.10.3.md) |
package/dist/index.js CHANGED
@@ -973,7 +973,10 @@ var McpConfigSchema = zod.z.object({
973
973
  });
974
974
  var SkillConfigSchema = zod.z.object({
975
975
  registry: zod.z.string().url(),
976
- agents: zod.z.array(zod.z.nativeEnum(Agent)).optional(),
976
+ agents: zod.z.preprocess((val) => {
977
+ if (Array.isArray(val)) return val.map((a) => typeof a === "string" && a.toLowerCase() === "openai" ? "codex" : a);
978
+ return val;
979
+ }, zod.z.array(zod.z.nativeEnum(Agent)).optional()),
977
980
  skills: zod.z.record(zod.z.string(), zod.z.object({
978
981
  ref: zod.z.string().optional(),
979
982
  include: zod.z.array(zod.z.string()).optional(),
@@ -1006,6 +1009,20 @@ var ConfigService = class {
1006
1009
  try {
1007
1010
  const content = await fs_extra.default.readFile(configPath, "utf8");
1008
1011
  const rawConfig = js_yaml.default.load(content);
1012
+ if (rawConfig && Array.isArray(rawConfig.agents)) {
1013
+ let needsMigration = false;
1014
+ const updatedAgents = rawConfig.agents.map((agent) => {
1015
+ if (typeof agent === "string" && agent.toLowerCase() === "openai") {
1016
+ needsMigration = true;
1017
+ return Agent.Codex;
1018
+ }
1019
+ return agent;
1020
+ });
1021
+ if (needsMigration) {
1022
+ rawConfig.agents = updatedAgents;
1023
+ await fs_extra.default.outputFile(configPath, js_yaml.default.dump(rawConfig));
1024
+ }
1025
+ }
1009
1026
  const parsed = SkillConfigSchema.safeParse(rawConfig);
1010
1027
  if (!parsed.success) throw new Error(`Invalid .skillsrc format: ${parsed.error.message}`);
1011
1028
  return parsed.data;
@@ -3377,6 +3394,8 @@ var IndexGeneratorServiceImpl = class extends IndexGeneratorService {
3377
3394
  "",
3378
3395
  "| Tool | When to call it |",
3379
3396
  "| --- | --- |",
3397
+ "| `list_workflows()` | At the start of any task or session to discover available standard operating procedures |",
3398
+ "| `get_workflow(name)` | Once a relevant workflow is identified to retrieve exact step-by-step instructions |",
3380
3399
  "| `load_skills_for_files(files=[...])` | Before editing/reviewing any source file |",
3381
3400
  "| `load_skills_for_keywords(keywords=[...])` | Planning before files are chosen |",
3382
3401
  "| `get_skill(category, name)` | Direct lookup when you know the skill id |",
@@ -4465,7 +4484,7 @@ var SyncCommand = class {
4465
4484
  };
4466
4485
  var package_default = {
4467
4486
  name: "agent-skills-standard",
4468
- version: "2.4.0",
4487
+ version: "2.4.1",
4469
4488
  description: "A CLI to manage and sync AI agent skills standard for Cursor, Claude, Copilot, Windsurf, and more.",
4470
4489
  main: "dist/index.js",
4471
4490
  bin: {
@@ -4951,7 +4970,7 @@ var ValidateCommand = class {
4951
4970
  //#region src/index.ts
4952
4971
  dotenv.default.config();
4953
4972
  var program = new commander.Command();
4954
- program.name("agent-skills-standard").description("A CLI to manage and sync AI agent skills for Cursor, Claude, Copilot, Windsurf, and more.").version("2.4.0");
4973
+ program.name("agent-skills-standard").description("A CLI to manage and sync AI agent skills for Cursor, Claude, Copilot, Windsurf, and more.").version("2.4.1");
4955
4974
  program.command("init").description("Initialize a .skillsrc configuration file interactively").action(async () => {
4956
4975
  await new InitCommand().run();
4957
4976
  });