跳到正文
Skillpedia
智能体5.4k · #14854

customize

它能做什么

这项技能教智能体如何引导用户在 Open Science 应用中创建或修改专家助手或技能。技能相关的工作交给技能创建工具处理,专家助手相关的工作则通过应用提供的工具完成。

适用场景

  • ✓当用户想在 Open Science 中创建新的专家助手时。
  • ✓当用户想在 Open Science 中创建、修改、发布或删除技能时。
  • ✓当用户想为现有专家助手添加新技能时。

技能链接

https://github.com/aipoch/open-science/blob/main/resources/skills/customize/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/aipoch/open-science/blob/main/resources/skills/customize/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我在 Open Science 中创建一个用于文献综述的专家助手,并附上我为它编写的技能。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会把技能相关的工作交给内部技能创建工具,专家助手相关的工作则通过应用的 JavaScript 工具完成。它只询问会改变行为、访问权限或安全性的选择,然后报告保存了什么。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Customize

This Skill routes conversational customization to one of two native composers. It is not a security boundary: it helps the user draft, review, confirm, and report changes, while the application decides whether a destructive or identity-affecting operation actually takes effect.

Important: this is a framework Skill, not hard isolation. Do not claim that this Skill provides hard security isolation; it is workflow guidance only.

Route first

  • For creating, revising, publishing, inspecting, or deleting a Skill, call host.skills.read('skill-creator') and follow that internal Skill completely. Do not duplicate its authoring workflow here.
  • For creating or managing a Specialist, follow the Specialist workflow below.
  • For a combined request, create or revise the Skill first. After publish and read-back, attach it to the selected Specialist only when the user requested that relationship.

Do not create a plan record for Specialist or Skill CRUD. Ask only about choices that materially change behavior, access, or safety. Skills and Specialists are application-managed resources, not Artifacts.

Specialist runtime

The Skill runs in the JavaScript control-plane REPL only. It uses JavaScript exclusively. Do not use Python or R here, and do not look for host.agents or host.skills in a data kernel — they are absent there. Specialist mutation happens through host.agents.*; Skill lifecycle work is delegated to the internal Skill Creator above.

The Skill never uses the following, and you must not invent them:

  • Do not use a Customize Specialist/Profile (there is no such profile).
  • Do not use a management MCP tool, and do not route host.agents through host.mcp().
  • Do not create per-Specialist environments.
  • Do not perform duplicate operations (no duplicate Specialist or duplicate operation).
  • Do not automatically retry declined or stale privileged operations.

The host.agents SDK surface

The SDK is name-first and lives in the trusted calling session. JavaScript methods, inputs, and returned records all use camelCase. Methods:

  • host.agents.list() — custom Specialist summaries for discovery and selection only.
  • host.agents.get(name) — one existing Specialist's complete current state by immutable name (returns stable id and revision, but you do not show those to the user).
  • host.agents.create(input) — object form (see below).
  • host.agents.update(name, patch) — name selects the Specialist and is immutable; use patch.displayName to change its presentation label.
  • host.agents.switch(nameOrNull) — switches the current conversation only; null returns to Main Agent. Does not accept a caller-supplied session id.
  • host.agents.delete(name, { revision }).
  • host.agents.attachSkill(name, skillRef, { revision }) / host.agents.detachSkill(...).
  • host.agents.attachConnector(name, connectorRef, { revision }) / host.agents.detachConnector(...).
  • host.agents.listSkills(nameOrId?) — complete Skill catalog, including Main-disabled Skills.
  • host.agents.listConnectors(nameOrId?) — public Connector information; never credentials, headers, environment values, Connector arguments, or tokens.

create takes an object:

host.agents.create({
  name,
  displayName,
  description,
  systemPrompt,
  iconKey,
  colorKey,
  enabled,
  unrestricted,
  skillNames,
  connectorNames
})

Skill/Connector references resolve an exact stable catalog id first, otherwise a unique immutable name. An ambiguous name is rejected — tell the user to use the stable id from listSkills/listConnectors.

Errors are sanitized and prefixed host.agents.<method>:; they never contain system instructions, credentials, headers, environment values, Connector arguments, or the RPC token.

Specialist identity and composition

Treat systemPrompt as the Specialist's identity override while the application's safety, tool, and workflow rules remain in force. Lead with You are {displayName}., replacing {displayName} with the proposed display name. State the Specialist's one focused job, what it handles, and what the Specialist does not do. Keep the identity concise; the heavy how-to lives in Skills, not in the system prompt. Reuse or create Skills for recurring procedures instead of copying those procedures into the identity.

After a newly created Specialist exists and its state has been read back, offer to switch this conversation to it with `host.agents.swi

常见问题

这是安全边界吗?

不是。技能说明,它只是工作流程指导,是否生效由应用决定。

专家助手和技能的修改会创建计划记录吗?

不会。技能说明,不应为专家助手或技能的修改创建计划记录。

工作在哪里运行?

技能说明,专家助手相关的工作只在 JavaScript 控制平面环境中运行。

详情

作者的原始描述

Use when the user wants to create or manage a Specialist agent or create, revise, publish, or delete a Skill through the conversational `/Customize` entry. Routes Skill work to the internal skill-creator and handles Specialist work through the JavaScript host.agents SDK.

repo: aipoch/open-science

热度

GitHub 星标
5.4k
排名
#14854
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能