Configure or diagnose lazysh companion lifecycle reporting for supported agent CLIs; distinguish native reports, live multiplexer panes, recorded transcripts and callback health.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lazysh Agent Reporting?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mihazs-lazysh-agent-reporting)
---
name: lazysh-agent-reporting
description: Configure or diagnose lazysh companion lifecycle reporting for supported agent CLIs; distinguish native reports, live multiplexer panes, recorded transcripts and callback health.
---
# lazysh agent reporting
Use the companion on the agent's host and operating-system user. First identify
whether the missing evidence is a lifecycle report, live pane, transcript or hook
health. These sources are separate; a report or transcript never authorizes
terminal input or proves live ownership.
Read the relevant [agent hook reference](https://github.com/mihazs/lazysh/blob/main/docs/agent-hooks.md)
for the selected CLI and installed companion version before configuring it.
## Explicit setup
Managed setup supports Claude Code, Codex, OpenCode, Gemini CLI, Cursor CLI,
Cline CLI and Droid on qualified Linux filesystems. `lazysh-agent hooks discover`
lists version-1 installation metadata without executing agents or changing profiles.
Copilot managed setup requires explicit `hooks discover --schema-version 2` and
an updated companion. Amp managed setup requires explicit version 3 and Grok Build
(`hooks status|install|remove --agent grok`, the opted-in `hooks/lazysh.json` of
`GROK_HOME`) explicit version 4; default V1 and explicit V2 retain their original
provider mappings. Let
the user select the intended target; inspect its exact existing profile with
`lazysh-agent hooks status`; install/update or remove only after reviewing its
returned plan, using the corresponding expected plan hash. Droid requires an
already-existing standalone `.factory/hooks.json`; missing files require native
setup/review, without migrating or shadowing settings/legacy hooks. Preserve foreign
hooks, profile ownership and the user's normal trust/approval policy. Do not
change profiles because the intended one is unavailable. Installed configuration
is not proof that hooks are trusted, enabled, loaded or reporting.
Native print-only paths also include `claude-config`, `codex-config`,
`opencode-plugin`, `gemini-config`, `grok-config`, `cursor-config`, `droid-config`, `kimi-config`,
`copilot-config`, `amp-plugin` and `cline-plugin`. Review the printed fragment or
asset and use the selected provider's ordinary setup without overwriting foreign
entries. Cline uses an awaited runtime plugin for **root runs only**. Managed
setup binds the selected profile's `plugins/lazysh.js` to the inspected companion.
Start a new Cline session with that profile to load it; preserve disabled-plugin
settings and normal plugin restrictions. Child working-directory attribution and
permission waits remain unsupported. Aider's `aider-config`/`aider-hook-status`
provide callback health, never inferred agent session or completion state.
Copilot setup owns only the selected profile's `hooks/lazysh.json` and its
ownership receipt, with shell-free absolute companion execution. Existing manual
files conflict rather than being adopted. `COPILOT_HOME` is a nonempty literal
override; do not trim it or infer the active profile from SSH metadata. Start a
new Copilot session with that profile and review `/hooks`; preserve trust,
disabled-hook policy and foreign settings. Configuration is not live reporting.
Amp setup binds only the system profile's `plugins/lazysh.js` and ownership
receipt. Select `<XDG_CONFIG_HOME>/amp` only for a nonempty safe absolute raw
configuration base; otherwise use `~/.config/amp` when unset/empty, never when
an explicit override is invalid. Same-name TypeScript or directory/link plugins
block installation but must not prevent exact-owned removal with a fresh plan.
Preserve foreign files and policy. Workspace plugins may mask the system file;
configured status does not establish loading or native root/child behavior.
The companion must resolve in the hook's environment. Never bypass provider
trust, enable plugins implicitly, answer permission requests or install separate
`approval-config` handling as a side effect of lifecycle setup. Claude's optional
`--reported-history` is separate and must not be enabled implicitly. Do not
fabricate tmux pane IDs for Herdr or Zellij.
## Diagnose the result
`lazysh-agent snapshot --limit 5` reads reports and can create local state when
absent. Match the exact agent/session, then independently check the app's selected
host and live multiplexer. Stale reports are observations; an empty list does not
prove that no agents are running.
Explicit custom producers may use `ingest --agent generic`; follow the referenced
schema, keep identity accurate and exclude prompts, arguments and credentials.
Never impersonate another integration or inject examples into live reports; use
an isolated `LAZYSH_STATE_DIR` for synthetic tests.