toolbase 0.13.0__tar.gz → 0.14.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.
Files changed (69) hide show
  1. {toolbase-0.13.0 → toolbase-0.14.0}/CHANGELOG.md +26 -0
  2. {toolbase-0.13.0 → toolbase-0.14.0}/PKG-INFO +1 -1
  3. {toolbase-0.13.0 → toolbase-0.14.0}/pyproject.toml +1 -1
  4. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/cli.py +204 -9
  5. {toolbase-0.13.0 → toolbase-0.14.0}/LICENSE +0 -0
  6. {toolbase-0.13.0 → toolbase-0.14.0}/MANIFEST.in +0 -0
  7. {toolbase-0.13.0 → toolbase-0.14.0}/README.md +0 -0
  8. {toolbase-0.13.0 → toolbase-0.14.0}/setup.cfg +0 -0
  9. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/__init__.py +0 -0
  10. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/_setup_host.py +0 -0
  11. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/_toolkit_host.py +0 -0
  12. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/astro.py +0 -0
  13. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/auth.py +0 -0
  14. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/config.py +0 -0
  15. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/__init__.py +0 -0
  16. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/antigravity.py +0 -0
  17. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/base.py +0 -0
  18. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/claude_code.py +0 -0
  19. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/codex.py +0 -0
  20. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/opencode.py +0 -0
  21. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/connect/orchestral.py +0 -0
  22. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/__init__.py +0 -0
  23. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/bundle_deps.py +0 -0
  24. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/cache.py +0 -0
  25. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/config.py +0 -0
  26. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/discovery.py +0 -0
  27. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/manifest.py +0 -0
  28. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/paths.py +0 -0
  29. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/resolve.py +0 -0
  30. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/envs/schema.py +0 -0
  31. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/hep.py +0 -0
  32. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/ingest.py +0 -0
  33. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/logging/__init__.py +0 -0
  34. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/logging/logger.py +0 -0
  35. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/naming.py +0 -0
  36. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/neutrino.py +0 -0
  37. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/quantum.py +0 -0
  38. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/__init__.py +0 -0
  39. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/bundles.py +0 -0
  40. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/config.py +0 -0
  41. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/loadout_scaffold.py +0 -0
  42. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/loadouts.py +0 -0
  43. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/orchestrator.py +0 -0
  44. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/serve/proxy_tool.py +0 -0
  45. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/__init__.py +0 -0
  46. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/_rpc.py +0 -0
  47. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/context.py +0 -0
  48. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/declarative.py +0 -0
  49. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/downloads.py +0 -0
  50. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/prompts.py +0 -0
  51. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/runner.py +0 -0
  52. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/schema.py +0 -0
  53. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/storage.py +0 -0
  54. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/setup/validate_cache.py +0 -0
  55. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/skills.py +0 -0
  56. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/Dockerfile.template +0 -0
  57. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/README.md.template +0 -0
  58. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/__init__.py.template +0 -0
  59. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/mcp/__init__.py.template +0 -0
  60. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/mcp/server_stdio.py.template +0 -0
  61. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/requirements.txt.template +0 -0
  62. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/setup.py.template +0 -0
  63. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/skills/example_skill.md +0 -0
  64. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/tool_example.py +0 -0
  65. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/templates/toolkit.yaml.template +0 -0
  66. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/toolkit.py +0 -0
  67. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/validation.py +0 -0
  68. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase/versioning.py +0 -0
  69. {toolbase-0.13.0 → toolbase-0.14.0}/toolbase.egg-info/SOURCES.txt +0 -0
@@ -6,6 +6,32 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this
6
6
 
7
7
  ---
8
8
 
9
+ ## [0.14.0] — 2026-08-03
10
+
11
+ ### Added
12
+
13
+ - **Skills are visible in the read commands.** Every command that *changed* a skill knew about them — `tb activate <toolkit>__<skill>`, `tb deactivate`, `tb install --no-skills` — and no command that *showed* anything did. A toolkit's skills were undiscoverable short of listing its `skills/` directory.
14
+
15
+ That made `tb deactivate <toolkit>__<skill>` effectively write-only: skills default on and nothing displayed their state, so turning one off left no trace on any surface. The only evidence was a missing file under `~/.claude/skills/`.
16
+
17
+ ```console
18
+ $ tb list -v
19
+ [skills]
20
+ ✓ using_symbolic
21
+ ✗ heavy_workflow (needs the heavy bundle)
22
+ ✗ old_guide (deactivated — `tb activate calculator__old_guide`)
23
+ ```
24
+
25
+ `tb status` grows a `Skills` section for active toolkits, and says when no harness is wired — skills reach an agent by being copied into the harness's own directory at `tb connect` time, not served over MCP, so an active toolkit's skills are not in front of anyone until something is wired. `tb list --json` grows a `skills` key carrying each skill's own state; combine it with `active` for whether a skill is actually surfaced, since collapsing the two would lose the difference between a skill you turned off and a toolkit you never activated.
26
+
27
+ A skill's state is computed once and rendered by every surface, applying the same filters `surface_skills` applies in the same order, so a listing shows what `tb connect` would actually write.
28
+
29
+ ### Fixed
30
+
31
+ - **`tb activate <toolkit>__<skill>` claimed success on a skill that stayed hidden.** A skill scoped to a bundle is withheld while that bundle's config keys are unset, and activating manages a different filter — the per-skill blocklist — so it could report "already active" about something that would never reach an agent. It now names the bundle and the config keys it is waiting on.
32
+
33
+ - **`tb install --help` described surfacing it does not do.** Step 4 read "Surface the toolkit's skills into `~/.claude/skills/`", and `--no-skills` claimed to prevent that. Install only *reports* which skills a toolkit ships; `tb connect` surfaces them, per harness, and install's `--no-skills` suppresses the note and nothing else.
34
+
9
35
  ## [0.13.0] — 2026-08-03
10
36
 
11
37
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toolbase
3
- Version: 0.13.0
3
+ Version: 0.14.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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "toolbase"
7
- version = "0.13.0"
7
+ version = "0.14.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"
@@ -4431,7 +4431,11 @@ def _install_from_tarball(ctx, path: Path, *, version,
4431
4431
  )
4432
4432
  @click.option(
4433
4433
  '--no-skills', 'no_skills', is_flag=True, default=False,
4434
- help="Don't surface the toolkit's skills into ~/.claude/skills/.",
4434
+ help=(
4435
+ "Skip the note about skills this toolkit ships. Install never "
4436
+ "surfaces them itself; `tb connect --no-skills` is what suppresses "
4437
+ "surfacing."
4438
+ ),
4435
4439
  )
4436
4440
  @click.option(
4437
4441
  '--activate', '-a', 'activate_after', is_flag=True, default=False,
@@ -4498,7 +4502,7 @@ def install(ctx, name, version, editable, no_skills, activate_after, bundle_flag
4498
4502
  1. Acquire the toolkit (download from registry, or read a local path)
4499
4503
  2. Create an isolated environment (venv or conda, auto-detected)
4500
4504
  3. Install dependencies, then orchestral-ai + mcp
4501
- 4. Surface the toolkit's skills into ~/.claude/skills/ (unless --no-skills)
4505
+ 4. Report any skills the toolkit ships (`tb connect` surfaces them)
4502
4506
 
4503
4507
  \b
4504
4508
  Examples:
@@ -4508,7 +4512,7 @@ def install(ctx, name, version, editable, no_skills, activate_after, bundle_flag
4508
4512
  toolbase install . # install from cwd
4509
4513
  toolbase install -e . # editable: live link to cwd
4510
4514
  toolbase install aster -a # install and activate here
4511
- toolbase install aster --no-skills # don't touch ~/.claude/skills/
4515
+ toolbase install aster --no-skills # skip the skills note
4512
4516
  toolbase install calculator[basic,symbolic] # only those bundles
4513
4517
  toolbase install calculator --bundle basic # flag form, same effect
4514
4518
  toolbase install calculator[symbolic] # re-install adds bundles
@@ -5255,6 +5259,47 @@ def status_cmd():
5255
5259
  ' [dim](use "tb connect <harness>" to wire one)[/dim]'
5256
5260
  )
5257
5261
 
5262
+ # ── Skills ───────────────────────────────────────────────────────
5263
+ # Skills reach an agent by a different route than tools: they are
5264
+ # copied into the harness's own skill directory by `tb connect`,
5265
+ # not served over MCP. So an active toolkit's skills are not
5266
+ # necessarily in front of the agent -- they are there if a harness
5267
+ # was wired after they were activated. Shown only for active
5268
+ # toolkits, since an inactive one surfaces nothing.
5269
+ skill_rows = []
5270
+ for name in active_rows:
5271
+ slot = next(
5272
+ (c for c in by_name[name] if c.version == resolutions[name].version),
5273
+ None)
5274
+ if slot is None:
5275
+ continue
5276
+ for slug, state, detail in _toolkit_skill_status(name, slot.path):
5277
+ skill_rows.append((f"{name}__{slug}", state, detail, name, slug))
5278
+
5279
+ if skill_rows:
5280
+ console.print()
5281
+ console.print("[bold]Skills[/bold] [dim]— surfaced to harnesses[/dim]")
5282
+ for qualified, state, detail, tk, slug in skill_rows:
5283
+ if state == "on":
5284
+ console.print(f" {qualified}")
5285
+ elif state == "off":
5286
+ console.print(
5287
+ f" {qualified:<40} [dim]off — "
5288
+ f"`tb activate {tk}__{slug}`[/dim]"
5289
+ )
5290
+ else:
5291
+ console.print(
5292
+ f" {qualified:<40} [dim]needs the {detail} bundle[/dim]"
5293
+ )
5294
+ # Only worth saying when something would actually be surfaced;
5295
+ # with every skill off or gated, an unwired harness is not what
5296
+ # is standing between the agent and these.
5297
+ if not wired and any(state == "on" for _q, state, *_r in skill_rows):
5298
+ console.print(
5299
+ " [dim](no harness wired here, so none are in front of "
5300
+ "an agent yet)[/dim]"
5301
+ )
5302
+
5258
5303
  # ── Issues ───────────────────────────────────────────────────────
5259
5304
  from .envs import interpreter_problem as _interp_problem
5260
5305
  issues: list = []
@@ -5462,6 +5507,23 @@ def list_cmd(as_json, verbose):
5462
5507
  # a subset install. Matches the raw ``bundles`` field in
5463
5508
  # ``.install_meta.yaml``.
5464
5509
  "installed_bundles": (e.install_meta or {}).get("bundles"),
5510
+ # ``skills``: what this slot ships and each one's own
5511
+ # setting -- "on", "off" (deactivated), or "gated" (its
5512
+ # bundle's config requirements are unmet). Empty list
5513
+ # for a toolkit that ships none.
5514
+ #
5515
+ # This is the skill's setting, not the net outcome: an
5516
+ # inactive toolkit surfaces nothing whatever its skills
5517
+ # say, so a consumer wanting "is this in front of an
5518
+ # agent" reads ``state == "on" and active``. Kept
5519
+ # separate because collapsing them would lose the
5520
+ # difference between a skill you turned off and a
5521
+ # toolkit you never activated.
5522
+ "skills": [
5523
+ {"slug": slug, "state": state, "bundle": detail}
5524
+ for slug, state, detail in _toolkit_skill_status(
5525
+ e.name, e.path)
5526
+ ],
5465
5527
  }
5466
5528
  for e in _list_sorted_entries(entries)
5467
5529
  ]
@@ -5708,12 +5770,22 @@ def _list_print_tools_verbose(
5708
5770
  f" [yellow]⚠ not served: {disc.skip_reason}[/yellow]"
5709
5771
  )
5710
5772
  return
5773
+ # A toolkit absent from the active loadout serves nothing, and
5774
+ # surfaces no skills either. Resolved before the early return below
5775
+ # so both exits agree on it.
5776
+ toolkit_active = bool(
5777
+ resolved_loadout is not None and name in resolved_loadout.toolkits
5778
+ )
5779
+
5711
5780
  availability, name_to_bundles = _resolve_bundle_availability(disc)
5712
5781
  if not name_to_bundles:
5713
5782
  console.print(
5714
5783
  " [dim](tools not enumerated in toolkit.yaml; served list "
5715
5784
  "is available at serve time)[/dim]"
5716
5785
  )
5786
+ # Skills are discovered from the filesystem, not the tool
5787
+ # declaration, so they are knowable even here.
5788
+ _list_print_skills(name, disc.path, toolkit_active)
5717
5789
  return
5718
5790
  if multi_version:
5719
5791
  console.print(f" [dim]tools in {disc.path.name}:[/dim]")
@@ -5738,10 +5810,6 @@ def _list_print_tools_verbose(
5738
5810
  for q in resolved_loadout.disabled_tools
5739
5811
  if q.startswith(prefix)
5740
5812
  }
5741
- # A toolkit absent from the active loadout serves nothing.
5742
- toolkit_active = name in resolved_loadout.toolkits
5743
- else:
5744
- toolkit_active = False
5745
5813
 
5746
5814
  # Tools are grouped under the bundle they belong to. A 60-tool
5747
5815
  # toolkit across 12 bundles is unreadable as one alphabetical list,
@@ -5828,6 +5896,41 @@ def _list_print_tools_verbose(
5828
5896
  )
5829
5897
  console.print(f" {mk} {tool}{btag}{clash}")
5830
5898
 
5899
+ # Skills, under their own header. A toolkit's skills are as much of
5900
+ # what it offers as its tools -- they reach the agent by the same
5901
+ # act of activating it -- and nothing else in a read command showed
5902
+ # they existed.
5903
+ _list_print_skills(name, disc.path, toolkit_active)
5904
+
5905
+
5906
+ def _list_print_skills(
5907
+ name: str, toolkit_dir: Path, toolkit_active: bool,
5908
+ ) -> None:
5909
+ """Print a toolkit's skills with the same served/hidden marks tools use.
5910
+
5911
+ ``toolkit_active`` gates the tick the same way it gates a tool's: an
5912
+ inactive toolkit surfaces nothing, so a ✓ beside its skill would say
5913
+ the opposite of what is true.
5914
+ """
5915
+ rows = _toolkit_skill_status(name, toolkit_dir)
5916
+ if not rows:
5917
+ return
5918
+ console.print(" [cyan]\\[skills][/cyan]")
5919
+ for slug, state, detail in rows:
5920
+ if state == "on":
5921
+ mk = "[green]✓[/green]" if toolkit_active else "[red]✗[/red]"
5922
+ console.print(f" {mk} {slug}")
5923
+ elif state == "off":
5924
+ console.print(
5925
+ f" [red]✗[/red] {slug} "
5926
+ f"[dim](deactivated — `tb activate {name}__{slug}`)[/dim]"
5927
+ )
5928
+ else:
5929
+ console.print(
5930
+ f" [red]✗[/red] {slug} "
5931
+ f"[dim](needs the {detail} bundle)[/dim]"
5932
+ )
5933
+
5831
5934
 
5832
5935
  def _list_sorted_entries(entries):
5833
5936
  """Return entries deterministically sorted by (name asc, version desc).
@@ -7073,14 +7176,63 @@ def activate(item, user_scope, project_scope):
7073
7176
  result = _activate_skill(
7074
7177
  tk2, sub, scope=scope, project_root=project_root,
7075
7178
  )
7076
- else:
7077
- result = _activate(item, scope=scope, project_root=project_root)
7179
+ _print_mutation(result)
7180
+ # Activating clears a `tb deactivate`; it cannot clear a
7181
+ # bundle gate. Without this the command reports success (or
7182
+ # "already active") on a skill that stays unsurfaced, which
7183
+ # is the one case where the message and the outcome disagree.
7184
+ _warn_if_skill_is_gated(tk2, sub)
7185
+ return
7186
+ result = _activate(item, scope=scope, project_root=project_root)
7078
7187
  except LoadoutItemError as e:
7079
7188
  console.print(f"[red]✗ {e}[/red]")
7080
7189
  sys.exit(2)
7081
7190
  _print_mutation(result)
7082
7191
 
7083
7192
 
7193
+ def _warn_if_skill_is_gated(tk: str, slug: str) -> None:
7194
+ """Say so when a skill won't surface despite being active.
7195
+
7196
+ A skill scoped to a bundle is withheld while that bundle's config
7197
+ keys are unset, and no amount of activating changes that -- the two
7198
+ are separate filters. Naming the keys turns a silent no-op into
7199
+ something actionable.
7200
+ """
7201
+ slot = _toolkit_slot_dir(tk)
7202
+ if slot is None:
7203
+ return
7204
+ row = next(
7205
+ (r for r in _toolkit_skill_status(tk, slot) if r[0] == slug), None)
7206
+ if row is None or row[1] != "gated":
7207
+ return
7208
+ bundle = row[2]
7209
+ console.print(
7210
+ f"[yellow]⚠ Not surfaced: {tk}__{slug} is scoped to the "
7211
+ f"{bundle} bundle, which isn't configured.[/yellow]"
7212
+ )
7213
+ missing = _missing_config_keys_for_bundle(tk, slot, bundle)
7214
+ if missing:
7215
+ console.print(
7216
+ f" [dim]Set {', '.join(missing)} with "
7217
+ f"`tb config set {tk} <key> <value>`.[/dim]"
7218
+ )
7219
+
7220
+
7221
+ def _missing_config_keys_for_bundle(tk: str, slot: Path, bundle: str) -> list:
7222
+ """Config keys the named bundle is waiting on, for a gated message."""
7223
+ try:
7224
+ from .serve.orchestrator import (
7225
+ discover_toolkits, _resolve_bundle_availability,
7226
+ )
7227
+ disc = next((d for d in discover_toolkits() if d.name == tk), None)
7228
+ if disc is None:
7229
+ return []
7230
+ availability, _map = _resolve_bundle_availability(disc)
7231
+ return list(availability.dropped_bundles.get(bundle) or [])
7232
+ except Exception:
7233
+ return []
7234
+
7235
+
7084
7236
  @main.command()
7085
7237
  @click.argument('item')
7086
7238
  @_scope_flags
@@ -7552,6 +7704,49 @@ def _resolve_disabled_skills(name: str) -> set:
7552
7704
  return set(getattr(sel, "disabled_skills", []) or [])
7553
7705
 
7554
7706
 
7707
+ def _toolkit_skill_status(name: str, toolkit_dir: Path) -> "list[tuple]":
7708
+ """A toolkit's skills and whether each would be surfaced.
7709
+
7710
+ Returns ``[(slug, state, detail)]`` sorted by slug, where state is
7711
+ ``"on"``, ``"off"`` (deactivated in the active loadout) or
7712
+ ``"gated"`` (scoped to a bundle whose config requirements aren't
7713
+ met, so its tools aren't served either and the guide would mislead).
7714
+
7715
+ One function because three surfaces report this -- ``tb list -v``,
7716
+ ``tb status``, and the surfacing that ``tb connect`` actually
7717
+ performs -- and they answer the same question. It applies the same
7718
+ two filters ``skills.surface_skills`` applies, in the same order, so
7719
+ what is shown is what would be written into a harness.
7720
+ """
7721
+ from .skills import discover_skills, parse_frontmatter
7722
+
7723
+ sources = discover_skills(toolkit_dir)
7724
+ if not sources:
7725
+ return []
7726
+ disabled = _resolve_disabled_skills(name)
7727
+ available = _available_bundles_for_surface(name, toolkit_dir)
7728
+
7729
+ rows = []
7730
+ for src in sources:
7731
+ if src.slug in disabled:
7732
+ rows.append((src.slug, "off", None))
7733
+ continue
7734
+ bundle = None
7735
+ try:
7736
+ fm, _body = parse_frontmatter(
7737
+ src.doc.read_text(encoding="utf-8"))
7738
+ bundle = fm.bundle if fm else None
7739
+ except Exception:
7740
+ # An unreadable guide is the author's problem, not a reason
7741
+ # to hide the skill from a listing.
7742
+ pass
7743
+ if bundle is not None and available is not None and bundle not in available:
7744
+ rows.append((src.slug, "gated", bundle))
7745
+ else:
7746
+ rows.append((src.slug, "on", bundle))
7747
+ return sorted(rows)
7748
+
7749
+
7555
7750
  def _surface_skills_for_connect(adapter, *, no_skills: bool = False) -> None:
7556
7751
  """Surface every activated toolkit's skills into ``adapter``'s skill
7557
7752
  surface (``~/.claude/skills`` or ``~/.codex/prompts``). Best-effort:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes