Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

atomemo-plugin-developmentatomemo 插件开发

Agent Skill

atomemo-plugin-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

699

周安装

28

GitHub Stars

公开资料未说明

下载量

226
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:atomemo-plugin-development(atomemo 插件开发)
来源仓库:https://github.com/choice-open/skills
仓库路径:skills/atomemo-plugin-development
安装命令:
npx skills add https://github.com/choice-open/skills --skill atomemo-plugin-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/choice-open/skills --skill atomemo-plugin-development

简介

atomemo-plugin-development 指导构建 Atomemo 平台插件,扩展工具、模型与凭证能力。

  • 适用于开发自定义 API 封装、LLM 配置覆盖与安全认证定义的插件。
  • 插件通过 SDK 与 Hub 通信,支持生命周期管理与消息路由,保障安全性。
  • 使用前应熟悉 @choiceopen/atomemo-plugin-sdk-js 接口与沙箱运行约束。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Atomemo Plugin Development

You are helping a developer build an Atomemo plugin. Atomemo plugins extend the platform with:

  • Tools: External API wrappers or local functions
  • Models: LLM definitions with capabilities, pricing, and parameter overrides
  • Credentials: Secure authentication definitions used by tools and models

Architecture Overview

Host (Atomemo App)
      ↕
  Plugin Hub          ← secure intermediary for lifecycle + message routing
      ↕
  Your Plugin         ← SDK + your business logic
  • Plugin Hub decouples the host and plugin and handles communication security
  • SDK (@choiceopen/atomemo-plugin-sdk-js) provides createPlugin, runtime context, file helpers, schemas, and type-safe plugin definitions
  • CLI (@choiceopen/atomemo-plugin-cli) scaffolds projects and manages auth plus debug setup

Read references/core-concepts.md first when the developer needs architectural context.

Main Component Types

TypePurposeSource directory
ToolInvokes third-party services or local business logicsrc/tools/
ModelDeclares an LLM and its capabilitiessrc/models/
CredentialCollects and transforms authentication datasrc/credentials/

A single plugin can contain multiple tools, models, and credentials.

Identify the Scenario

Scenario A — New project from scratch: Read:

  1. references/quick-start.md
  2. references/core-concepts.md
  3. The relevant implementation guides below

Scenario B — Adding to an existing project: Read the relevant guide directly:

  • Adding a Tool → references/tool-plugin.md
  • Adding a Model → references/model-plugin.md
  • Adding Credentials → references/credential.md
  • Configuring Parameters → references/declarative-parameters.md, then load the specific sub-page(s) it points to for the task at hand
  • Understanding context.filesreferences/tool-plugin.md

Scenario C — Publishing: Read references/publishing.md.


Workflow

Step 1: Clarify intent

Determine:

  1. Is this a new plugin or an existing plugin?
  2. Does it need tools, models, credentials, or some combination?
  3. Does it need file input/output (file_ref) handling?
  4. Does it need advanced declarative parameters such as resource_locator or resource_mapper?
  5. Is TypeScript acceptable? It is the recommended and best-supported path.

Step 2: Verify the Atomemo CLI

Before running atomemo commands, check whether the CLI is installed:

atomemo --version

If missing, install it:

npm install @choiceopen/atomemo-plugin-cli --global

If you need to compare against the latest published CLI:

atomemo --version
npm view @choiceopen/atomemo-plugin-cli version

Only upgrade after confirming with the user:

npm install @choiceopen/atomemo-plugin-cli@latest --global

Checking versions is safe to automate. Installing or upgrading is not.

Step 3: Set up the project (new projects only)

See references/quick-start.md. The normal sequence is:

atomemo auth login
atomemo plugin init
cd <plugin-name>
atomemo plugin refresh-key
bun install

Then in two separate terminals:

# Terminal 1 — watch mode (rebuilds on save, does NOT connect to Hub)
bun run dev
# Terminal 2 — connects to Plugin Hub
bun run ./dist

Step 4: Implement plugin components

Create definitions in the appropriate directories and register them in src/index.ts.

Typical project layout:

src/
  index.ts
  tools/
  models/
  credentials/
  i18n/

Registration pattern:

import { createPlugin } from "@choiceopen/atomemo-plugin-sdk-js"
import { myTool } from "./tools/my-tool"
import { myModel } from "./models/my-model"
import { myCredential } from "./credentials/my-credential"

const plugin = await createPlugin({ /* manifest fields */ })
plugin.addTool(myTool)
plugin.addModel(myModel)
plugin.addCredential(myCredential)
plugin.run()

For createPlugin(...) metadata, do not invent a brand-new manifest shape from memory. Open the existing src/index.ts first and preserve the scaffolded structure unless the developer explicitly wants to change plugin metadata. Keep the metadata used by createPlugin(...) aligned with package.json and README details; see references/core-concepts.md for entrypoint guidance and references/publishing.md for the metadata consistency requirement.

Step 5: Declarative parameters and file handling

Use declarative parameters for user input and configuration. Start with:

  • references/declarative-parameters.md — index only; read this to find the right sub-page, then load the specific sub-file(s) you need
  • references/declarative-parameters-overview-and-core-concepts.md — load this alongside the index for foundational knowledge
  • references/declarative-parameters-examples.md

Then load the focused page that matches the question:

  • Need allowed type values or plugin-type support → references/declarative-parameters-property-type-overview.md
  • Need common schema keys such as required, display, ui, depends_on, or decoderreferences/declarative-parameters-property-base.md
  • Need the full definition of a scalar, object, array, or special property type → the matching basic/composite/special type page
  • Need UI component names or default rendering behavior → references/declarative-parameters-property-ui-reference.md and references/declarative-parameters-default-ui-behavior.md
  • Need dynamic visibility rules → references/declarative-parameters-display-condition.md
  • Need Tool-only remote selection or mapping flows → references/declarative-parameters-resource-locator.md and references/declarative-parameters-resource-mapper.md
  • Need examples to adapt quickly → references/declarative-parameters-examples.md

When a tool handles files, use context.files helpers instead of manually treating file references as plain JSON.

Step 6: Internationalization

All user-facing strings support i18n. Prefer the t() helper:

import { t } from "../i18n/i18n-node"

display_name: t("WEATHER_TOOL_DISPLAY_NAME"),
description: t("WEATHER_TOOL_DESCRIPTION"),

Step 7: Test locally

bun run build
bun run ./dist

bun run dev rebuilds in watch mode but does not connect to Plugin Hub — run it in a separate terminal from bun run./dist, which creates the actual Hub connection.

Step 8: Publish (when ready)

See references/publishing.md. Key steps:

  1. bun run release — validates, builds, syncs versions
  2. Fork atomemo-official-plugins repo
  3. Add plugin to plugins/<your-plugin-name>/
  4. Open PR with title feat(plugin): add <your-plugin-name>

Reference Files

Load these on demand based on what the developer needs:

FileWhen to read
references/quick-start.mdNew project setup
references/core-concepts.mdArchitecture, plugin entrypoint, metadata consistency, lifecycle
references/tool-plugin.mdBuilding Tool plugins
references/model-plugin.mdBuilding Model plugins
references/credential.mdDefining credentials
references/declarative-parameters.mdParameter routing guide + TOC; use it to choose the correct focused reference page
references/declarative-parameters-examples.mdReady-to-copy parameter examples
references/publishing.mdPublishing to the marketplace

CLI Automation

You can automate most CLI steps except the browser-based login flow.

Safe commands to run automatically:

atomemo --version
npm view @choiceopen/atomemo-plugin-cli version
atomemo plugin init --no-interactive -n <plugin-name> -d "<description>" -l typescript
atomemo plugin refresh-key
bun install
bun run build
bun run ./dist

Commands that require user action:

atomemo auth login uses a device authorization flow. You cannot automate it. Guide the user through the browser verification step and wait for confirmation.

Common Mistakes to Avoid

  • Plugin names must match /^[a-z][a-z0-9_-]{2,62}[a-z0-9]$/
  • Never hardcode secrets
  • Model names should follow provider/model_name
  • Debug API keys expire; refresh with atomemo plugin refresh-key
  • Tools that handle files should use context.files
  • Every tool, model, and credential must be registered in src/index.ts

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.29%
按下载量换算82

Claude

27.59%
按下载量换算62

Cursor

20.39%
按下载量换算46

Gemini CLI

9.29%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills