@laitszkin/apollo-toolkit 2.13.3 → 2.13.4

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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this repository are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [v2.13.4] - 2026-04-05
8
+
9
+ ### Changed
10
+ - Update `learn-skill-from-conversations` so it must inventory the current repository's existing skills first, weigh repeated user corrections and error-driven lessons more heavily, extract duplicated workflow fragments into shared skills when warranted, wrap repeatedly customized external skills, and keep project-specific tooling patterns in the owning project's `~/.codex/skills/`.
11
+
12
+ ### Fixed
13
+ - Synchronize `package-lock.json` metadata with the current package version and CLI bin aliases before release publication.
14
+
7
15
  ## [v2.13.3] - 2026-04-05
8
16
 
9
17
  ### Removed
@@ -10,7 +10,12 @@ This skill extracts the latest conversations from `~/.codex/sessions` and `~/.co
10
10
  - Stops immediately when there are no recent sessions
11
11
  - Cleans up `sessions` files older than 7 days after reading
12
12
  - Deletes `archived_sessions` files after reading them
13
+ - Reads existing skills in the current working repository before proposing new ones
14
+ - Prioritizes repeated user corrections, reported errors, tool failures, and reusable workflow gaps
15
+ - Encourages extracting duplicated workflow fragments into shared skills when several skills need the same pattern
16
+ - Wraps repeatedly customized external skills in a local skill when that produces a more reusable workflow
13
17
  - Defaults to creating a new skill unless strong overlap is confirmed
18
+ - Keeps project-specific tool workflows out of the shared catalog and places them in the relevant project's `~/.codex/skills/`
14
19
  - Validates each changed skill with `quick_validate.py`
15
20
 
16
21
  ## Project Structure
@@ -40,7 +45,7 @@ python3 scripts/extract_recent_conversations.py --lookback-minutes 1440
40
45
  ```
41
46
 
42
47
  - If output is `NO_RECENT_CONVERSATIONS`, no action is required.
43
- - Otherwise, review extracted `[USER]` / `[ASSISTANT]` messages and apply updates through `skill-creator`.
48
+ - Otherwise, review extracted `[USER]` / `[ASSISTANT]` messages, compare the lessons against existing skills in the current repository, and apply updates through `skill-creator`.
44
49
 
45
50
  ## License
46
51
 
@@ -15,9 +15,9 @@ description: Learn and evolve the local skill library from recent Codex conversa
15
15
  ## Standards
16
16
 
17
17
  - Evidence: Extract recent Codex session history first and derive reusable lessons only from actual conversation patterns.
18
- - Execution: Inventory the current skill catalog before editing, prioritize repeated requests, user corrections, reported errors, and post-completion follow-up asks that reveal missing closure, then prefer a focused update to the strongest related skill or create a new skill only when the overlap is weak.
19
- - Quality: Take no action when there are no recent sessions, avoid unrelated broad refactors, and validate every changed skill.
20
- - Output: Report the analyzed sessions, extracted lessons, created or updated skills, and the reasoning behind each decision.
18
+ - Execution: Inventory the current working directory's existing skills before editing, prioritize repeated requests, user corrections, tool failures, logic bugs, architecture mismatches, documentation drift, and post-completion follow-up asks that reveal missing closure, then prefer a focused update to the strongest related skill or create a new skill only when the overlap is weak.
19
+ - Quality: Take no action when there are no recent sessions, avoid unrelated broad refactors, keep shared skills cross-project reusable, route project-specific tooling patterns into the relevant project's `~/.codex/skills/`, and validate every changed skill.
20
+ - Output: Report the analyzed sessions, extracted lessons, created or updated skills, shared-vs-project-specific placement decisions, and the reasoning behind each decision.
21
21
 
22
22
  ## Overview
23
23
 
@@ -46,10 +46,15 @@ python3 ~/.codex/skills/learn-skill-from-conversations/scripts/extract_recent_co
46
46
  ### 2) Derive reusable lessons
47
47
 
48
48
  - Identify repeated user needs, recurring friction, and repeated manual workflows.
49
+ - Focus especially on repeated needs, repeated user corrections, and user-reported errors, then ask how a skill can prevent the same failure mode from recurring.
49
50
  - Give extra weight to moments where the user corrected the agent, rejected an earlier interpretation, or pointed out a missing preference or requirement.
50
51
  - Give extra weight to user-reported errors, regressions, or avoidable mistakes, then ask how a skill can prevent repeating that failure mode.
52
+ - Treat tool-call failures, broken code paths, logic mistakes, weak architecture choices, and outputs that drifted from official documentation as valuable evidence when they expose a reusable missing guardrail or workflow.
51
53
  - Treat a user follow-up that asks for cleanup or an omitted finalization step immediately after the assistant reported completion as evidence that the workflow's done criteria were incomplete.
52
54
  - When that kind of follow-up recurs, tighten the owning skill's completion checklist before considering any new-skill extraction.
55
+ - Even when a user request was highly specific, check whether the underlying workflow can be generalized into a reusable skill for the same class of tasks.
56
+ - When multiple existing skills use a near-identical workflow fragment, consider extracting that fragment into a dedicated shared skill instead of leaving the duplication in place.
57
+ - When an external skill is repeatedly used with the same user-specific customization layer, prefer wrapping it in a new local skill that encodes those standing conventions.
53
58
  - Ignore one-off issues that do not provide reusable value.
54
59
  - Distinguish between:
55
60
  - repeated trigger intent that deserves a new skill
@@ -58,7 +63,7 @@ python3 ~/.codex/skills/learn-skill-from-conversations/scripts/extract_recent_co
58
63
 
59
64
  ### 3) Decide new skill vs existing skill (default: new skill)
60
65
 
61
- - First read the relevant skills already present in the working repository so you do not create a duplicate under a different name.
66
+ - First read the relevant skills already present in the current working directory repository (for example `apollo-toolkit`) so you do not create a duplicate under a different name.
62
67
  - Prefer creating a new skill.
63
68
  - Edit an existing skill only when the lesson is strongly related.
64
69
  - Treat relation as strong only when all three conditions hold:
@@ -67,12 +72,17 @@ python3 ~/.codex/skills/learn-skill-from-conversations/scripts/extract_recent_co
67
72
  - The update does not dilute the existing skill's scope.
68
73
  - When the recurring lesson is mainly about preventing a known mistake, prefer updating the existing skill that should have prevented it instead of creating a parallel skill.
69
74
  - When several skills repeat the same narrow workflow fragment, prefer extracting that fragment into a dedicated shared skill instead of copying the same guidance again.
75
+ - When the strongest candidate is an external skill but the user repeatedly adds the same customization or policy layer, create a wrapper skill that calls that external skill while encoding the recurring local conventions.
76
+ - Decide whether the lesson is cross-project reusable before choosing the destination:
77
+ - Cross-project reusable skills belong in the shared skill library.
78
+ - Project-specific workflows, especially ones tied to custom tools from a single repository, belong in that project's `~/.codex/skills/` directory instead of the shared catalog.
70
79
  - If uncertain, create a new skill instead of expanding an old one.
71
80
 
72
81
  ### 4) Apply changes through skill-creator
73
82
 
74
83
  - Explicitly follow `$skill-creator` workflow before editing skills.
75
- - For new skills, initialize with `~/.codex/skills/.system/skill-creator/scripts/init_skill.py`, then complete `SKILL.md` and required resources.
84
+ - For new shared skills, initialize with `~/.codex/skills/.system/skill-creator/scripts/init_skill.py`, then complete `SKILL.md` and required resources.
85
+ - For new project-specific skills, create or update them under the relevant project's `~/.codex/skills/` directory instead of the shared catalog.
76
86
  - For existing skills, make minimal focused edits and keep behavior consistent.
77
87
 
78
88
  ### 5) Validate every changed skill
@@ -87,10 +97,11 @@ python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-p
87
97
 
88
98
  ### 6) Report result
89
99
 
90
- - Summarize analyzed sessions, repeated needs, user corrections, error-driven lessons, created/updated skills, and why each decision was made.
100
+ - Summarize analyzed sessions, repeated needs, user corrections, error-driven lessons, created/updated skills, placement decisions, and why each decision was made.
91
101
 
92
102
  ## Guardrails
93
103
 
94
104
  - Take no action when there are no sessions in the last 24 hours.
95
105
  - Avoid broad refactors across unrelated skills.
96
106
  - Avoid duplicate skills when an existing skill is strongly related.
107
+ - Do not promote project-specific tool usage into the shared catalog unless the workflow is clearly reusable across repositories.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laitszkin/apollo-toolkit",
3
- "version": "2.13.3",
3
+ "version": "2.13.4",
4
4
  "description": "Apollo Toolkit npm installer for managed skill copying across Codex, OpenClaw, and Trae.",
5
5
  "license": "MIT",
6
6
  "author": "LaiTszKin",