Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

Add skill loading support to generic agent #278

Closed

Description

@eranra

Problem Statement

The generic agent currently only supports MCP tools but lacks the ability to load and utilize custom skills. This limits its extensibility and makes it difficult to add specialized capabilities without modifying the core agent code.

Proposed Solution

Implement a skill loading system that:

  • Reads skill definitions from configurable folder paths
  • Loads skill descriptions, Python scripts, and documentation
  • Integrates skill capabilities into the agent's system prompt
  • Displays available skills in the agent card alongside MCP servers

Technical Details

Configuration

  • Add environment variable to specify comma-separated skill folder paths
  • Default to for containerized deployments

Skill Structure

Each skill folder should contain:

  • : Main skill description and instructions
  • : Python scripts providing tools and utilities
  • : Additional documentation files

Error Handling

  • Graceful degradation when skill folders are missing
  • Warning messages for failed skill loads
  • Continue operation with partial skill loading

Testing

  • Comprehensive test suite for skill loading functionality
  • Integration tests with mock skills
  • Documentation for running tests

Expected Benefits

  1. Extensibility: Easy addition of new capabilities without core code changes
  2. Modularity: Skills can be developed and tested independently
  3. Flexibility: Skills can be enabled/disabled via configuration
  4. Maintainability: Clear separation between core agent logic and specialized skills

Implementation Checklist

  • Add SKILL_FOLDERS configuration
  • Implement load_skills_content() function
  • Update system prompt with skill information
  • Update agent card to display skills
  • Add error handling and logging
  • Create test suite
  • Update documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions