codecall 1.0.0 → 1.1.0

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
@@ -21,23 +21,47 @@ prerequisite-ready learning step.
21
21
 
22
22
  ## Install
23
23
 
24
- Install once from GitHub to add the same `codecall` skill to both your local Codex
25
- and Claude Code skills directories:
24
+ Codecall is available as a Codex plugin, a Claude Code plugin, or an npm
25
+ standalone skill. Every option is local, requires no API key, and does not
26
+ upload your code.
27
+
28
+ ### Codex plugin
26
29
 
27
30
  ```bash
28
- npm install -g https://github.com/GAURAV-1313/codecall/archive/refs/heads/main.tar.gz
31
+ codex plugin marketplace add https://github.com/GAURAV-1313/codecall
32
+ codex plugin add codecall@codecall
29
33
  ```
30
34
 
31
- Restart the relevant coding agent or open a new task so it reloads the installed
32
- skill. This package does not require an additional API key, and its install step
33
- does not upload your code.
35
+ Restart Codex or open a new task, then invoke `$codecall`.
36
+
37
+ ### Claude Code plugin
38
+
39
+ ```text
40
+ /plugin marketplace add https://github.com/GAURAV-1313/codecall
41
+ /plugin install codecall@codecall
42
+ /reload-plugins
43
+ ```
34
44
 
35
- When the package is published to npm, the equivalent registry command will be:
45
+ The Claude marketplace plugin command is namespaced: `/codecall:codecall`.
46
+
47
+ ### npm standalone skill
36
48
 
37
49
  ```bash
38
50
  npm install -g codecall
39
51
  ```
40
52
 
53
+ The global install automatically copies the standalone skill to both
54
+ `~/.codex/skills/codecall/` and `~/.claude/skills/codecall/`. Restart the
55
+ relevant coding agent or open a new task to reload it. The standalone Claude
56
+ skill keeps the short `/codecall` command.
57
+
58
+ The current release is [`codecall@1.1.0`](https://www.npmjs.com/package/codecall).
59
+ To update a previous global installation:
60
+
61
+ ```bash
62
+ npm update -g codecall
63
+ ```
64
+
41
65
  ## Use it in Codex
42
66
 
43
67
  After Codex completes an implementation, invoke:
@@ -56,28 +80,31 @@ with concepts covered, weak areas, and an estimated session mastery. The final
56
80
  summary also gives implementation-grounded points to remember and only the
57
81
  relevant edge cases to check before applying the pattern in another project.
58
82
 
59
- The installable skill source is in [`skill/`](skill/SKILL.md).
83
+ The shared plugin source is in [`plugins/codecall/`](plugins/codecall/skills/codecall/SKILL.md).
60
84
 
61
85
  ## Use it in Claude Code
62
86
 
63
- After Claude Code completes an implementation, invoke:
87
+ After Claude Code completes an implementation through the marketplace plugin,
88
+ invoke:
64
89
 
65
90
  ```text
66
- /codecall
91
+ /codecall:codecall
67
92
  ```
68
93
 
69
- Claude Code discovers personal skills from `~/.claude/skills/<skill-name>/SKILL.md`.
70
- The installer creates `~/.claude/skills/codecall/SKILL.md`, using the same
71
- Agent-Skills-standard instruction file as Codex. It uses Claude Code's current
72
- conversation and edits—there is no extra learning-model API to configure.
94
+ Claude Code namespaces marketplace skills to avoid conflicts between plugins.
95
+ If Codecall was installed globally from npm instead, invoke `/codecall` from
96
+ `~/.claude/skills/codecall/SKILL.md`. Both paths use the same Agent-Skills-
97
+ standard instruction file and current conversation—there is no extra
98
+ learning-model API to configure.
73
99
 
74
100
  For a repository-level automatic, non-blocking recommendation, add the same
75
101
  rule below to `CLAUDE.md` rather than `AGENTS.md`.
76
102
 
77
103
  ### Automatic recommendation
78
104
 
79
- Codex and Claude Code can select the skill implicitly, but skills are not
80
- background event listeners. `$codecall` (Codex) and `/codecall` (Claude Code) are the
105
+ Codex and Claude Code can select the skill implicitly, but plugins and skills
106
+ are not background event listeners. `$codecall` (Codex), `/codecall:codecall`
107
+ (Claude marketplace), and `/codecall` (npm standalone Claude install) are the
81
108
  dependable triggers in any repository.
82
109
 
83
110
  The policy is intentionally selective: it recommends only when an implementation
@@ -85,10 +112,10 @@ has one strong signal (for example a security boundary, integration, public
85
112
  contract, or architecture decision) or two moderate signals (such as a reusable
86
113
  pattern plus operational behavior). It skips cosmetic, documentation-only,
87
114
  mechanical, generated-only, dependency-only, and ordinary test-only work. The
88
- full policy is [installed with the skill](skill/references/trigger-policy.md).
115
+ full policy is [installed with the plugin](plugins/codecall/skills/codecall/references/trigger-policy.md).
89
116
 
90
- To enable it in a project, copy the [Codex template](skill/references/AGENTS.codecall.md)
91
- into `AGENTS.md` or the [Claude Code template](skill/references/CLAUDE.codecall.md)
117
+ To enable it in a project, copy the [Codex template](plugins/codecall/skills/codecall/references/AGENTS.codecall.md)
118
+ into `AGENTS.md` or the [Claude Code template](plugins/codecall/skills/codecall/references/CLAUDE.codecall.md)
92
119
  into `CLAUDE.md`:
93
120
 
94
121
  ```md
@@ -138,7 +165,7 @@ Providers render `runtime.history(session.id)` as their native UI: `/codecall`,
138
165
  tool call, or a non-blocking post-task recommendation. Core workers never
139
166
  depend on a provider SDK.
140
167
 
141
- ## What ships in v1.0.0
168
+ ## What ships in v1.1.0
142
169
 
143
170
  - append-only, typed session events and an explicit state machine;
144
171
  - progressive minimal context represented as evidence references;
@@ -148,6 +175,7 @@ depend on a provider SDK.
148
175
  - an adaptive teach → one MCQ → evaluate → reinforce/advance loop;
149
176
  - final transfer guidance: points to remember plus cross-project edge cases;
150
177
  - one shared skill installed for Codex and Claude Code;
178
+ - Codex and Claude Code marketplace plugins backed by the same shared source;
151
179
  - an explainable strong/moderate auto-recommendation policy with session-local
152
180
  duplicate suppression;
153
181
  - pluggable worker and documentation-provider contracts;
@@ -167,5 +195,19 @@ npm run build
167
195
  npm test
168
196
  ```
169
197
 
198
+ ### Plugin development
199
+
200
+ The canonical plugin lives in `plugins/codecall/`. Validate it before release:
201
+
202
+ ```bash
203
+ python3 /Users/gaurav/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py plugins/codecall
204
+ claude plugin validate ./plugins/codecall
205
+ ```
206
+
207
+ After updating the Claude marketplace plugin, users refresh it with
208
+ `/plugin marketplace update codecall` and `/reload-plugins`. Codex users refresh
209
+ the configured marketplace with `codex plugin marketplace upgrade codecall` and
210
+ reinstall `codecall@codecall` if needed.
211
+
170
212
  See [ARCHITECTURE.md](ARCHITECTURE.md) for the full design, privacy posture,
171
213
  event model, state machine, and planned provider integrations.
@@ -4,7 +4,7 @@ import { dirname, join } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
5
  function packagedSkillSource() {
6
6
  const here = dirname(fileURLToPath(import.meta.url));
7
- return join(here, "..", "skill");
7
+ return join(here, "..", "plugins", "codecall", "skills", "codecall");
8
8
  }
9
9
  function copySkill(destinationRoot) {
10
10
  const source = packagedSkillSource();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codecall",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Implementation-grounded adaptive learning skills for Codex and Claude Code.",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "files": [
26
26
  "dist",
27
- "skill",
27
+ "plugins/codecall",
28
28
  "README.md",
29
29
  "ARCHITECTURE.md",
30
30
  "LICENSE"
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "codecall",
3
+ "version": "1.1.0",
4
+ "description": "Adaptive implementation-grounded learning for Claude Code.",
5
+ "author": {
6
+ "name": "Gaurav",
7
+ "url": "https://github.com/GAURAV-1313"
8
+ },
9
+ "homepage": "https://www.npmjs.com/package/codecall",
10
+ "repository": "https://github.com/GAURAV-1313/codecall",
11
+ "license": "MIT",
12
+ "keywords": ["learning", "developer-education", "implementation"]
13
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "codecall",
3
+ "version": "1.1.0",
4
+ "description": "Adaptive implementation-grounded learning for Codex.",
5
+ "author": {
6
+ "name": "Gaurav",
7
+ "url": "https://github.com/GAURAV-1313"
8
+ },
9
+ "homepage": "https://www.npmjs.com/package/codecall",
10
+ "repository": "https://github.com/GAURAV-1313/codecall",
11
+ "license": "MIT",
12
+ "keywords": ["codex", "claude-code", "learning", "developer-education"],
13
+ "skills": "./skills/",
14
+ "interface": {
15
+ "displayName": "Codecall",
16
+ "shortDescription": "Learn from the implementation you just completed.",
17
+ "longDescription": "A consent-first, adaptive learning skill grounded in completed implementation work.",
18
+ "developerName": "Gaurav",
19
+ "category": "Productivity",
20
+ "capabilities": ["Interactive"],
21
+ "defaultPrompt": ["Teach me the implementation I just completed with Codecall."]
22
+ }
23
+ }
@@ -7,8 +7,9 @@ description: Start an adaptive, implementation-grounded learning session after c
7
7
 
8
8
  Use the active coding agent and its current conversation as the learning
9
9
  runtime. Do not call an external model, request an API key, or run a separate
10
- learning CLI. In Codex, invoke this skill as `$codecall`; in Claude Code, invoke
11
- it as `/codecall`.
10
+ learning CLI. In Codex, invoke this skill as `$codecall`. In the Claude Code
11
+ marketplace plugin, invoke it as `/codecall:codecall`; the npm standalone
12
+ installer keeps `/codecall` available.
12
13
 
13
14
  ## Completion handoff
14
15
 
@@ -23,8 +24,9 @@ not treat skill metadata as a background scheduler.
23
24
  Before deciding whether to show a post-implementation card, read
24
25
  [references/trigger-policy.md](references/trigger-policy.md). Apply it only to
25
26
  completed implementations with inspectable task, conversation, or changed-file
26
- evidence. A manual `$codecall` or `/codecall` request always starts this skill's
27
- normal Start/Skip flow regardless of the automatic policy.
27
+ evidence. A manual `$codecall`, `/codecall:codecall`, or standalone `/codecall`
28
+ request always starts this skill's normal Start/Skip flow regardless of the
29
+ automatic policy.
28
30
 
29
31
  Use the matching standing-instruction template when configuring a project:
30
32
  [references/AGENTS.codecall.md](references/AGENTS.codecall.md) for Codex or
@@ -4,4 +4,5 @@ Before the normal final response for a completed implementation, read the
4
4
  installed codecall skill's `references/trigger-policy.md` and evaluate the
5
5
  change. When its outcome is `recommend`, present Start Learning / Skip and wait.
6
6
  Do not teach until Start Learning. For `optional` or `skip`, finish normally;
7
- `/codecall` always remains available.
7
+ `/codecall:codecall` remains available through the marketplace plugin and
8
+ `/codecall` remains available through the npm standalone installer.
@@ -35,7 +35,8 @@ localized fixes. Skip test-only work unless it introduces a transferable test
35
35
  strategy, harness, boundary, or behavior.
36
36
 
37
37
  - `recommend`: show Start Learning / Skip and wait for consent.
38
- - `optional`: do not interrupt; leave `$codecall` and `/codecall` available.
38
+ - `optional`: do not interrupt; leave `$codecall`, `/codecall:codecall`, and
39
+ standalone `/codecall` available.
39
40
  - `skip`: do nothing automatically.
40
41
 
41
42
  Manual invocation always remains available. Never request an API key or invoke