/odin-knowledge:history-healthfrom ODIN Knowledge
Audits recall-fed agent events using the deja CLI. Returns a bounded event table with kind, time, session count, bytes, and empty-result flag. Read-only, no side effects.
Ships in ODIN Knowledge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | User explicitly audits what recall fed agents. |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. |
| Side effect | None. |
| Done | A bounded event table reports kind, time, session count, bytes, and empty-result flag, or a null object when absent; model-facing digest replay is refused. |
deja CLI installed and reachable via PATH. Required; absent tool yields an explicit error object.harness filter (optional). Passed as --harness <name> to the CLI. A harness name string such as "claude" or "cursor". When omitted, events from all harnesses are included.limit (optional). Passed as --limit <n> to the CLI. Maximum events to return, an integer >= 1. Defaults to 50 when omitted.Verify deja is in PATH. Run command -v deja. If absent, return { "error": "deja CLI not found in PATH", "hint": "install or rebuild deja" }. Do not conflate a missing CLI with an empty log. Done when: the CLI is confirmed present or the error object is returned.
Run deja log --json --limit 50 with the harness filter if supplied: deja log --json --harness <name> --limit 50. When the user supplies a custom limit, use that value instead of 50. Done when: the command is executed.
Capture stdout and exit code. Done when: stdout and exit code are captured.
If exit code is non-zero, return { "error": "deja log failed", "hint": "install or rebuild deja" }. Done when: the error is returned.
If stdout is the exact string null\n, return null. Done when: null is returned.
Parse stdout as JSON. If parse fails, return { "error": "malformed JSON from deja log" }. Done when: the JSON is parsed or the error is returned.
The parsed value is a JSON array of event objects or null. Done when: the value type is determined.
If the parsed value is null, return null. Done when: null is returned.
If the parsed value is an empty array, return null. Done when: null is returned.
For each event object, extract the following fields into an audit row:
t -> time as the RFC3339 string from the source.kind -> kind.bytes -> bytes as the integer from the source.sessions (absent -> 0) -> sessions.empty (absent -> false) -> empty.Build an array of row objects with keys time, kind, bytes, sessions, empty.
Sort the array by time descending (newest first) before returning. Done when: rows are sorted by time descending.
Digest text fields (digest, policy, into, terms, ids) are never read, never included in output, and never surfaced to the model. Done when: digest text exclusion is confirmed.
| Failure class | Condition | Result |
|---|---|---|
tool-missing | deja not in PATH | { "error": "deja CLI not found in PATH", "hint": "install or rebuild deja" } |
command-failed | deja log --json exits non-zero | { "error": "deja log failed" } |
malformed-response | stdout does not parse as JSON | { "error": "malformed JSON from deja log" } |
Partial-result rule: if deja log produces a partial list (due to a cap or clock skew), return exactly what was returned. Do not extrapolate, impute, or estimate missing events. Non-mutation rule: no file, directory, index, or state is written or altered.
Newest-first event rows sorted by time descending, with keys time, kind, bytes, sessions, and empty; return null when the log is absent or empty; return an explicit error object when deja is unavailable. Never include digest text, policy, terms, session IDs, or injection targets.
What SKILL.md sets; muted values are Claude Code's defaults
41 skills in this plugin
/autolearnUse when a verified non-trivial fix lands or existing solution docs need refresh. Not for unverified fixes./catchupUse when the human returns after a gap, cannot follow the project, asks what happened, or wants a visual HTML recap page. Not for onboarding: use onboard. Not for handoff: use handoff./compoundUse when the user explicitly asks to save, curate, or consolidate what was learned, or closes a meaningful knowledge-work session. Not for remote, publish, deploy, or irreversible changes./context-engineeringUse when a long session has accumulated stale or conflicting context or the user asks to refresh it. Not for remote, credential, publish, deploy, or irreversible changes./continual-learningUse when asked to mine prior chats on a scheduled or watcher tick and maintain project memory. Not for remote, credential, publish, deploy, or irreversible mutation./decision-diaryUse when a user wants to record why one world won over the others, as a decision-diary entry. Not for remote, credential, publish, deploy, or irreversible changes.npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-knowledgeOther plugins' skills for the same job