toolbase 0.14.0__tar.gz → 0.16.0__tar.gz
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.
- {toolbase-0.14.0 → toolbase-0.16.0}/CHANGELOG.md +132 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/PKG-INFO +40 -18
- {toolbase-0.14.0 → toolbase-0.16.0}/README.md +39 -17
- {toolbase-0.14.0 → toolbase-0.16.0}/pyproject.toml +1 -1
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/cli.py +534 -115
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/antigravity.py +15 -8
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/base.py +27 -11
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/claude_code.py +13 -5
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/codex.py +46 -12
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/opencode.py +25 -6
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/loadout_scaffold.py +52 -9
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/loadouts.py +131 -32
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/skills.py +372 -115
- {toolbase-0.14.0 → toolbase-0.16.0}/LICENSE +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/MANIFEST.in +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/setup.cfg +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/__init__.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/_setup_host.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/_toolkit_host.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/astro.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/auth.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/config.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/__init__.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/connect/orchestral.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/__init__.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/bundle_deps.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/cache.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/config.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/discovery.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/manifest.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/paths.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/resolve.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/envs/schema.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/hep.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/ingest.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/logging/__init__.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/logging/logger.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/naming.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/neutrino.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/quantum.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/__init__.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/bundles.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/config.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/orchestrator.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/serve/proxy_tool.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/__init__.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/_rpc.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/context.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/declarative.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/downloads.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/prompts.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/runner.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/schema.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/storage.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/setup/validate_cache.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/Dockerfile.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/README.md.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/__init__.py.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/mcp/__init__.py.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/mcp/server_stdio.py.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/requirements.txt.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/setup.py.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/skills/example_skill.md +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/tool_example.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/templates/toolkit.yaml.template +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/toolkit.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/validation.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase/versioning.py +0 -0
- {toolbase-0.14.0 → toolbase-0.16.0}/toolbase.egg-info/SOURCES.txt +0 -0
|
@@ -6,6 +6,138 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
+
## [0.16.0] — 2026-09-15
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **`skills.enabled`: a loadout can state exactly which skills it contains.** Skills could only be narrowed by blocklist (`skills.disabled`), which cannot express "this configuration contains exactly these" — so a skill added by a later release of a toolkit silently joined every loadout that already had it. That is the same widening `tools.enabled` exists to prevent for tools, with none of the protection.
|
|
14
|
+
|
|
15
|
+
`skills.enabled` mirrors `tools.enabled`: absent means "surface everything past bundle gating", present means the list is authoritative, `[]` means no skills.
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
toolkits:
|
|
19
|
+
heptapod:
|
|
20
|
+
bundles: [llp, eda]
|
|
21
|
+
skills:
|
|
22
|
+
enabled: [pythia-forward-run-cards]
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The default stays on when nothing is declared. Skills are progressive disclosure — on costs a description line rather than the guide — and a fresh install should hand over the toolkit's manual. What was missing was not a different default but a way to pin the set.
|
|
26
|
+
|
|
27
|
+
`tb activate` / `tb deactivate` write whichever shape the loadout already uses. With an allowlist pinned, activating a skill adds it to `skills.enabled` and deactivating removes it from there; touching only the blocklist left `tb activate` reporting "already active" for a skill the allowlist kept out, and `tb deactivate` leaving a slug in both lists at once.
|
|
28
|
+
|
|
29
|
+
- **`tb list --loadout NAME`** reports against a named loadout instead of the active one — the same one-shot override `tb serve --loadout` takes, for the common case where the configuration you are checking is not the one you are sitting in. It applies to `-v` and `--json` alike.
|
|
30
|
+
|
|
31
|
+
- **`tb list --json` carries each skill's paths.** `doc` is the markdown, `root` the unit to copy, and `is_dir` says how: a dir-form skill's `references/` and `scripts/` live beside its `SKILL.md` and have to come along, while a flat skill *is* its markdown. `tb connect` is the only thing that materializes skills, so a consumer with its own layout — a benchmark runner building a sandbox, a CI job — previously had to re-derive bundle gating, the loadout lists and slug normalization for itself.
|
|
32
|
+
|
|
33
|
+
- **`tb migrate`** moves pre-0.12 state onto the current layout: each scope's `profiles/*.yaml` into `loadouts/`, and `serve.yaml`'s `default.profile` key to `default.loadout` (rewritten line-wise, so comments survive). A name already present in `loadouts/` is reported and left alone. A no-op once done.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- **A loadout in `profiles/` no longer disappears the first time anything writes to `loadouts/`.** Discovery read whichever directory existed — `current if current.is_dir() else legacy` — so the first write to `loadouts/` orphaned every loadout still in `profiles/`. The write need have nothing to do with curation: `tb use` recording a version creates `loadouts/default.yaml`, and in a real project that single file made seven curated loadouts vanish at once, reported as "No loadout named ...". The loadouts were still on disk, still valid, just unreachable, and nothing said so. Both directories are read now, current winning per name, so a half-migrated tree resolves; `tb migrate` finishes the job.
|
|
38
|
+
|
|
39
|
+
- **A project with a `<name>.local.yaml` layer no longer crashes.** `_merge_private_layer` still passed `version=` to `ToolkitSelection`, which lost that field when versions moved to the loadout's own `versions:` block — an `AttributeError` on any private layer overlaying a committed loadout of the same name. Reachable in 0.12 through 0.15, confirmed against the released wheel.
|
|
40
|
+
|
|
41
|
+
- **A withheld skill says which of the three reasons applies.** `skills.enabled` added a fourth state, and only the new query rendered it: `tb list -v` and `tb status` ended in a trailing branch that assumed "gated", so a skill merely left out of the allowlist was reported as needing its bundle's config — and a skill declaring no bundle as needing "the None bundle". The decision is now one function (`skills.skill_state`, adapted by `loadouts.skill_state_for_selection`) that returns the reason, and every surface asks it rather than deriving the state from parts.
|
|
42
|
+
|
|
43
|
+
- **A skill that will surface is marked like a tool that will serve.** `tb status` printed a bare name for it and a hinted line for every skill that would not, so the row carrying good news looked like the one still awaiting an answer. Both it and `tb list -v` now carry ✓ / ✗ with the reason beside it.
|
|
44
|
+
|
|
45
|
+
### Removed
|
|
46
|
+
|
|
47
|
+
- **`tb skills`**, added and removed without a release in between. It computed the states `tb list --json` already emitted — a second place to drift — and its human view says nothing `tb list -v` and `tb status` don't now say. `--loadout` and the skill paths moved onto `tb list`.
|
|
48
|
+
|
|
49
|
+
- **`CLAUDE.md` is no longer tracked.** It is per-checkout agent context, not shared state.
|
|
50
|
+
|
|
51
|
+
### Upgrading
|
|
52
|
+
|
|
53
|
+
Nothing to do. `skills.enabled` is opt-in and absent from every existing loadout, so skill surfacing is unchanged until you declare one. If you have loadouts in a pre-0.12 `profiles/` directory, they resolve either way now — run `tb migrate` to end up with one place a loadout lives.
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## [0.15.0] — 2026-08-12
|
|
58
|
+
|
|
59
|
+
### Added
|
|
60
|
+
|
|
61
|
+
- **Skills are surfaced at the scope you connected.** `skill_target()` took no scope, so every adapter wrote to a user-global directory while the MCP server entry beside it went wherever `-u` / `-p` said. `tb connect codex -p` put the server in this repo's `.codex/config.toml` and the guides for its tools in front of every project's agent — and there was no way to say "these skills belong to this repo."
|
|
62
|
+
|
|
63
|
+
All four harnesses read a project skill directory as well as a global one, which is the split `config_path` already models, so `skill_target(scope, project_root)` now takes the same pair:
|
|
64
|
+
|
|
65
|
+
| harness | user | project |
|
|
66
|
+
| --- | --- | --- |
|
|
67
|
+
| Claude Code | `~/.claude/skills/` | `<root>/.claude/skills/` |
|
|
68
|
+
| Codex | `$CODEX_HOME/skills/` | `<root>/.codex/skills/` |
|
|
69
|
+
| Antigravity | `~/.gemini/config/skills/` | `<root>/.agents/skills/` |
|
|
70
|
+
| OpenCode | `~/.config/opencode/command/` | `<root>/.opencode/command/` |
|
|
71
|
+
|
|
72
|
+
`tb disconnect` clears the scope it unwired (`--all` clears both), and `tb uninstall` reaps a gone toolkit's guides from both. Harnesses read both scopes at once, so `tb connect` now says when the other scope is also holding toolbase skills — otherwise the duplicate only shows up in the harness. Codex's project-scope note gained the detail that its `.codex/skills/` load even before the project is trusted, unlike the `config.toml` next to them.
|
|
73
|
+
|
|
74
|
+
### Fixed
|
|
75
|
+
|
|
76
|
+
- **Codex skills go to Codex's skill directory.** Codex has a native skill concept now — `$CODEX_HOME/skills/<name>/SKILL.md`, the same shape Claude Code reads — and toolbase was still writing to the surface that predated it: flat `$CODEX_HOME/prompts/<toolkit>__<skill>.md` files. That surface is a user-invoked slash-command prompt, so nothing a skill said ever reached the model unless the user typed its name; the frontmatter carrying the description that decides *when* a skill applies was stripped on the way in; and a directory-form skill's `references/`, `scripts/` and assets were dropped silently, leaving guides pointing at files that weren't there.
|
|
77
|
+
|
|
78
|
+
`tb connect codex` now surfaces into `$CODEX_HOME/skills/`, frontmatter intact and supporting files alongside. Both paths honour `$CODEX_HOME` (as does the `config.toml` the MCP entry is written to, which previously assumed `~/.codex` regardless).
|
|
79
|
+
|
|
80
|
+
The old prompt files are cleared on the next `tb connect codex` / `tb disconnect codex` — Codex still reads them, so leaving them would list every skill twice. Only files toolbase owns per the `.toolbase-managed.json` manifest are removed. Adapters declare a moved-from surface via the new `HarnessAdapter.legacy_skill_targets()`.
|
|
81
|
+
|
|
82
|
+
- **OpenCode skills go to OpenCode's skill directory.** OpenCode grew a skill loader (`**/SKILL.md` under `~/.config/opencode/skills` and a project's `.opencode/skills`, surfaced to the model by `description`), and toolbase was still writing flat `command/` prompt files — user-invoked `/<name>` slash commands the model never learns about, with `name` and `bundle` stripped out. Same shape of bug as the Codex prompts one, and fixed the same way: the real surface, frontmatter intact, supporting files alongside, with `command/` declared as a legacy target so the old files are cleared on the next connect.
|
|
83
|
+
|
|
84
|
+
With this, all four harnesses use the dir layout. The `flat` layout survives only to clear the two retired surfaces.
|
|
85
|
+
|
|
86
|
+
- **A surfaced `SKILL.md` is a real file, not a symlink — Codex could not see one.** The dir layout symlinked a complete-frontmatter source so edits to an editable checkout showed up without re-connecting. Codex's skill scanner does not follow a symlinked `SKILL.md`: the skill was written, the connect reported success, `tb list -v` ticked it, and Codex silently never loaded it. Bisected against `codex app-server`'s `skills/list` — a name that doesn't match the folder, a `.toolbase-managed` marker, and `__` in the folder name are all fine; the symlink alone was fatal. Claude Code, Antigravity, and OpenCode all tolerate it, which is why it went unnoticed.
|
|
87
|
+
|
|
88
|
+
Supporting files (`references/`, `scripts/`, assets) were per-child symlinks for the same reason and are now copies too. The cost is that an edit to an editable checkout's guide lands on the next `tb connect` rather than immediately — the same step every other state change already needs.
|
|
89
|
+
|
|
90
|
+
- **A surfaced skill is named `<toolkit>__<skill>` in the harness, not whatever the author wrote.** The `<toolkit>__` namespace existed only as a directory name: harnesses display the frontmatter `name`, which was passed through verbatim. A guide whose author wrote prose there (`name: Writing Pythia 8 run cards for forward production`) showed up as that prose, so the namespace was invisible, two toolkits shipping an `mg5` guide were indistinguishable, and the name on screen was not the name `tb deactivate` accepts. Every harness documents the same convention — `name` matches the folder — so this is also what they expect.
|
|
91
|
+
|
|
92
|
+
The author's `description` is never rewritten: it is the trigger text the model reads to decide when a skill applies, and it is synthesized only when absent (a skill without one is filtered out before it reaches the model). Other author keys survive; toolbase's own `bundle:` is dropped rather than leaked into a harness's frontmatter. Long descriptions are emitted on one line instead of YAML-wrapped at 80 columns.
|
|
93
|
+
|
|
94
|
+
- **Skill slugs are lowercase-dash, like every other skill in the ecosystem.** The slug is what a harness *displays*, and toolbase's kept underscores — `heptapod__pythia_forward_run_cards` where Codex ships `openai-docs` and `skill-installer`, Claude Code ships `code-review`, and OpenCode documents "lowercase hyphen-separated" outright. `skills/run_cards.md`, `skills/run-cards/`, and `skills/Run Cards.md` now all surface as `<toolkit>__run-cards`.
|
|
95
|
+
|
|
96
|
+
Case is deliberately not split on: `PythiaCards` stays one word, because nothing distinguishes it from `ArXiv`, where splitting would be wrong. Name skill files the way you want them to read.
|
|
97
|
+
|
|
98
|
+
Both spellings are accepted by `tb activate` / `tb deactivate`, and the canonical one is what gets written, so a loadout can't accumulate two spellings of the same skill. Existing `skills.disabled` entries are matched canonically — a literal comparison would have silently stopped matching after this change and put a deactivated guide back in front of the agent, which is the exact failure the prune was added to end. New in `toolbase.skills`: `normalize_slug()` and `slugs_match()`.
|
|
99
|
+
|
|
100
|
+
- **A connect is a sync, not an append.** Surfacing only ever added. Everything that *stops* a skill from being surfaced — its toolkit dropping out of the active loadout, a `tb deactivate <toolkit>__<skill>`, a bundle's config gate closing, a new version deleting the guide — left the last-written copy on disk, still read by the harness and contradicting every read command that had stopped listing it. `tb deactivate calculator__old_guide` followed by `tb connect` left the guide exactly where it was; only a full `tb disconnect` ever cleared anything.
|
|
101
|
+
|
|
102
|
+
`tb connect` now prunes the toolbase-owned entries it didn't just write, so a surface converges on the current answer instead of accumulating every answer it has ever given, and reports what it removed. Ownership is the same evidence the removal paths already used (an `OWNED_MARKER` file per dir, a manifest entry per flat file), so skills you wrote yourself are untouched. Surfacing stays best-effort per toolkit and a toolkit whose surfacing raised is excluded from the prune, so an unrelated error can't cost it the skills it already had. `--no-skills` now means "don't touch the skill surface" in both directions.
|
|
103
|
+
|
|
104
|
+
New in `toolbase.skills`: `prune_skills(target, keep=..., skip_owners=...)` and `owned_slugs(target)`.
|
|
105
|
+
|
|
106
|
+
- **`tb list -v` groups a bundle-scoped skill under its bundle.** A skill's `bundle:` frontmatter ties it to that bundle's availability exactly as a tool's does — the same gate drops both — but skills were listed in one trailing `[skills]` block whatever they were scoped to. The bundle header's `⚠ needs config:` note read as though it applied only to tools, and the skill's own `needs the X bundle` line sat far from the `[X]` it named.
|
|
107
|
+
|
|
108
|
+
```console
|
|
109
|
+
$ tb list -v
|
|
110
|
+
[mg5] ⚠ needs config: mg5_path
|
|
111
|
+
✗ MadGraphFromRunCard
|
|
112
|
+
✗ ValidateProcess
|
|
113
|
+
✗ mg5 (skill)
|
|
114
|
+
[skills]
|
|
115
|
+
✓ getting_started
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Skills scoped to no bundle keep the trailing block. `tb list --json` is unchanged in shape, but a deactivated skill now reports its `bundle` instead of `null`.
|
|
119
|
+
|
|
120
|
+
- **A skill scoped to a bundle that was never installed is no longer surfaced.** A subset install (`tb install heptapod[pdg]`) never pip-installs the other bundles' deps, so their tools can't be served whatever the config says — and `tb list -v` marked them accordingly. Skill surfacing checked only the config gate, so a guide to tools that provably weren't there was surfaced with a tick beside it. It is now gated by install scope too, matching the orchestrator and the tool rows.
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Upgrading
|
|
124
|
+
|
|
125
|
+
Skills are re-surfaced by the next `tb connect <harness>`, which is also what
|
|
126
|
+
applies the changes below. Nothing happens until you run it.
|
|
127
|
+
|
|
128
|
+
- Guides move from the retired surfaces (`$CODEX_HOME/prompts/`,
|
|
129
|
+
`~/.config/opencode/command/`) to the real skill directories. The old files
|
|
130
|
+
are removed — only ones toolbase owns per its manifest.
|
|
131
|
+
- Guides move from your home directory to the project when you connect with
|
|
132
|
+
the default project scope. Anything a previous version surfaced at user
|
|
133
|
+
scope stays until you run `tb disconnect <harness> -u`; the connect says so.
|
|
134
|
+
- Slugs with underscores or spaces are renamed (`run_cards` → `run-cards`).
|
|
135
|
+
The prune removes the old directory, so no orphans. Existing
|
|
136
|
+
`skills.disabled` entries are matched canonically and both spellings work on
|
|
137
|
+
the command line.
|
|
138
|
+
- A surfaced `SKILL.md` is a copy rather than a symlink, so edits to an
|
|
139
|
+
editable checkout land on the next connect rather than immediately.
|
|
140
|
+
|
|
9
141
|
## [0.14.0] — 2026-08-03
|
|
10
142
|
|
|
11
143
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: toolbase
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.16.0
|
|
4
4
|
Summary: The community registry and CLI for AI agent toolkits - discover, share, and serve tools to AI agents over MCP
|
|
5
5
|
Author-email: Alex Roman <toolbase.dev@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -135,18 +135,33 @@ alongside its tools or on their own. Each is either a file
|
|
|
135
135
|
(`skills/exact_math.md`) or a directory (`skills/exact_math/SKILL.md`) that
|
|
136
136
|
carries reference files and scripts beside the guide. `tb connect` surfaces
|
|
137
137
|
the activated toolkits' skills into the harness you connect, in that
|
|
138
|
-
harness's native format
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
138
|
+
harness's native format and **at the scope you connected**:
|
|
139
|
+
|
|
140
|
+
| harness | `-u` (user) | `-p` (project, default) |
|
|
141
|
+
|---|---|---|
|
|
142
|
+
| Claude Code | `~/.claude/skills/<toolkit>__<skill>/` | `./.claude/skills/…` |
|
|
143
|
+
| Codex | `$CODEX_HOME/skills/<toolkit>__<skill>/` | `./.codex/skills/…` |
|
|
144
|
+
| Antigravity | `~/.gemini/config/skills/<toolkit>__<skill>/` | `./.agents/skills/…` |
|
|
145
|
+
| OpenCode | `~/.config/opencode/skills/<toolkit>__<skill>/` | `./.opencode/skills/…` |
|
|
146
|
+
|
|
147
|
+
All four load these on demand as native skills, keyed on the `description`
|
|
148
|
+
in each guide's frontmatter, and expose each as a `/<toolkit>__<skill>`
|
|
149
|
+
slash command. Codex loads a project's skills even before you trust the
|
|
150
|
+
project — unlike the `config.toml` beside them.
|
|
151
|
+
|
|
152
|
+
The surfaced guide is named `<toolkit>__<skill>` in the harness whatever
|
|
153
|
+
the author called it, so what you see is what `tb deactivate` accepts and
|
|
154
|
+
two toolkits shipping an `mg5` guide stay distinct. The slug is lowercase
|
|
155
|
+
with words separated by `-`, matching every other skill in the ecosystem:
|
|
156
|
+
`skills/run_cards.md`, `skills/run-cards/`, and `skills/Run Cards.md` all
|
|
157
|
+
surface as `<toolkit>__run-cards`. The author's `description` is passed
|
|
158
|
+
through untouched — it's what the model reads to decide when the skill
|
|
159
|
+
applies.
|
|
160
|
+
|
|
161
|
+
Skills go where the server entry goes, so a tool and its guide reach the
|
|
162
|
+
same agents. Every harness reads both scopes at once, so a project connect
|
|
163
|
+
adds to whatever you surfaced with `-u`; `tb connect` says so when the
|
|
164
|
+
other scope is holding skills.
|
|
150
165
|
|
|
151
166
|
Skills follow the same curation as tools: a guide is surfaced only when
|
|
152
167
|
its toolkit is active, and you toggle a single one with the activation
|
|
@@ -157,11 +172,18 @@ tb deactivate calculator__advanced_guide # stop surfacing this one guide
|
|
|
157
172
|
tb activate calculator__advanced_guide # bring it back
|
|
158
173
|
```
|
|
159
174
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
what
|
|
175
|
+
**A connect is a sync, not an append.** It writes what should be there and
|
|
176
|
+
removes the toolbase-owned entries that shouldn't — a toolkit you
|
|
177
|
+
deactivated, a guide you toggled off, a bundle whose config gate closed, a
|
|
178
|
+
guide a new version dropped. Skills you wrote yourself are never touched.
|
|
179
|
+
Re-run `tb connect <harness>` after changing what's active and the surface
|
|
180
|
+
catches up.
|
|
181
|
+
|
|
182
|
+
`tb connect --no-skills` wires the MCP server without touching the skill
|
|
183
|
+
surface in either direction; `tb disconnect` removes the surfaced skills
|
|
184
|
+
for that scope (`--all` for both). Surfacing is a `connect`-time step, so
|
|
185
|
+
`tb install` alone reports a toolkit's skills but doesn't surface them —
|
|
186
|
+
connect (and the set you've activated) decides what lands in the harness.
|
|
165
187
|
|
|
166
188
|
A toolkit that ships *only* skills is a **skill pack**: it declares no
|
|
167
189
|
tools and serves nothing over MCP, but its guides surface through
|
|
@@ -94,18 +94,33 @@ alongside its tools or on their own. Each is either a file
|
|
|
94
94
|
(`skills/exact_math.md`) or a directory (`skills/exact_math/SKILL.md`) that
|
|
95
95
|
carries reference files and scripts beside the guide. `tb connect` surfaces
|
|
96
96
|
the activated toolkits' skills into the harness you connect, in that
|
|
97
|
-
harness's native format
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
97
|
+
harness's native format and **at the scope you connected**:
|
|
98
|
+
|
|
99
|
+
| harness | `-u` (user) | `-p` (project, default) |
|
|
100
|
+
|---|---|---|
|
|
101
|
+
| Claude Code | `~/.claude/skills/<toolkit>__<skill>/` | `./.claude/skills/…` |
|
|
102
|
+
| Codex | `$CODEX_HOME/skills/<toolkit>__<skill>/` | `./.codex/skills/…` |
|
|
103
|
+
| Antigravity | `~/.gemini/config/skills/<toolkit>__<skill>/` | `./.agents/skills/…` |
|
|
104
|
+
| OpenCode | `~/.config/opencode/skills/<toolkit>__<skill>/` | `./.opencode/skills/…` |
|
|
105
|
+
|
|
106
|
+
All four load these on demand as native skills, keyed on the `description`
|
|
107
|
+
in each guide's frontmatter, and expose each as a `/<toolkit>__<skill>`
|
|
108
|
+
slash command. Codex loads a project's skills even before you trust the
|
|
109
|
+
project — unlike the `config.toml` beside them.
|
|
110
|
+
|
|
111
|
+
The surfaced guide is named `<toolkit>__<skill>` in the harness whatever
|
|
112
|
+
the author called it, so what you see is what `tb deactivate` accepts and
|
|
113
|
+
two toolkits shipping an `mg5` guide stay distinct. The slug is lowercase
|
|
114
|
+
with words separated by `-`, matching every other skill in the ecosystem:
|
|
115
|
+
`skills/run_cards.md`, `skills/run-cards/`, and `skills/Run Cards.md` all
|
|
116
|
+
surface as `<toolkit>__run-cards`. The author's `description` is passed
|
|
117
|
+
through untouched — it's what the model reads to decide when the skill
|
|
118
|
+
applies.
|
|
119
|
+
|
|
120
|
+
Skills go where the server entry goes, so a tool and its guide reach the
|
|
121
|
+
same agents. Every harness reads both scopes at once, so a project connect
|
|
122
|
+
adds to whatever you surfaced with `-u`; `tb connect` says so when the
|
|
123
|
+
other scope is holding skills.
|
|
109
124
|
|
|
110
125
|
Skills follow the same curation as tools: a guide is surfaced only when
|
|
111
126
|
its toolkit is active, and you toggle a single one with the activation
|
|
@@ -116,11 +131,18 @@ tb deactivate calculator__advanced_guide # stop surfacing this one guide
|
|
|
116
131
|
tb activate calculator__advanced_guide # bring it back
|
|
117
132
|
```
|
|
118
133
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
what
|
|
134
|
+
**A connect is a sync, not an append.** It writes what should be there and
|
|
135
|
+
removes the toolbase-owned entries that shouldn't — a toolkit you
|
|
136
|
+
deactivated, a guide you toggled off, a bundle whose config gate closed, a
|
|
137
|
+
guide a new version dropped. Skills you wrote yourself are never touched.
|
|
138
|
+
Re-run `tb connect <harness>` after changing what's active and the surface
|
|
139
|
+
catches up.
|
|
140
|
+
|
|
141
|
+
`tb connect --no-skills` wires the MCP server without touching the skill
|
|
142
|
+
surface in either direction; `tb disconnect` removes the surfaced skills
|
|
143
|
+
for that scope (`--all` for both). Surfacing is a `connect`-time step, so
|
|
144
|
+
`tb install` alone reports a toolkit's skills but doesn't surface them —
|
|
145
|
+
connect (and the set you've activated) decides what lands in the harness.
|
|
124
146
|
|
|
125
147
|
A toolkit that ships *only* skills is a **skill pack**: it declares no
|
|
126
148
|
tools and serves nothing over MCP, but its guides surface through
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "toolbase"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.16.0"
|
|
8
8
|
description = "The community registry and CLI for AI agent toolkits - discover, share, and serve tools to AI agents over MCP"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|