agemon 6.3.0 → 6.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +184 -98
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,8 +22,8 @@ Documentation, the skill library and the installer: <https://agemon.korak-kurani
22
22
  writes, and rolls back the whole run if any step fails.
23
23
  - **Fully reversible.** Every change is recorded, and `agemon nuke` removes exactly what
24
24
  agemon added, leaving your own files alone.
25
- - **Works on the web too.** Add agemon's skill groups to claude.ai as plugins, and check a
26
- repository is ready for Claude Code on the web. See [Claude on the web](#claude-on-the-web).
25
+ - **Works with Claude.** Add agemon's skill groups to claude.ai or Claude Code as plugins, and
26
+ check a repository is ready for Claude Code on the web. See [Use with Claude](#use-with-claude).
27
27
 
28
28
  Want to help? Start with [CONTRIBUTING.md](CONTRIBUTING.md).
29
29
 
@@ -325,68 +325,6 @@ on its own. Only Claude Code has been measured, and only Claude Code has been ru
325
325
  and OpenCode read both folders, so they may list a skill twice once copies exist. See the
326
326
  [agent matrix](evals/design/agent-matrix.md), which leaves its gaps visible.
327
327
 
328
- ## Claude on the web
329
-
330
- The `agemon` CLI runs on your machine, so it can't install into Claude on the web directly.
331
- There are two products to set up, and each gets agemon's work in a different way.
332
-
333
- | agemon installs | Claude Code on the web | claude.ai chat |
334
- |---|---|---|
335
- | Rules (`AGENTS.md`, `CLAUDE.md`) | Yes, once committed | No |
336
- | Skills | Yes, once committed | Yes, as plugins |
337
- | Subagents | Yes, once committed | No |
338
- | Hooks and `.mcp.json` | Yes, once committed; the tools they run need installing | No |
339
- | `code-review-graph` | Through a setup script | No |
340
- | Daemon and global CLI tools | No | No |
341
-
342
- ### Claude Code on the web
343
-
344
- A cloud session clones your repository and reads its agent config, so run `agemon`, commit
345
- the result and push it. It doesn't read `~/.claude`.
346
-
347
- `agemon inspect` has a **Claude on the web** section that lists:
348
-
349
- - agent config that is uncommitted or gitignored
350
- - commits changing agent config that aren't pushed yet
351
- - a setup script, if your hooks or MCP servers run `code-review-graph` directly
352
-
353
- To use the setup script, open [claude.ai/code](https://claude.ai/code), select the
354
- environment under the message box, open its settings, and paste the script into **Setup
355
- script**. It installs the pinned version of `code-review-graph`, but unlike a local agemon
356
- install, its dependencies are not hash-locked.
357
-
358
- Cloud sessions in a project's threads are different: they don't use the repository's
359
- `.claude/skills/` or run its hooks. They use the skills enabled on your claude.ai account.
360
-
361
- ### claude.ai chat
362
-
363
- agemon's repository is also a plugin marketplace with one plugin per skill group:
364
-
365
- 1. In claude.ai, open **Customize** > **Plugins**.
366
- 2. Select **Add** > **Add marketplace** > **Add from a repository**.
367
- 3. Enter `Korak-997/agemon`.
368
- 4. Add the groups you want, such as `agemon-security` or `agemon-design`.
369
-
370
- The same marketplace works in Claude Code:
371
-
372
- ```bash
373
- claude plugin marketplace add Korak-997/agemon
374
- claude plugin install agemon-security@agemon
375
- ```
376
-
377
- Plugins differ from an `agemon` install in these ways:
378
-
379
- - **No agemon safety net.** Claude manages plugins, so there is no agemon plan, diff, rollback
380
- or `nuke`, and `agemon status` doesn't see them. Remove them where you added them.
381
- - **Latest skills, not pinned.** The marketplace follows this repository's default branch
382
- rather than a release. Claude Code doesn't auto-update third-party marketplaces by default;
383
- run `claude plugin marketplace update agemon`, or turn on auto-update under `/plugin`.
384
- - **Prefixed names.** A skill is named `<plugin>:<skill>`, such as
385
- `agemon-security:agemon-security`. In a repository that also has an `agemon` install, you
386
- would see both copies, so use one or the other there.
387
- - **Skills and commands only in chat.** Subagents and hooks don't run there, and local tools
388
- can't. `geo-audit` expects subagents, so use it in Claude Code rather than chat.
389
-
390
328
  ## Requirements
391
329
 
392
330
  - To install, apply or nuke: Ubuntu, Debian, a derivative whose `/etc/os-release`
@@ -491,14 +429,75 @@ agemon
491
429
  - The CLI's self-update checks `install.sh` against `SHA256SUMS`; it verifies attestations
492
430
  only if you export `AGEMON_VERIFY_ATTESTATION=1`, which the installer it runs honours.
493
431
 
494
- ### Upgrading and rolling back
432
+ ### Uninstalling agemon itself
433
+
434
+ `agemon nuke` reverses changes `agemon` made *inside a repository* — it does not remove
435
+ the `agemon` binary. Run `agemon nuke` in each repository first, then remove agemon
436
+ itself:
437
+
438
+ ```bash
439
+ agemon self-uninstall --dry-run # show what would be removed
440
+ agemon self-uninstall # asks once; --yes skips the question
441
+ ```
442
+
443
+ For an install-script copy it removes the install dir, its `.prev` rollback copy, the
444
+ `agemon` link that points into it, the update-check cache, and agemon's machine state
445
+ (`${XDG_STATE_HOME:-~/.local/state}/agemon`, on macOS `~/Library/Application Support/agemon`
446
+ unless `XDG_STATE_HOME` is set: shared-tools ledger and tool caches). It
447
+ keeps the machine state while a repository still uses a shared tool, an interrupted
448
+ apply can still be recovered, or agemon is running somewhere else, and says which. It
449
+ lists the repositories it knows still have agemon-managed files; agemon only knows
450
+ repositories that use a shared tool, so check any others yourself. It never changes
451
+ files inside repositories. Machine state is per user: run it as the user who installed
452
+ agemon (with `sudo` for a root install).
453
+
454
+ It refuses to start while an interrupted apply can still be recovered (run
455
+ `agemon recover` first). For an npm install it prints
456
+ `npm uninstall --global --prefix <prefix> agemon`. A copy run through npx has nothing to
457
+ remove, and a source checkout or an install agemon can't identify is refused.
458
+
459
+ ## Upgrading agemon
460
+
461
+ Check which version you have:
462
+
463
+ ```bash
464
+ agemon --version
465
+ ```
466
+
467
+ Upgrade to the latest release:
468
+
469
+ ```bash
470
+ agemon upgrade
471
+ ```
472
+
473
+ Install a specific version, or go back to one. agemon asks before a downgrade:
474
+
475
+ ```bash
476
+ agemon upgrade 6.0.0
477
+ ```
478
+
479
+ Switch back to the install the last upgrade replaced. This works for install-script installs
480
+ only; for an npm install, install the previous version by name as above:
495
481
 
496
482
  ```bash
497
- agemon upgrade # install the latest release
498
- agemon upgrade 6.0.0 # install that release (asks before a downgrade)
499
- agemon upgrade --rollback # switch back to the install the last upgrade replaced
483
+ agemon upgrade --rollback
500
484
  ```
501
485
 
486
+ To run one version once without installing it, use `npx agemon@6.0.0`.
487
+
488
+ - **Use `agemon upgrade`, not `npm update -g`.** Once agemon has upgraded itself, npm records the
489
+ install as coming from a local file.
490
+ - **Then run `agemon` in each repository.** Upgrading replaces the program and changes no
491
+ repository. The next run shows what the new version brings, as described below.
492
+ - **To stay on a version,** set `AGEMON_NO_UPDATE_CHECK=1` to turn off the daily update prompt
493
+ (see [Update checks](#update-checks)).
494
+
495
+ To decide whether to upgrade, read the [changelog](CHANGELOG.md): it lists what each release
496
+ changed. For example, 6.1.0 added the Claude plugin marketplace (see [Use with Claude](#use-with-claude)),
497
+ `agemon add` and `agemon usage`.
498
+
499
+ ### How each install method upgrades
500
+
502
501
  `agemon upgrade` works out how the running copy was installed and upgrades it the same
503
502
  way:
504
503
 
@@ -528,7 +527,7 @@ After an upgrade, agemon prints the link to the release notes and reminds you to
528
527
 
529
528
  ### What a new version brings to a repository
530
529
 
531
- The next `agemon` run in a repository shows or asks about everything it could use but does not
530
+ Added in 6.1.0. The next `agemon` run in a repository shows or asks about everything it could use but does not
532
531
  have yet. Only skill groups and capabilities need a decision; an updated skill or subagent, or a
533
532
  new skill in a group you already installed, appears at the usual consent step.
534
533
 
@@ -570,33 +569,6 @@ it. It refuses a capability or group whose dependency is not enabled, and a repo
570
569
  Skill group declines are kept per clone in `.agemon/`, so a teammate is still asked. Capability
571
570
  choices are in the committed `agemon.toml`, so they apply to the whole team.
572
571
 
573
- ### Uninstalling agemon itself
574
-
575
- `agemon nuke` reverses changes `agemon` made *inside a repository* — it does not remove
576
- the `agemon` binary. Run `agemon nuke` in each repository first, then remove agemon
577
- itself:
578
-
579
- ```bash
580
- agemon self-uninstall --dry-run # show what would be removed
581
- agemon self-uninstall # asks once; --yes skips the question
582
- ```
583
-
584
- For an install-script copy it removes the install dir, its `.prev` rollback copy, the
585
- `agemon` link that points into it, the update-check cache, and agemon's machine state
586
- (`${XDG_STATE_HOME:-~/.local/state}/agemon`, on macOS `~/Library/Application Support/agemon`
587
- unless `XDG_STATE_HOME` is set: shared-tools ledger and tool caches). It
588
- keeps the machine state while a repository still uses a shared tool, an interrupted
589
- apply can still be recovered, or agemon is running somewhere else, and says which. It
590
- lists the repositories it knows still have agemon-managed files; agemon only knows
591
- repositories that use a shared tool, so check any others yourself. It never changes
592
- files inside repositories. Machine state is per user: run it as the user who installed
593
- agemon (with `sudo` for a root install).
594
-
595
- It refuses to start while an interrupted apply can still be recovered (run
596
- `agemon recover` first). For an npm install it prints
597
- `npm uninstall --global --prefix <prefix> agemon`. A copy run through npx has nothing to
598
- remove, and a source checkout or an install agemon can't identify is refused.
599
-
600
572
  ### Update checks
601
573
 
602
574
  `agemon`, `agemon apply` and `agemon nuke` check once a day whether a newer GitHub Release
@@ -607,7 +579,8 @@ exists. The check never slows a command down:
607
579
  finished by then, it is cancelled and tried again on a later run;
608
580
  - in an interactive terminal (without `--yes`), for an install-script or npm install,
609
581
  agemon then asks whether to install the update. On yes, it upgrades exactly as
610
- `agemon upgrade` would (see above). Nothing runs if a check fails;
582
+ `agemon upgrade` would (see [How each install method upgrades](#how-each-install-method-upgrades)).
583
+ Nothing runs if a check fails;
611
584
  - with `--yes`, without a terminal, or for any other install method, it prints a one-line
612
585
  notice with the command to run instead of asking. A release candidate is offered its
613
586
  final release; an older release is never offered.
@@ -616,6 +589,119 @@ There is no check at all for `inspect`, `status`, `plan` or `recover`, with `--d
616
589
  `--quiet`, when `CI` is set (to anything other than `0` or `false`), or when
617
590
  `AGEMON_NO_UPDATE_CHECK=1` is set.
618
591
 
592
+ ## Use with Claude
593
+
594
+ Yes, agemon works with Claude in three places, and each gets a different part of it:
595
+
596
+ - **Claude Code** on your machine (CLI or VS Code) gets everything when you run `agemon` in a
597
+ repository. You can also add skill groups as plugins without running agemon.
598
+ - **Claude Code on the web** gets what you commit: run `agemon`, commit and push.
599
+ - **claude.ai** gets the skills, as plugins from agemon's marketplace.
600
+
601
+ | agemon installs | Claude Code | Claude Code on the web | claude.ai chat |
602
+ |---|---|---|---|
603
+ | Rules (`AGENTS.md`, `CLAUDE.md`) | Yes | Yes, once committed | No |
604
+ | Skills | Yes, or as plugins | Yes, once committed | Yes, as plugins |
605
+ | Subagents | Yes | Yes, once committed | No |
606
+ | Hooks and `.mcp.json` | Yes | Yes, once committed; the tools they run need installing | No |
607
+ | `code-review-graph` | Yes | Through a setup script | No |
608
+ | Daemon and global CLI tools | Yes, where systemd or launchd runs | No | No |
609
+
610
+ The plugin marketplace was added in agemon 6.1.0, but it doesn't need agemon installed at all.
611
+ See [Plugins vs. an agemon install](#plugins-vs-an-agemon-install).
612
+
613
+ ### claude.ai
614
+
615
+ 1. In claude.ai, open **Customize** > **Plugins**.
616
+ 2. Select **Add** > **Add marketplace** > **Add from a repository**.
617
+ 3. Enter `Korak-997/agemon`.
618
+ 4. Add the groups you want, such as `agemon-security` or `agemon-design`.
619
+
620
+ ### Claude Code
621
+
622
+ Add the marketplace once:
623
+
624
+ ```bash
625
+ claude plugin marketplace add Korak-997/agemon
626
+ ```
627
+
628
+ Install a group by its [plugin name](#plugin-names):
629
+
630
+ ```bash
631
+ claude plugin install agemon-security@agemon
632
+ ```
633
+
634
+ Claude Code doesn't auto-update third-party marketplaces by default. Turn on auto-update under
635
+ `/plugin`, or refresh the marketplace and update the plugin yourself:
636
+
637
+ ```bash
638
+ claude plugin marketplace update agemon
639
+ ```
640
+
641
+ ```bash
642
+ claude plugin update agemon-security@agemon
643
+ ```
644
+
645
+ Remove one plugin:
646
+
647
+ ```bash
648
+ claude plugin uninstall agemon-security@agemon
649
+ ```
650
+
651
+ Or remove the marketplace together with every plugin you installed from it:
652
+
653
+ ```bash
654
+ claude plugin marketplace remove agemon
655
+ ```
656
+
657
+ ### Claude Code on the web
658
+
659
+ The `agemon` CLI runs on your machine, so it can't install into a cloud session directly. A
660
+ cloud session clones your repository and reads its agent config, so run `agemon`, commit the
661
+ result and push it. It doesn't read `~/.claude`.
662
+
663
+ `agemon inspect` (6.1.0 and later) has a **Claude on the web** section that lists:
664
+
665
+ - agent config that is uncommitted or gitignored
666
+ - commits changing agent config that aren't pushed yet
667
+ - a setup script, if your hooks or MCP servers run `code-review-graph` directly
668
+
669
+ To use the setup script, open [claude.ai/code](https://claude.ai/code), select the
670
+ environment under the message box, open its settings, and paste the script into **Setup
671
+ script**. It installs the pinned version of `code-review-graph`, but unlike a local agemon
672
+ install, its dependencies are not hash-locked.
673
+
674
+ Cloud sessions in a project's threads are different: they don't use the repository's
675
+ `.claude/skills/` or run its hooks. They use the skills enabled on your claude.ai account.
676
+
677
+ ### Plugin names
678
+
679
+ Each skill group is a plugin named `agemon-<group id>`, listed in
680
+ [`.claude-plugin/marketplace.json`](.claude-plugin/marketplace.json). Install one in Claude
681
+ Code with `claude plugin install agemon-<group id>@agemon`.
682
+
683
+ ### Plugins vs. an agemon install
684
+
685
+ - **Any agemon version works, or none.** The marketplace doesn't depend on the agemon you have
686
+ installed. You can stay on 6.0.0 and still add the plugins: they follow this repository's
687
+ default branch, not your CLI or a release.
688
+ - **No agemon safety net.** Claude manages plugins, so there is no agemon plan, diff, rollback
689
+ or `nuke`, and `agemon status` doesn't see them. Remove them where you added them.
690
+ - **Prefixed names.** A skill is named `<plugin>:<skill>`, such as
691
+ `agemon-security:agemon-security`. In a repository that also has an `agemon` install, you
692
+ would see both copies, so use one or the other there.
693
+ - **Skills and commands only in chat.** Subagents and hooks don't run there, and local tools
694
+ can't. `geo-audit` expects subagents, so use it in Claude Code rather than chat.
695
+
696
+ ### Troubleshooting the plugins
697
+
698
+ - **I don't see the plugins.** Check that you added the `Korak-997/agemon` marketplace and the
699
+ group's plugin.
700
+ - **Claude doesn't use a skill on its own.** Claude picks a skill from its description, and that
701
+ isn't guaranteed. Name it instead, such as `/agemon-security:agemon-security`.
702
+ - **I see every skill twice.** The repository has an `agemon` install and you added the plugin
703
+ too. Use one of them in that repository.
704
+
619
705
  ## CLI Usage
620
706
 
621
707
  `install` is the default command:
@@ -897,7 +983,7 @@ agemon inspect --json
897
983
  its usual health/drift output.
898
984
 
899
985
  `agemon inspect` also reports what stops a repository working with Claude Code on the web,
900
- under `cloud` in the JSON report. See [Claude on the web](#claude-on-the-web).
986
+ under `cloud` in the JSON report. See [Use with Claude](#use-with-claude).
901
987
 
902
988
  ## Reversibility Guarantees
903
989
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agemon",
3
- "version": "6.3.0",
3
+ "version": "6.3.1",
4
4
  "description": "One command bootstraps an AI coding agent's working environment in any repo.",
5
5
  "license": "MIT",
6
6
  "author": "Korak-997",