clef-mcp 0.1.2 → 0.1.3

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
@@ -63,6 +63,18 @@ args = []
63
63
  }
64
64
  ```
65
65
 
66
+ **ZCode** — `~/.zcode/cli/config.json` (user scope; servers auto-connect in new sessions):
67
+
68
+ ```json
69
+ {
70
+ "mcp": {
71
+ "servers": {
72
+ "clef-mcp": { "command": "clef-mcp", "args": [], "type": "stdio" }
73
+ }
74
+ }
75
+ }
76
+ ```
77
+
66
78
  **Generic MCP client** — any client that speaks MCP over stdio: run `clef-mcp` as the server command.
67
79
 
68
80
  Ready-made snippets live in [`examples/`](examples/).
@@ -131,6 +143,22 @@ Strictly structured — the server never turns the result into prose:
131
143
 
132
144
  `state` is treated strictly as **data**: it is never interpreted as instructions for the MCP server itself (see [Security](#security--data-handling)).
133
145
 
146
+ ## Teach your agent (skill)
147
+
148
+ The tool schema tells the client *what* `clef_decide` accepts; agents also need to know *when* to reach for it and *how* to frame decisions. The bundled skill covers that: decision patterns (next action / routing / classification / noul / score), batching up to 64 questions into one forward pass, writing mutually exclusive criteria, interpreting distributions (argmax vs flat), thresholds for safety-adjacent calls, and error recovery.
149
+
150
+ Install it for your agent(s):
151
+
152
+ ```bash
153
+ # from this repo
154
+ cp -r skills/clef-decisions ~/.agents/skills/
155
+
156
+ # or from the npm package
157
+ cp -r "$(npm root -g)/clef-mcp/skills/clef-decisions" ~/.agents/skills/
158
+ ```
159
+
160
+ `~/.agents/skills/` is the shared location for ZCode / Claude Code / Codex-style agents.
161
+
134
162
  ## CLI
135
163
 
136
164
  ```bash
package/dist/cli.js CHANGED
@@ -1747,7 +1747,7 @@ async function confirm(question, yes) {
1747
1747
  }
1748
1748
 
1749
1749
  // src/version.ts
1750
- var VERSION = "0.1.2";
1750
+ var VERSION = "0.1.3";
1751
1751
 
1752
1752
  // src/cli/install.ts
1753
1753
  var OS_NAMES = {