Skip to content

Add read-only Lapis, Facet, and Geode skills - #34

Merged
VirtualMachinist merged 1 commit into
mainfrom
feat/skill-cli-default
Oct 24, 2026
Merged

VirtualMachinist merged 1 commit into
mainfrom
feat/skill-cli-default

Conversation

@VirtualMachinist

Copy link
Copy Markdown
Member

Summary

Shared agent skills for Lapis, Facet, and Geode now ship on Bezel's existing skills input (skills-stub/, which Home Manager links to ~/.config/omp/agent/skills/<name>/). Skill plus CLI is the default. The tools' MCP servers stay supported; this repo does not turn them off.

There is no new repo-root skills/ tree. The flake already forbids a second skills product tree and installs only inputs.skills.

Each skill is a short SKILL.md plus one Nushell script. Every command prints the same JSON envelope: { ok, command, exit, data, error }. Nushell comes from the nixpkgs pin (nix build .#nushell, 0.115.1 on nixos-unstable and 0.112.2 on the Intel macOS pin) and is added to programs.bezel PATH.

The scripts stay read-only:

  • Facet never calls history --bodies, history --id, blob, diff --bodies, or request run (including --dry-run). env output keeps names and drops values.
  • Geode passes only a metadata allowlist. cat, open, mount, run, and the other mutating commands are refused and never reach geode.
  • Lapis recent reads rows by field name. Lapis 0.4.2 returns path, title, domain, priority, mtime_iso; older builds return path, title, mtime. mtime_iso is used when it is present, otherwise mtime.

Test plan

  • scripts/check-skill-cli.sh against fake CLIs on Nushell 0.115.1 and 0.112.2
  • nix build .#checks.x86_64-linux.skills-cli
  • nix flake check on x86_64-linux
  • nix eval of packages.<system>.nushell.version for all four declared systems
Open in Web Open in Cursor 

Ship them on the existing skills input and pin Nushell from nixpkgs.
Every command prints the same JSON envelope. Facet never asks for
bodies, and Geode stays on a metadata allowlist. Lapis recent reads
mtime_iso or mtime by name.

Co-authored-by: Evan Eugene Pincham <TheVirtualMachinist@protonmail.com>
@VirtualMachinist
VirtualMachinist marked this pull request as ready for review October 24, 2026 21:50
@VirtualMachinist
VirtualMachinist merged commit 60d87e5 into main Oct 24, 2026
4 checks passed
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.

2 participants