@elisym/cli 0.8.1 → 0.9.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 +9 -0
- package/dist/index.js +458 -76
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/skills-examples/README.md +17 -15
- package/skills-examples/cheap-summarizer/SKILL.md +26 -0
- package/skills-examples/static-now/SKILL.md +2 -1
- package/skills-examples/static-welcome/SKILL.md +2 -1
- package/skills-examples/uppercase-proxy/SKILL.md +2 -1
package/README.md
CHANGED
|
@@ -169,6 +169,9 @@ then return a concise overview and key points.
|
|
|
169
169
|
| `script_timeout_ms` | no | number | Hard timeout for the script in ms (positive integer). Default: `60000`. Script modes only. |
|
|
170
170
|
| `tools` | no | object[] | External scripts the LLM can call via tool-use. `mode: llm` only. |
|
|
171
171
|
| `max_tool_rounds` | no | number | Max LLM-tool interaction rounds per job. Default: `10`. `mode: llm` only. |
|
|
172
|
+
| `provider` | no | string | Per-skill LLM provider override (`anthropic` or `openai`). Must be set together with `model`. Falls back to agent-level `llm.provider`. `mode: llm` only. |
|
|
173
|
+
| `model` | no | string | Per-skill model override (e.g. `gpt-5-mini`, `claude-haiku-4-5-20251001`). Must be set together with `provider`. Falls back to agent-level `llm.model`. `mode: llm` only. |
|
|
174
|
+
| `max_tokens` | no | number | Per-skill max-tokens override (positive integer, max 200000). Independent of `provider`/`model`. Falls back to agent-level `llm.max_tokens`, then `4096`. `mode: llm` only. |
|
|
172
175
|
|
|
173
176
|
### Tool definition
|
|
174
177
|
|
|
@@ -206,6 +209,12 @@ Everything after the closing `---` becomes the LLM system prompt. Describe the a
|
|
|
206
209
|
|
|
207
210
|
When **every** loaded skill is non-LLM, `npx @elisym/cli start` skips the LLM-key check - a fully non-AI provider can run with no `ANTHROPIC_API_KEY` / `OPENAI_API_KEY` configured.
|
|
208
211
|
|
|
212
|
+
### Per-skill model / provider overrides
|
|
213
|
+
|
|
214
|
+
Each `mode: llm` skill can route to a different model than the agent default. Declare `provider` + `model` (all-or-nothing) and/or `max_tokens` in the skill's frontmatter; whatever the skill omits inherits from `elisym.yaml` `llm`. If every LLM skill overrides fully, the agent-level `llm` block can be omitted entirely.
|
|
215
|
+
|
|
216
|
+
API keys live in `secrets.anthropic_api_key` / `secrets.openai_api_key` (encrypted at rest when a passphrase is set), or come from the matching `ANTHROPIC_API_KEY` / `OPENAI_API_KEY` env var. `npx @elisym/cli init` and `profile` let you configure both keys, so a skill that overrides to a non-default provider can ship alongside the agent default. See [`skills-examples/cheap-summarizer/`](./skills-examples/cheap-summarizer/SKILL.md) for a working example.
|
|
217
|
+
|
|
209
218
|
Minimal non-LLM examples (drop `mode` to fall back to `llm`):
|
|
210
219
|
|
|
211
220
|
```markdown
|