feat: Add text-based skill execution for Ollama#29
Merged
rosspeili merged 1 commit intoARPAHLS:mainfrom Mar 23, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR implements native support for local models running via Ollama and closes #2.
Since many local-first models (like the standard Llama 3) do not yet support the native OpenAI-style
tool_callsAPI, we have introduced a Text-Based Prompt Routing strategy. This ensures Skillware is truly model-agnostic and works with any local LLM capable of generating JSON.Key Changes
SkillLoader.to_ollama_prompt()to serialize skill manifests into markdown-formatted instructions for the system prompt.issubclassvalidation.Type of Change (Matches Issue Templates)
Checklist (For the Submitting Agent / Developer)
env_varsare explicitly documented in the manifest.Constitution & Safety (If adding/modifying a Skill)
This update focuses on core framework infrastructure and documentation to enable local-first execution. No modifications were made to skill-specific safety boundaries.
Related Issues
Closes #2