MCPcopy Create free account
hub / github.com/AI45Lab/Code / get

Method get

core/src/skills/registry.rs:96–99  ·  view source on GitHub ↗

Get a skill by name

(&self, name: &str)

Source from the content-addressed store, hash-verified

94
95 /// Get a skill by name
96 pub fn get(&self, name: &str) -> Option<Arc<Skill>> {
97 let skills = self.skills.read().unwrap();
98 skills.get(name).cloned()
99 }
100
101 /// List all registered skill names
102 pub fn list(&self) -> Vec<String> {

Callers 14

fireMethod · 0.45
loadMethod · 0.45
load_artifactsMethod · 0.45
load_trace_eventsMethod · 0.45
load_run_recordsMethod · 0.45
load_subagent_tasksMethod · 0.45
load_loop_checkpointMethod · 0.45
load_from_dirMethod · 0.45

Calls

no outgoing calls