Skip to main content

Module skill

Module skill 

Source
Expand description

rgx --agent install|uninstall|list|skill: wire rgx into AI coding agents.

An install only writes where rgx owns the namespace (Claude skill dir, Gemini extension), or, for shared files (Codex AGENTS.md, Cursor/VS Code config), edits idempotently — a removable marked block or a merged JSON key — never a blind append. MCP registration that belongs to a host’s own CLI is printed, not run. The skill text is version-controlled in assets/skill.md and embedded at build time so the installed copy can’t drift from the binary (see CLAUDE.md).

Structs§

Env
Filesystem roots, injected so the installer is testable without touching a real $HOME.

Enums§

Scope
Target

Functions§

install_cli
rgx --agent install [targets] [--user|--project] [--dry-run|--yes].
list
rgx --agent list: show each target, whether it’s detected, and whether rgx is installed.
print_skill
rgx --agent skill: print the skill document (no side effects).
uninstall_cli
rgx --agent uninstall [targets] [--user|--project] [--dry-run|--yes].