toolbase 0.6.1__tar.gz → 0.8.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.6.1 → toolbase-0.8.0}/CHANGELOG.md +18 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/PKG-INFO +60 -20
- {toolbase-0.6.1 → toolbase-0.8.0}/README.md +59 -19
- {toolbase-0.6.1 → toolbase-0.8.0}/pyproject.toml +1 -1
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/cli.py +206 -71
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/connect/__init__.py +3 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/connect/base.py +17 -1
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/connect/claude_code.py +11 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/connect/codex.py +11 -0
- toolbase-0.8.0/toolbase/connect/opencode.py +243 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/orchestrator.py +47 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/profile_scaffold.py +85 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/profiles.py +33 -2
- toolbase-0.8.0/toolbase/skills.py +488 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/validation.py +16 -3
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase.egg-info/SOURCES.txt +1 -0
- toolbase-0.6.1/toolbase/skills.py +0 -289
- {toolbase-0.6.1 → toolbase-0.8.0}/LICENSE +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/MANIFEST.in +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/setup.cfg +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/__init__.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/_setup_host.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/_toolkit_host.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/astro.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/auth.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/config.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/connect/orchestral.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/__init__.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/bundle_deps.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/cache.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/config.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/discovery.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/manifest.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/paths.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/envs/schema.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/hep.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/ingest.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/logging/__init__.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/logging/logger.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/naming.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/neutrino.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/quantum.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/__init__.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/bundles.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/config.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/serve/proxy_tool.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/__init__.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/_rpc.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/context.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/declarative.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/downloads.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/prompts.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/runner.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/schema.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/storage.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/setup/validate_cache.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/Dockerfile.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/README.md.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/__init__.py.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/mcp/__init__.py.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/mcp/server_stdio.py.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/requirements.txt.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/setup.py.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/skills/example_skill.md +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/tool_example.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/templates/toolkit.yaml.template +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/toolkit.py +0 -0
- {toolbase-0.6.1 → toolbase-0.8.0}/toolbase/versioning.py +0 -0
|
@@ -8,6 +8,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.8.0] — 2026-07-27
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`tb connect opencode` — OpenCode is now a supported harness.** A new `OpenCodeAdapter` wires toolbase into OpenCode's `mcp` block (`opencode.json` / `opencode.jsonc`, user `~/.config/opencode/` honoring `$XDG_CONFIG_HOME`, or project root), writing a local stdio server in OpenCode's single-`command`-array form (`{"type":"local","command":["toolbase","serve"],"enabled":true}`) with a non-destructive, atomic merge that preserves `$schema` and other servers. An existing comment-free `.jsonc` is edited in place; a `.jsonc` that actually carries comments is refused with guidance rather than clobbered. Registering the adapter also lights up `tb disconnect opencode`, `--harnesses`, and `--list`. OpenCode skills surface as `~/.config/opencode/command/<toolkit>__<skill>.md` slash-command prompts (via the existing `SkillTarget` flat layout), keeping only the `description` frontmatter OpenCode shows in its TUI — enabled by a new `SkillTarget.frontmatter_keys` that narrows the emitted block to named keys.
|
|
16
|
+
|
|
17
|
+
## [0.7.0] — 2026-07-26
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **`tb connect` now surfaces skills per-harness, and Codex is supported natively.** A toolkit's `skills/*.md` guides are surfaced into the harness you connect, not at install time against a hardcoded path. `tb connect <harness>` surfaces the *activated* toolkits' skills (the same set whose tools are served) into that harness's location; `tb disconnect` / `tb connect --remove` clears them; `--no-skills` wires the MCP server only. Two layouts, one per adapter: **Claude Code** → `~/.claude/skills/<toolkit>__<skill>/SKILL.md` (frontmatter preserved; auto-surfaced to the model and exposed as a `/<name>` slash command), **Codex** → `~/.codex/prompts/<toolkit>__<skill>.md` (frontmatter stripped to the body; a user-invoked `/<name>` slash-command prompt). Adapters declare their surface via a new `HarnessAdapter.skill_target()` returning a `SkillTarget`; `skills.surface_skills` / `unsurface_skills` / `unsurface_all` generalize the copy/gate/ownership logic across layouts. Flat-layout ownership is tracked by a `.toolbase-managed.json` manifest (a flat file has no dir for the `OWNED_MARKER`), so user-authored prompts with the same prefix are never removed.
|
|
22
|
+
- **Skill packs (skills-only toolkits) are now first-class.** A toolkit may ship only `skills/*.md` guides and declare no tools. `tools:` in `toolkit.yaml` is now optional (defaults to empty), and the `orchestral-ai` requirement is waived when a toolkit has no tools (a skill pack runs no Orchestral tool framework). Such a toolkit validates, installs, activates, and surfaces its skills through `tb connect` like any other; the serve orchestrator recognizes it (`_toolkit_is_skills_only`: no declared tools *and* no implicit `tools/__init__.py`) and skips launching a host for it — while keeping it fully discoverable so `tb activate` / `tb connect` still surface its guides. When the *only* active toolkits are skill packs, `tb serve` explains there is nothing to serve over MCP and points at `tb connect`, rather than failing with an opaque error. This pairs with per-skill toggling to make a curated pack of standalone skills a supported unit.
|
|
23
|
+
- **Per-skill enable/disable, via the existing activation grammar.** `tb deactivate <toolkit>__<skill>` blocklists a single guide; `tb activate <toolkit>__<skill>` restores it. A `<toolkit>__<name>` item is resolved to a **skill** when it matches a surfaced skill slug and *not* a tool (on a genuine name collision the tool wins and a note is printed, preserving existing tool references). Skills are on by default when the toolkit is active, so a profile records only a per-toolkit blocklist — a new `skills: { disabled: [...] }` block under each toolkit entry (`ToolkitSelection.disabled_skills`). Skill surfacing (`surface_skills`, and hence `tb connect`) subtracts these slugs, the per-skill analog of bundle gating. Install/connect now print each guide by its `<toolkit>__<slug>` toggle name so the slug is discoverable. This makes it practical to ship a toolkit as a bundle of individually toggleable skills.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- **Skill surfacing moved off `tb install`.** Installing a toolkit now only *reports* that it ships skills and points at `tb connect`; it no longer writes into `~/.claude/skills/`. Skills follow the harness you connect (and the toolkits you've activated), symmetric with how MCP tools are wired. Uninstalling a toolkit reaps its surfaced skills from every harness target (Claude Code and Codex), not just Claude. Back-compat: `install_skills_for_toolkit` / `uninstall_skills_for_toolkit` remain as Claude-dir wrappers over the new `SkillTarget` API.
|
|
28
|
+
|
|
11
29
|
## [0.6.1] — 2026-07-24
|
|
12
30
|
|
|
13
31
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: toolbase
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.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
|
|
@@ -47,10 +47,11 @@ them to your harness over the [Model Context Protocol](https://modelcontextproto
|
|
|
47
47
|
span any domain, from web and data utilities to scientific categories
|
|
48
48
|
like astro, hep, and quantum.
|
|
49
49
|
|
|
50
|
-
A **toolkit** is the publishable unit
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
problem.
|
|
50
|
+
A **toolkit** is the publishable unit. It bundles **tools** an agent can
|
|
51
|
+
call and/or **skills** — short markdown how-to guides surfaced into your
|
|
52
|
+
harness. Each toolkit installs into its own isolated Python environment,
|
|
53
|
+
so dependency conflicts between toolkits are never a problem. A toolkit
|
|
54
|
+
can even ship *only* skills (a **skill pack**).
|
|
54
55
|
|
|
55
56
|
Full CLI reference: <https://toolbase-ai.com/docs>.
|
|
56
57
|
|
|
@@ -85,11 +86,13 @@ the activation is scoped: `tb activate` writes to the current
|
|
|
85
86
|
directory's `.toolbase/` by default, `-g` writes to the user-wide
|
|
86
87
|
profile instead.
|
|
87
88
|
|
|
88
|
-
**`tb connect` writes the MCP config for you.** Claude Code, Codex,
|
|
89
|
-
Orchestral are all supported (`tb connect --harnesses`
|
|
90
|
-
Claude Code and
|
|
91
|
-
file), while Orchestral gets a runnable agent
|
|
92
|
-
yourself.
|
|
89
|
+
**`tb connect` writes the MCP config for you.** Claude Code, Codex,
|
|
90
|
+
OpenCode, and Orchestral are all supported (`tb connect --harnesses`
|
|
91
|
+
lists them); Claude Code, Codex, and OpenCode are MCP clients (`tb
|
|
92
|
+
connect` edits their config file), while Orchestral gets a runnable agent
|
|
93
|
+
script you launch yourself. It also surfaces the activated toolkits'
|
|
94
|
+
**skills** into the harness — see
|
|
95
|
+
[Skills](#skills-guides-that-travel-with-the-toolkit).
|
|
93
96
|
|
|
94
97
|
## Inspect
|
|
95
98
|
|
|
@@ -101,19 +104,21 @@ tb logs # tool calls, live (best diagnostic for "did it fire?")
|
|
|
101
104
|
|
|
102
105
|
## Curate what the agent sees
|
|
103
106
|
|
|
104
|
-
`tb activate` / `deactivate` work at
|
|
107
|
+
`tb activate` / `deactivate` work at four granularities:
|
|
105
108
|
|
|
106
109
|
```bash
|
|
107
110
|
tb activate calculator # the whole toolkit
|
|
108
111
|
tb activate calculator/scientific # one bundle (group of related tools)
|
|
109
112
|
tb activate calculator__add # one specific tool
|
|
110
|
-
tb deactivate
|
|
113
|
+
tb deactivate calculator__quickstart # one specific skill (see Skills below)
|
|
111
114
|
```
|
|
112
115
|
|
|
113
|
-
A
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
A `<toolkit>__<name>` item is a **skill** when it matches a surfaced
|
|
117
|
+
skill and not a tool; otherwise it's a tool (a name that is both resolves
|
|
118
|
+
to the tool). A **bundle** is a self-contained capability an author
|
|
119
|
+
carves out of a toolkit, with its own deps and skills.
|
|
120
|
+
`tb profile tools calculator` lists what's available. Power users can
|
|
121
|
+
keep several named profiles (`tb profile create paper`,
|
|
117
122
|
`tb connect claude-code --profile paper`) and switch between them; most
|
|
118
123
|
users only ever touch the default profile.
|
|
119
124
|
|
|
@@ -125,6 +130,40 @@ vs `matrix__add`). When names do overlap, `tb serve`, `tb list -v`, and
|
|
|
125
130
|
a name shared by two toolkits stays qualified (both remain callable) with a
|
|
126
131
|
warning, and the rest are served bare.
|
|
127
132
|
|
|
133
|
+
## Skills: guides that travel with the toolkit
|
|
134
|
+
|
|
135
|
+
A toolkit can ship **skills** — markdown how-to guides in `skills/` —
|
|
136
|
+
alongside its tools or on their own. `tb connect` surfaces the activated
|
|
137
|
+
toolkits' skills into the harness you connect, in that harness's native
|
|
138
|
+
format:
|
|
139
|
+
|
|
140
|
+
- **Claude Code** → `~/.claude/skills/<toolkit>__<skill>/` — auto-surfaced
|
|
141
|
+
to the model *and* available as a `/<toolkit>__<skill>` slash command.
|
|
142
|
+
- **Codex** → `~/.codex/prompts/<toolkit>__<skill>.md` — a
|
|
143
|
+
`/<toolkit>__<skill>` slash-command prompt.
|
|
144
|
+
- **OpenCode** → `~/.config/opencode/command/<toolkit>__<skill>.md` — a
|
|
145
|
+
`/<toolkit>__<skill>` slash-command prompt (its `description` shows in
|
|
146
|
+
the TUI).
|
|
147
|
+
|
|
148
|
+
Skills follow the same curation as tools: a guide is surfaced only when
|
|
149
|
+
its toolkit is active, and you toggle a single one with the activation
|
|
150
|
+
grammar.
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
tb deactivate calculator__advanced_guide # stop surfacing this one guide
|
|
154
|
+
tb activate calculator__advanced_guide # bring it back
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
`tb connect --no-skills` wires the MCP server without surfacing any
|
|
158
|
+
skills; `tb disconnect` removes the surfaced skills too. Surfacing is a
|
|
159
|
+
`connect`-time step, so `tb install` alone reports a toolkit's skills but
|
|
160
|
+
doesn't surface them — connect (and the set you've activated) decides
|
|
161
|
+
what lands in the harness.
|
|
162
|
+
|
|
163
|
+
A toolkit that ships *only* skills is a **skill pack**: it declares no
|
|
164
|
+
tools and serves nothing over MCP, but its guides surface through
|
|
165
|
+
`tb connect` exactly like any other toolkit's.
|
|
166
|
+
|
|
128
167
|
## Share a project without sharing your machine
|
|
129
168
|
|
|
130
169
|
Toolkits that need configuration (an API key, a path to an external
|
|
@@ -154,6 +193,7 @@ pins like editable installs.
|
|
|
154
193
|
tb init my-toolkit # scaffold from template
|
|
155
194
|
cd my-toolkit
|
|
156
195
|
# write tools in tools/ and skills in skills/
|
|
196
|
+
# (a toolkit may ship only skills — a skill pack — and omit tools entirely)
|
|
157
197
|
tb validate # check structure
|
|
158
198
|
tb login # one-time browser-flow auth
|
|
159
199
|
tb publish # ship it (auto-registers on first run)
|
|
@@ -186,10 +226,10 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
|
|
|
186
226
|
| `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
|
|
187
227
|
| `tb uninstall NAME` | Remove a toolkit |
|
|
188
228
|
| `tb list` | Installed toolkits (`-v` for a per-tool view) |
|
|
189
|
-
| `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` (project-local; `-g` for user-wide) |
|
|
190
|
-
| `tb deactivate ITEM` | Hide a toolkit / bundle / tool |
|
|
191
|
-
| `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, or scaffold an Orchestral agent script |
|
|
192
|
-
| `tb disconnect HARNESS` | Remove toolbase from a harness |
|
|
229
|
+
| `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-g` for user-wide) |
|
|
230
|
+
| `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
|
|
231
|
+
| `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, OpenCode, or scaffold an Orchestral agent script (also surfaces skills; `--no-skills` to skip) |
|
|
232
|
+
| `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
|
|
193
233
|
| `tb logs` | Tail the serve log, live |
|
|
194
234
|
| `tb profile …` | Manage named profiles: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
|
|
195
235
|
| `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--local` pick the layer) |
|
|
@@ -6,10 +6,11 @@ them to your harness over the [Model Context Protocol](https://modelcontextproto
|
|
|
6
6
|
span any domain, from web and data utilities to scientific categories
|
|
7
7
|
like astro, hep, and quantum.
|
|
8
8
|
|
|
9
|
-
A **toolkit** is the publishable unit
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
problem.
|
|
9
|
+
A **toolkit** is the publishable unit. It bundles **tools** an agent can
|
|
10
|
+
call and/or **skills** — short markdown how-to guides surfaced into your
|
|
11
|
+
harness. Each toolkit installs into its own isolated Python environment,
|
|
12
|
+
so dependency conflicts between toolkits are never a problem. A toolkit
|
|
13
|
+
can even ship *only* skills (a **skill pack**).
|
|
13
14
|
|
|
14
15
|
Full CLI reference: <https://toolbase-ai.com/docs>.
|
|
15
16
|
|
|
@@ -44,11 +45,13 @@ the activation is scoped: `tb activate` writes to the current
|
|
|
44
45
|
directory's `.toolbase/` by default, `-g` writes to the user-wide
|
|
45
46
|
profile instead.
|
|
46
47
|
|
|
47
|
-
**`tb connect` writes the MCP config for you.** Claude Code, Codex,
|
|
48
|
-
Orchestral are all supported (`tb connect --harnesses`
|
|
49
|
-
Claude Code and
|
|
50
|
-
file), while Orchestral gets a runnable agent
|
|
51
|
-
yourself.
|
|
48
|
+
**`tb connect` writes the MCP config for you.** Claude Code, Codex,
|
|
49
|
+
OpenCode, and Orchestral are all supported (`tb connect --harnesses`
|
|
50
|
+
lists them); Claude Code, Codex, and OpenCode are MCP clients (`tb
|
|
51
|
+
connect` edits their config file), while Orchestral gets a runnable agent
|
|
52
|
+
script you launch yourself. It also surfaces the activated toolkits'
|
|
53
|
+
**skills** into the harness — see
|
|
54
|
+
[Skills](#skills-guides-that-travel-with-the-toolkit).
|
|
52
55
|
|
|
53
56
|
## Inspect
|
|
54
57
|
|
|
@@ -60,19 +63,21 @@ tb logs # tool calls, live (best diagnostic for "did it fire?")
|
|
|
60
63
|
|
|
61
64
|
## Curate what the agent sees
|
|
62
65
|
|
|
63
|
-
`tb activate` / `deactivate` work at
|
|
66
|
+
`tb activate` / `deactivate` work at four granularities:
|
|
64
67
|
|
|
65
68
|
```bash
|
|
66
69
|
tb activate calculator # the whole toolkit
|
|
67
70
|
tb activate calculator/scientific # one bundle (group of related tools)
|
|
68
71
|
tb activate calculator__add # one specific tool
|
|
69
|
-
tb deactivate
|
|
72
|
+
tb deactivate calculator__quickstart # one specific skill (see Skills below)
|
|
70
73
|
```
|
|
71
74
|
|
|
72
|
-
A
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
A `<toolkit>__<name>` item is a **skill** when it matches a surfaced
|
|
76
|
+
skill and not a tool; otherwise it's a tool (a name that is both resolves
|
|
77
|
+
to the tool). A **bundle** is a self-contained capability an author
|
|
78
|
+
carves out of a toolkit, with its own deps and skills.
|
|
79
|
+
`tb profile tools calculator` lists what's available. Power users can
|
|
80
|
+
keep several named profiles (`tb profile create paper`,
|
|
76
81
|
`tb connect claude-code --profile paper`) and switch between them; most
|
|
77
82
|
users only ever touch the default profile.
|
|
78
83
|
|
|
@@ -84,6 +89,40 @@ vs `matrix__add`). When names do overlap, `tb serve`, `tb list -v`, and
|
|
|
84
89
|
a name shared by two toolkits stays qualified (both remain callable) with a
|
|
85
90
|
warning, and the rest are served bare.
|
|
86
91
|
|
|
92
|
+
## Skills: guides that travel with the toolkit
|
|
93
|
+
|
|
94
|
+
A toolkit can ship **skills** — markdown how-to guides in `skills/` —
|
|
95
|
+
alongside its tools or on their own. `tb connect` surfaces the activated
|
|
96
|
+
toolkits' skills into the harness you connect, in that harness's native
|
|
97
|
+
format:
|
|
98
|
+
|
|
99
|
+
- **Claude Code** → `~/.claude/skills/<toolkit>__<skill>/` — auto-surfaced
|
|
100
|
+
to the model *and* available as a `/<toolkit>__<skill>` slash command.
|
|
101
|
+
- **Codex** → `~/.codex/prompts/<toolkit>__<skill>.md` — a
|
|
102
|
+
`/<toolkit>__<skill>` slash-command prompt.
|
|
103
|
+
- **OpenCode** → `~/.config/opencode/command/<toolkit>__<skill>.md` — a
|
|
104
|
+
`/<toolkit>__<skill>` slash-command prompt (its `description` shows in
|
|
105
|
+
the TUI).
|
|
106
|
+
|
|
107
|
+
Skills follow the same curation as tools: a guide is surfaced only when
|
|
108
|
+
its toolkit is active, and you toggle a single one with the activation
|
|
109
|
+
grammar.
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
tb deactivate calculator__advanced_guide # stop surfacing this one guide
|
|
113
|
+
tb activate calculator__advanced_guide # bring it back
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
`tb connect --no-skills` wires the MCP server without surfacing any
|
|
117
|
+
skills; `tb disconnect` removes the surfaced skills too. Surfacing is a
|
|
118
|
+
`connect`-time step, so `tb install` alone reports a toolkit's skills but
|
|
119
|
+
doesn't surface them — connect (and the set you've activated) decides
|
|
120
|
+
what lands in the harness.
|
|
121
|
+
|
|
122
|
+
A toolkit that ships *only* skills is a **skill pack**: it declares no
|
|
123
|
+
tools and serves nothing over MCP, but its guides surface through
|
|
124
|
+
`tb connect` exactly like any other toolkit's.
|
|
125
|
+
|
|
87
126
|
## Share a project without sharing your machine
|
|
88
127
|
|
|
89
128
|
Toolkits that need configuration (an API key, a path to an external
|
|
@@ -113,6 +152,7 @@ pins like editable installs.
|
|
|
113
152
|
tb init my-toolkit # scaffold from template
|
|
114
153
|
cd my-toolkit
|
|
115
154
|
# write tools in tools/ and skills in skills/
|
|
155
|
+
# (a toolkit may ship only skills — a skill pack — and omit tools entirely)
|
|
116
156
|
tb validate # check structure
|
|
117
157
|
tb login # one-time browser-flow auth
|
|
118
158
|
tb publish # ship it (auto-registers on first run)
|
|
@@ -145,10 +185,10 @@ Full reference with all flags: <https://toolbase-ai.com/docs/reference/commands>
|
|
|
145
185
|
| `tb install NAME` | Install a toolkit (`-a` to also activate, `-e <path>` for editable, `NAME[a,b]` for selected bundles) |
|
|
146
186
|
| `tb uninstall NAME` | Remove a toolkit |
|
|
147
187
|
| `tb list` | Installed toolkits (`-v` for a per-tool view) |
|
|
148
|
-
| `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` (project-local; `-g` for user-wide) |
|
|
149
|
-
| `tb deactivate ITEM` | Hide a toolkit / bundle / tool |
|
|
150
|
-
| `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, or scaffold an Orchestral agent script |
|
|
151
|
-
| `tb disconnect HARNESS` | Remove toolbase from a harness |
|
|
188
|
+
| `tb activate ITEM` | Expose a toolkit / `toolkit/bundle` / `toolkit__tool` / `toolkit__skill` (project-local; `-g` for user-wide) |
|
|
189
|
+
| `tb deactivate ITEM` | Hide a toolkit / bundle / tool / skill |
|
|
190
|
+
| `tb connect HARNESS` | Wire toolbase into Claude Code, Codex, OpenCode, or scaffold an Orchestral agent script (also surfaces skills; `--no-skills` to skip) |
|
|
191
|
+
| `tb disconnect HARNESS` | Remove toolbase from a harness (and its surfaced skills) |
|
|
152
192
|
| `tb logs` | Tail the serve log, live |
|
|
153
193
|
| `tb profile …` | Manage named profiles: `list \| show \| create \| edit \| delete \| set-default \| path \| tools` |
|
|
154
194
|
| `tb config …` | Manage per-toolkit config: `show \| init \| set \| unset \| edit \| path \| validate` (`--user` / `--project` / `--local` pick the layer) |
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "toolbase"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.8.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"
|