Plugin packaging - #1
Open
casconed wants to merge 2 commits into
Open
Conversation
Converts the repo from a clone-and-cd workflow tool into an installable
plugin: install once, run from any project, no fixed sibling data dir.
- Add .claude-plugin/plugin.json manifest
- Add six focused skills/ (one per workflow) as thin routers that point
at workflows/<wf>/CLAUDE.md via ${CLAUDE_PLUGIN_ROOT}
- Repath the data directory from ../greybeard-data/ to $GREYBEARD_DATA
(default ~/.greybeard-data/) across all markdown; runnable shell
commands use ${GREYBEARD_DATA:-$HOME/.greybeard-data} so they work
with or without the env var set
- Repath cross-workflow references (e.g. campaign reviewer -> code-review
lenses) to ${CLAUDE_PLUGIN_ROOT}/workflows/...
- Slim root CLAUDE.md to overview + data-dir convention + routing table
pointing at skills; per-workflow steps stay in workflow CLAUDE.md files
- Update README with plugin install instructions, drop clone-and-cd framing
The workflows/ instruction tree (lenses, pipelines, templates, context)
is left intact as the single canonical copy; only paths inside are repathed.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude Code has no post-install hook event, so use a SessionStart hook
(idempotent mkdir -p) — runs on the first session after install, creates
$GREYBEARD_DATA/sources and the six output/ subdirs, and is a no-op once
they exist. Same ${GREYBEARD_DATA:-$HOME/.greybeard-data} expansion as
the documented manual command.
- Add hooks/hooks.json with the SessionStart hook
- Register it via the "hooks" field in .claude-plugin/plugin.json
- Note the auto-setup in CLAUDE.md and README (manual mkdir now optional)
Co-Authored-By: Claude <noreply@anthropic.com>
casconed
force-pushed
the
plugin-packaging
branch
from
September 2, 2026 01:02
d2ed573 to
7fb54a4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I wanted this as an installable skill - happy to keep that as a fork but if you're amenable to that change, here it is!