界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

extensions

extensions

【开发与工程】Routes OpenHands AgentSkills, project and public skill loading, plugins, marketplaces, hooks, MCP configuration, memory, and secret-handling workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: extensions description: "Routes OpenHands AgentSkills, project and public skill loading, plugins, marketplaces, hooks, MCP configuration, memory, and secret-handling workflows." disable-model-invocation: true metadata: disco-role: operating license: MIT

Extensions

Use this sub-skill for everything that extends the agent prompt or runtime: Skill loading, AgentContext skill flags, project/user/public skills, .mcp.json, plugins and marketplaces, hooks, memory, secrets, and prompt suffixes.

What this route owns

  • Skill, SkillResources, load_skills_from_dir, and AgentSkills SKILL.md discovery.
  • load_project_skills, load_public_skills, load_user_skills, and disabled_skills precedence.
  • Plugin, PluginSource, MarketplaceRegistration, and marketplace auto-loading.
  • HookConfig, HookDefinition, HookMatcher, and hook exit-code behavior.
  • MCPServer, MCP config maps, and .mcp.json expansion.
  • Secret models such as LookupSecret, StaticSecret, and secret redaction/serialization.

Start here

Read references/skills-plugins-hooks-mcp.md for the concrete loading and configuration patterns. Read references/troubleshooting.md for naming, precedence, hook, and .mcp.json failures.

Typical triggers

  • "Load skills from this repository."
  • "Why did this project skill not appear?"
  • "How do I attach a plugin marketplace or MCP server map?"
  • "Why did my hook return 2 and block the stop action?"
  • "How should secrets be serialized or redacted?"

Cross-links

我的收藏