cindy-plugin-creator
它能做什么
这项技能指导为 Cindy 应用制作插件,包括其设置文件和打包。适合希望用自己的插件扩展 Cindy 的开发者。
适用场景
- ✓当你想为 Cindy 创建新插件的时候。
- ✓当现有的 Cindy 插件出错,需要调试的时候。
- ✓当你想打包或发布 Cindy 插件时。
技能链接
https://github.com/makecindy/cindy/blob/main/apps/desktop/resources/system-skills/cindy-plugin-creator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我做一个 Cindy 插件,添加一个用于发送每日报告的按钮。”
每周 5 个新技能,1 分钟读完。
工作原理
它会检查 Cindy 的版本和源代码,阅读插件指南,然后帮你设计、编写和打包插件文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Cindy Plugin Creator
Build a Cindy plugin from the user's request, or update an existing plugin. This Skill and its references are the authoring documentation shipped with the current Cindy host. Start by identifying the plugin's execution host and pinning its source to a verified tag or commit; use the shipped contracts and matching source together. Keep the user's language for discussion.
Workflow
- Read host version and source verification. Identify the Cindy computer that will execute the plugin, obtain its version through available read-only host information, and resolve that release's tag or the build's source commit in the official repository. Inspect the relevant public API and its host implementation at that exact commit before relying on a capability. Do not substitute latest main or an unrelated local checkout. If the version or source cannot be verified, follow the reference's fallback and state the limitation.
- Read the authoring overview, design alignment, structure, and manifest and capabilities. For an existing plugin, inspect its ghost.json and source first. Ask only about decisions the request leaves open; use option cards when available. Summarize the intended behavior, UI, permissions and acceptance criteria before implementation, following the design reference.
- Before writing code, read the sandbox boundaries and packaging workflow. Read the capability references below as needed; do not load the whole manual at once.
- For a new plugin, prefer ghost_forge_scaffold with the appropriate plain, agent-action, node-json-rpc or node-mcp template, then edit the generated files. For an existing plugin, preserve its identity, data and compatible behavior. Use schemaVersion: 3 for new manifests and declare the first stable Cindy version actually required.
- Implement and validate the requested behavior, including Light and Dark modes for any UI. Separate current Agent tool-call operations from autonomous plugin capabilities, as described in the manifest and Agent-call references. Use tool discovery and manuals for authoring the plugin's own discovery and workflow documentation.
- Call ghost_forge_pack to validate and produce the .cindy artifact. Report what was tested and what remains unverified. Packaging does not install or publish: use ghost_forge_install only when installation is requested, and follow public marketplace publication and attribution (§7.3–7.4) for community publication, or publishing signatures and review (§8) as applicable. Read the releaseNotes contract in manifest (§2) before submitting a version.
Cindy supplies the Forge tools. If they are unavailable in the current environment, explain the missing capability and continue any local source work that is possible; do not claim to have packaged, installed or published. The legacy ghost_forge_guide tool serves these same references by section number or title when needed. It is a compatibility entry point, not a second source of documentation.
Reference index
These references describe Cindy plugin contracts and host APIs available to plugins. Read only the topics needed for the plugin being built. Existing section numbers are preserved for ghost_forge_guide callers and cross-references; files are named by plugin capability rather than reading order.
插件基础与工具设计
Start here to define the plugin's behavior, package and Agent-facing tools.
- 先按宿主版本定位开源源码:tag / commit(§0a)
- 插件创作总览
- 插件需求与交互设计(§0)
- 插件源码与包目录结构(§1)
- 插件身份卡与能力声明 ghost.json(§2)
- 插件工具定义 tools(§3)
- 插件工具发现与两段式目录(§3.5)
- 插件使用手册 manual(§3.6)
插件运行与宿主接口
Use when implementing plugin code, calling host APIs or declaring access to resources.
- 插件后台 main.js 与基础模型调用(§4)
- 插件沙箱边界(§6)
- [插件读取宿主公开上下文(§4.1)](references/plu
常见问题
这是用来制作简单技能的吗?
不是。这项技能针对插件。制作独立技能由另一项技能负责。
为什么要检查 Cindy 的版本?
为了让说明与运行该插件的应用版本相匹配。
ghost.json 文件有什么作用?
它是清单文件,描述插件并规定它被允许使用的内容。
详情
作者的原始描述
Create, edit, debug, package, or publish Cindy plugins (.cindy packages with ghost.json). Use for plugin authoring and host API questions; not for creating standalone Skills or simply using an installed plugin.
repo: makecindy/cindy
热度
- GitHub 星标
- 9.0k
- 排名
- #12317
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …