{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "evermind-ai-skillcorpus--fetch-task-skills-from-skillhub-api",
 "repo": "EverMind-AI/SkillCorpus",
 "repo_url": "https://github.com/EverMind-AI/SkillCorpus",
 "repo_slug": "evermind-ai-skillcorpus",
 "title": "Fetch task-specific skills from SkillHub for an agent",
 "page_title": "How to fetch task-specific skills from SkillHub for an agent with Skill Corpus",
 "summary": "Search the hosted SkillHub catalog with a plain task description and inject the matching SKILL.md text into a prompt.",
 "who": "A developer building an agent who needs step-by-step procedures for a specific task, such as extracting tables from PDFs, and wants them without writing the prompt by hand.",
 "problem": "Generic model knowledge often misses exact steps, edge cases, or supporting scripts for a narrow task.",
 "outcome": "The agent receives the full skill_md instructions for the best-matching skills before it starts the task.",
 "steps": [
  "Run `curl \"https://skillhub.evermind.ai/openapi/v1/skills?q=extract+tables+from+a+PDF\"` and note the `id` of a relevant result.",
  "Fetch the `skill_md` for that `id` using the read tier described in docs/integrations.md.",
  "Insert the returned skill_md text into your agent's system or task prompt.",
  "Run your agent on the task and check that it follows the injected steps."
 ],
 "agent_prompt": "Using the SkillCorpus API at https://skillhub.evermind.ai/openapi/v1/skills, search for skills matching the task <task description>, pick the most relevant result, fetch its skill_md, and output the injected prompt text. Verify that the returned skill_md is non-empty and that the skill license is shown in the metadata before using it.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README says each skill keeps its upstream license, so check the license field of any skill before reusing its content in your product.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Internet access to reach the hosted SkillHub API or the plugin install guide",
  "Python 3 for the example script or the self-hosting setup",
  "An OpenAI-compatible API key only if you use the --ask option of the example script",
  "PyTorch and transformers (from skillcorpus/match/requirements.txt) and a machine able to run two 0.6B models for self-hosting"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/evermind-ai-skillcorpus/fetch-task-skills-from-skillhub-api/",
 "md": "https://dedupedai.com/use-cases/evermind-ai-skillcorpus/fetch-task-skills-from-skillhub-api/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/evermind-ai-skillcorpus--fetch-task-skills-from-skillhub-api.json",
 "api_version": "v1"
}
