Skip to content

An agentic skills framework & software development methodology that works.

feat: create opencode plugin scaffold

Jesse Vincent6847cf4cfc9e
diff --git a/.opencode/plugin/superpowers.js b/.opencode/plugin/superpowers.js
new file mode 100644
index 000000000..2dc613e52
--- /dev/null
+++ b/.opencode/plugin/superpowers.js
@@ -0,0 +1,21 @@
+/**
+ * Superpowers plugin for OpenCode.ai
+ *
+ * Provides custom tools for loading and discovering skills,
+ * with automatic bootstrap on session start.
+ */
+
+const skillsCore = require('../../lib/skills-core');
+const path = require('path');
+const fs = require('fs');
+const os = require('os');
+
+const homeDir = os.homedir();
+const superpowersSkillsDir = path.join(homeDir, '.config/opencode/superpowers/skills');
+const personalSkillsDir = path.join(homeDir, '.config/opencode/skills');
+
+module.exports = async ({ project, client, $, directory, worktree }) => {
+ return {
+ // Custom tools and hooks will go here
+ };
+};