Home / uvwt / agentdock · core-skills/plugin-import/SKILL.md · GitHub

plugin-import skillA

plugin-import is agent-read markdown (skill) from uvwt/agentdock: 当用户要安装或更新来自 Git、GitHub、外部插件市场或其他远程来源的 Plugin 时使用;负责把远程来源固定并取得到本地,再交给 plugin_manage 自动识别 Portable/OpenAI/Claude 格式、审核和安装。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Plugin Import

用于把 Git、GitHub、外部 marketplace/catalog 等远程 Plugin 来源安全取得到本地。

`plugin_manage` 直接接受本地目录或 ZIP,并自动识别 AgentDock Portable、OpenAI 和 Claude Plugin 格式;OpenAI/Claude 的兼容性转换由 Core 在审核前完成,不需要模型手工改写 manifest 或重新打包。这个 Skill 只负责远程来源发现/固定/获取,以及 Core 尚不认识的其他格式。最终包的安全校验、规范化摘要、review token、安装事务和运行时激活仍由 `plugin_manage` 负责。

## 什么时候使用

以下情况使用本 Skill:

- 用户给出 Git / GitHub 仓库或仓库子目录;
- 用户给出外部 marketplace/catalog 条目;
- 用户要求更新一个需要重新从远程上游取得内容的 Plugin;
- 来源格式不是 AgentDock Core 已能自动识别的 Portable/OpenAI/Claude。

如果用户已经提供本地目录或 ZIP,不论它是 Portable、OpenAI 还是 Claude Plugin,都直接使用 `plugin_manage`,不要先手工转换。

## 职责边界

本 Skill 负责:

1. 获取外部内容并尽量固定可追踪的 revision/digest;
2. 对明确的远程来源生成根目录 `.agentdock-import.json`,把用户给出的来源和已验证的 revision/ref/subdir 交给 Core;
3. 把目标 Plugin 目录或 ZIP 准备到本地;
4. 对 Core 尚不认识的其他格式,才由模型做显式转换;
5. 调用 `plugin_manage validate`,检查自动识别结果、format、warnings、provenance;
6. 使用 validate 返回的 review token 安装或更新。

本 Skill 不负责绕过 Core 校验,也不要对 OpenAI/Claude 包做重复转换。

## 导入流程

1. **取得来源**
   - 使用宿主已有的命令、文件、浏览器或连接器能力取得内容。
   - Git 来源应尽量固定到具体 commit;下载归档应尽量记录可验证的 digest。
   - 不把凭据、token、带密码的 URL 写进包或 provenance。

2. **准备本地输入**
   - 如果目标已经是一个本地目录或 ZIP,直接保留原样。
…

Read the whole file at its exact version.

How to install

Latest version
mdr add uvwt/agentdock/plugin-import@git:20260924.b36b40f
Exact content
mdr add uvwt/agentdock/plugin-import@sha256:cd9333e096a76228

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6jmlkviydpm6ylxp.svg)](https://markdownregistry.com/a/art_6jmlkviydpm6ylxp)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260924.b36b40f latest2026-09-24 b36b40f 6,044 BA view · diff
git:20260924.e121e692026-09-24 e121e69 4,539 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6044 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

uvwt/agentdock · 1,081 stars · license Apache-2.0 · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6jmlkviydpm6ylxp
GET https://markdownregistry.com/api/v1/resolve?ref=uvwt/agentdock/plugin-import
GET https://markdownregistry.com/api/v1/blob/cd9333e096a762280f7cce56af9c0f73e3a134b5406fd546230d4d07fd306472

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from uvwt/agentdock

agentdock-user-guide skill
uvwt/agentdock · core-skills/agentdock-user-guide/SKILL.md · 当用户询问 AgentDock 是什么、如何使用、配置在哪里、不同平台或安装方式怎样修改配置并生效、如何重启或验证配置、如何发现并配置 Codex/Claude/Grok 等 Coding Agent 的…
git:20260922.174237a · audit A · 1,081 stars
skill-authoring skill
uvwt/agentdock · core-skills/skill-authoring/SKILL.md · 创建、设计、修改、重构和验证 AgentDock Skill 时使用;负责 Agent Skills 兼容的 SKILL.md、可移植核心、引用、辅助脚本、测试、安全边界和本地真实验证。
git:20260924.b36b40f · audit A · 1,081 stars
skill-installation skill
uvwt/agentdock · core-skills/skill-installation/SKILL.md · 审查、安装、配置、验证、更新和移除 AgentDock Skill 时使用;负责来源校验、安全评估、环境配置、content digest、精确 skill_ref 与当前 managed 内容验收。
git:20260924.b36b40f · audit A · 1,081 stars

Every file in uvwt/agentdock

Browse by kind, by grade A, or by owner.