develop-roxy-plugin
创建、编写、修改并验证 Roxy 插件及插件内 Skill/MCP。用户要求创建 Roxy 插件、编写插件、把 skill 收入插件、验证插件、验证 skill、热重载后自测或递归自验证插件时使用。
Skill by namei32
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/namei32-develop-roxy-plugin
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/develop-roxy-plugin
What's inside
- Skill name
develop-roxy-plugin- Description
- 创建、编写、修改并验证 Roxy 插件及插件内 Skill/MCP。用户要求创建 Roxy 插件、编写插件、把 skill 收入插件、验证插件、验证 skill、热重载后自测或递归自验证插件时使用。
- License
- MIT
- Instructions
- 102 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- openai.yaml · agents/
- plugin-authoring.md · references/
- runtime-diagnostics.md · references/
- self-validation.md · references/
- inspect-runtime-trace.py · scripts/
SKILL.md (first lines)
# 开发并验证 Roxy 插件 只在 canonical source 中修改插件。先取得可恢复备份和明确 write set;不要直接编辑 `~/.roxy-plugin/cache`、workspace skill 软链接或正式 plugin-data。 ## 1. 读取真实合同 1. 进入目标仓库后先读它的 `AGENTS.md`、文档索引和工作流。 2. 创建或修改插件前,完整读取 [references/plugin-authoring.md](references/plugin-authoring.md)。 3. 安装和行为验证前,完整读取 [references/self-validation.md](references/self-validation.md)。 4. 只有子 turn 排队、超时、结果错误或插件行为不明时,才完整读取 [references/runtime-diagnostics.md](references/runtime-diagnostics.md),从 reload journal、SessionDB 和真实日志重建执行轨迹;成功前不要预先做全量诊断考古。 5. 从当前 `agent.plugins.Plugin`、装饰器、spec 和相邻插件核对 API;参考文件只提供路由,代码是当前事实。 已给出 workspace、config、Gateway cwd/解释器或插件根时直接使用,不再枚举所有进程、环境、配置和数据库 schema。prompt-only 插件走 [authoring 的 Prompt 注入模板](references/plugin-authoring.md#3-prompt-注入):只核对模板直接引用的公开类型;在 import/source test 失败前,不搜索 manager、EventBus、phase、control 或安装器内部实现。 ## 2. 实现最小插件 保持一个清楚的能力 owner: ```text plugin source/ ├── plugin.py ├── tests/ ├── skills/<skill-name>/SKILL.md 可选 ├── mcp/ 可选 └── requirements.txt 仅在确有依赖时 ``` - 根目录必须有 `plugin.py`,Plugin 子类声明 `name` 和 `version`。 - Tool 使用 `@tool` 声明稳定名称、真实 risk 和可搜索提示;handler 失败要暴露。 - Skill 放入插件 source 的 `skills/`,由 `skill_roots()` 声明;不要先复制到 workspace。 - MCP、channel、managed service 和 proactive source 只在能力确实需要时声明。 - 没有第三方依赖时不要创建空 `requirements.txt`。 - plugin-data 写入必须由插件 owner 管理;候选验证不得假设 snapshot rollback 能撤销文件或外部效果。 - 不添加 mock success、宽泛异常、空 fallback 或只为通过 doctor 的假能力。 ## 3. 先验证 source 运行插件自己的最小测试,至少覆盖: - `plugin.py` 可从干净 checkout 导入。 - Tool schema、risk、参数与真实返回值。 - Skill frontmatter、目录名、引用文件和触发描述。 - MCP/readiness、配置和生命周期(存在时)。 - 失败、取消与 cleanup 的真实终态。 安装只读取已提交 Git HEAD。source 测试通过后提交;使用远程 source 时还要确认远端包含该 commit。未获授权时不要自行发布、开 PR 或改变外部服务。 ## 4. 安装并验证候选 完整读取 [references/self-validation.md](references/self-validation.md),只使用 `plugin-install`、`plugin-uninstall` 和 `plugin-revert`。stable/latest、排空、提交和恢复是 Core 内部机制,不要求 Agent 查询或编排。 每次 programmatic 验证都先保存 `execution_id`、`thread_id`、`turn_id`、`plugin_id` 和 reload `tx_id`。命令超时、子 turn 停在 `queued`、final response 不符合 oracle 或工具没有执行时,不要直接搜索源码或重复安装;按 [references/runtime-diagnostics.md](references/runtime-diagnostics.md) 查询真实状态和内容,先定位失败层。 正常快路径按 `source test → commit → install → attached child → 行为 oracle → 正常结束 turn` 单向推进。命令成功时不要为确认其实现而反向阅读 CLI、socket、pointer 或 EventBus 源码;正式输出、child trace 和下一 turn 的 Core 运行事实就是边界证据。 支持时使用下面的闭环: ```text install → attached programmatic child → behavioral oracle ▲ │ └──── failure → revert → fix ──────┘ pass → 正常结束父 turn → Core 自动切换 → 下一 turn 生效 ``` programmatic child 必须: - 创建 attached 新 session;不要指定 `--runtime`,Core 自动绑定当前候选。 - 默认不沉淀语义记忆,但允许检索已有记忆。 - 实际加载或触发新增 Skill,并实际调用新增 Tool;不能只问“你能否看到”。 - 返回结构化 terminal、tool items 和领域 oracle。 - 通过 Shell 的 `execution_id` / `write_stdin` 被父 turn 观察,保持 attached。 验证 Skill 时同时证明: 1. latest catalog 能发现 Skill,source 为 plugin。 2. Skill 正文和引用资源可以加载。 3. 一个真实触发提示会遵循 Skill 的关键步骤。 4. 预期 Tool/文件/领域状态确实出现,而不只是 final response 自述成功。 若 CLI 返回 Core 不支持 turn lineage、attached candidate 或 revert,停止正式安装并报告 `safe candidate self-validation unavailable`。只能在一次性 workspace/runtime 中做隔离验证,不能让正式新请求看到未验证插件。无论哪一级,都要读取子 turn 的 SessionDB 轨迹、final response、items/tool trace 和可用 runtime log;不要用 sleep、当前 turn 的 `tool_search`、手改 cache 或第二个 Gateway 冒充验证。 ## 5. 处理副作用与独占 endpoint - read-only Tool 可以直接在 latest child 中验证。 - candidate generation 的非 read-only Tool/MCP 默认禁用;只有真实事务/dry-run、隔离 workspace/test endpoint 或用户明确授权时才能另行验证。 - `message_push` 的成功以真实 delivery receipt 和子 session tool trace 为准;push 不会注入父 Prompt或目标 session history。 - 固定端口服务必须声明 `ManagedServiceSpec.validation_port_env`,并让服务与 MCP 读取同名环境变量;Core 分配隔离 endpoint 和 plugin-data 副本。Channel 的正式 ownership 只在父 turn 结束后切换。 ## 6. 收口 完整 stable/latest 路径只有以下事实同时成立,才告诉用户任务完成: - canonical source 已按授权保存,安装所需 commit 可回源。 - source tests 和结构/readiness 检查通过。 - attached child 的真实行为 oracle 通过;若目标包含 Skill,Skill 发现、加载和行为均通过。 - 父 turn 正常结束,下一用户 turn 的 Core 事实确认已提交或明确报告失败。 - 未授权的记忆写入、plugin-data 写入和外部发送为零。 一次性 current-snapshot 路径只能报告“隔离环境行为验证完成”,不能升级成“正式安全自进化闭环完成”。最终简洁报告 source commit、测试、验证 session/turn、关键 tool evidence、Core 的 turn 后结果,以及任何未验证边界。
From namei32/roxy-agent, MIT.
More from namei32/roxy-agent
- 0.526score
roxy-call
namei32
指导 Codex 或其他外部程序调用已运行的 Roxy,并用明确 thread ID 持续对话。当用户说调用 Roxy、程序化调用 Roxy、从 Codex 调用 Roxy、外部自动化调用、复用 Roxy session/thread、继续 Roxy 会话时使用。
SkillBFreshness: BClaude Code +9 - 0.523score
audit-dirty-memories
namei32
随机抽检 default memory 的长期记忆,回溯 source_ref 原始上下文,识别疑似脏记忆并向用户汇报证据。
SkillBFreshness: BClaude Code +9 - 0.521score
codex-delegate
namei32
把长代码库任务委托给本机 Codex CLI 后台执行。当用户说用 codex skill、codexskill、codex delegate、委托 codex、后台 codex、阻塞 codex exec、subagent 跑 codex 时使用。
SkillBFreshness: BClaude Code +9 - 0.521score
interview-coach
namei32
Analyze an authorized Telegram image batch as interview material, answer each question with evidence-aware expansion, archive polished text to Apple Notes…
SkillBFreshness: BClaude Code +9 - 0.521score
manage-workspace-mcp
namei32
安装、注册、更新、移除和诊断 Roxy 的独立 workspace MCP server。用户要求把 binary、CLI、脚本或本地项目做成常驻 MCP,询问 MCP 热重载、MCP 工具为何没出现,或需要查看非插件 MCP 状态时使用。插件自带 MCP 改用 plugin-system。
SkillBFreshness: BClaude Code +9 - 0.515score
skill-creater
namei32
创建或改写 Roxy 技能(SKILL.md)。当用户要求新建技能、适配现有技能到当前格式、或修改技能内容时使用。
SkillBFreshness: BClaude Code +9 - 0.515score
plugin-system
namei32
说明并执行 Roxy 插件安装、加载、配置、插件内 MCP、Skill、生命周期、卸载与 turn 边界更新。
SkillBFreshness: BClaude Code +9 - 0.510score
roxy-mobile
namei32
Roxy 手机端原型的现有主题快照;源代码 Theme Catalog 保持权威。
SkillBFreshness: BClaude Code +9 - 0.510score
develop-akashic-plugin
namei32
兼容旧的 Akashic 插件开发 Skill 名称;请按当前 Roxy 插件合同执行。
SkillBFreshness: BClaude Code +9 - 0.510score
akashic-call
namei32
兼容旧的 Akashic 调用 Skill 名称;请按当前 Roxy 调用合同执行。
SkillBFreshness: BClaude Code +9 - 0.499score
apple-notes-export
namei32
Use when the user explicitly asks Roxy to save important content to Apple Notes, or when a system-scoped Interview Coach grant authorizes the current Telegram…
SkillBFreshness: BClaude Code +9 - 0.469score
create-drift-skill
namei32
当此刻想反复进行的活动还没有合适 skill,或近期多轮行为显露出可发展的兴趣时,在 Drift 工作区创建或更新一个可再次选择的活动。
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 7, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/namei32/roxy-agent
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from namei32
- 0.526score
roxy-call
namei32
指导 Codex 或其他外部程序调用已运行的 Roxy,并用明确 thread ID 持续对话。当用户说调用 Roxy、程序化调用 Roxy、从 Codex 调用 Roxy、外部自动化调用、复用 Roxy session/thread、继续 Roxy 会话时使用。
SkillBFreshness: BClaude Code +9 - 0.523score
audit-dirty-memories
namei32
随机抽检 default memory 的长期记忆,回溯 source_ref 原始上下文,识别疑似脏记忆并向用户汇报证据。
SkillBFreshness: BClaude Code +9 - 0.521score
codex-delegate
namei32
把长代码库任务委托给本机 Codex CLI 后台执行。当用户说用 codex skill、codexskill、codex delegate、委托 codex、后台 codex、阻塞 codex exec、subagent 跑 codex 时使用。
SkillBFreshness: BClaude Code +9 - 0.521score
manage-workspace-mcp
namei32
安装、注册、更新、移除和诊断 Roxy 的独立 workspace MCP server。用户要求把 binary、CLI、脚本或本地项目做成常驻 MCP,询问 MCP 热重载、MCP 工具为何没出现,或需要查看非插件 MCP 状态时使用。插件自带 MCP 改用 plugin-system。
SkillBFreshness: BClaude Code +9 - 0.521score
interview-coach
namei32
Analyze an authorized Telegram image batch as interview material, answer each question with evidence-aware expansion, archive polished text to Apple Notes…
SkillBFreshness: BClaude Code +9 - 0.515score
plugin-system
namei32
说明并执行 Roxy 插件安装、加载、配置、插件内 MCP、Skill、生命周期、卸载与 turn 边界更新。
SkillBFreshness: BClaude Code +9
Cite this page
develop-roxy-plugin skill. Agent Mart. https://agentmart.dev/skills/namei32-develop-roxy-plugin (last updated 2026-10-24)