anybox: Skill for Codex

.agents/skills/anybox-plugin/SKILL.md

anybox-plugin is a skill for Codex from fanfan-de/anybox. It costs 113 tokens per session (1,893 once invoked), scanned A, original, MIT.

A set of instructions for building, documenting, migrating, reviewing, and checking Anybox plugin packages and their plugin.json manifests.

In plain words
What is it for?
Use it when creating or updating an Anybox plugin, adding runtime or connector components, preparing registry or ZIP distribution, or diagnosing installation and manifest problems.
Why use it?
It helps maintain the package structure and configuration required for Anybox plugins, including their built-in skills, connectors, APIs, and distribution files.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is fanfan-de/anybox's own configuration. It tells Codex how to work on anybox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything anybox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fanfan-de/anybox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fanfan-de/anybox/master/.agents/skills/anybox-plugin/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for anybox-plugin

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/anybox-plugin.svg)](https://agentmods.dev/skills/fanfan-de/anybox/anybox-plugin)
Your own site
<a href="https://agentmods.dev/skills/fanfan-de/anybox/anybox-plugin"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/anybox-plugin.svg" alt="Measured on agentmods" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,893 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.01893
Opus 5 $0.00056 $0.00946
Sonnet 5 $0.00023 $0.00379
Haiku 4.5 $0.00011 $0.00189

Measured 8d ago against content hash a6ca299e4ca2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

anybox-plugin scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/anybox-plugin/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Anybox 插件规范

使用当前 Anybox 运行时格式。不要把历史 Fanfande 格式或旧的 fanfande-plugin-structure Skill 当作权威规范。

确定事实来源

做出重要的插件格式判断前,按以下顺序检查目标仓库中的实时内容:

  1. packages/anyboxagent/src/plugin/plugin.ts
  2. packages/anyboxagent/Test/plugin.test.ts
  3. packages/anyboxagent/src/connector/connector.ts
  4. packages/anyboxagent/src/plugin/platform-artifacts.ts
  5. plugins/Anybox-Plugins/index.json
  6. 当前内置插件的 .anybox-plugin/plugin.json 示例
  7. plugins/Anybox-Plugins/anybox-plugin-development/docs/anybox-third-party-plugin-development.md
  8. 本 Skill 的参考文档

运行代码优先于测试,测试优先于说明文档,目标仓库优先于既有假设。如果实时解析器与本 Skill 不一致,遵循解析器并报告规范漂移。除非用户明确要求修改插件格式本身,否则不要为了让某个插件通过而修改解析器。

按需读取参考文档

面对范围很窄的问题时,不要加载无关参考文档。

执行流程

  1. 判断任务属于包结构、清单编写、运行时接入、分发、迁移还是诊断。
  2. 找到插件包根目录。把 .anybox-plugin 视为元数据目录,而不是包根目录。
  3. 对每项高级能力检查实时 schema,并至少查看一个当前内置插件示例。
  4. <plugin-root>/.anybox-plugin/plugin.json 创建或更新规范清单。
  5. scriptsskillsconnectorsdocsassets 放在 .anybox-plugin 同级。
  6. 使用严格 JSON。遇到不支持的顶层字段时应报错,不要假设解析器会忽略。
  7. 保证所有包内相对路径都留在插件包中。拒绝路径穿越、应使用相对路径处的绝对路径,以及分发包中的符号链接。
  8. 不要把密钥写入源码。声明 placeholder 和 credential 元数据,由 Anybox 保存并注入真实密钥。
  9. 按变更风险验证目录加载和安装行为。
  10. 修改插件系统代码时,在同一项变更中同步更新测试、开发文档和本 Skill。

强制规则

  • 为新 Anybox 插件生成 .anybox-plugin/plugin.json
  • 仅把根目录 plugin.json.codex-plugin/plugin.json 当作兼容输入。
  • 不要生成 .fanfande-plugin/plugin.jsonplugin.meta.json
  • 根据规范化后的 manifest name 生成插件 ID,并让文件夹、manifest 名称和 Registry 路径保持一致。
  • 新插件自有 Connector 使用 connectors[].id;把 connectorIDappID 视为兼容别名。
  • 规范 Connector 条目必须同时包含 credentialruntimeconfigFields 只能作为额外配置。
  • 优先使用 connectors,不要为新插件使用旧的 apps 字段。
  • 创建新插件时,插件自有 mcpServersconnectors 暴露的全部 MCP 工具默认使用 auto(Auto allow)。新清单应省略 runtime.toolPolicies;只有用户明确要求审批、禁用或逐工具差异时才写非空映射。
  • runtime.toolPolicies 一旦非空,任何未列出的工具都会回退为 ask。不要通过“只把部分当前工具列成 auto”来表达全工具 Auto allow;若必须启用差异策略并让其余当前工具自动运行,应显式列出全部当前工具,后续新增工具也必须补充策略。
  • Auto allow 只决定 MCP 工具策略,不绕过工作区外路径授权、规划/只读模式或 critical-risk 阻断等宿主安全边界。
  • commandsagents 视为保留兼容字段,不要声称当前运行时会执行它们。
  • 完整 App 使用 views 提供用户入口;只有需要宿主启动本地 HTTP 后端时才声明独立的 appRuntime,不要把它与 mcpServers[].runtime 混用。
  • App Web 构建产物应放在插件包内并使用相对资源路径。appRuntime 中带 ${PLUGIN_ROOT} 的 command、arg 和 cwd 必须解析到真实的包内文件或目录,不能使用其他 Runtime placeholder。
  • appPermissions 当前会进入高风险安装审查;workspace: "request" 只提供过渡性的项目上下文,networksystem 不能被描述成已经具有 OS 级强制隔离或完整 Host SDK 授权。
  • 自定义 Provider 地址使用 appPermissions.network[].kind = "user-configured-origin";仅声明权限不等于网络隔离,Runtime 必须验证 HTTPS/loopback、DNS 结果与同源重定向。
  • 系统钥匙串或原生选择器使用通用 platformArtifacts.type = "app-runtime-helper"。每个平台文件必须绑定 SHA-256,Runtime 只从 ANYBOX_APP_ARTIFACTS_JSON 读取安装后的路径,不得在 Core 添加插件 ID 分支。
  • App Runtime 只能依赖通用 ANYBOX_APP_* 启动环境与最小 OS 环境,不得依赖 ANYBOX_AGENT_*、插件专用兼容变量或宿主共享工具路径。
  • Plugin View 通过宿主同源 Gateway 播放 Runtime 音视频时,桌面端自定义协议必须启用 stream: true,并用测试同时覆盖协议权限、Range 请求和 206 Partial Content 响应。
  • Local App Runtime 是真实本机代码。未实现 OS 级进程 Sandbox、签名与信任链前,必须明确告知风险,不得把声明式网络或文件权限宣传为安全边界。
  • 桌面开发版与正式版默认共享仓库内稳定的 .catalog/anybox-plugin-registry.json,且默认不扫描本地仓库源码包;只有显式设置 ANYBOX_PLUGIN_INCLUDE_SOURCE_PACKAGES=1 才进入源码插件开发模式。插件目录不跟随桌面版本,所有 Registry 和版本化 ZIP 都在本地生成、验证后作为普通 Git 文件提交;不得依赖 GitHub Actions、Release 或 API。
  • 除非确实希望阻止安装,否则不要把风险标记为 critical
  • 迁移或验证期间保留用户文件和工作区中的无关改动。
  • OAuth Credential 的实时字段包括 refreshURLtokenRequestFormat 和可选 dialect;当前方言为 standardbilibilitiktok。使用非标准方言前必须核对 Provider 官方文档并补覆盖授权码交换与刷新行为的测试。

Read the full file on GitHub · 83 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 83 lines · 113 tokens per session scan A a6ca299e4ca2

Subscribe to this mod's changes

anybox-plugin is a skill published in the GitHub repository fanfan-de/anybox (57 stars, last pushed 25d ago), licensed MIT. It adds 113 tokens to every session and 1,893 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens