opencode-plugin-creator
Create or revise OpenCode plugins: server entrypoints, hooks, custom tools, lifecycle, installation, and packaging.
v2026.11.13-21cd568שתי התקנות+2 ב-7 ימים39 כוכביםMITסונכרן לפני 11 שעות
התקנה
עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/opencode-plugin-creatorנכתב אל ~/.notholy/skills אחרי בדיקת החתימה וה-SHA-256.
חתימהחתום, ed25519
חבילה6afcf1a0…8444920b
6afcf1a0d60b…32838444920b13 קבצים · 9.0 KBסריקהבינוני5 ממצאים
- סקריפט הרצה שמגיע עם הסקילassets/template/src/plugin/guard.ts
- סקריפט הרצה שמגיע עם הסקילassets/template/src/plugin/index.ts
- סקריפט הרצה שמגיע עם הסקילassets/template/test/guard.test.ts
מקורgithub.com/AeonDave/malskill/tree/main/harness-dev/opencode-plugin-creator@21cd568
הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.
בעמוד הזה
Use opencode-agent-creator for agent definitions, permissions, and task delegation. Keep plugin mechanics here.
Match the host before coding
Record opencode --version and the installed @opencode-ai/plugin version. This skill's template targets OpenCode 1.18.35, tag commit 53d1eabb61e21162157817bf677da0a4ad3332e3.
Choose the API from the target package's exports and types. The released root import uses a Plugin function returning Hooks; its V2 Promise/Effect exports are different APIs. Current V2 documentation can describe fields absent from 1.18.35. Do not mix its examples into a V1 hook object.
For terminal UI behavior, load the official CLI-plugin guide and the target host's @opencode-ai/plugin/tui types. Use its distinct TUI entrypoint/API and package ./tui export; match the guide's imports to the installed version rather than using server hooks for UI work.
Build and verify
- Load references/hooks.md when choosing an entrypoint or interception hook; check its host call site as well as its type.
- Copy assets/template/ into the target project. Set the package name and supported host range; pin the SDK/plugin version used for development.
- Implement only the required hooks. Mutate the provided
outputfields in place. Load references/custom-tools.md when adding model-callable actions. - Load references/patterns.md for initialization, cancellation, logging, state ownership, or teardown.
- Run the template's typecheck and tests in its own directory. Test the returned hooks and custom tool, including the blocked/error path.
- Load references/publishing.md when installing or packaging. Start the matching host in an isolated project, confirm initialization, and exercise the intended behavior. Report unit/typecheck evidence separately from host execution.
- Inspect the package contents before an authorized publication.
Minimal server plugin
import type { Plugin, PluginModule } from "@opencode-ai/plugin"
const Guard: Plugin = async () => ({
"tool.execute.before": async (input, output) => {
if (input.tool === "read" && output.args.filePath === "blocked.txt")
throw new Error("This read is blocked by the project guard.")
},
})
export default { id: "example.guard", server: Guard } satisfies PluginModuleA guard for one tool is scoped to that tool. Set agent/config permissions for access policy; a type declaration alone does not establish that a permission hook runs.
The template exports one explicit server module. Keep helper functions in imported siblings rather than exporting them from a legacy plugin entrypoint.
הקבצים בגרסה הזו
assets/87.7 KB
template/87.7 KB
test/23.9 KB
- guard.test.ts872 B
- index.test.ts3.0 KB
- .gitignore41 B
- package.json689 B
- README.md961 B
- tsconfig.json410 B
references/412.8 KB
- custom-tools.md2.7 KB
- hooks.md4.0 KB
- patterns.md3.0 KB
- publishing.md3.1 KB
- SKILL.md3.4 KB
הרשאות
| הרשאה | הוצהר | נמצא בסריקה |
|---|---|---|
| קורא קבצים | כן | כן |
| כותב קבצים | לא | לא |
| מריץ פקודות shell | כן | כן |
| משתמש ברשת | כן | כן |
| משתמש במחברים | לא | לא |
| שולט בדפדפן | לא | לא |
ממצאי הסריקה
נבדק ב-13 בנוב׳ 2026
- בינוניתקובץ · סקריפט הרצה שמגיע עם הסקילassets/template/src/plugin/guard.ts
- בינוניתקובץ · סקריפט הרצה שמגיע עם הסקילassets/template/src/plugin/index.ts
- בינוניתקובץ · סקריפט הרצה שמגיע עם הסקילassets/template/test/guard.test.ts
- בינוניתקובץ · סקריפט הרצה שמגיע עם הסקילassets/template/test/index.test.ts
- מידעקישור · קישורים לדומיינים חיצוניים
סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.
| גרסה | פורסמה | Commit | SHA-256 | חתימה | שינוי בהרשאות |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 בנוב׳ 2026 | 21cd568 | 6afcf1a0 | חתומה | – |
עוד מ-AeonDave
הכול מהמפרסם הזהעוד בקטגוריה דוחות ותאימות
לקטגוריה- skillduty1g/skill5
- rea-ci-tests-auditmorluto/rea-ci-tests-audit4
- tracking-threat-actor-infrastructuremukul975/tracking-threat-actor-infrastructure4
- performing-authenticated-scan-with-openvasmukul975/performing-authenticated-scan-with-openvas4
- slicing-code-contexttrailofbits/slicing-code-context4
- 1337aeondave/13374
שאלו כל מה שהסקופ מאפשר.
יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.
- 1/3
יצירת חשבון
פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.
פרטיחברה - 2/3
הוספת קרדיטים
בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.
$5.00טעינה מינימלית - 3/3
שאלה ראשונה
בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.
$ notholy login