Skip to content

Package the skills as a Claude Code plugin - #10

Merged
prathikcannotcode merged 2 commits into
mainfrom
feat/claude-plugin
Nov 12, 2026
Merged

prathikcannotcode merged 2 commits into
mainfrom
feat/claude-plugin

Conversation

@prathikcannotcode

Copy link
Copy Markdown
Owner

What

Adds .claude-plugin/plugin.json and a marketplace file so Aranya installs with:

claude plugin marketplace add prathikcannotcode/aranya
claude plugin install aranya@prathikcannotcode-aranya

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.mjs blocks 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/schemas or .claude/settings.json is 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 --out outside 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_status on 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 errors
  • npm test: 27 pass, 2 skipped, 0 fail
  • The packaged files, unpacked into one folder and run from another, empty one: the calculator's output on examples/sample-injury.json matches the repo's in every field except the timestamp

Not checked

  • claude plugin validate . was not run; the CLI was not available where this was prepared. Expect one warning about CLAUDE.md at the plugin root.

Before merging

  • Add a layout rule for .claude-plugin/** by hand. Without it the write guard refuses edits to the manifest in an Aranya session.
  • The version now lives in package.json, CITATION.cff and plugin.json. A release has to bump all three.

🤖 Generated with Claude Code

prathikcannotcode and others added 2 commits November 10, 2026 21:22
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
@prathikcannotcode
prathikcannotcode merged commit c917d23 into main Nov 12, 2026
1 check passed
@prathikcannotcode
prathikcannotcode deleted the feat/claude-plugin branch November 12, 2026 06:01
@prathikcannotcode prathikcannotcode mentioned this pull request Nov 12, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant