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 +28 -0
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/skills/clef-decisions/SKILL.md +96 -0
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
|