Skip to content

Prototype: Skills support for AI SDK#6

Merged
cramforce merged 8 commits intomainfrom
skills
Jan 21, 2026
Merged

Prototype: Skills support for AI SDK#6
cramforce merged 8 commits intomainfrom
skills

Conversation

@cramforce
Copy link
Contributor

  // Discover skills and get files to upload
  const { loadSkill, skills, files, instructions } = await createSkillTool({
    skillsDirectory: path.join(import.meta.dirname, "skills"),
  });

  // Create bash tool with skill files
  const { tools } = await createBashTool({
    files,
    extraInstructions: instructions,
  });

  // Create the agent with skills
  const agent = new ToolLoopAgent({
    model: "anthropic/claude-haiku-4.5",
    tools: {
      loadSkill,
      bash: tools.bash,
    },

@cramforce cramforce merged commit 25c0cbc into main Jan 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants