用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lthoangg/OpenAgentd --skill skill-installer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Update or upgrade the agent's own configuration on request — swap the model, add tools or MCP servers, change the image-generation provider/model, or install a new skill. Use when the user says things like "upgrade yourself", "switch your model to X", "use Gemini for images", "make yourself faster/smarter".
OpenAgentd testing reference — environment setup, run commands, and fix patterns for backend (pytest) and frontend (Bun/RTL). Load this for running, fixing, or adding coverage to existing tests. For writing a failing test before new code, use oad/test-driven-development instead.
OpenAgentd workflow for investigating bugs, regressions, sessions, and runtime issues.
正在显示 SKILL.md
| name | skill-installer |
| description | Install new skills into the agent's skills directory by fetching from a URL or writing from scratch. |
Use this skill when the user wants to add a new skill body. Do not use it for changing models, tools, MCP servers, plugins, or other agent configuration.
OpenAgentd discovers skills from these roots, in order. The first skill with a
given name wins ({workspace} is the active sandbox workspace root — in
coding mode that is the attached workspace dir, not the daemon's cwd):
{workspace}/.openagentd/skills/{skill-name}/SKILL.md{workspace}/.opencode/skills/{skill-name}/SKILL.md{SKILLS_DIR}/{skill-name}/SKILL.md (global, typically {OPENAGENTD_CONFIG_DIR}/skills)~/.config/opencode/skills/{skill-name}/SKILL.mdDefault to {SKILLS_DIR} (global — available in both normal and coding modes)
unless the user explicitly asks for a project-local skill, in which case write to
{workspace}/.openagentd/skills/. If the target name exists only as a bundled
skill, install a writable override; never edit bundled files.
Resolving the two writable roots concretely ({workspace} is not an
auto-substituted token — only {SKILLS_DIR}, {OPENAGENTD_CONFIG_DIR},
{AGENTS_DIR}, {SKILL_DIR} expand):
{workspace} is your current sandbox root. In coding mode
that is the attached workspace (the repo you are operating in), and it is your
shell cwd — so write to .openagentd/skills/{name}/SKILL.md (relative), or run
pwd once to get the absolute path. Do not invent a path.{SKILLS_DIR} is already a concrete absolute path; use it as-is.Decide which the user meant: "project / repo / this workspace / local skill" → project-local; "for yourself / globally / everywhere / all projects" → global. If genuinely ambiguous, ask one short question — the two roots are not interchangeable (a project-local skill is invisible from other workspaces).
A skill is a directory containing at minimum a SKILL.md file with YAML
frontmatter and a Markdown body:
---
name: skill-name
description: One-sentence description shown in the skill registry.
---
# Skill Title
Full instructions the agent reads when it calls skill("skill-name").
Rules:
name field for flat skills.oad/debug.description: short and trigger-oriented.web_fetch.name field; that is the skill name..openagentd/skills/{name}/SKILL.md (relative to the workspace cwd) for a
"project / repo" skill, or {SKILLS_DIR}/{name}/SKILL.md for a global one.SKILL.md following the format above. The patch tool creates
parent directories, so the skill directory does not need to exist first.pwd first if you wrote a
relative project-local path, so you report the absolute location).A new skill can be loaded by exact name immediately — the file tools clear the discovery cache on write for both global and project-local roots.