Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计未展示

developing-opencode-metadeveloping opencode meta 搜索

Agent Skill

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

总安装

449

周安装

18

GitHub Stars

公开资料未说明

下载量

145
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add mikekelly/opencode-promode --skill "developing-opencode-meta"

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 通过 npx skills add mikekelly/opencode-promode --skill "developing-opencode-meta" 安装。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

<essential_principles> This skill covers building extensions for OpenCode, an open-source AI coding assistant. OpenCode's plugin system allows customizing agents, tools, hooks, and more.

1. Plugins are the extension mechanism Everything in OpenCode is extended through plugins. A plugin is a TypeScript function that returns configuration for agents, tools, hooks, and other features. Plugins can be distributed via npm.

2. Agents define AI behaviour Agents are configured AI assistants with specific prompts, models, and tool access. OpenCode has two modes: primary (main agent) and subagent (delegated tasks). Agent prompts are full TypeScript strings, giving complete control.

3. Hooks intercept lifecycle events Hooks let plugins react to events like tool execution, session creation, context limits, and more. They enable features like auto-compaction, TDD enforcement, and context monitoring.

4. Tools extend agent capabilities Custom tools give agents new abilities. Tools are defined with Zod schemas for parameters and can access the plugin context for session management, file operations, etc.

5. Skills work differently in OpenCode OpenCode can load Claude Code skills, but also has its own skill system. Skills in OpenCode are simpler — markdown files that agents can invoke for domain knowledge. </essential_principles>

<never_do>

  • NEVER export non-plugin functions from main index.ts (OpenCode calls ALL exports as plugins)
  • NEVER use blocking task() calls for explore/librarian agents (always use background_task)
  • NEVER allow subagents to spawn subagents without explicit design (can cause runaway delegation)
  • NEVER skip the tool.execute.before hook when modifying tool arguments
  • NEVER hardcode models — always accept model as parameter with sensible defaults </never_do>
  1. Plugin — Create a new plugin with agents, tools, or hooks
  2. Agent — Define a custom agent with specific behaviour
  3. Hook — Intercept lifecycle events for custom behaviour
  4. Tool — Add a new capability for agents to use
  5. Review — Audit an existing OpenCode plugin

Wait for response before proceeding.

After identifying the intent, read the relevant reference file and follow its guidance.

<quick_reference> Plugin Entry Point:

import type { Plugin } from "@opencode-ai/plugin"

const MyPlugin: Plugin = async (ctx) => {
  return {
    tool: { /* custom tools */ },
    config: { agents: { /* agent definitions */ } },
    event: async (input) => { /* lifecycle events */ },
    "tool.execute.before": async (input, output) => { /* pre-tool hook */ },
    "tool.execute.after": async (input, output) => { /* post-tool hook */ },
  }
}

export default MyPlugin

Agent Definition:

import type { AgentConfig } from "@opencode-ai/sdk"

const myAgent: AgentConfig = {
  description: "What this agent does (shown in delegation UI)",
  mode: "subagent",  // or "primary"
  model: "anthropic/claude-sonnet-4",
  temperature: 0.1,
  tools: { write: true, edit: true, bash: true },
  prompt: `Full agent prompt here...`,
}

Custom Tool:

import { z } from "zod"

const myTool = {
  description: "What this tool does",
  parameters: z.object({
    input: z.string().describe("Parameter description"),
  }),
  async execute(params, ctx) {
    // Tool logic
    return { result: "output" }
  },
}

Key Hooks:

  • event — Session lifecycle (created, deleted, error)
  • tool.execute.before — Modify tool args before execution
  • tool.execute.after — Process tool results
  • experimental.session.compacting — Inject context into summaries
  • chat.message — Intercept user messages </quick_reference>

<key_concepts>

Plugin Context (ctx)

The plugin receives a context object with:

  • ctx.client — OpenCode client for session operations
  • ctx.directory — Current working directory
  • ctx.client.session.summarize() — Trigger context compaction

Agent Modes

ModePurposeUse Case
primaryMain conversation agentCustom main agent replacing default
subagentDelegated task executorSpecialized agents for specific work

Tool Access Control

Agents can restrict tool access:

tools: {
  write: true,      // File writing
  edit: true,       // File editing
  bash: true,       // Shell commands
  background_task: false,  // Prevent sub-subagent spawning
}

Hook Execution Order

  1. chat.message — User input received
  2. tool.execute.before — Before each tool call
  3. Tool executes
  4. tool.execute.after — After each tool call
  5. event — Session events (async, not blocking)

Distribution

Plugins are distributed via npm:

# Install
bunx my-opencode-plugin install

# This registers in ~/.config/opencode/opencode.json

</key_concepts>

<reference_index>

  • references/plugin-architecture.md — Plugin structure, entry points, exports
  • references/agent-configuration.md — Agent config, modes, prompt design
  • references/lifecycle-hooks.md — All available hooks and patterns
  • references/custom-tools.md — Tool definition, Zod schemas, execution </reference_index>

<success_criteria> A well-built OpenCode plugin:

  • Single default export (plugin function)
  • No non-plugin exports from main index.ts
  • Agents use appropriate mode (primary vs subagent)
  • Hooks don't cause infinite loops
  • Tools have clear Zod schemas with descriptions
  • Distribution via npm with CLI installer </success_criteria>

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

OpenCode

28.99%
按下载量换算42

Claude Code

23.04%
按下载量换算33

windsurf

18.2%
按下载量换算26

Codex

11.15%
按下载量换算16

Antigravity

7.19%
按下载量换算10

Gemini CLI

3.23%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add mikekelly/opencode-promode --skill "developing-opencode-meta" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills