Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问clear审计异常

customizing-opencodecustomizing opencode 命令行

Agent Skill

customizing-opencode 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

569

周安装

23

GitHub Stars

5

下载量

178
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/third774/dotfiles --skill customizing-opencode

简介

通过配置文件、代理和命令扩展 OpenCode 行为,支持主题、模型和自动更新设置。

  • 全局配置位于 ~/.config/opencode/opencode.json,项目级配置优先级更高。
  • 可创建 .opencode/agents/*.md 定义专用代理,或添加 slash commands 快捷操作。
  • 修改配置后需重启服务生效,建议通过 .well-known/opencode 实现远程配置同步。
  • customizing-opencode 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Customizing OpenCode

Configure OpenCode behavior through config files, agents, commands, and extensions.

Config File Locations

LocationPathPurpose
Global~/.config/opencode/opencode.jsonUser-wide preferences
Project./opencode.jsonProject-specific settings
Custom$OPENCODE_CONFIG env varOverride path

Precedence (later overrides earlier): Remote .well-known/opencode < Global < Custom < Project

Quick Reference

TaskWhereReference
Set theme, model, autoupdateopencode.jsonconfig-schema.md
Define specialized agents.opencode/agents/*.md or configagents.md
Create slash commands.opencode/commands/*.md or configcommands.md
Add external tools via MCPopencode.json mcp sectionmcp-servers.md
Write custom tool functions.opencode/tools/*.tscustom-tools.md
Extend with plugins/hooks.opencode/plugins/*.ts or npmplugins.md
Control tool accessopencode.json permission sectionpermissions.md
Customize keyboard shortcutsopencode.json keybinds sectionkeybinds.md
Change colors/appearanceopencode.json theme or custom JSONthemes.md

Directory Structure

~/.config/opencode/           # Global config
├── opencode.json
├── AGENTS.md                 # Global rules
├── agents/                   # Global agents
├── commands/                 # Global commands
├── plugins/                  # Global plugins
├── skills/                   # Global skills
├── tools/                    # Global custom tools
└── themes/                   # Global custom themes

.opencode/                    # Project config (same structure)
├── agents/
├── commands/
├── plugins/
├── skills/
├── tools/
└── themes/

When to Use What

NeedSolution
Change model/theme for all projectsGlobal opencode.json
Project-specific agent behaviorProject .opencode/agents/
Reusable prompt templatesCommands (.opencode/commands/)
External service integrationMCP servers
Custom logic the LLM can callCustom tools
React to OpenCode eventsPlugins
Restrict dangerous operationsPermissions

Variable Substitution

Use in any config value:

{
  "model": "{env:OPENCODE_MODEL}",           // Environment variable
  "instructions": ["{file:./rules.md}"]      // File contents
}

Rules (AGENTS.md)

Project instructions loaded into LLM context:

FileScope
./AGENTS.mdProject (traverses up to git root)
~/.config/opencode/AGENTS.mdGlobal
instructions array in configAdditional files/globs
{
  "instructions": ["CONTRIBUTING.md", "docs/*.md"]
}

Docs

Full documentation: https://opencode.ai/docs/config/

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenCode

29.39%
按下载量换算52

Claude Code

25.29%
按下载量换算45

Codex

17.64%
按下载量换算31

Gemini CLI

13%
按下载量换算23

windsurf

7.39%
按下载量换算13

github-copilot

3.77%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills