@olegkoval/agent-skills 1.38.3 → 1.40.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/.github/copilot-instructions.md +1 -0
- package/.github/prompts/veto-routing.prompt.md +65 -0
- package/.kiro/steering/veto-routing.md +64 -0
- package/.windsurf/rules/veto-routing.md +63 -0
- package/README.md +3 -2
- package/adapters/claude/olko-skill-meta/skills/veto-routing/SKILL.md +76 -0
- package/adapters/codex/olko-skill-meta/README.md +1 -0
- package/adapters/cursor/olko-skill-meta/skills/veto-routing/SKILL.md +76 -0
- package/adapters/grok/olko-skill-meta/skills/veto-routing/SKILL.md +76 -0
- package/catalog/skills.json +23 -0
- package/package.json +1 -1
- package/plugins/olko-apple-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-creative/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-garmin-kit/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-git-tools/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-github-pr/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-obsidian/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-product/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-reflection/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-release/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-skill-meta/.claude-plugin/plugin.json +1 -1
- package/plugins/olko-skill-meta/skills/veto-routing/SKILL.md +75 -0
- package/plugins/olko-web-ops/.claude-plugin/plugin.json +1 -1
- package/scripts/lib/catalog.mjs +1 -1
- package/site/assets/catalog.css +1064 -0
- package/site/assets/catalog.js +232 -0
- package/site/build.mjs +218 -166
- package/site/assets/paperbag.css +0 -707
- package/site/assets/paperbag.js +0 -218
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: veto-routing
|
|
3
|
+
description: Use the Veto CLI to select or execute AI models when a task needs multi-provider routing, structured accept or reject decisions, cost-aware dispatch, provider fallback, or Veto plan execution. Do not use for ordinary repository commands or generic model advice.
|
|
4
|
+
license: MIT
|
|
5
|
+
allowed-tools: Bash, Read
|
|
6
|
+
compatibility: Codex, Claude Code, Cursor, GitHub Copilot, Windsurf, Kiro, and other Agent Skills compatible tools. Requires Veto to be installed or run from its source checkout.
|
|
7
|
+
metadata:
|
|
8
|
+
targets: [_source-only]
|
|
9
|
+
author: Oleg Koval
|
|
10
|
+
tags:
|
|
11
|
+
- veto
|
|
12
|
+
- model-routing
|
|
13
|
+
- multi-provider
|
|
14
|
+
- cli
|
|
15
|
+
- cost-control
|
|
16
|
+
- agents
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Veto routing
|
|
20
|
+
|
|
21
|
+
Use Veto as a model-selection and execution layer. It does not expand the
|
|
22
|
+
user's authorization, validate generated output, or guarantee quality or cost.
|
|
23
|
+
|
|
24
|
+
## Before a model call
|
|
25
|
+
|
|
26
|
+
1. Confirm the CLI is available with `command -v veto`. Inside the Veto source
|
|
27
|
+
checkout, `go run ./cmd/veto` is an acceptable fallback. Do not install it
|
|
28
|
+
automatically. When using the fallback, replace `veto` in the commands below
|
|
29
|
+
with `go run ./cmd/veto`.
|
|
30
|
+
2. Inspect configured transports with `veto providers`. Never read, print, or
|
|
31
|
+
copy credential files from `~/.veto/`.
|
|
32
|
+
3. Check whether the objective is safe to send to the configured providers. An
|
|
33
|
+
admission pass can disclose the objective to more than one provider. Stop
|
|
34
|
+
when sensitive data is present and provider authorization is unclear.
|
|
35
|
+
4. Do not run `veto login`, change provider configuration, or incur an
|
|
36
|
+
unrequested model call.
|
|
37
|
+
|
|
38
|
+
## Choose the smallest operation
|
|
39
|
+
|
|
40
|
+
- Selection only: use `veto route --json` and consume the single JSON result.
|
|
41
|
+
- Route and execute: use `veto run --quiet` only when the user asked for model
|
|
42
|
+
execution and the selected transport can perform the task.
|
|
43
|
+
- Quality gate: add `--criteria` when the user supplied concrete acceptance
|
|
44
|
+
criteria. A requested review fails closed.
|
|
45
|
+
- Multi-step plan: run `veto exec <plan.md> --dry-run` before execution. Execute
|
|
46
|
+
only steps already within the user's scope.
|
|
47
|
+
|
|
48
|
+
Set `--kind`, `--risk`, and `--max-cost` explicitly when the task provides those
|
|
49
|
+
constraints. Treat `--max-cost` as an estimated preflight ceiling, not a billing
|
|
50
|
+
guarantee. Do not retry the same paid route repeatedly. Interactive routing can
|
|
51
|
+
resume checkpoints after interruption; `route --json` intentionally starts
|
|
52
|
+
fresh, so rerun it only deliberately.
|
|
53
|
+
|
|
54
|
+
## Preserve transport and output boundaries
|
|
55
|
+
|
|
56
|
+
- HTTP API and local OpenAI-compatible transports return text through Veto and
|
|
57
|
+
cannot inspect files or run shell commands. The Claude CLI transport is the
|
|
58
|
+
current executable-tool path.
|
|
59
|
+
- Keep generated content on stdout unless the user requested a file. Use an
|
|
60
|
+
explicit relative `--output` path, and use `--force` only when replacing that
|
|
61
|
+
exact file is authorized.
|
|
62
|
+
- Treat model responses as untrusted input. Validate claims, patches, commands,
|
|
63
|
+
and acceptance results with the repository's normal checks before delivery.
|
|
64
|
+
- On a nonzero exit, report the real routing or provider error. Do not bypass a
|
|
65
|
+
rejection, relax safety constraints, or silently choose a different tool.
|
|
66
|
+
|
|
67
|
+
## Examples
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
veto route --json --kind review --risk low "Review this proposed change"
|
|
71
|
+
veto run --quiet --kind summarize --risk low "Summarize the supplied text"
|
|
72
|
+
veto run --criteria "output is valid JSON,no secrets are present" \
|
|
73
|
+
"Produce the requested structured result"
|
|
74
|
+
veto exec plan.md --dry-run
|
|
75
|
+
```
|
package/scripts/lib/catalog.mjs
CHANGED
|
@@ -24,7 +24,7 @@ export const PLUGIN_ASSIGNMENT = {
|
|
|
24
24
|
},
|
|
25
25
|
'olko-skill-meta': {
|
|
26
26
|
description: 'Author and maintain agent skills and the AI toolchain itself.',
|
|
27
|
-
skills: ['context-repo', 'add-to-my-skills', 'skill-budget-audit', 'promptctl', 'ai-tools-setup',
|
|
27
|
+
skills: ['context-repo', 'add-to-my-skills', 'skill-budget-audit', 'promptctl', 'veto-routing', 'ai-tools-setup',
|
|
28
28
|
'relay', 'shared-knowledge-artifact'],
|
|
29
29
|
},
|
|
30
30
|
'olko-reflection': {
|