Repository navigation
Package the skills as a Claude Code plugin - #10
Merged
Merged
Conversation
Add .claude-plugin/plugin.json and a marketplace file so the five skills, the catalog and the calculator install with `claude plugin install aranya@prathikcannotcode-aranya`. The plugin declares no hooks: a plugin-wide write guard would block every edit in a project that has no workspace layout. Four skills now say where the catalog and the calculator live when there is no workspace. The calculator refuses --out outside its own root, so in a plugin it prints the result and the agent saves it; the README says that nothing enforces the guards there. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
# Conflicts: # .claude/skills/hea-rea-calculator/SKILL.md # CHANGELOG.md
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.
What
Adds
.claude-plugin/plugin.jsonand a marketplace file so Aranya installs with:The manifest points at
.claude/skills/, so no skill moves and the clone-and-run workspace works as before. The plugin carries the five skills, the catalog and the calculator.Why no hooks
write-guard.mjsblocks any write when it finds no workspace layout. That is right inside Aranya and would block every edit in a project that installed the plugin. No file under.claude/scripts,.claude/schemasor.claude/settings.jsonis changed.Skill changes
Four skills gain one line each, for use with no workspace:
eia-review,env-case-analysis,env-catalog: the catalog's path inside an installed plugin.hea-rea-calculator: how to run the calculator from a plugin. It refuses--outoutside its own root, so there it prints the result and the agent saves it unchanged.What weakens outside a workspace
Nothing enforces the write guard, schema validation or append-only flags, and nothing stops an agent changing
validation_statuson a saved calc result. The README says so and tells readers to clone the repo for work that will reach a court.Checked
npm run validate -- --strict: 45 data files, 5 skills, 0 errorsnpm test: 27 pass, 2 skipped, 0 failexamples/sample-injury.jsonmatches the repo's in every field except the timestampNot checked
claude plugin validate .was not run; the CLI was not available where this was prepared. Expect one warning aboutCLAUDE.mdat the plugin root.Before merging
.claude-plugin/**by hand. Without it the write guard refuses edits to the manifest in an Aranya session.package.json,CITATION.cffandplugin.json. A release has to bump all three.🤖 Generated with Claude Code