feat: add skills system with built-in templates and per-agent custom skills#28
Merged
Conversation
…skills Introduces a Skills layer on top of the existing tools system: - BaseSkill(BaseTool) base class with config dict support - Built-in templates: calculator (safe AST eval), web_search (stub/Brave), http_request (stdlib urllib) - SKILL_REGISTRY for template lookup by name - skills: YAML section in AgentConfig; ToolManager._create_skill_tools() wires them into ADK and LangGraph engines - enabled: false flag to disable individual skills without removing config - skills_demo_agent showcasing all built-ins + an example_custom_skill.py copy-paste template - 44 unit tests covering all skill templates and ToolManager integration Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Each agent directory can now contain an agents.md file whose contents are automatically appended to the instruction_template at config load time. Each file is strictly scoped to its own agent directory — no cross-agent inheritance or merging. Set load_agents_md: false in the YAML to opt out. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 tasks
feat: add agents.md support for per-agent instruction extension
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.
Summary
calculator(safe AST-based math, noeval),web_search(stub + Brave-ready),http_request(GET/POST via stdliburllib)BaseSkill(BaseTool)integrates transparently with both ADK and LangGraph engine adapters — no adapter changes neededenabled: falseflag lets users disable individual skills without removing the config entryskills_demo_agentdemonstrates all built-ins plus anexample_custom_skill.pycopy-paste template for user-defined skillsHow to use
Test plan
tests/unit/agent_framework/test_skills/)skills_demo_agent🤖 Generated with Claude Code