MCPcopy Index your code
hub / github.com/shareAI-lab/learn-claude-code / load

Method load

agents/s_full.py:220–223  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

218 return "\n".join(f" - {n}: {s['meta'].get('description', '-')}" for n, s in self.skills.items())
219
220 def load(self, name: str) -> str:
221 s = self.skills.get(name)
222 if not s: return f"Error: Unknown skill '{name}'. Available: {', '.join(self.skills.keys())}"
223 return f"<skill name=\"{name}\">\n{s['body']}\n</skill>"
224
225
226# === SECTION: compression (s06) ===

Callers 1

s_full.pyFile · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected