Skip to content

[Feature] /skills Slash Command to View Loaded Resources #31

@VascoSch92

Description

@VascoSch92

Summary

Add a /skills slash command to display currently loaded skills, hooks, and MCPs.

Feature Details (from OpenHands-CLI)

Slash Command

  • /skills - Display loaded skills, hooks, and MCPs in the message area

Display Format

Loaded Resources
Summary: 3 skills, 2 hooks, 1 MCP

Skills (3):
  • skill-name-1
      Description of skill 1
      (source: /path/to/skill)
  • skill-name-2
      ...

Hooks (2):
  • pre_commit: command1, command2
  • post_run: command3

MCPs (1):
  • tavily ✓ enabled (stdio)

Resource Types

  1. Skills - AGENTS.md files, custom skills loaded
  2. Hooks - Pre/post execution hooks from hooks.json
  3. MCPs - Model Context Protocol servers (requires [Feature] MCP (Model Context Protocol) Integration #19)

Implementation

  • Collect resources from agent configuration
  • Format and display in help message style
  • Show in splash screen summary

Reference

See OpenHands-CLI implementation in:

  • openhands_cli/tui/content/resources.py (LoadedResourcesInfo)
  • openhands_cli/tui/core/commands.py (show_skills)

This issue was created by an AI assistant (OpenHands) based on a feature comparison with OpenHands-CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions