Expand description
zenith plugin — install the Zenith agent skill into AI coding tools.
Unlike the other command modules (which keep logic pure and leave file I/O
to the dispatcher), installing a skill is filesystem work, so this module
is self-contained: it resolves targets, writes/removes files idempotently,
prints a report, and returns an exit code. The dispatcher in lib.rs only
translates clap arguments into a run::Targets selection.
agent— the supported agents and how each consumes a skill.paths— per-(agent, scope) target paths.assets— the embedded skill tree (generated bybuild.rs).render— single-file rendering for rule-format agents.install/uninstall— idempotent writes / removals.detect— which agents are present / already installed.path_check— whether thezenithbinary is reachable onPATH.run— orchestration entry points used bylib.rs.
Re-exports§
pub use agent::Agent;pub use agent::Scope;pub use run::Targets;pub use run::run_install;pub use run::run_list;pub use run::run_uninstall;
Modules§
- agent
- The set of AI coding agents the Zenith skill can be installed into, plus how each one consumes a skill.
- assets
- Embedded skill assets and small accessors over them.
- detect
- Detect which agents are present on the machine, and whether the Zenith skill is already installed for them.
- install
- Write the skill to an agent’s target location, idempotently.
- path_
check - Non-invasive PATH reachability check for the
zenithbinary. - paths
- Per-(agent, scope) target paths for the Zenith skill.
- render
- Render the per-agent contents of a rule-format skill file.
- run
- Orchestration for
zenith plugin {install,uninstall,list}: resolve targets, perform the work, print a concise human report, and return an exit code. - uninstall
- Remove a previously installed skill for an agent.