Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wshobson/agents
/ _source_skill_count
Function
_source_skill_count
tools/tests/test_round_trip.py:44–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
44
def
_source_skill_count() -> int:
45
n = 0
46
for
name in list_plugins():
47
plugin = load_plugin(name)
48
if
plugin:
49
n += len(plugin.skills)
50
return
n
51
52
53
def
_source_command_count() -> int:
Callers
2
test_opencode_skill_count_matches_source
Method · 0.85
test_copilot_skill_count_matches_source
Method · 0.85
Calls
2
list_plugins
Function · 0.90
load_plugin
Function · 0.90
Tested by
no test coverage detected