-
Notifications
You must be signed in to change notification settings - Fork 0
Add A Plugin
Note
Goal: Add a new plugin (a functional group) to crickets — the group.yaml plus its primitives, regenerated and dogfooded.
Prereqs: crickets cloned; Python 3 + PyYAML; claude and/or agy.
A crickets plugin is a group folder under src/<group>/; the folder name is the plugin slug. See Plugin anatomy for the shape it generates into.
-
Create the group at
src/<group>/(<group>is the kebab-case slug) with agroup.yaml:name: My Plugin description: One line — what the plugin does. category: Coding standalone: true # true ⟺ requires: [] # requires: [developer-workflows] # a hard dependency (then standalone: false) # enhances: [developer-workflows] # soft — augments the target when both are installed
Field contract + the
standalone ⟺ requires: []invariant: Manifest schema. -
Add its primitives under their kind subdirs —
skills/<name>/SKILL.md,agents/<name>.md,commands/<name>.md,hooks/<name>/. Each carries its own frontmatter (add a skill walks one through). A group-wide helper script goes insrc/<group>/scripts/. -
Lint + regenerate:
python3 scripts/lint_src.py python3 scripts/generate.py build
The generator emits
dist/<host>/plugins/<group>/for both hosts and updates the marketplace pointer. -
Dogfood — install the generated plugin on a host (
claude --plugin-dir dist/claude-code/plugins/<group>/agy plugin install "$PWD/dist/antigravity/plugins/<group>") and exercise it. See Modify a plugin. -
Commit the source and
dist/together. The pre-push PII hook scans first.
- Plugin anatomy — what a plugin is and how it's structured.
- Add a skill — author the primitives that go in the group.
-
Manifest schema —
group.yaml+ primitive frontmatter. - Modify a plugin — the edit → generate → dogfood loop.
🔧 How-to
- Plugin anatomy
- Repo layout
- Compatibility
- CI gates
- Troubleshooting
- Customization Types
- Manifest Schema
- Per-Host Paths
- Hooks
- Evaluator
- Antigravity Limitations
- Wiki Watch Config
- Style-learning loop
- Modify a plugin
- Add a skill
- Add a plugin
- Named plans
- Coordinator roles (pending)
- Obsidian vault backend (pending)
- GitHub Projects
- Testing Conventions
- Releasing Conventions
- Design Docs