get_skill
Retrieve the complete installed content and metadata for a specific skill by providing its skill ID.
Instructions
Get the full installed content and metadata for a skill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill_id | Yes |
Implementation Reference
- The MCP tool handler function for 'get_skill'. It is decorated with @mcp.tool() and delegates to skill_store.get_skill().
@mcp.tool() def get_skill(skill_id: str) -> dict: """Get the full installed content and metadata for a skill.""" return skill_store.get_skill(skill_id) - The SkillStore.get_skill() method that loads the skill from the registry and reads its content from disk. Returns the record with full content.
def get_skill(self, skill_id: str) -> dict[str, Any]: registry = self._load_registry() record = registry.get(skill_id) if record is None: raise SkillError(f"Unknown skill '{skill_id}'.") content = Path(record["path"]).read_text(encoding="utf-8") return { **record, "content": content, } - src/friday_mcp_server/tools/__init__.py:6-12 (registration)The register_all_tools function that calls skills.register(mcp, skill_store=skill_store) to register the get_skill tool.
def register_all_tools(mcp, *, config, skill_store) -> None: system.register(mcp, config=config) utils.register(mcp) web.register(mcp, config=config) workspace.register(mcp, config=config) skills.register(mcp, skill_store=skill_store) - src/friday_mcp_server/server.py:27-33 (registration)The server bootstrap where register_all_tools is invoked with the MCP instance and skill_store, completing the tool registration chain.
register_all_tools(mcp, config=config, skill_store=skill_store) register_all_prompts(mcp) register_all_resources(mcp, config=config, skill_store=skill_store) return mcp mcp = build_server()